Class: Google::Apis::BigqueryV2::DatasetAccessEntry
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DatasetAccessEntry
- 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
-
#dataset ⇒ Google::Apis::BigqueryV2::DatasetReference
[Required] The dataset this entry applies to.
-
#target_types ⇒ Array<String>
Corresponds to the JSON property
targetTypes
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatasetAccessEntry
constructor
A new instance of DatasetAccessEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatasetAccessEntry
Returns a new instance of DatasetAccessEntry.
1870 1871 1872 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset ⇒ Google::Apis::BigqueryV2::DatasetReference
[Required] The dataset this entry applies to.
Corresponds to the JSON property dataset
1863 1864 1865 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1863 def dataset @dataset end |
#target_types ⇒ Array<String>
Corresponds to the JSON property targetTypes
1868 1869 1870 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1868 def target_types @target_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1875 1876 1877 1878 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1875 def update!(**args) @dataset = args[:dataset] if args.key?(:dataset) @target_types = args[:target_types] if args.key?(:target_types) end |