Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1IdentityList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb

Overview

The identities and group edges.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1IdentityList

Returns a new instance of GoogleCloudAssetV1IdentityList.



1024
1025
1026
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1024

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#group_edgesArray<Google::Apis::CloudassetV1::GoogleCloudAssetV1Edge>

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. Corresponds to the JSON property groupEdges



1015
1016
1017
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1015

def group_edges
  @group_edges
end

#identitiesArray<Google::Apis::CloudassetV1::GoogleCloudAssetV1Identity>

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. Corresponds to the JSON property identities



1022
1023
1024
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1022

def identities
  @identities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1029
1030
1031
1032
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1029

def update!(**args)
  @group_edges = args[:group_edges] if args.key?(:group_edges)
  @identities = args[:identities] if args.key?(:identities)
end