Google API Common Protos V1 Client - Class BindingDelta (4.8.3)

Reference documentation and code samples for the Google API Common Protos V1 Client class BindingDelta.

One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.

Generated from protobuf message google.iam.v1.BindingDelta

Namespace

Google \ Cloud \ Iam \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ action int

The action that was performed on a Binding. Required

↳ role string

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner. Required

↳ member string

A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required

↳ condition Google\Type\Expr

The condition that is associated with this binding.

getAction

The action that was performed on a Binding.

Required

Returns
Type Description
int

setAction

The action that was performed on a Binding.

Required

Parameter
Name Description
var int
Returns
Type Description
$this

getRole

Role that is assigned to members.

For example, roles/viewer, roles/editor, or roles/owner. Required

Returns
Type Description
string

setRole

Role that is assigned to members.

For example, roles/viewer, roles/editor, or roles/owner. Required

Parameter
Name Description
var string
Returns
Type Description
$this

getMember

A single identity requesting access for a Google Cloud resource.

Follows the same format of Binding.members. Required

Returns
Type Description
string

setMember

A single identity requesting access for a Google Cloud resource.

Follows the same format of Binding.members. Required

Parameter
Name Description
var string
Returns
Type Description
$this

getCondition

The condition that is associated with this binding.

Returns
Type Description
Google\Type\Expr|null

hasCondition

clearCondition

setCondition

The condition that is associated with this binding.

Parameter
Name Description
var Google\Type\Expr
Returns
Type Description
$this