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.



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

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

Instance Attribute Details

#databaseString

Name of the database. Corresponds to the JSON property database

Returns:

  • (String)


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

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)


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

def google_cloud_resource
  @google_cloud_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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