Class: Google::Apis::BigqueryconnectionV1::AwsAccessRole
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::AwsAccessRole
- 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
-
#iam_role_id ⇒ String
The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
-
#identity ⇒ String
A unique Google-owned and Google-generated identity for the Connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AwsAccessRole
constructor
A new instance of AwsAccessRole.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
Corresponds to the JSON property iamRoleId
104 105 106 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 104 def iam_role_id @iam_role_id end |
#identity ⇒ String
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
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 |