Google Cloud Storage Transfer V1 Client - Class S3CompatibleMetadata (1.1.1)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class S3CompatibleMetadata.

S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.

Generated from protobuf message google.storagetransfer.v1.S3CompatibleMetadata

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ auth_method int

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 int

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 int

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

↳ list_api int

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

getAuthMethod

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.

Returns
TypeDescription
int

setAuthMethod

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRequestModel

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.

Returns
TypeDescription
int

setRequestModel

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getProtocol

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

Returns
TypeDescription
int

setProtocol

Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getListApi

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

Returns
TypeDescription
int

setListApi

The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.

Parameter
NameDescription
var int
Returns
TypeDescription
$this