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
Namespace
Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisResultMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ identities |
array<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<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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Identity>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Edge>
|
Returns | |
---|---|
Type | Description |
$this |