target.apidocs.com.google.api.services.bigquery.model.RowAccessPolicy.html Maven / Gradle / Ivy
RowAccessPolicy (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class RowAccessPolicy
- 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.RowAccessPolicy
-
public final class RowAccessPolicy
extends com.google.api.client.json.GenericJson
Represents access on a subset of rows on the specified table, defined by its filter predicate.
Access to the subset of rows is controlled by its IAM policy.
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
RowAccessPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RowAccessPolicy
clone()
String
getCreationTime()
Output only.
String
getEtag()
Output only.
String
getFilterPredicate()
Required.
String
getLastModifiedTime()
Output only.
RowAccessPolicyReference
getRowAccessPolicyReference()
Required.
RowAccessPolicy
set(String fieldName,
Object value)
RowAccessPolicy
setCreationTime(String creationTime)
Output only.
RowAccessPolicy
setEtag(String etag)
Output only.
RowAccessPolicy
setFilterPredicate(String filterPredicate)
Required.
RowAccessPolicy
setLastModifiedTime(String lastModifiedTime)
Output only.
RowAccessPolicy
setRowAccessPolicyReference(RowAccessPolicyReference rowAccessPolicyReference)
Required.
-
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
-
getCreationTime
public String getCreationTime()
Output only. The time when this row access policy was created, in milliseconds since the epoch.
- Returns:
- value or
null
for none
-
setCreationTime
public RowAccessPolicy setCreationTime(String creationTime)
Output only. The time when this row access policy was created, in milliseconds since the epoch.
- Parameters:
creationTime
- creationTime or null
for none
-
getEtag
public String getEtag()
Output only. A hash of this resource.
- Returns:
- value or
null
for none
-
setEtag
public RowAccessPolicy setEtag(String etag)
Output only. A hash of this resource.
- Parameters:
etag
- etag or null
for none
-
getFilterPredicate
public String getFilterPredicate()
Required. A SQL boolean expression that represents the rows defined by this row access policy,
similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to
other tables, routines, and temporary functions are not supported. Examples: region="EU"
date_field = CAST('2019-9-27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND
5.0
- Returns:
- value or
null
for none
-
setFilterPredicate
public RowAccessPolicy setFilterPredicate(String filterPredicate)
Required. A SQL boolean expression that represents the rows defined by this row access policy,
similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to
other tables, routines, and temporary functions are not supported. Examples: region="EU"
date_field = CAST('2019-9-27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND
5.0
- Parameters:
filterPredicate
- filterPredicate or null
for none
-
getLastModifiedTime
public String getLastModifiedTime()
Output only. The time when this row access policy was last modified, in milliseconds since the
epoch.
- Returns:
- value or
null
for none
-
setLastModifiedTime
public RowAccessPolicy setLastModifiedTime(String lastModifiedTime)
Output only. The time when this row access policy was last modified, in milliseconds since the
epoch.
- Parameters:
lastModifiedTime
- lastModifiedTime or null
for none
-
getRowAccessPolicyReference
public RowAccessPolicyReference getRowAccessPolicyReference()
Required. Reference describing the ID of this row access policy.
- Returns:
- value or
null
for none
-
setRowAccessPolicyReference
public RowAccessPolicy setRowAccessPolicyReference(RowAccessPolicyReference rowAccessPolicyReference)
Required. Reference describing the ID of this row access policy.
- Parameters:
rowAccessPolicyReference
- rowAccessPolicyReference or null
for none
-
set
public RowAccessPolicy set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RowAccessPolicy clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.