Class: Google::Apis::BigqueryV2::JoinRestrictionPolicy
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JoinRestrictionPolicy
- 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
Represents privacy policy associated with "join restrictions". Join restriction gives data providers the ability to enforce joins on the ' join_allowed_columns' when data is queried from a privacy protected view.
Instance Attribute Summary collapse
-
#join_allowed_columns ⇒ Array<String>
Optional.
-
#join_condition ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JoinRestrictionPolicy
constructor
A new instance of JoinRestrictionPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JoinRestrictionPolicy
Returns a new instance of JoinRestrictionPolicy.
6171 6172 6173 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#join_allowed_columns ⇒ Array<String>
Optional. The only columns that joins are allowed on. This field is must be
specified for join_conditions JOIN_ANY and JOIN_ALL and it cannot be set for
JOIN_BLOCKED.
Corresponds to the JSON property joinAllowedColumns
6163 6164 6165 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6163 def join_allowed_columns @join_allowed_columns end |
#join_condition ⇒ String
Optional. Specifies if a join is required or not on queries for the view.
Default is JOIN_CONDITION_UNSPECIFIED.
Corresponds to the JSON property joinCondition
6169 6170 6171 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6169 def join_condition @join_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6176 6177 6178 6179 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6176 def update!(**args) @join_allowed_columns = args[:join_allowed_columns] if args.key?(:join_allowed_columns) @join_condition = args[:join_condition] if args.key?(:join_condition) end |