Google Cloud Iam V3 Client - Class Operation (1.5.3)

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

Attributes that are used to determine whether this rule applies to a request.

Generated from protobuf message google.iam.v3.AccessPolicyRule.Operation

Namespace

Google \ Cloud \ Iam \ V3 \ AccessPolicyRule

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ permissions string[]

Optional. The permissions that are explicitly affected by this rule. Each permission uses the format {service_fqdn}/{resource}.{verb}, where {service_fqdn} is the fully qualified domain name for the service. Currently supported permissions are as follows: * * eventarc.googleapis.com/messageBuses.publish.

↳ excluded_permissions string[]

Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by permissions. If a permission appears in permissions and in excluded_permissions then it will not be subject to the policy effect. The excluded permissions can be specified using the same syntax as permissions.

getPermissions

Optional. The permissions that are explicitly affected by this rule. Each permission uses the format {service_fqdn}/{resource}.{verb}, where {service_fqdn} is the fully qualified domain name for the service.

Currently supported permissions are as follows:

  • eventarc.googleapis.com/messageBuses.publish.
Returns
Type Description
Google\Protobuf\RepeatedField<string>

setPermissions

Optional. The permissions that are explicitly affected by this rule. Each permission uses the format {service_fqdn}/{resource}.{verb}, where {service_fqdn} is the fully qualified domain name for the service.

Currently supported permissions are as follows:

  • eventarc.googleapis.com/messageBuses.publish.
Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedPermissions

Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by permissions. If a permission appears in permissions and in excluded_permissions then it will not be subject to the policy effect.

The excluded permissions can be specified using the same syntax as permissions.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExcludedPermissions

Optional. Specifies the permissions that this rule excludes from the set of affected permissions given by permissions. If a permission appears in permissions and in excluded_permissions then it will not be subject to the policy effect.

The excluded permissions can be specified using the same syntax as permissions.

Parameter
Name Description
var string[]
Returns
Type Description
$this