Reference documentation and code samples for the Google Cloud Iam V2 Client class ListPoliciesRequest.
Request message for ListPolicies
.
Generated from protobuf message google.iam.v2.ListPoliciesRequest
Methods
build
parent
string
Required. The resource that the policy is attached to, along with the kind of policy
to list. Format: policies/{attachment_point}/denypolicies
The attachment point is identified by its URL-encoded full resource name,
which means that the forward-slash character, /
, must be written as %2F
. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies
.
For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource that the policy is attached to, along with the kind of policy to list. Format: policies/{attachment_point}/denypolicies
The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, /
, must be written as %2F
. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies
. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
↳ page_size
int
The maximum number of policies to return. IAM ignores this value and uses the value 1000.
↳ page_token
string
A page token received in a ListPoliciesResponse . Provide this token to retrieve the next page.
getParent
Required. The resource that the policy is attached to, along with the kind of policy
to list. Format: policies/{attachment_point}/denypolicies
The attachment point is identified by its URL-encoded full resource name,
which means that the forward-slash character, /
, must be written as %2F
. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies
.
For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
string
setParent
Required. The resource that the policy is attached to, along with the kind of policy
to list. Format: policies/{attachment_point}/denypolicies
The attachment point is identified by its URL-encoded full resource name,
which means that the forward-slash character, /
, must be written as %2F
. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies
.
For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
var
string
$this
getPageSize
The maximum number of policies to return. IAM ignores this value and uses the value 1000.
int
setPageSize
The maximum number of policies to return. IAM ignores this value and uses the value 1000.
var
int
$this
getPageToken
A page token received in a ListPoliciesResponse . Provide this token to retrieve the next page.
string
setPageToken
A page token received in a ListPoliciesResponse . Provide this token to retrieve the next page.
var
string
$this

