Access Context Manager V1 Client - Class GetAccessPolicyRequest (0.4.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
NameDescription
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
TypeDescription
string

setName

Required. Resource name for the access policy to get.

Format accessPolicies/{policy_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Identity\AccessContextManager\V1\GetAccessPolicyRequest