Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication

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

Client authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorConfigurationAuthentication

Returns a new instance of ConnectorConfigurationAuthentication.



692
693
694
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 692

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

Instance Attribute Details

#parametersHash<String,Google::Apis::BigqueryconnectionV1::ConnectorConfigurationParameterValue>

Optional. A map of name-value pairs for connector-specific parameters. These extra configuration parameters aren't standardized in the configuration sections. To update a single parameter value, call ConnectionService. UpdateConnection with update_mask set to configuration.parameters. parameter_id. If parameter_id doesn't fit the [a-zA-Z0-9_]+ pattern, parameter_id should be escaped with backticks—for example, configuration. parameters.`parameter id`. Corresponds to the JSON property parameters



677
678
679
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 677

def parameters
  @parameters
end

#service_accountString

Output only. Google-managed service account associated with this connection, e. g., service-project_number@gcp-sa-bigqueryconnection.iam.gserviceaccount. com. BigQuery jobs using this connection will act as service_account identity while connecting to the datasource. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


685
686
687
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 685

def 
  @service_account
end

#username_passwordGoogle::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword

Username and Password authentication. Corresponds to the JSON property usernamePassword



690
691
692
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 690

def username_password
  @username_password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



697
698
699
700
701
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 697

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