Google Cloud Iam V3 Client - Class GetPolicyBindingRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Iam V3 Client class GetPolicyBindingRequest.

Request message for GetPolicyBinding method.

Generated from protobuf message google.iam.v3.GetPolicyBindingRequest

Namespace

Google \ Cloud \ Iam \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the policy binding to retrieve. Format: * * projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id} * * projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id} * * folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id} * * organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}

getName

Required. The name of the policy binding to retrieve.

Format:

  • projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}
  • projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}
  • folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}
  • organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}
Returns
Type Description
string

setName

Required. The name of the policy binding to retrieve.

Format:

  • projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}
  • projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}
  • folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}
  • organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the policy binding to retrieve.

Format:

    • projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}
    • projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}
    • folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}
    • organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id} Please see PolicyBindingsClient::policyBindingName() for help formatting this field.
Returns
Type Description
GetPolicyBindingRequest