target.apidocs.com.google.api.services.bigquery.model.PrivacyPolicy.html Maven / Gradle / Ivy
PrivacyPolicy (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class PrivacyPolicy
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.PrivacyPolicy
-
public final class PrivacyPolicy
extends com.google.api.client.json.GenericJson
Represents privacy policy that contains the privacy requirements specified by the data owner.
Currently, this is only supported on views.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PrivacyPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PrivacyPolicy
clone()
AggregationThresholdPolicy
getAggregationThresholdPolicy()
Optional.
DifferentialPrivacyPolicy
getDifferentialPrivacyPolicy()
Optional.
JoinRestrictionPolicy
getJoinRestrictionPolicy()
Optional.
PrivacyPolicy
set(String fieldName,
Object value)
PrivacyPolicy
setAggregationThresholdPolicy(AggregationThresholdPolicy aggregationThresholdPolicy)
Optional.
PrivacyPolicy
setDifferentialPrivacyPolicy(DifferentialPrivacyPolicy differentialPrivacyPolicy)
Optional.
PrivacyPolicy
setJoinRestrictionPolicy(JoinRestrictionPolicy joinRestrictionPolicy)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAggregationThresholdPolicy
public AggregationThresholdPolicy getAggregationThresholdPolicy()
Optional. Policy used for aggregation thresholds.
- Returns:
- value or
null
for none
-
setAggregationThresholdPolicy
public PrivacyPolicy setAggregationThresholdPolicy(AggregationThresholdPolicy aggregationThresholdPolicy)
Optional. Policy used for aggregation thresholds.
- Parameters:
aggregationThresholdPolicy
- aggregationThresholdPolicy or null
for none
-
getDifferentialPrivacyPolicy
public DifferentialPrivacyPolicy getDifferentialPrivacyPolicy()
Optional. Policy used for differential privacy.
- Returns:
- value or
null
for none
-
setDifferentialPrivacyPolicy
public PrivacyPolicy setDifferentialPrivacyPolicy(DifferentialPrivacyPolicy differentialPrivacyPolicy)
Optional. Policy used for differential privacy.
- Parameters:
differentialPrivacyPolicy
- differentialPrivacyPolicy or null
for none
-
getJoinRestrictionPolicy
public JoinRestrictionPolicy getJoinRestrictionPolicy()
Optional. Join restriction policy is outside of the one of policies, since this policy can be
set along with other policies. This policy gives data providers the ability to enforce joins on
the 'join_allowed_columns' when data is queried from a privacy protected view.
- Returns:
- value or
null
for none
-
setJoinRestrictionPolicy
public PrivacyPolicy setJoinRestrictionPolicy(JoinRestrictionPolicy joinRestrictionPolicy)
Optional. Join restriction policy is outside of the one of policies, since this policy can be
set along with other policies. This policy gives data providers the ability to enforce joins on
the 'join_allowed_columns' when data is queried from a privacy protected view.
- Parameters:
joinRestrictionPolicy
- joinRestrictionPolicy or null
for none
-
set
public PrivacyPolicy set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PrivacyPolicy clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.