Class: Google::Apis::CloudidentityV1::GetMembershipGraphResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::GetMembershipGraphResponse
- 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
-
#adjacency_list ⇒ Array<Google::Apis::CloudidentityV1::MembershipAdjacencyList>
The membership graph's path information represented as an adjacency list.
-
#groups ⇒ Array<Google::Apis::CloudidentityV1::Group>
The resources representing each group in the adjacency list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetMembershipGraphResponse
constructor
A new instance of GetMembershipGraphResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetMembershipGraphResponse
Returns a new instance of GetMembershipGraphResponse.
423 424 425 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adjacency_list ⇒ Array<Google::Apis::CloudidentityV1::MembershipAdjacencyList>
The membership graph's path information represented as an adjacency list.
Corresponds to the JSON property adjacencyList
414 415 416 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 414 def adjacency_list @adjacency_list end |
#groups ⇒ Array<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
421 422 423 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 421 def groups @groups end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
428 429 430 431 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 428 def update!(**args) @adjacency_list = args[:adjacency_list] if args.key?(:adjacency_list) @groups = args[:groups] if args.key?(:groups) end |