class Google::Apis::StoragetransferV1::AwsAccessKey

AWS access key (see [AWS Security Credentials](docs.aws.amazon.com/ general/latest/gr/aws-security-credentials.html)). For information on our data retention policy for user credentials, see [User credentials](/storage- transfer/docs/data-retention#user-credentials).

Attributes

access_key_id[RW]

Required. AWS access key ID. Corresponds to the JSON property `accessKeyId` @return [String]

secret_access_key[RW]

Required. AWS secret access key. This field is not returned in RPC responses. Corresponds to the JSON property `secretAccessKey` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storagetransfer_v1/classes.rb, line 42
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/storagetransfer_v1/classes.rb, line 47
def update!(**args)
  @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
  @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key)
end