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.
6135 6136 6137 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6135 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
6127 6128 6129 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6127 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
6133 6134 6135 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6133 def join_condition @join_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6140 6141 6142 6143 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6140 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 |