Class: Google::Apis::BigqueryV2::DatasetAccessEntry

Inherits:
Object
  • Object
show all
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

Defined Under Namespace

Classes: TargetType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatasetAccessEntry

Returns a new instance of DatasetAccessEntry.



1752
1753
1754
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1752

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

Instance Attribute Details

#datasetGoogle::Apis::BigqueryV2::DatasetReference

[Required] The dataset this entry applies to. Corresponds to the JSON property dataset



1745
1746
1747
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1745

def dataset
  @dataset
end

#target_typesArray<Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType>

Corresponds to the JSON property target_types



1750
1751
1752
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1750

def target_types
  @target_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1757
1758
1759
1760
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1757

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