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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/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.



1988
1989
1990
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1988

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



1979
1980
1981
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1979

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



1986
1987
1988
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1986

def identities
  @identities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1993
1994
1995
1996
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1993

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