Reference documentation and code samples for the Google Cloud Iam V3 Client class GetAccessPolicyRequest.
Request message for GetAccessPolicy method.
Generated from protobuf message google.iam.v3.GetAccessPolicyRequest
Namespace
Google \ Cloud \ Iam \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the access policy to retrieve. Format: |
getName
Required. The name of the access policy to retrieve.
Format:
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the access policy to retrieve.
Format:
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the access policy to retrieve. Format:
|
| Returns | |
|---|---|
| Type | Description |
GetAccessPolicyRequest |
|