Class: Google::Apis::BigqueryV2::TableFieldSchema::Categories
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TableFieldSchema::Categories
- 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
Overview
[Optional] The categories attached to this field, used for field-level access control.
Instance Attribute Summary collapse
-
#names ⇒ Array<String>
A list of category resource names.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Categories
constructor
A new instance of Categories.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Categories
Returns a new instance of Categories.
7901 7902 7903 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#names ⇒ Array<String>
A list of category resource names. For example, "projects/1/taxonomies/2/
categories/3". At most 5 categories are allowed.
Corresponds to the JSON property names
7899 7900 7901 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7899 def names @names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7906 7907 7908 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7906 def update!(**args) @names = args[:names] if args.key?(:names) end |