Skip to content

Commit 5aa8dab

Browse files
Vision semi-GAPIC (#3373)
1 parent d0cceb8 commit 5aa8dab

4 files changed

Lines changed: 52 additions & 52 deletions

File tree

packages/google-cloud-storage/google/cloud/storage/acl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class ACL(object):
188188
'bucketOwnerRead',
189189
'bucketOwnerFullControl',
190190
])
191-
"""See:
191+
"""See
192192
https://cloud.google.com/storage/docs/access-control/lists#predefined-acl
193193
"""
194194

packages/google-cloud-storage/google/cloud/storage/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
"""Batch updates / deletes of storage buckets / blobs.
1515
16-
See: https://cloud.google.com/storage/docs/json_api/v1/how-tos/batch
16+
See https://cloud.google.com/storage/docs/json_api/v1/how-tos/batch
1717
"""
1818
from email.encoders import encode_noop
1919
from email.generator import Generator

packages/google-cloud-storage/google/cloud/storage/blob.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Blob(_PropertyMixin):
130130
)
131131
"""Allowed values for :attr:`storage_class`.
132132
133-
See:
133+
See
134134
https://cloud.google.com/storage/docs/json_api/v1/objects#storageClass
135135
https://cloud.google.com/storage/docs/per-object-storage-class
136136
@@ -1054,7 +1054,7 @@ def create_resumable_upload_session(
10541054
def get_iam_policy(self, client=None):
10551055
"""Retrieve the IAM policy for the object.
10561056
1057-
See:
1057+
See
10581058
https://cloud.google.com/storage/docs/json_api/v1/objects/getIamPolicy
10591059
10601060
:type client: :class:`~google.cloud.storage.client.Client` or
@@ -1076,7 +1076,7 @@ def get_iam_policy(self, client=None):
10761076
def set_iam_policy(self, policy, client=None):
10771077
"""Update the IAM policy for the bucket.
10781078
1079-
See:
1079+
See
10801080
https://cloud.google.com/storage/docs/json_api/v1/objects/setIamPolicy
10811081
10821082
:type policy: :class:`google.cloud.iam.Policy`
@@ -1104,7 +1104,7 @@ def set_iam_policy(self, policy, client=None):
11041104
def test_iam_permissions(self, permissions, client=None):
11051105
"""API call: test permissions
11061106
1107-
See:
1107+
See
11081108
https://cloud.google.com/storage/docs/json_api/v1/objects/testIamPermissions
11091109
11101110
:type permissions: list of string
@@ -1217,7 +1217,7 @@ def rewrite(self, source, token=None, client=None):
12171217
def update_storage_class(self, new_class, client=None):
12181218
"""Update blob's storage class via a rewrite-in-place.
12191219
1220-
See:
1220+
See
12211221
https://cloud.google.com/storage/docs/per-object-storage-class
12221222
12231223
:type new_class: str
@@ -1244,7 +1244,7 @@ def update_storage_class(self, new_class, client=None):
12441244
cache_control = _scalar_property('cacheControl')
12451245
"""HTTP 'Cache-Control' header for this object.
12461246
1247-
See: `RFC 7234`_ and `API reference docs`_.
1247+
See `RFC 7234`_ and `API reference docs`_.
12481248
12491249
If the property is not set locally, returns :data:`None`.
12501250
@@ -1256,7 +1256,7 @@ def update_storage_class(self, new_class, client=None):
12561256
content_disposition = _scalar_property('contentDisposition')
12571257
"""HTTP 'Content-Disposition' header for this object.
12581258
1259-
See: `RFC 6266`_ and `API reference docs`_.
1259+
See `RFC 6266`_ and `API reference docs`_.
12601260
12611261
If the property is not set locally, returns :data:`None`.
12621262
@@ -1268,7 +1268,7 @@ def update_storage_class(self, new_class, client=None):
12681268
content_encoding = _scalar_property('contentEncoding')
12691269
"""HTTP 'Content-Encoding' header for this object.
12701270
1271-
See: `RFC 7231`_ and `API reference docs`_.
1271+
See `RFC 7231`_ and `API reference docs`_.
12721272
12731273
If the property is not set locally, returns ``None``.
12741274
@@ -1280,7 +1280,7 @@ def update_storage_class(self, new_class, client=None):
12801280
content_language = _scalar_property('contentLanguage')
12811281
"""HTTP 'Content-Language' header for this object.
12821282
1283-
See: `BCP47`_ and `API reference docs`_.
1283+
See `BCP47`_ and `API reference docs`_.
12841284
12851285
If the property is not set locally, returns :data:`None`.
12861286
@@ -1292,7 +1292,7 @@ def update_storage_class(self, new_class, client=None):
12921292
content_type = _scalar_property(_CONTENT_TYPE_FIELD)
12931293
"""HTTP 'Content-Type' header for this object.
12941294
1295-
See: `RFC 2616`_ and `API reference docs`_.
1295+
See `RFC 2616`_ and `API reference docs`_.
12961296
12971297
If the property is not set locally, returns :data:`None`.
12981298
@@ -1304,7 +1304,7 @@ def update_storage_class(self, new_class, client=None):
13041304
crc32c = _scalar_property('crc32c')
13051305
"""CRC32C checksum for this object.
13061306
1307-
See: `RFC 4960`_ and `API reference docs`_.
1307+
See `RFC 4960`_ and `API reference docs`_.
13081308
13091309
If the property is not set locally, returns :data:`None`.
13101310
@@ -1317,7 +1317,7 @@ def update_storage_class(self, new_class, client=None):
13171317
def component_count(self):
13181318
"""Number of underlying components that make up this object.
13191319
1320-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1320+
See https://cloud.google.com/storage/docs/json_api/v1/objects
13211321
13221322
:rtype: int or ``NoneType``
13231323
:returns: The component count (in case of a composed object) or
@@ -1332,7 +1332,7 @@ def component_count(self):
13321332
def etag(self):
13331333
"""Retrieve the ETag for the object.
13341334
1335-
See: `RFC 2616 (etags)`_ and `API reference docs`_.
1335+
See `RFC 2616 (etags)`_ and `API reference docs`_.
13361336
13371337
:rtype: str or ``NoneType``
13381338
:returns: The blob etag or ``None`` if the property is not set locally.
@@ -1345,7 +1345,7 @@ def etag(self):
13451345
def generation(self):
13461346
"""Retrieve the generation for the object.
13471347
1348-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1348+
See https://cloud.google.com/storage/docs/json_api/v1/objects
13491349
13501350
:rtype: int or ``NoneType``
13511351
:returns: The generation of the blob or ``None`` if the property
@@ -1359,7 +1359,7 @@ def generation(self):
13591359
def id(self):
13601360
"""Retrieve the ID for the object.
13611361
1362-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1362+
See https://cloud.google.com/storage/docs/json_api/v1/objects
13631363
13641364
:rtype: str or ``NoneType``
13651365
:returns: The ID of the blob or ``None`` if the property is not
@@ -1370,7 +1370,7 @@ def id(self):
13701370
md5_hash = _scalar_property('md5Hash')
13711371
"""MD5 hash for this object.
13721372
1373-
See: `RFC 1321`_ and `API reference docs`_.
1373+
See `RFC 1321`_ and `API reference docs`_.
13741374
13751375
If the property is not set locally, returns ``None``.
13761376
@@ -1383,7 +1383,7 @@ def id(self):
13831383
def media_link(self):
13841384
"""Retrieve the media download URI for the object.
13851385
1386-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1386+
See https://cloud.google.com/storage/docs/json_api/v1/objects
13871387
13881388
:rtype: str or ``NoneType``
13891389
:returns: The media link for the blob or ``None`` if the property is
@@ -1395,7 +1395,7 @@ def media_link(self):
13951395
def metadata(self):
13961396
"""Retrieve arbitrary/application specific metadata for the object.
13971397
1398-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1398+
See https://cloud.google.com/storage/docs/json_api/v1/objects
13991399
14001400
:rtype: dict or ``NoneType``
14011401
:returns: The metadata associated with the blob or ``None`` if the
@@ -1407,7 +1407,7 @@ def metadata(self):
14071407
def metadata(self, value):
14081408
"""Update arbitrary/application specific metadata for the object.
14091409
1410-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1410+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14111411
14121412
:type value: dict
14131413
:param value: (Optional) The blob metadata to set.
@@ -1418,7 +1418,7 @@ def metadata(self, value):
14181418
def metageneration(self):
14191419
"""Retrieve the metageneration for the object.
14201420
1421-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1421+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14221422
14231423
:rtype: int or ``NoneType``
14241424
:returns: The metageneration of the blob or ``None`` if the property
@@ -1432,7 +1432,7 @@ def metageneration(self):
14321432
def owner(self):
14331433
"""Retrieve info about the owner of the object.
14341434
1435-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1435+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14361436
14371437
:rtype: dict or ``NoneType``
14381438
:returns: Mapping of owner's role/ID. If the property is not set
@@ -1444,7 +1444,7 @@ def owner(self):
14441444
def self_link(self):
14451445
"""Retrieve the URI for the object.
14461446
1447-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1447+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14481448
14491449
:rtype: str or ``NoneType``
14501450
:returns: The self link for the blob or ``None`` if the property is
@@ -1456,7 +1456,7 @@ def self_link(self):
14561456
def size(self):
14571457
"""Size of the object, in bytes.
14581458
1459-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1459+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14601460
14611461
:rtype: int or ``NoneType``
14621462
:returns: The size of the blob or ``None`` if the property
@@ -1474,7 +1474,7 @@ def size(self):
14741474
exists in a bucket, call :meth:`update_storage_class` (which uses
14751475
the "storage.objects.rewrite" method).
14761476
1477-
See: https://cloud.google.com/storage/docs/storage-classes
1477+
See https://cloud.google.com/storage/docs/storage-classes
14781478
14791479
:rtype: str or ``NoneType``
14801480
:returns: If set, one of "MULTI_REGIONAL", "REGIONAL",
@@ -1486,7 +1486,7 @@ def size(self):
14861486
def time_deleted(self):
14871487
"""Retrieve the timestamp at which the object was deleted.
14881488
1489-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1489+
See https://cloud.google.com/storage/docs/json_api/v1/objects
14901490
14911491
:rtype: :class:`datetime.datetime` or ``NoneType``
14921492
:returns: Datetime object parsed from RFC3339 valid timestamp, or
@@ -1501,7 +1501,7 @@ def time_deleted(self):
15011501
def time_created(self):
15021502
"""Retrieve the timestamp at which the object was created.
15031503
1504-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1504+
See https://cloud.google.com/storage/docs/json_api/v1/objects
15051505
15061506
:rtype: :class:`datetime.datetime` or ``NoneType``
15071507
:returns: Datetime object parsed from RFC3339 valid timestamp, or
@@ -1515,7 +1515,7 @@ def time_created(self):
15151515
def updated(self):
15161516
"""Retrieve the timestamp at which the object was updated.
15171517
1518-
See: https://cloud.google.com/storage/docs/json_api/v1/objects
1518+
See https://cloud.google.com/storage/docs/json_api/v1/objects
15191519
15201520
:rtype: :class:`datetime.datetime` or ``NoneType``
15211521
:returns: Datetime object parsed from RFC3339 valid timestamp, or

0 commit comments

Comments
 (0)