Class: Google::Apis::BigqueryV2::DataPolicyList

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

Overview

A list of data policy options. For more information, see Mask data by applying data policies to a column.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataPolicyList

Returns a new instance of DataPolicyList.



1793
1794
1795
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1793

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

Instance Attribute Details

#data_policiesArray<Google::Apis::BigqueryV2::DataPolicyOption>

Contains a list of data policy options. At most 9 data policies are allowed per field. Corresponds to the JSON property dataPolicies



1791
1792
1793
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1791

def data_policies
  @data_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1798
1799
1800
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1798

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