Class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PolicyTags

Returns a new instance of PolicyTags.



5374
5375
5376
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5374

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

Instance Attribute Details

#namesArray<String>

A list of category resource names. For example, "projects/1/location/eu/ taxonomies/2/policyTags/3". At most 1 policy tag is allowed. Corresponds to the JSON property names

Returns:

  • (Array<String>)


5372
5373
5374
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5372

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5379
5380
5381
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5379

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