Access Context Manager V1 Client - Class CreateAccessLevelRequest (0.3.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

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] [google.identity.accesscontextmanager.v1.AccessLevel]. 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] [google.identity.accesscontextmanager.v1.AccessLevel].

Format: accessPolicies/{policy_id}

Returns
TypeDescription
string

setParent

Required. Resource name for the access policy which owns this [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel].

Format: accessPolicies/{policy_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccessLevel

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.

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

hasAccessLevel

clearAccessLevel

setAccessLevel

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.

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