Class: Google::Apis::BigqueryV2::ExternalDatasetReference
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ExternalDatasetReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#connection ⇒ String
[Required] The connection id that is used to access the external_source.
-
#external_source ⇒ String
[Required] External source that backs this dataset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalDatasetReference
constructor
A new instance of ExternalDatasetReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalDatasetReference
Returns a new instance of ExternalDatasetReference.
2874 2875 2876 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection ⇒ String
[Required] The connection id that is used to access the external_source.
Format: projects/project_id/locations/location_id/connections/
connection_id
Corresponds to the JSON property connection
2867 2868 2869 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2867 def connection @connection end |
#external_source ⇒ String
[Required] External source that backs this dataset.
Corresponds to the JSON property externalSource
2872 2873 2874 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2872 def external_source @external_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2879 2880 2881 2882 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2879 def update!(**args) @connection = args[:connection] if args.key?(:connection) @external_source = args[:external_source] if args.key?(:external_source) end |