Access Context Manager V1 Client - Class CreateGcpUserAccessBindingRequest (0.4.5)

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
NameDescription
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
TypeDescription
string

setParent

Required. Example: "organizations/256"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcpUserAccessBinding

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

hasGcpUserAccessBinding

clearGcpUserAccessBinding

setGcpUserAccessBinding

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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Identity\AccessContextManager\V1\CreateGcpUserAccessBindingRequest