class Google::Apis::BigqueryconnectionV1beta1::Connection

Configuration parameters to establish connection with an external data source, except the credential attributes.

Attributes

cloud_sql[RW]

Connection properties specific to the Cloud SQL. Corresponds to the JSON property `cloudSql` @return [Google::Apis::BigqueryconnectionV1beta1::CloudSqlProperties]

creation_time[RW]

Output only. The creation timestamp of the connection. Corresponds to the JSON property `creationTime` @return [Fixnum]

description[RW]

User provided description. Corresponds to the JSON property `description` @return [String]

friendly_name[RW]

User provided display name for the connection. Corresponds to the JSON property `friendlyName` @return [String]

has_credential[RW]

Output only. True, if credential is configured for this connection. Corresponds to the JSON property `hasCredential` @return [Boolean]

has_credential?[RW]

Output only. True, if credential is configured for this connection. Corresponds to the JSON property `hasCredential` @return [Boolean]

last_modified_time[RW]

Output only. The last update timestamp of the connection. Corresponds to the JSON property `lastModifiedTime` @return [Fixnum]

name[RW]

The resource name of the connection in the form of: `projects/`project_id`/ locations/`location_id`/connections/`connection_id“ Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigqueryconnection_v1beta1/classes.rb, line 276
def update!(**args)
  @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @description = args[:description] if args.key?(:description)
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
  @has_credential = args[:has_credential] if args.key?(:has_credential)
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
  @name = args[:name] if args.key?(:name)
end