Google Cloud Iam V3 Client - Class UpdatePrincipalAccessBoundaryPolicyRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Iam V3 Client class UpdatePrincipalAccessBoundaryPolicyRequest.

Request message for UpdatePrincipalAccessBoundaryPolicy method.

Generated from protobuf message google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest

Namespace

Google \ Cloud \ Iam \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ principal_access_boundary_policy PrincipalAccessBoundaryPolicy

Required. The principal access boundary policy to update. The principal access boundary policy's name field is used to identify the policy to update.

↳ validate_only bool

Optional. If set, validate the request and preview the update, but do not actually post it.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update

getPrincipalAccessBoundaryPolicy

Required. The principal access boundary policy to update.

The principal access boundary policy's name field is used to identify the policy to update.

Returns
Type Description
PrincipalAccessBoundaryPolicy|null

hasPrincipalAccessBoundaryPolicy

clearPrincipalAccessBoundaryPolicy

setPrincipalAccessBoundaryPolicy

Required. The principal access boundary policy to update.

The principal access boundary policy's name field is used to identify the policy to update.

Parameter
Name Description
var PrincipalAccessBoundaryPolicy
Returns
Type Description
$this

getValidateOnly

Optional. If set, validate the request and preview the update, but do not actually post it.

Returns
Type Description
bool

setValidateOnly

Optional. If set, validate the request and preview the update, but do not actually post it.

Parameter
Name Description
var bool
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
principalAccessBoundaryPolicy PrincipalAccessBoundaryPolicy

Required. The principal access boundary policy to update.

The principal access boundary policy's name field is used to identify the policy to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update

Returns
Type Description
UpdatePrincipalAccessBoundaryPolicyRequest