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.



2007
2008
2009
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2007

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



1998
1999
2000
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1998

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



2005
2006
2007
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2005

def identities
  @identities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2012
2013
2014
2015
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 2012

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