Class: Google::Apis::BigqueryconnectionV1::AwsAccessRole

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigqueryconnection_v1/classes.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb

Overview

Authentication method for Amazon Web Services (AWS) that uses Google owned Google service account to assume into customer's AWS IAM Role.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AwsAccessRole

Returns a new instance of AwsAccessRole.



112
113
114
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 112

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#iam_role_idString

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection. Corresponds to the JSON property iamRoleId

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 104

def iam_role_id
  @iam_role_id
end

#identityString

A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role. Corresponds to the JSON property identity

Returns:

  • (String)


110
111
112
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 110

def identity
  @identity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



117
118
119
120
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 117

def update!(**args)
  @iam_role_id = args[:iam_role_id] if args.key?(:iam_role_id)
  @identity = args[:identity] if args.key?(:identity)
end