blob: d9eeb8dc72ee0ccd9d9370f32beeb45cfcbb78bd [file] [log] [blame]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="bigquery_v2.html">BigQuery API</a> . <a href="bigquery_v2.rowAccessPolicies.html">rowAccessPolicies</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#list">list(projectId, datasetId, tableId, pageToken=None, pageSize=None)</a></code></p>
<p class="firstline">Lists all row access policies on the specified table.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="list">list(projectId, datasetId, tableId, pageToken=None, pageSize=None)</code>
<pre>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)
pageToken: string, Page token, returned by a previous call, to request the next page of results.
pageSize: integer, The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.
Returns:
An object of the form:
{ # Response message for the ListRowAccessPolicies method.
&quot;rowAccessPolicies&quot;: [ # 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.
&quot;creationTime&quot;: &quot;A String&quot;, # Output only. The time when this row access policy was created, in milliseconds since the epoch.
&quot;etag&quot;: &quot;A String&quot;, # Output only. A hash of this resource.
&quot;filterPredicate&quot;: &quot;A String&quot;, # 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=&quot;EU&quot; date_field = CAST(&#x27;2019-9-27&#x27; as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0
&quot;rowAccessPolicyReference&quot;: { # Required. Reference describing the ID of this row access policy.
&quot;projectId&quot;: &quot;A String&quot;, # [Required] The ID of the project containing this row access policy.
&quot;tableId&quot;: &quot;A String&quot;, # [Required] The ID of the table containing this row access policy.
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] The ID of the dataset containing this row access policy.
&quot;policyId&quot;: &quot;A String&quot;, # [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.
},
&quot;lastModifiedTime&quot;: &quot;A String&quot;, # Output only. The time when this row access policy was last modified, in milliseconds since the epoch.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of results.
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next(previous_request, previous_response)</code>
<pre>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 &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
</body></html>