Class: Google::Apis::CloudidentityV1::GetMembershipGraphResponse

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

Overview

The response message for MembershipsService.GetMembershipGraph.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetMembershipGraphResponse

Returns a new instance of GetMembershipGraphResponse.



270
271
272
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 270

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

Instance Attribute Details

#adjacency_listArray<Google::Apis::CloudidentityV1::MembershipAdjacencyList>

The membership graph's path information represented as an adjacency list. Corresponds to the JSON property adjacencyList



261
262
263
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 261

def adjacency_list
  @adjacency_list
end

#groupsArray<Google::Apis::CloudidentityV1::Group>

The resources representing each group in the adjacency list. Each group in this list can be correlated to a 'group' of the MembershipAdjacencyList using the 'name' of the Group resource. Corresponds to the JSON property groups



268
269
270
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 268

def groups
  @groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



275
276
277
278
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 275

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