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

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
NameDescription
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
TypeDescription
string

setAccessKeyId

AWS access key ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecretAccessKey

Input only. AWS secret access key.

Returns
TypeDescription
string

setSecretAccessKey

Input only. AWS secret access key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this