#[non_exhaustive]pub struct ListPoliciesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
}Expand description
Request message for ListPolicies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. 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: i32The maximum number of policies to return. IAM ignores this value and uses the value 1000.
page_token: StringA page token received in a ListPoliciesResponse. Provide this token to retrieve the next page.
Implementations§
Source§impl ListPoliciesRequest
impl ListPoliciesRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Trait Implementations§
Source§impl Clone for ListPoliciesRequest
impl Clone for ListPoliciesRequest
Source§fn clone(&self) -> ListPoliciesRequest
fn clone(&self) -> ListPoliciesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more