Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::SearchTargetPolicyBindingsRequest (v0.6.0)

Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::SearchTargetPolicyBindingsRequest.

Request message for SearchTargetPolicyBindings method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::String) —

    Optional. Filtering currently only supports the kind of policies to return, and must be in the format "policy_kind={policy_kind}".

    If String is empty, bindings bound to all kinds of policies would be returned.

    The only supported values are the following:

    • "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
    • "policy_kind=ACCESS"

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) —

    Optional. Filtering currently only supports the kind of policies to return, and must be in the format "policy_kind={policy_kind}".

    If String is empty, bindings bound to all kinds of policies would be returned.

    The only supported values are the following:

    • "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
    • "policy_kind=ACCESS"
Returns
  • (::String) —

    Optional. Filtering currently only supports the kind of policies to return, and must be in the format "policy_kind={policy_kind}".

    If String is empty, bindings bound to all kinds of policies would be returned.

    The only supported values are the following:

    • "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
    • "policy_kind=ACCESS"

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of policy bindings to return. The service may return fewer than this value.

    The default value is 50. The maximum value is 1000.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of policy bindings to return. The service may return fewer than this value.

    The default value is 50. The maximum value is 1000.

Returns
  • (::Integer) — Optional. The maximum number of policy bindings to return. The service may return fewer than this value.

    The default value is 50. The maximum value is 1000.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. A page token, received from a previous SearchTargetPolicyBindingsRequest call. Provide this to retrieve the subsequent page.

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

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. A page token, received from a previous SearchTargetPolicyBindingsRequest call. Provide this to retrieve the subsequent page.

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

Returns
  • (::String) — Optional. A page token, received from a previous SearchTargetPolicyBindingsRequest call. Provide this to retrieve the subsequent page.

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

#parent

def parent() -> ::String
Returns
  • (::String) —

    Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.

    Format:

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

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) —

    Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.

    Format:

    • projects/{project_id}/locations/{location}
    • projects/{project_number}/locations/{location}
    • folders/{folder_id}/locations/{location}
    • organizations/{organization_id}/locations/{location}
Returns
  • (::String) —

    Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.

    Format:

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

#target

def target() -> ::String
Returns
  • (::String) —

    Required. The target resource, which is bound to the policy in the binding.

    Format:

    • //iam.googleapis.com/locations/global/workforcePools/POOL_ID
    • //iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID
    • //iam.googleapis.com/locations/global/workspace/WORKSPACE_ID
    • //cloudresourcemanager.googleapis.com/projects/{project_number}
    • //cloudresourcemanager.googleapis.com/folders/{folder_id}
    • //cloudresourcemanager.googleapis.com/organizations/{organization_id}

#target=

def target=(value) -> ::String
Parameter
  • value (::String) —

    Required. The target resource, which is bound to the policy in the binding.

    Format:

    • //iam.googleapis.com/locations/global/workforcePools/POOL_ID
    • //iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID
    • //iam.googleapis.com/locations/global/workspace/WORKSPACE_ID
    • //cloudresourcemanager.googleapis.com/projects/{project_number}
    • //cloudresourcemanager.googleapis.com/folders/{folder_id}
    • //cloudresourcemanager.googleapis.com/organizations/{organization_id}
Returns
  • (::String) —

    Required. The target resource, which is bound to the policy in the binding.

    Format:

    • //iam.googleapis.com/locations/global/workforcePools/POOL_ID
    • //iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID
    • //iam.googleapis.com/locations/global/workspace/WORKSPACE_ID
    • //cloudresourcemanager.googleapis.com/projects/{project_number}
    • //cloudresourcemanager.googleapis.com/folders/{folder_id}
    • //cloudresourcemanager.googleapis.com/organizations/{organization_id}