@@ -31,7 +31,7 @@ class AccessGrant(object):
3131
3232 See https://cloud.google.com/bigquery/docs/reference/v2/datasets.
3333
34- :type role: string
34+ :type role: str
3535 :param role: Role granted to the entity. One of
3636
3737 * ``'OWNER'``
@@ -40,11 +40,11 @@ class AccessGrant(object):
4040
4141 May also be ``None`` if the ``entity_type`` is ``view``.
4242
43- :type entity_type: string
43+ :type entity_type: str
4444 :param entity_type: Type of entity being granted the role. One of
4545 :attr:`ENTITY_TYPES`.
4646
47- :type entity_id: string
47+ :type entity_id: str
4848 :param entity_id: ID of entity being granted the role.
4949
5050 :raises: :class:`ValueError` if the ``entity_type`` is not among
@@ -91,7 +91,7 @@ class Dataset(object):
9191 See:
9292 https://cloud.google.com/bigquery/docs/reference/v2/datasets
9393
94- :type name: string
94+ :type name: str
9595 :param name: the name of the dataset
9696
9797 :type client: :class:`google.cloud.bigquery.client.Client`
@@ -115,7 +115,7 @@ def __init__(self, name, client, access_grants=()):
115115 def project (self ):
116116 """Project bound to the dataset.
117117
118- :rtype: string
118+ :rtype: str
119119 :returns: the project (derived from the client).
120120 """
121121 return self ._client .project
@@ -124,7 +124,7 @@ def project(self):
124124 def path (self ):
125125 """URL path for the dataset's APIs.
126126
127- :rtype: string
127+ :rtype: str
128128 :returns: the path based on project and dataste name.
129129 """
130130 return '/projects/%s/datasets/%s' % (self .project , self .name )
@@ -168,7 +168,7 @@ def created(self):
168168 def dataset_id (self ):
169169 """ID for the dataset resource.
170170
171- :rtype: string , or ``NoneType``
171+ :rtype: str , or ``NoneType``
172172 :returns: the ID (None until set from the server).
173173 """
174174 return self ._properties .get ('id' )
@@ -177,7 +177,7 @@ def dataset_id(self):
177177 def etag (self ):
178178 """ETag for the dataset resource.
179179
180- :rtype: string , or ``NoneType``
180+ :rtype: str , or ``NoneType``
181181 :returns: the ETag (None until set from the server).
182182 """
183183 return self ._properties .get ('etag' )
@@ -198,7 +198,7 @@ def modified(self):
198198 def self_link (self ):
199199 """URL for the dataset resource.
200200
201- :rtype: string , or ``NoneType``
201+ :rtype: str , or ``NoneType``
202202 :returns: the URL (None until set from the server).
203203 """
204204 return self ._properties .get ('selfLink' )
@@ -229,7 +229,7 @@ def default_table_expiration_ms(self, value):
229229 def description (self ):
230230 """Description of the dataset.
231231
232- :rtype: string , or ``NoneType``
232+ :rtype: str , or ``NoneType``
233233 :returns: The description as set by the user, or None (the default).
234234 """
235235 return self ._properties .get ('description' )
@@ -238,7 +238,7 @@ def description(self):
238238 def description (self , value ):
239239 """Update description of the dataset.
240240
241- :type value: string , or ``NoneType``
241+ :type value: str , or ``NoneType``
242242 :param value: new description
243243
244244 :raises: ValueError for invalid value types.
@@ -251,7 +251,7 @@ def description(self, value):
251251 def friendly_name (self ):
252252 """Title of the dataset.
253253
254- :rtype: string , or ``NoneType``
254+ :rtype: str , or ``NoneType``
255255 :returns: The name as set by the user, or None (the default).
256256 """
257257 return self ._properties .get ('friendlyName' )
@@ -260,7 +260,7 @@ def friendly_name(self):
260260 def friendly_name (self , value ):
261261 """Update title of the dataset.
262262
263- :type value: string , or ``NoneType``
263+ :type value: str , or ``NoneType``
264264 :param value: new title
265265
266266 :raises: ValueError for invalid value types.
@@ -273,7 +273,7 @@ def friendly_name(self, value):
273273 def location (self ):
274274 """Location in which the dataset is hosted.
275275
276- :rtype: string , or ``NoneType``
276+ :rtype: str , or ``NoneType``
277277 :returns: The location as set by the user, or None (the default).
278278 """
279279 return self ._properties .get ('location' )
@@ -282,7 +282,7 @@ def location(self):
282282 def location (self , value ):
283283 """Update location in which the dataset is hosted.
284284
285- :type value: string , or ``NoneType``
285+ :type value: str , or ``NoneType``
286286 :param value: new location
287287
288288 :raises: ValueError for invalid value types.
@@ -545,7 +545,7 @@ def list_tables(self, max_results=None, page_token=None):
545545 :param max_results: maximum number of tables to return, If not
546546 passed, defaults to a value set by the API.
547547
548- :type page_token: string
548+ :type page_token: str
549549 :param page_token: opaque marker for the next "page" of datasets. If
550550 not passed, the API will return the first page of
551551 datasets.
@@ -575,7 +575,7 @@ def list_tables(self, max_results=None, page_token=None):
575575 def table (self , name , schema = ()):
576576 """Construct a table bound to this dataset.
577577
578- :type name: string
578+ :type name: str
579579 :param name: Name of the table.
580580
581581 :type schema: list of :class:`google.cloud.bigquery.table.SchemaField`
0 commit comments