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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setAccessKeyId
Required. AWS access key ID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSecretAccessKey
Required. AWS secret access key. This field is not returned in RPC responses.
Returns | |
---|---|
Type | Description |
string |
setSecretAccessKey
Required. AWS secret access key. This field is not returned in RPC responses.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |