Class: Google::Apis::CloudidentityV1beta1::MembershipAdjacencyList

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

Membership graph's path information as an adjacency list.

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) ⇒ MembershipAdjacencyList

Returns a new instance of MembershipAdjacencyList.



1051
1052
1053
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1051

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

Instance Attribute Details

#edgesArray<Google::Apis::CloudidentityV1beta1::Membership>

Each edge contains information about the member that belongs to this group. Corresponds to the JSON property edges



1044
1045
1046
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1044

def edges
  @edges
end

#groupString

Resource name of the group that the members belong to. Corresponds to the JSON property group

Returns:

  • (String)


1049
1050
1051
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1049

def group
  @group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1056
1057
1058
1059
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1056

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