Home
last modified time | relevance | path

Searched refs:object_metadata (Results 1 – 9 of 9) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dboto_translation.py737 def _UploadSetup(self, object_metadata, preconditions=None): argument
747 ValidateDstObjectMetadata(object_metadata)
749 headers = HeadersFromObjectMetadata(object_metadata, self.provider)
752 if object_metadata.crc32c:
755 ',crc32c=%s' % object_metadata.crc32c.rstrip('\n'))
758 'crc32c=%s' % object_metadata.crc32c.rstrip('\n'))
759 if object_metadata.md5Hash:
762 ',md5=%s' % object_metadata.md5Hash.rstrip('\n'))
765 'md5=%s' % object_metadata.md5Hash.rstrip('\n'))
772 dst_uri = self._StorageUriForObject(object_metadata.bucket,
[all …]
Dcloud_api_delegator.py227 def UploadObject(self, upload_stream, object_metadata, size=None, argument
231 upload_stream, object_metadata, size=size, canned_acl=canned_acl,
235 def UploadObjectStreaming(self, upload_stream, object_metadata, argument
239 upload_stream, object_metadata, canned_acl=canned_acl,
244 self, upload_stream, object_metadata, canned_acl=None, preconditions=None, argument
248 upload_stream, object_metadata, canned_acl=canned_acl,
Dtranslation_helper.py628 def S3MarkerAclFromObjectMetadata(object_metadata): argument
637 if (object_metadata and object_metadata.metadata and
638 object_metadata.metadata.additionalProperties):
639 for prop in object_metadata.metadata.additionalProperties:
644 def AddS3MarkerAclToObjectMetadata(object_metadata, acl_text): argument
651 if not object_metadata.metadata:
652 object_metadata.metadata = apitools_messages.Object.MetadataValue()
653 if not object_metadata.metadata.additionalProperties:
654 object_metadata.metadata.additionalProperties = []
656 object_metadata.metadata.additionalProperties.append(
Dcloud_api.py299 def UploadObject(self, upload_stream, object_metadata, canned_acl=None, argument
328 def UploadObjectStreaming(self, upload_stream, object_metadata, argument
359 self, upload_stream, object_metadata, canned_acl=None, argument
Dgcs_json_api.py821 def _UploadObject(self, upload_stream, object_metadata, canned_acl=None, argument
838 ValidateDstObjectMetadata(object_metadata)
872 content_type = object_metadata.contentType
880 bucket=object_metadata.bucket, object=object_metadata,
908 self.provider, object_metadata.bucket)
909 self._TranslateExceptionAndRaise(e, bucket_name=object_metadata.bucket,
910 object_name=object_metadata.name,
1028 def UploadObject(self, upload_stream, object_metadata, canned_acl=None, argument
1033 upload_stream, object_metadata, canned_acl=canned_acl,
1038 def UploadObjectStreaming(self, upload_stream, object_metadata, argument
[all …]
Dcopy_helper.py1352 src_obj_filestream, object_metadata=dst_obj_metadata,
1358 src_obj_filestream, object_metadata=dst_obj_metadata,
1438 src_obj_filestream, object_metadata=dst_obj_metadata,
2567 upload_fp, object_metadata=dst_obj_metadata,
2577 upload_fp, object_metadata=dst_obj_metadata,
Dcommand.py745 object_metadata = apitools_messages.Object(acl=object_acl)
747 object_metadata, provider=url.scheme,
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dacl.py445 object_metadata = apitools_messages.Object(acl=current_acl)
447 url.bucket_name, url.object_name, object_metadata,
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/testcase/
Dintegration_testcase.py368 object_metadata = apitools_messages.Object(
373 object_metadata, provider='gs')