Google Cloud BigQuery Data Policies V1beta1 Client - Class ListDataPoliciesRequest (0.1.1)

Reference documentation and code samples for the Google Cloud BigQuery Data Policies V1beta1 Client class ListDataPoliciesRequest.

Request message for the ListDataPolicies method.

Generated from protobuf message google.cloud.bigquery.datapolicies.v1beta1.ListDataPoliciesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}.

↳ page_size int

The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.

↳ page_token string

The nextPageToken value returned from a previous list request, if any. If not set, defaults to an empty string.

getParent

Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of data policies to return. Must be a value between 1 and 1000.

If not set, defaults to 50.

Generated from protobuf field int32 page_size = 2;

Returns
TypeDescription
int

setPageSize

The maximum number of data policies to return. Must be a value between 1 and 1000.

If not set, defaults to 50.

Generated from protobuf field int32 page_size = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The nextPageToken value returned from a previous list request, if any. If not set, defaults to an empty string.

Generated from protobuf field string page_token = 3;

Returns
TypeDescription
string

setPageToken

The nextPageToken value returned from a previous list request, if any. If not set, defaults to an empty string.

Generated from protobuf field string page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this