@@ -29,18 +29,18 @@ class ManagedZone(object):
2929 See:
3030 https://cloud.google.com/dns/api/v1/managedZones
3131
32- :type name: string
32+ :type name: str
3333 :param name: the name of the zone
3434
35- :type dns_name: string or :class:`NoneType`
35+ :type dns_name: str or :class:`NoneType`
3636 :param dns_name: the DNS name of the zone. If not passed, then calls
3737 to :meth:`create` will fail.
3838
3939 :type client: :class:`google.cloud.dns.client.Client`
4040 :param client: A client which holds credentials and project configuration
4141 for the zone (which requires a project).
4242
43- :type description: string or :class:`NoneType`
43+ :type description: str or :class:`NoneType`
4444 :param description: the description for the zone. If not passed, defaults
4545 to the value of 'dns_name'.
4646 """
@@ -81,7 +81,7 @@ def from_api_repr(cls, resource, client):
8181 def project (self ):
8282 """Project bound to the zone.
8383
84- :rtype: string
84+ :rtype: str
8585 :returns: the project (derived from the client).
8686 """
8787 return self ._client .project
@@ -90,7 +90,7 @@ def project(self):
9090 def path (self ):
9191 """URL path for the zone's APIs.
9292
93- :rtype: string
93+ :rtype: str
9494 :returns: the path based on project and dataste name.
9595 """
9696 return '/projects/%s/managedZones/%s' % (self .project , self .name )
@@ -117,7 +117,7 @@ def name_servers(self):
117117 def zone_id (self ):
118118 """ID for the zone resource.
119119
120- :rtype: string , or ``NoneType``
120+ :rtype: str , or ``NoneType``
121121 :returns: the ID (None until set from the server).
122122 """
123123 return self ._properties .get ('id' )
@@ -126,7 +126,7 @@ def zone_id(self):
126126 def description (self ):
127127 """Description of the zone.
128128
129- :rtype: string , or ``NoneType``
129+ :rtype: str , or ``NoneType``
130130 :returns: The description as set by the user, or None (the default).
131131 """
132132 return self ._properties .get ('description' )
@@ -135,7 +135,7 @@ def description(self):
135135 def description (self , value ):
136136 """Update description of the zone.
137137
138- :type value: string , or ``NoneType``
138+ :type value: str , or ``NoneType``
139139 :param value: new description
140140
141141 :raises: ValueError for invalid value types.
@@ -153,7 +153,7 @@ def name_server_set(self):
153153 See:
154154 https://cloud.google.com/dns/api/v1/managedZones#nameServerSet
155155
156- :rtype: string , or ``NoneType``
156+ :rtype: str , or ``NoneType``
157157 :returns: The name as set by the user, or None (the default).
158158 """
159159 return self ._properties .get ('nameServerSet' )
@@ -162,7 +162,7 @@ def name_server_set(self):
162162 def name_server_set (self , value ):
163163 """Update named set of DNS name servers.
164164
165- :type value: string , or ``NoneType``
165+ :type value: str , or ``NoneType``
166166 :param value: new title
167167
168168 :raises: ValueError for invalid value types.
@@ -174,10 +174,10 @@ def name_server_set(self, value):
174174 def resource_record_set (self , name , record_type , ttl , rrdatas ):
175175 """Construct a resource record set bound to this zone.
176176
177- :type name: string
177+ :type name: str
178178 :param name: Name of the record set.
179179
180- :type record_type: string
180+ :type record_type: str
181181 :param record_type: RR type
182182
183183 :type ttl: integer
@@ -323,7 +323,7 @@ def list_resource_record_sets(self, max_results=None, page_token=None,
323323 :param max_results: maximum number of zones to return, If not
324324 passed, defaults to a value set by the API.
325325
326- :type page_token: string
326+ :type page_token: str
327327 :param page_token: opaque marker for the next "page" of zones. If
328328 not passed, the API will return the first page of
329329 zones.
@@ -356,7 +356,7 @@ def list_changes(self, max_results=None, page_token=None, client=None):
356356 :param max_results: maximum number of zones to return, If not
357357 passed, defaults to a value set by the API.
358358
359- :type page_token: string
359+ :type page_token: str
360360 :param page_token: opaque marker for the next "page" of zones. If
361361 not passed, the API will return the first page of
362362 zones.
0 commit comments