Class: Google::Apis::CloudidentityV1::MembershipAdjacencyList
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::MembershipAdjacencyList
- 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
-
#edges ⇒ Array<Google::Apis::CloudidentityV1::Membership>
Each edge contains information about the member that belongs to this group.
-
#group ⇒ String
Resource name of the group that the members belong to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipAdjacencyList
constructor
A new instance of MembershipAdjacencyList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipAdjacencyList
Returns a new instance of MembershipAdjacencyList.
2077 2078 2079 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#edges ⇒ Array<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
2070 2071 2072 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2070 def edges @edges end |
#group ⇒ String
Resource name of the group that the members belong to.
Corresponds to the JSON property group
2075 2076 2077 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2075 def group @group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2082 2083 2084 2085 |
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2082 def update!(**args) @edges = args[:edges] if args.key?(:edges) @group = args[:group] if args.key?(:group) end |