Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAsset

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

Data Asset - a resource within instance of the system, reachable under specified endpoint. For example a database name in a SQL DB.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorConfigurationAsset

Returns a new instance of ConnectorConfigurationAsset.



634
635
636
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 634

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

Instance Attribute Details

#databaseString

Optional. Name of the database. Corresponds to the JSON property database

Returns:

  • (String)


625
626
627
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 625

def database
  @database
end

#google_cloud_resourceString

Full Google Cloud resource name - https://cloud.google.com/apis/design/ resource_names#full_resource_name. Example: //library.googleapis.com/shelves/ shelf1/books/book2 Corresponds to the JSON property googleCloudResource

Returns:

  • (String)


632
633
634
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 632

def google_cloud_resource
  @google_cloud_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



639
640
641
642
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 639

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