Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAsset
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAsset
- 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
-
#database ⇒ String
Name of the database.
-
#google_cloud_resource ⇒ String
Full Google Cloud resource name - https://cloud.google.com/apis/design/ resource_names#full_resource_name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorConfigurationAsset
constructor
A new instance of ConnectorConfigurationAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#database ⇒ String
Name of the database.
Corresponds to the JSON property database
626 627 628 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 626 def database @database end |
#google_cloud_resource ⇒ String
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
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 |