Skip to content

Commit 0e6c5bd

Browse files
committed
Avoid re-iterating summary line.
1 parent 93a74a6 commit 0e6c5bd

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

gcloud/storage/bucket.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ def etag(self):
400400
https://cloud.google.com/storage/docs/json_api/v1/buckets
401401
402402
:rtype: string
403-
:returns: a unique identifier for the bucket and current metadata.
404403
"""
405404
return self.properties['etag']
406405

@@ -411,7 +410,6 @@ def id(self):
411410
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
412411
413412
:rtype: string
414-
:returns: a unique identifier for the bucket.
415413
"""
416414
return self.properties['id']
417415

@@ -501,8 +499,6 @@ def metageneration(self):
501499
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
502500
503501
:rtype: integer
504-
:returns: count of times since creation the bucket's metadata has
505-
been updated.
506502
"""
507503
return self.properties['metageneration']
508504

@@ -524,7 +520,6 @@ def project_number(self):
524520
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
525521
526522
:rtype: integer
527-
:returns: a unique identifier for the bucket.
528523
"""
529524
return self.properties['projectNumber']
530525

@@ -535,7 +530,6 @@ def self_link(self):
535530
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
536531
537532
:rtype: string
538-
:returns: URI of the bucket.
539533
"""
540534
return self.properties['selfLink']
541535

@@ -547,8 +541,7 @@ def storage_class(self):
547541
https://cloud.google.com/storage/docs/durable-reduced-availability#_DRA_Bucket
548542
549543
:rtype: string
550-
:returns: the storage class for the bucket (currently one of
551-
``STANDARD``, ``DURABLE_REDUCED_AVAILABILITY``)
544+
:returns: Currently one of "STANDARD", "DURABLE_REDUCED_AVAILABILITY"
552545
"""
553546
return self.properties['storageClass']
554547

@@ -559,7 +552,7 @@ def time_created(self):
559552
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
560553
561554
:rtype: string
562-
:returns: timestamp for the bucket's creation, in RFC 3339 format.
555+
:returns: timestamp in RFC 3339 format.
563556
"""
564557
return self.properties['timeCreated']
565558

0 commit comments

Comments
 (0)