Google Cloud Vm Migration V1 Client - Class AccessKeyCredentials (0.6.5)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AccessKeyCredentials.

Message describing AWS Credentials using access key id and secret.

Generated from protobuf message google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials

Namespace

Google \ Cloud \ VMMigration \ V1 \ AwsSourceDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ access_key_id string

AWS access key ID.

↳ secret_access_key string

Input only. AWS secret access key.

getAccessKeyId

AWS access key ID.

Returns
Type Description
string

setAccessKeyId

AWS access key ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecretAccessKey

Input only. AWS secret access key.

Returns
Type Description
string

setSecretAccessKey

Input only. AWS secret access key.

Parameter
Name Description
var string
Returns
Type Description
$this