Google Cloud Network Security V1 Client - Class ListAuthorizationPoliciesRequest (0.4.1)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class ListAuthorizationPoliciesRequest.

Request used with the ListAuthorizationPolicies method.

Generated from protobuf message google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format projects/{project}/locations/{location}.

↳ page_size int

Maximum number of AuthorizationPolicies to return per call.

↳ page_token string

The value returned by the last ListAuthorizationPoliciesResponse Indicates that this is a continuation of a prior ListAuthorizationPolicies call, and that the system should return the next page of data.

getParent

Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format projects/{project}/locations/{location}.

Returns
TypeDescription
string

setParent

Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format projects/{project}/locations/{location}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Maximum number of AuthorizationPolicies to return per call.

Returns
TypeDescription
int

setPageSize

Maximum number of AuthorizationPolicies to return per call.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The value returned by the last ListAuthorizationPoliciesResponse Indicates that this is a continuation of a prior ListAuthorizationPolicies call, and that the system should return the next page of data.

Returns
TypeDescription
string

setPageToken

The value returned by the last ListAuthorizationPoliciesResponse Indicates that this is a continuation of a prior ListAuthorizationPolicies call, and that the system should return the next page of data.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format projects/{project}/locations/{location}. Please see Google\Cloud\NetworkSecurity\V1\NetworkSecurityClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\NetworkSecurity\V1\ListAuthorizationPoliciesRequest