Class: Google::Apis::CloudidentityV1::MembershipAdjacencyList

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

Membership graph's path information as an adjacency list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipAdjacencyList

Returns a new instance of MembershipAdjacencyList.



1727
1728
1729
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1727

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

Instance Attribute Details

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

Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g name, preferred_member_key and role), but may not be a comprehensive list of all fields. Corresponds to the JSON property edges



1720
1721
1722
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1720

def edges
  @edges
end

#groupString

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

Returns:

  • (String)


1725
1726
1727
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1725

def group
  @group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1732
1733
1734
1735
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1732

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