Access Context Manager V1 Client - Class CreateGcpUserAccessBindingRequest (1.0.0)

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

Request of CreateGcpUserAccessBinding.

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

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example: "organizations/256"

↳ gcp_user_access_binding Google\Identity\AccessContextManager\V1\GcpUserAccessBinding

Required. [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

getParent

Required. Example: "organizations/256"

Returns
Type Description
string

setParent

Required. Example: "organizations/256"

Parameter
Name Description
var string
Returns
Type Description
$this

getGcpUserAccessBinding

Returns
Type Description
Google\Identity\AccessContextManager\V1\GcpUserAccessBinding|null

hasGcpUserAccessBinding

clearGcpUserAccessBinding

setGcpUserAccessBinding

Parameter
Name Description
var Google\Identity\AccessContextManager\V1\GcpUserAccessBinding
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Example: "organizations/256" Please see Google\Identity\AccessContextManager\V1\AccessContextManagerClient::organizationName() for help formatting this field.

gcpUserAccessBinding Google\Identity\AccessContextManager\V1\GcpUserAccessBinding

Required. GcpUserAccessBinding

Returns
Type Description
Google\Identity\AccessContextManager\V1\CreateGcpUserAccessBindingRequest