Class SearchAllIamPoliciesRequest (3.5.0)

SearchAllIamPoliciesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Search all IAM policies request. .. attribute:: scope

Required. The relative name of an asset. The search is limited to the resources within the scope. The allowed value must be:

  • Organization number (such as "organizations/123")
  • Folder number(such as "folders/1234")
  • Project number (such as "projects/12345")
  • Project id (such as "projects/abc")

    :type: str

Attributes

NameDescription
query str
Optional. The query statement. Examples: - "policy:myuser@mydomain.com" - "policy:(myuser@mydomain.com viewer)".
page_size int
Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as next_page_token is returned.
page_token str
Optional. If present, retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of all other method parameters must be identical to those in the previous call.