All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.RowAccessPolicy.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version






RowAccessPolicy (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery.model

Class RowAccessPolicy

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • RowAccessPolicy

        public RowAccessPolicy()
    • 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
      • clone

        public RowAccessPolicy clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy