Close httplib2 connections.
list(projectId, datasetId, tableId, pageSize=None, pageToken=None)
Lists all row access policies on the specified table.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
list(projectId, datasetId, tableId, pageSize=None, pageToken=None)
Lists all row access policies on the specified table. Args: projectId: string, Required. Project ID of the row access policies to list. (required) datasetId: string, Required. Dataset ID of row access policies to list. (required) tableId: string, Required. Table ID of the table to list row access policies. (required) pageSize: integer, The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection. pageToken: string, Page token, returned by a previous call, to request the next page of results. Returns: An object of the form: { # Response message for the ListRowAccessPolicies method. "nextPageToken": "A String", # A token to request the next page of results. "rowAccessPolicies": [ # Row access policies on the requested table. { # 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. "creationTime": "A String", # Output only. The time when this row access policy was created, in milliseconds since the epoch. "etag": "A String", # Output only. A hash of this resource. "filterPredicate": "A String", # 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 "lastModifiedTime": "A String", # Output only. The time when this row access policy was last modified, in milliseconds since the epoch. "rowAccessPolicyReference": { # Required. Reference describing the ID of this row access policy. "datasetId": "A String", # [Required] The ID of the dataset containing this row access policy. "policyId": "A String", # [Required] The ID of the row access policy. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters. "projectId": "A String", # [Required] The ID of the project containing this row access policy. "tableId": "A String", # [Required] The ID of the table containing this row access policy. }, }, ], }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.