Access Context Manager V1 Client - Class CreateAccessLevelRequest (0.4.5)

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

A request to create an AccessLevel.

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

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name for the access policy which owns this Access Level. Format: accessPolicies/{policy_id}

↳ access_level Google\Identity\AccessContextManager\V1\AccessLevel

Required. The [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] to create. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

getParent

Required. Resource name for the access policy which owns this Access Level.

Format: accessPolicies/{policy_id}

Returns
TypeDescription
string

setParent

Required. Resource name for the access policy which owns this Access Level.

Format: accessPolicies/{policy_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccessLevel

Required. The Access Level to create.

Syntactic correctness of the Access Level is a precondition for creation.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\AccessLevel|null

hasAccessLevel

clearAccessLevel

setAccessLevel

Required. The Access Level to create.

Syntactic correctness of the Access Level is a precondition for creation.

Parameter
NameDescription
var Google\Identity\AccessContextManager\V1\AccessLevel
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Resource name for the access policy which owns this Access Level.

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

accessLevel Google\Identity\AccessContextManager\V1\AccessLevel

Required. The Access Level to create. Syntactic correctness of the Access Level is a precondition for creation.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\CreateAccessLevelRequest