Class: Google::Apis::CloudidentityV1beta1::GetMembershipGraphResponse

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

Overview

The response message for MembershipsService.GetMembershipGraph.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetMembershipGraphResponse

Returns a new instance of GetMembershipGraphResponse.



643
644
645
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 643

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

Instance Attribute Details

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

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



634
635
636
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 634

def adjacency_list
  @adjacency_list
end

#groupsArray<Google::Apis::CloudidentityV1beta1::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



641
642
643
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 641

def groups
  @groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



648
649
650
651
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 648

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