Struct ListPolicyBindingsRequest (0.5.0)

Request message for ListPolicyBindings method.

Fields

parent

Required. The parent resource, which owns the collection of policy bindings.

Format:

  • projects/{project_id}/locations/{location}
  • projects/{project_number}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • organizations/{organization_id}/locations/{location}

page_size

Optional. The maximum number of policy bindings to return. The service may return fewer than this value.

If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

Optional. A page token, received from a previous ListPolicyBindings call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListPolicyBindings must match the call that provided the page token.

filter

Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:

  • target
  • policy

Some examples of filter queries:

  • target:ex*: The binding target's name starts with "ex".
  • target:example: The binding target's name is example.
  • policy:example: The binding policy's name is example.

Implementations

new

 fn new() -> Self

set_parent

 fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [parent][crate::model::ListPolicyBindingsRequest::parent].

set_page_size

 fn set_page_size<T: std::convert::Into<i32>>(self, v: T) -> Self

Sets the value of [page_size][crate::model::ListPolicyBindingsRequest::page_size].

set_page_token

 fn set_page_token<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [page_token][crate::model::ListPolicyBindingsRequest::page_token].

set_filter

 fn set_filter<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [filter][crate::model::ListPolicyBindingsRequest::filter].