Class: Google::Apis::BigqueryconnectionV1::CloudResourceProperties

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

Container for connection properties for delegation of access to GCP resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudResourceProperties

Returns a new instance of CloudResourceProperties.



315
316
317
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 315

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

Instance Attribute Details

#service_account_idString

Output only. The account ID of the service created for the purpose of this connection. The service account does not have any permissions associated with it when it is created. After creation, customers delegate permissions to the service account. When the connection is used in the context of an operation in BigQuery, the service account will be used to connect to the desired resources in GCP. The account ID is in the form of: @gcp-sa-bigquery-cloudresource.iam. gserviceaccount.com Corresponds to the JSON property serviceAccountId

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 313

def 
  @service_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 320

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