Access Context Manager V1 Client - Class CreateAccessLevelRequest (1.0.2)

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 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
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 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 AccessContextManagerClient::accessPolicyName() for help formatting this field.

accessLevel AccessLevel

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

Returns
Type Description
CreateAccessLevelRequest