Google Cloud Storage Transfer V1 Client - Class AwsAccessKey (1.2.0)

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

AWS access key (see AWS Security Credentials).

For information on our data retention policy for user credentials, see User credentials.

Generated from protobuf message google.storagetransfer.v1.AwsAccessKey

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ access_key_id string

Required. AWS access key ID.

↳ secret_access_key string

Required. AWS secret access key. This field is not returned in RPC responses.

getAccessKeyId

Required. AWS access key ID.

Returns
TypeDescription
string

setAccessKeyId

Required. AWS access key ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecretAccessKey

Required. AWS secret access key. This field is not returned in RPC responses.

Returns
TypeDescription
string

setSecretAccessKey

Required. AWS secret access key. This field is not returned in RPC responses.

Parameter
NameDescription
var string
Returns
TypeDescription
$this