Access Context Manager V1 Client - Class CreateAccessLevelRequest (1.0.0)

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
Name Description
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
Type Description
string

setParent

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

Format: accessPolicies/{policy_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessLevel

Required. The Access Level to create.

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

Returns
Type Description
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
Name Description
var Google\Identity\AccessContextManager\V1\AccessLevel
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Identity\AccessContextManager\V1\CreateAccessLevelRequest