Google Cloud Asset V1 Client - Class IdentityList (1.11.3)

Reference documentation and code samples for the Google Cloud Asset V1 Client class IdentityList.

The identities and group edges.

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ identities array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Identity>

Only the identities that match one of the following conditions will be presented: - The identity_selector, if it is specified in request; - Otherwise, identities reachable from the policy binding's members.

↳ group_edges array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>

Group identity edges of the graph starting from the binding's group members to any node of the identities. The Edge.source_node contains a group, such as group:parent@google.com. The Edge.target_node contains a member of the group, such as group:child@google.com or user:foo@google.com. This field is present only if the output_group_edges option is enabled in request.

getIdentities

Only the identities that match one of the following conditions will be presented:

  • The identity_selector, if it is specified in request;
  • Otherwise, identities reachable from the policy binding's members.
Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIdentities

Only the identities that match one of the following conditions will be presented:

  • The identity_selector, if it is specified in request;
  • Otherwise, identities reachable from the policy binding's members.
Parameter
NameDescription
var array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Identity>
Returns
TypeDescription
$this

getGroupEdges

Group identity edges of the graph starting from the binding's group members to any node of the identities.

The Edge.source_node contains a group, such as group:parent@google.com. The Edge.target_node contains a member of the group, such as group:child@google.com or user:foo@google.com. This field is present only if the output_group_edges option is enabled in request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGroupEdges

Group identity edges of the graph starting from the binding's group members to any node of the identities.

The Edge.source_node contains a group, such as group:parent@google.com. The Edge.target_node contains a member of the group, such as group:child@google.com or user:foo@google.com. This field is present only if the output_group_edges option is enabled in request.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>
Returns
TypeDescription
$this