S3CompatibleMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
Attributes | |
---|---|
Name | Description |
auth_method |
google.cloud.storage_transfer_v1.types.S3CompatibleMetadata.AuthMethod
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use. |
request_model |
google.cloud.storage_transfer_v1.types.S3CompatibleMetadata.RequestModel
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used. |
protocol |
google.cloud.storage_transfer_v1.types.S3CompatibleMetadata.NetworkProtocol
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used. |
list_api |
google.cloud.storage_transfer_v1.types.S3CompatibleMetadata.ListApi
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use. |
Classes
AuthMethod
AuthMethod(value)
The authentication and authorization method used by the storage service.
Values: AUTH_METHOD_UNSPECIFIED (0): AuthMethod is not specified. AUTH_METHOD_AWS_SIGNATURE_V4 (1): Auth requests with AWS SigV4. AUTH_METHOD_AWS_SIGNATURE_V2 (2): Auth requests with AWS SigV2.
ListApi
ListApi(value)
The Listing API to use for discovering objects.
Values: LIST_API_UNSPECIFIED (0): ListApi is not specified. LIST_OBJECTS_V2 (1): Perform listing using ListObjectsV2 API. LIST_OBJECTS (2): Legacy ListObjects API.
NetworkProtocol
NetworkProtocol(value)
The agent network protocol to access the storage service.
Values: NETWORK_PROTOCOL_UNSPECIFIED (0): NetworkProtocol is not specified. NETWORK_PROTOCOL_HTTPS (1): Perform requests using HTTPS. NETWORK_PROTOCOL_HTTP (2): Not recommended: This sends data in clear-text. This is only appropriate within a closed network or for publicly available data. Perform requests using HTTP.
RequestModel
RequestModel(value)
The request model of the API.
Values: REQUEST_MODEL_UNSPECIFIED (0): RequestModel is not specified. REQUEST_MODEL_VIRTUAL_HOSTED_STYLE (1): Perform requests using Virtual Hosted Style. Example: https://bucket-name.s3.region.amazonaws.com/key-name REQUEST_MODEL_PATH_STYLE (2): Perform requests using Path Style. Example: https://s3.region.amazonaws.com/bucket-name/key-name