• Home
  • Raw
  • Download

Lines Matching full:object

79 <p class="firstline">Concatenates a list of existing objects into a new object in the same bucket.<…
82 <p class="firstline">Concatenates a list of existing objects into a new object in the same bucket.<…
85 <p class="firstline">Copies a source object to a destination object. Optionally overrides metadata.…
88 <p class="firstline">Copies a source object to a destination object. Optionally overrides metadata.…
90 …<code><a href="#delete">delete(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetag…
91 <p class="firstline">Deletes an object and its metadata. Deletions are permanent if versioning is n…
93 …<code><a href="#get">get(bucket, object, ifGenerationNotMatch=None, generation=None, ifMetagenerat…
94 <p class="firstline">Retrieves an object or its metadata.</p>
96 …<code><a href="#getIamPolicy">getIamPolicy(bucket, object, generation=None, userProject=None)</a><…
97 <p class="firstline">Returns an IAM policy for the specified object.</p>
99 …<code><a href="#get_media">get_media(bucket, object, ifGenerationNotMatch=None, generation=None, i…
100 <p class="firstline">Retrieves an object or its metadata.</p>
103 <p class="firstline">Stores a new object and metadata.</p>
106 <p class="firstline">Stores a new object and metadata.</p>
114 …<code><a href="#patch">patch(bucket, object, body, projection=None, generation=None, predefinedAcl…
115 <p class="firstline">Updates an object's metadata. This method supports patch semantics.</p>
118 <p class="firstline">Rewrites a source object to a destination object. Optionally overrides metadat…
120 …<code><a href="#setIamPolicy">setIamPolicy(bucket, object, body, generation=None, userProject=None…
121 <p class="firstline">Updates an IAM policy for the specified object.</p>
123 …<code><a href="#testIamPermissions">testIamPermissions(bucket, object, permissions, userProject=No…
124 <p class="firstline">Tests a set of permissions on the given object to see which, if any, are held …
126 …<code><a href="#update">update(bucket, object, body, projection=None, generation=None, predefinedA…
127 <p class="firstline">Updates an object's metadata.</p>
129 …<code><a href="#update_media">update_media(bucket, object, body, projection=None, generation=None,…
130 <p class="firstline">Updates an object's metadata.</p>
137 <pre>Concatenates a list of existing objects into a new object in the same bucket.
140 destinationBucket: string, Name of the bucket in which to store the new object. (required)
141 …destinationObject: string, Name of the new object. For information about how to URL encode object
142 body: object, The request body. (required)
143 The object takes the form of:
147 "destination": { # An object. # Properties of the resulting object.
148 … "generation": "A String", # The content generation of this object. Used for object versioning.
149 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
151 "owner": { # The owner of the object. This will always be the uploader of the object.
155 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
156 "acl": [ # Access controls on the object.
159 … "generation": "A String", # The content generation of the object, if applied to an object.
160 "object": "A String", # The name of the object, if applied to an object.
162 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
187 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
189 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
190 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
193 "etag": "A String", # HTTP 1.1 Entity tag for the object.
197 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
198 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
199 "contentLanguage": "A String", # Content-Language of the object data.
200 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
204object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
205 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
206 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
207 "name": "A String", # The name of the object. Required if not specified by URL parameter.
208 "bucket": "A String", # The name of the bucket containing this object.
209 "contentEncoding": "A String", # Content-Encoding of the object data.
210 "contentDisposition": "A String", # Content-Disposition of the object data.
211 "selfLink": "A String", # The link to this object.
212 "storageClass": "A String", # Storage class of the object.
214 "sourceObjects": [ # The list of source objects that will be concatenated into a single object.
216 "generation": "A String", # The generation of this object to use as the source.
217 …"name": "A String", # The source object's name. The source object's bucket is implicitly the desti…
219 … String", # Only perform the composition if the generation of the source object that would be used…
225 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
226 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
228 …tinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
230 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
231 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
232 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
233 private - Object owner gets OWNER access.
234 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
235 publicRead - Object owner gets OWNER access, and allUsers get READER access.
238 An object of the form:
240 { # An object.
241 "generation": "A String", # The content generation of this object. Used for object versioning.
242 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
244 "owner": { # The owner of the object. This will always be the uploader of the object.
248 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
249 "acl": [ # Access controls on the object.
252 "generation": "A String", # The content generation of the object, if applied to an object.
253 "object": "A String", # The name of the object, if applied to an object.
255 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
280 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
282 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
283 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
286 "etag": "A String", # HTTP 1.1 Entity tag for the object.
290 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
291 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
292 "contentLanguage": "A String", # Content-Language of the object data.
293 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
297object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
298 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
299 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
300 "name": "A String", # The name of the object. Required if not specified by URL parameter.
301 "bucket": "A String", # The name of the bucket containing this object.
302 "contentEncoding": "A String", # Content-Encoding of the object data.
303 "contentDisposition": "A String", # Content-Disposition of the object data.
304 "selfLink": "A String", # The link to this object.
305 "storageClass": "A String", # Storage class of the object.
311 <pre>Concatenates a list of existing objects into a new object in the same bucket.
314 destinationBucket: string, Name of the bucket in which to store the new object. (required)
315 …destinationObject: string, Name of the new object. For information about how to URL encode object
316 body: object, The request body. (required)
317 The object takes the form of:
321 "destination": { # An object. # Properties of the resulting object.
322 … "generation": "A String", # The content generation of this object. Used for object versioning.
323 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
325 "owner": { # The owner of the object. This will always be the uploader of the object.
329 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
330 "acl": [ # Access controls on the object.
333 … "generation": "A String", # The content generation of the object, if applied to an object.
334 "object": "A String", # The name of the object, if applied to an object.
336 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
361 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
363 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
364 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
367 "etag": "A String", # HTTP 1.1 Entity tag for the object.
371 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
372 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
373 "contentLanguage": "A String", # Content-Language of the object data.
374 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
378object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
379 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
380 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
381 "name": "A String", # The name of the object. Required if not specified by URL parameter.
382 "bucket": "A String", # The name of the bucket containing this object.
383 "contentEncoding": "A String", # Content-Encoding of the object data.
384 "contentDisposition": "A String", # Content-Disposition of the object data.
385 "selfLink": "A String", # The link to this object.
386 "storageClass": "A String", # Storage class of the object.
388 "sourceObjects": [ # The list of source objects that will be concatenated into a single object.
390 "generation": "A String", # The generation of this object to use as the source.
391 …"name": "A String", # The source object's name. The source object's bucket is implicitly the desti…
393 … String", # Only perform the composition if the generation of the source object that would be used…
399 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
400 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
402 …tinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
404 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
405 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
406 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
407 private - Object owner gets OWNER access.
408 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
409 publicRead - Object owner gets OWNER access, and allUsers get READER access.
412 The media object as a string.
419 <pre>Copies a source object to a destination object. Optionally overrides metadata.
422 sourceBucket: string, Name of the bucket in which to find the source object. (required)
423 …sourceObject: string, Name of the source object. For information about how to URL encode object na…
424 … to store the new object. Overrides the provided object metadata's bucket value, if any.For inform…
425 …Object: string, Name of the new object. Required when the object metadata is not otherwise provide…
426 body: object, The request body. (required)
427 The object takes the form of:
429 { # An object.
430 "generation": "A String", # The content generation of this object. Used for object versioning.
431 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
433 "owner": { # The owner of the object. This will always be the uploader of the object.
437 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
438 "acl": [ # Access controls on the object.
441 "generation": "A String", # The content generation of the object, if applied to an object.
442 "object": "A String", # The name of the object, if applied to an object.
444 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
469 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
471 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
472 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
475 "etag": "A String", # HTTP 1.1 Entity tag for the object.
479 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
480 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
481 "contentLanguage": "A String", # Content-Language of the object data.
482 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
486object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
487 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
488 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
489 "name": "A String", # The name of the object. Required if not specified by URL parameter.
490 "bucket": "A String", # The name of the bucket containing this object.
491 "contentEncoding": "A String", # Content-Encoding of the object data.
492 "contentDisposition": "A String", # Content-Disposition of the object data.
493 "selfLink": "A String", # The link to this object.
494 "storageClass": "A String", # Storage class of the object.
497 …projection: string, Set of properties to return. Defaults to noAcl, unless the object resource spe…
501 …sourceGeneration: string, If present, selects a specific revision of the source object (as opposed…
502 …ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object's…
503 …nNotMatch: string, Makes the operation conditional on whether the source object's current metagene…
504 …ifGenerationMatch: string, Makes the operation conditional on whether the destination object's cur…
505 …ifGenerationNotMatch: string, Makes the operation conditional on whether the destination object's …
506 …ifMetagenerationMatch: string, Makes the operation conditional on whether the destination object's…
508 …tinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
510 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
511 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
512 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
513 private - Object owner gets OWNER access.
514 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
515 publicRead - Object owner gets OWNER access, and allUsers get READER access.
516 …ifSourceGenerationMatch: string, Makes the operation conditional on whether the source object's ge…
517 …ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object'…
518 …atch: string, Makes the operation conditional on whether the destination object's current metagene…
521 An object of the form:
523 { # An object.
524 "generation": "A String", # The content generation of this object. Used for object versioning.
525 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
527 "owner": { # The owner of the object. This will always be the uploader of the object.
531 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
532 "acl": [ # Access controls on the object.
535 "generation": "A String", # The content generation of the object, if applied to an object.
536 "object": "A String", # The name of the object, if applied to an object.
538 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
563 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
565 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
566 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
569 "etag": "A String", # HTTP 1.1 Entity tag for the object.
573 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
574 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
575 "contentLanguage": "A String", # Content-Language of the object data.
576 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
580object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
581 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
582 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
583 "name": "A String", # The name of the object. Required if not specified by URL parameter.
584 "bucket": "A String", # The name of the bucket containing this object.
585 "contentEncoding": "A String", # Content-Encoding of the object data.
586 "contentDisposition": "A String", # Content-Disposition of the object data.
587 "selfLink": "A String", # The link to this object.
588 "storageClass": "A String", # Storage class of the object.
594 <pre>Copies a source object to a destination object. Optionally overrides metadata.
597 sourceBucket: string, Name of the bucket in which to find the source object. (required)
598 …sourceObject: string, Name of the source object. For information about how to URL encode object na…
599 … to store the new object. Overrides the provided object metadata's bucket value, if any.For inform…
600 …Object: string, Name of the new object. Required when the object metadata is not otherwise provide…
601 body: object, The request body. (required)
602 The object takes the form of:
604 { # An object.
605 "generation": "A String", # The content generation of this object. Used for object versioning.
606 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
608 "owner": { # The owner of the object. This will always be the uploader of the object.
612 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
613 "acl": [ # Access controls on the object.
616 "generation": "A String", # The content generation of the object, if applied to an object.
617 "object": "A String", # The name of the object, if applied to an object.
619 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
644 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
646 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
647 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
650 "etag": "A String", # HTTP 1.1 Entity tag for the object.
654 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
655 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
656 "contentLanguage": "A String", # Content-Language of the object data.
657 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
661object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
662 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
663 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
664 "name": "A String", # The name of the object. Required if not specified by URL parameter.
665 "bucket": "A String", # The name of the bucket containing this object.
666 "contentEncoding": "A String", # Content-Encoding of the object data.
667 "contentDisposition": "A String", # Content-Disposition of the object data.
668 "selfLink": "A String", # The link to this object.
669 "storageClass": "A String", # Storage class of the object.
672 …projection: string, Set of properties to return. Defaults to noAcl, unless the object resource spe…
676 …sourceGeneration: string, If present, selects a specific revision of the source object (as opposed…
677 …ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object's…
678 …nNotMatch: string, Makes the operation conditional on whether the source object's current metagene…
679 …ifGenerationMatch: string, Makes the operation conditional on whether the destination object's cur…
680 …ifGenerationNotMatch: string, Makes the operation conditional on whether the destination object's …
681 …ifMetagenerationMatch: string, Makes the operation conditional on whether the destination object's…
683 …tinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
685 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
686 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
687 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
688 private - Object owner gets OWNER access.
689 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
690 publicRead - Object owner gets OWNER access, and allUsers get READER access.
691 …ifSourceGenerationMatch: string, Makes the operation conditional on whether the source object's ge…
692 …ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object'…
693 …atch: string, Makes the operation conditional on whether the destination object's current metagene…
696 The media object as a string.
702 …<code class="details" id="delete">delete(bucket, object, ifGenerationNotMatch=None, generation=Non…
703 …<pre>Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for …
706 bucket: string, Name of the bucket in which the object resides. (required)
707object: string, Name of the object. For information about how to URL encode object names to be pat…
708 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
709 …generation: string, If present, permanently deletes a specific revision of this object (as opposed…
710 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
712 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
713 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
718 …<code class="details" id="get">get(bucket, object, ifGenerationNotMatch=None, generation=None, ifM…
719 <pre>Retrieves an object or its metadata.
722 bucket: string, Name of the bucket in which the object resides. (required)
723object: string, Name of the object. For information about how to URL encode object names to be pat…
724 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation d…
725 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
726 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
728 …ifGenerationMatch: string, Makes the operation conditional on whether the object's generation matc…
729 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
736 An object of the form:
738 { # An object.
739 "generation": "A String", # The content generation of this object. Used for object versioning.
740 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
742 "owner": { # The owner of the object. This will always be the uploader of the object.
746 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
747 "acl": [ # Access controls on the object.
750 "generation": "A String", # The content generation of the object, if applied to an object.
751 "object": "A String", # The name of the object, if applied to an object.
753 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
778 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
780 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
781 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
784 "etag": "A String", # HTTP 1.1 Entity tag for the object.
788 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
789 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
790 "contentLanguage": "A String", # Content-Language of the object data.
791 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
795object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
796 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
797 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
798 "name": "A String", # The name of the object. Required if not specified by URL parameter.
799 "bucket": "A String", # The name of the bucket containing this object.
800 "contentEncoding": "A String", # Content-Encoding of the object data.
801 "contentDisposition": "A String", # Content-Disposition of the object data.
802 "selfLink": "A String", # The link to this object.
803 "storageClass": "A String", # Storage class of the object.
808 …<code class="details" id="getIamPolicy">getIamPolicy(bucket, object, generation=None, userProject=…
809 <pre>Returns an IAM policy for the specified object.
812 bucket: string, Name of the bucket in which the object resides. (required)
813object: string, Name of the object. For information about how to URL encode object names to be pat…
814 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
818 An object of the form:
820 { # A bucket/object IAM policy.
821 …ets/bucket/objects/object for objects. A specific generation may be specified by appending #genera…
830 …only access to objects without listing. Equivalent to an ACL entry on an object with the READER ro…
831 …ss to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER rol…
832 …# - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to a…
833 …# - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletio…
834 …orage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/d…
855 …<code class="details" id="get_media">get_media(bucket, object, ifGenerationNotMatch=None, generati…
856 <pre>Retrieves an object or its metadata.
859 bucket: string, Name of the bucket in which the object resides. (required)
860object: string, Name of the object. For information about how to URL encode object names to be pat…
861 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation d…
862 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
863 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
865 …ifGenerationMatch: string, Makes the operation conditional on whether the object's generation matc…
866 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
873 The media object as a string.
880 <pre>Stores a new object and metadata.
883 …ket: string, Name of the bucket in which to store the new object. Overrides the provided object me…
884 body: object, The request body.
885 The object takes the form of:
887 { # An object.
888 "generation": "A String", # The content generation of this object. Used for object versioning.
889 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
891 "owner": { # The owner of the object. This will always be the uploader of the object.
895 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
896 "acl": [ # Access controls on the object.
899 "generation": "A String", # The content generation of the object, if applied to an object.
900 "object": "A String", # The name of the object, if applied to an object.
902 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
927 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
929 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
930 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
933 "etag": "A String", # HTTP 1.1 Entity tag for the object.
937 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
938 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
939 "contentLanguage": "A String", # Content-Language of the object data.
940 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
944object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
945 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
946 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
947 "name": "A String", # The name of the object. Required if not specified by URL parameter.
948 "bucket": "A String", # The name of the bucket containing this object.
949 "contentEncoding": "A String", # Content-Encoding of the object data.
950 "contentDisposition": "A String", # Content-Disposition of the object data.
951 "selfLink": "A String", # The link to this object.
952 "storageClass": "A String", # Storage class of the object.
955 …projection: string, Set of properties to return. Defaults to noAcl, unless the object resource spe…
959 …media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
960 predefinedAcl: string, Apply a predefined set of access controls to this object.
962 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
963 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
964 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
965 private - Object owner gets OWNER access.
966 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
967 publicRead - Object owner gets OWNER access, and allUsers get READER access.
968 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
969 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
970object. Required when the object metadata is not otherwise provided. Overrides the object metadata…
971 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
973object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata…
974 …mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
975 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
978 An object of the form:
980 { # An object.
981 "generation": "A String", # The content generation of this object. Used for object versioning.
982 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
984 "owner": { # The owner of the object. This will always be the uploader of the object.
988 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
989 "acl": [ # Access controls on the object.
992 "generation": "A String", # The content generation of the object, if applied to an object.
993 "object": "A String", # The name of the object, if applied to an object.
995 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1020 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1022 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1023 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1026 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1030 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1031 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1032 "contentLanguage": "A String", # Content-Language of the object data.
1033 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1037object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1038 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1039 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1040 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1041 "bucket": "A String", # The name of the bucket containing this object.
1042 "contentEncoding": "A String", # Content-Encoding of the object data.
1043 "contentDisposition": "A String", # Content-Disposition of the object data.
1044 "selfLink": "A String", # The link to this object.
1045 "storageClass": "A String", # Storage class of the object.
1051 <pre>Stores a new object and metadata.
1054 …ket: string, Name of the bucket in which to store the new object. Overrides the provided object me…
1055 body: object, The request body.
1056 The object takes the form of:
1058 { # An object.
1059 "generation": "A String", # The content generation of this object. Used for object versioning.
1060 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1062 "owner": { # The owner of the object. This will always be the uploader of the object.
1066 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1067 "acl": [ # Access controls on the object.
1070 "generation": "A String", # The content generation of the object, if applied to an object.
1071 "object": "A String", # The name of the object, if applied to an object.
1073 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1098 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1100 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1101 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1104 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1108 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1109 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1110 "contentLanguage": "A String", # Content-Language of the object data.
1111 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1115object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1116 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1117 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1118 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1119 "bucket": "A String", # The name of the bucket containing this object.
1120 "contentEncoding": "A String", # Content-Encoding of the object data.
1121 "contentDisposition": "A String", # Content-Disposition of the object data.
1122 "selfLink": "A String", # The link to this object.
1123 "storageClass": "A String", # Storage class of the object.
1126 …projection: string, Set of properties to return. Defaults to noAcl, unless the object resource spe…
1130 …media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
1131 predefinedAcl: string, Apply a predefined set of access controls to this object.
1133 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
1134 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
1135 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
1136 private - Object owner gets OWNER access.
1137 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
1138 publicRead - Object owner gets OWNER access, and allUsers get READER access.
1139 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
1140 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
1141object. Required when the object metadata is not otherwise provided. Overrides the object metadata…
1142 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
1144object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata…
1145 …mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
1146 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
1149 The media object as a string.
1164 … If true, lists all versions of an object as distinct results. The default is false. For more info…
1172 An object of the form:
1177 { # An object.
1178 … "generation": "A String", # The content generation of this object. Used for object versioning.
1179 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1181 "owner": { # The owner of the object. This will always be the uploader of the object.
1185 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1186 "acl": [ # Access controls on the object.
1189 … "generation": "A String", # The content generation of the object, if applied to an object.
1190 "object": "A String", # The name of the object, if applied to an object.
1192 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1217 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1219 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1220 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1223 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1227 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1228 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1229 "contentLanguage": "A String", # Content-Language of the object data.
1230 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1234object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1235 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1236 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1237 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1238 "bucket": "A String", # The name of the bucket containing this object.
1239 "contentEncoding": "A String", # Content-Encoding of the object data.
1240 "contentDisposition": "A String", # Content-Disposition of the object data.
1241 "selfLink": "A String", # The link to this object.
1242 "storageClass": "A String", # Storage class of the object.
1261 A request object that you can call 'execute()' on to request the next
1267 …<code class="details" id="patch">patch(bucket, object, body, projection=None, generation=None, pre…
1268 <pre>Updates an object's metadata. This method supports patch semantics.
1271 bucket: string, Name of the bucket in which the object resides. (required)
1272object: string, Name of the object. For information about how to URL encode object names to be pat…
1273 body: object, The request body. (required)
1274 The object takes the form of:
1276 { # An object.
1277 "generation": "A String", # The content generation of this object. Used for object versioning.
1278 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1280 "owner": { # The owner of the object. This will always be the uploader of the object.
1284 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1285 "acl": [ # Access controls on the object.
1288 "generation": "A String", # The content generation of the object, if applied to an object.
1289 "object": "A String", # The name of the object, if applied to an object.
1291 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1316 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1318 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1319 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1322 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1326 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1327 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1328 "contentLanguage": "A String", # Content-Language of the object data.
1329 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1333object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1334 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1335 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1336 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1337 "bucket": "A String", # The name of the bucket containing this object.
1338 "contentEncoding": "A String", # Content-Encoding of the object data.
1339 "contentDisposition": "A String", # Content-Disposition of the object data.
1340 "selfLink": "A String", # The link to this object.
1341 "storageClass": "A String", # Storage class of the object.
1348 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
1349 predefinedAcl: string, Apply a predefined set of access controls to this object.
1351 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
1352 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
1353 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
1354 private - Object owner gets OWNER access.
1355 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
1356 publicRead - Object owner gets OWNER access, and allUsers get READER access.
1357 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
1358 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
1359 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
1361 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
1364 An object of the form:
1366 { # An object.
1367 "generation": "A String", # The content generation of this object. Used for object versioning.
1368 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1370 "owner": { # The owner of the object. This will always be the uploader of the object.
1374 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1375 "acl": [ # Access controls on the object.
1378 "generation": "A String", # The content generation of the object, if applied to an object.
1379 "object": "A String", # The name of the object, if applied to an object.
1381 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1406 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1408 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1409 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1412 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1416 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1417 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1418 "contentLanguage": "A String", # Content-Language of the object data.
1419 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1423object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1424 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1425 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1426 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1427 "bucket": "A String", # The name of the bucket containing this object.
1428 "contentEncoding": "A String", # Content-Encoding of the object data.
1429 "contentDisposition": "A String", # Content-Disposition of the object data.
1430 "selfLink": "A String", # The link to this object.
1431 "storageClass": "A String", # Storage class of the object.
1437 <pre>Rewrites a source object to a destination object. Optionally overrides metadata.
1440 sourceBucket: string, Name of the bucket in which to find the source object. (required)
1441 …sourceObject: string, Name of the source object. For information about how to URL encode object na…
1442 …ket: string, Name of the bucket in which to store the new object. Overrides the provided object me…
1443object. Required when the object metadata is not otherwise provided. Overrides the object metadata…
1444 body: object, The request body. (required)
1445 The object takes the form of:
1447 { # An object.
1448 "generation": "A String", # The content generation of this object. Used for object versioning.
1449 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1451 "owner": { # The owner of the object. This will always be the uploader of the object.
1455 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1456 "acl": [ # Access controls on the object.
1459 "generation": "A String", # The content generation of the object, if applied to an object.
1460 "object": "A String", # The name of the object, if applied to an object.
1462 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1487 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1489 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1490 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1493 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1497 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1498 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1499 "contentLanguage": "A String", # Content-Language of the object data.
1500 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1504object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1505 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1506 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1507 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1508 "bucket": "A String", # The name of the bucket containing this object.
1509 "contentEncoding": "A String", # Content-Encoding of the object data.
1510 "contentDisposition": "A String", # Content-Disposition of the object data.
1511 "selfLink": "A String", # The link to this object.
1512 "storageClass": "A String", # Storage class of the object.
1515 …projection: string, Set of properties to return. Defaults to noAcl, unless the object resource spe…
1519 …sourceGeneration: string, If present, selects a specific revision of the source object (as opposed…
1521 …ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object's…
1522 …ifGenerationMatch: string, Makes the operation conditional on whether the destination object's cur…
1523 …nNotMatch: string, Makes the operation conditional on whether the source object's current metagene…
1525 …ifGenerationNotMatch: string, Makes the operation conditional on whether the destination object's …
1526 …ifMetagenerationMatch: string, Makes the operation conditional on whether the destination object's…
1528 …tinationPredefinedAcl: string, Apply a predefined set of access controls to the destination object.
1530 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
1531 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
1532 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
1533 private - Object owner gets OWNER access.
1534 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
1535 publicRead - Object owner gets OWNER access, and allUsers get READER access.
1536 …ifSourceGenerationMatch: string, Makes the operation conditional on whether the source object's ge…
1537 …ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object'…
1538 …atch: string, Makes the operation conditional on whether the destination object's current metagene…
1541 An object of the form:
1544 …"objectSize": "A String", # The total size of the object being copied in bytes. This property is a…
1546 …"resource": { # An object. # A resource containing the metadata for the copied-to object. This pro…
1547 … "generation": "A String", # The content generation of this object. Used for object versioning.
1548 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1550 "owner": { # The owner of the object. This will always be the uploader of the object.
1554 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1555 "acl": [ # Access controls on the object.
1558 … "generation": "A String", # The content generation of the object, if applied to an object.
1559 "object": "A String", # The name of the object, if applied to an object.
1561 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1586 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1588 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1589 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1592 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1596 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1597 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1598 "contentLanguage": "A String", # Content-Language of the object data.
1599 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1603object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1604 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1605 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1606 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1607 "bucket": "A String", # The name of the bucket containing this object.
1608 "contentEncoding": "A String", # Content-Encoding of the object data.
1609 "contentDisposition": "A String", # Content-Disposition of the object data.
1610 "selfLink": "A String", # The link to this object.
1611 "storageClass": "A String", # Storage class of the object.
1620 …<code class="details" id="setIamPolicy">setIamPolicy(bucket, object, body, generation=None, userPr…
1621 <pre>Updates an IAM policy for the specified object.
1624 bucket: string, Name of the bucket in which the object resides. (required)
1625object: string, Name of the object. For information about how to URL encode object names to be pat…
1626 body: object, The request body. (required)
1627 The object takes the form of:
1629 { # A bucket/object IAM policy.
1630 …ets/bucket/objects/object for objects. A specific generation may be specified by appending #genera…
1639 …only access to objects without listing. Equivalent to an ACL entry on an object with the READER ro…
1640 …ss to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER rol…
1641 …# - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to a…
1642 …# - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletio…
1643 …orage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/d…
1662 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
1666 An object of the form:
1668 { # A bucket/object IAM policy.
1669 …ets/bucket/objects/object for objects. A specific generation may be specified by appending #genera…
1678 …only access to objects without listing. Equivalent to an ACL entry on an object with the READER ro…
1679 …ss to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER rol…
1680 …# - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to a…
1681 …# - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletio…
1682 …orage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/d…
1703 …<code class="details" id="testIamPermissions">testIamPermissions(bucket, object, permissions, user…
1704 <pre>Tests a set of permissions on the given object to see which, if any, are held by the caller.
1707 bucket: string, Name of the bucket in which the object resides. (required)
1708object: string, Name of the object. For information about how to URL encode object names to be pat…
1711 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
1714 An object of the form:
1726 # - storage.objects.delete — Delete object.
1727 # - storage.objects.get — Read object data and metadata.
1728 # - storage.objects.getIamPolicy — Read object IAM policy.
1729 # - storage.objects.create — Create object.
1731 # - storage.objects.setIamPolicy — Update object IAM policy.
1732 # - storage.objects.update — Update object metadata.
1739 …<code class="details" id="update">update(bucket, object, body, projection=None, generation=None, p…
1740 <pre>Updates an object's metadata.
1743 bucket: string, Name of the bucket in which the object resides. (required)
1744object: string, Name of the object. For information about how to URL encode object names to be pat…
1745 body: object, The request body. (required)
1746 The object takes the form of:
1748 { # An object.
1749 "generation": "A String", # The content generation of this object. Used for object versioning.
1750 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1752 "owner": { # The owner of the object. This will always be the uploader of the object.
1756 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1757 "acl": [ # Access controls on the object.
1760 "generation": "A String", # The content generation of the object, if applied to an object.
1761 "object": "A String", # The name of the object, if applied to an object.
1763 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1788 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1790 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1791 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1794 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1798 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1799 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1800 "contentLanguage": "A String", # Content-Language of the object data.
1801 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1805object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1806 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1807 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1808 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1809 "bucket": "A String", # The name of the bucket containing this object.
1810 "contentEncoding": "A String", # Content-Encoding of the object data.
1811 "contentDisposition": "A String", # Content-Disposition of the object data.
1812 "selfLink": "A String", # The link to this object.
1813 "storageClass": "A String", # Storage class of the object.
1820 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
1821 predefinedAcl: string, Apply a predefined set of access controls to this object.
1823 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
1824 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
1825 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
1826 private - Object owner gets OWNER access.
1827 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
1828 publicRead - Object owner gets OWNER access, and allUsers get READER access.
1829 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
1830 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
1831 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
1833 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
1836 An object of the form:
1838 { # An object.
1839 "generation": "A String", # The content generation of this object. Used for object versioning.
1840 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1842 "owner": { # The owner of the object. This will always be the uploader of the object.
1846 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1847 "acl": [ # Access controls on the object.
1850 "generation": "A String", # The content generation of the object, if applied to an object.
1851 "object": "A String", # The name of the object, if applied to an object.
1853 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1878 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1880 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1881 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1884 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1888 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1889 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1890 "contentLanguage": "A String", # Content-Language of the object data.
1891 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1895object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1896 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1897 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1898 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1899 "bucket": "A String", # The name of the bucket containing this object.
1900 "contentEncoding": "A String", # Content-Encoding of the object data.
1901 "contentDisposition": "A String", # Content-Disposition of the object data.
1902 "selfLink": "A String", # The link to this object.
1903 "storageClass": "A String", # Storage class of the object.
1908 …<code class="details" id="update_media">update_media(bucket, object, body, projection=None, genera…
1909 <pre>Updates an object's metadata.
1912 bucket: string, Name of the bucket in which the object resides. (required)
1913object: string, Name of the object. For information about how to URL encode object names to be pat…
1914 body: object, The request body. (required)
1915 The object takes the form of:
1917 { # An object.
1918 "generation": "A String", # The content generation of this object. Used for object versioning.
1919 …"componentCount": 42, # Number of underlying components that make up this object. Components are a…
1921 "owner": { # The owner of the object. This will always be the uploader of the object.
1925 …eControl": "A String", # Cache-Control directive for the object data. If omitted, and the object i…
1926 "acl": [ # Access controls on the object.
1929 "generation": "A String", # The content generation of the object, if applied to an object.
1930 "object": "A String", # The name of the object, if applied to an object.
1932 …"kind": "storage#objectAccessControl", # The kind of item this is. For object access control entri…
1957 …"id": "A String", # The ID of the object, including the bucket name, object name, and generation n…
1959 …ring", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this …
1960 "timeCreated": "A String", # The creation time of the object in RFC 3339 format.
1963 "etag": "A String", # HTTP 1.1 Entity tag for the object.
1967 "updated": "A String", # The modification time of the object metadata in RFC 3339 format.
1968 …"contentType": "A String", # Content-Type of the object data. If contentType is not specified, obj…
1969 "contentLanguage": "A String", # Content-Language of the object data.
1970 …"customerEncryption": { # Metadata of customer-supplied encryption key, if the object is encrypted…
1974object at this generation. Used for preconditions and for detecting changes in metadata. A metagen…
1975 …ssUpdated": "A String", # The time at which the object's storage class was last changed. When the
1976 … "kind": "storage#object", # The kind of item this is. For objects, this is always storage#object.
1977 "name": "A String", # The name of the object. Required if not specified by URL parameter.
1978 "bucket": "A String", # The name of the bucket containing this object.
1979 "contentEncoding": "A String", # Content-Encoding of the object data.
1980 "contentDisposition": "A String", # Content-Disposition of the object data.
1981 "selfLink": "A String", # The link to this object.
1982 "storageClass": "A String", # Storage class of the object.
1989 …generation: string, If present, selects a specific revision of this object (as opposed to the late…
1990 predefinedAcl: string, Apply a predefined set of access controls to this object.
1992 … authenticatedRead - Object owner gets OWNER access, and allAuthenticatedUsers get READER access.
1993 … bucketOwnerFullControl - Object owner gets OWNER access, and project team owners get OWNER access.
1994 bucketOwnerRead - Object owner gets OWNER access, and project team owners get READER access.
1995 private - Object owner gets OWNER access.
1996 …projectPrivate - Object owner gets OWNER access, and project team members get access according to …
1997 publicRead - Object owner gets OWNER access, and allUsers get READER access.
1998 …ifGenerationMatch: string, Makes the operation conditional on whether the object's current generat…
1999 …ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current gene…
2000 …ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current met…
2002 …ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current …
2005 The media object as a string.
2016 body: object, The request body. (required)
2017 The object takes the form of:
2038 … If true, lists all versions of an object as distinct results. The default is false. For more info…
2046 An object of the form: