Access Context Manager V1 Client - Class GetAccessPolicyRequest (0.5.5)

Reference documentation and code samples for the Access Context Manager V1 Client class GetAccessPolicyRequest.

A request to get a particular AccessPolicy.

Generated from protobuf message google.identity.accesscontextmanager.v1.GetAccessPolicyRequest

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name for the access policy to get. Format accessPolicies/{policy_id}

getName

Required. Resource name for the access policy to get.

Format accessPolicies/{policy_id}

Returns
Type Description
string

setName

Required. Resource name for the access policy to get.

Format accessPolicies/{policy_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name for the access policy to get.

Format accessPolicies/{policy_id} Please see Google\Identity\AccessContextManager\V1\AccessContextManagerClient::accessPolicyName() for help formatting this field.

Returns
Type Description
Google\Identity\AccessContextManager\V1\GetAccessPolicyRequest