Class: Google::Apis::CloudidentityV1beta1::GroupRelation
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::GroupRelation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Message representing a transitive group of a user or a group.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name for this group.
-
#group ⇒ String
Resource name for this group.
-
#group_key ⇒ Google::Apis::CloudidentityV1beta1::EntityKey
A unique identifier for an entity in the Cloud Identity Groups API.
-
#labels ⇒ Hash<String,String>
Labels for Group resource.
-
#relation_type ⇒ String
The relation between the member and the transitive group.
-
#roles ⇒ Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>
Membership roles of the member for the group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupRelation
constructor
A new instance of GroupRelation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupRelation
Returns a new instance of GroupRelation.
2649 2650 2651 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2649 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name for this group.
Corresponds to the JSON property displayName
2619 2620 2621 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2619 def display_name @display_name end |
#group ⇒ String
Resource name for this group.
Corresponds to the JSON property group
2624 2625 2626 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2624 def group @group end |
#group_key ⇒ Google::Apis::CloudidentityV1beta1::EntityKey
A unique identifier for an entity in the Cloud Identity Groups API. An entity
can represent either a group with an optional namespace or a user without a
namespace. The combination of id and namespace must be unique; however,
the same id can be used with different namespaces.
Corresponds to the JSON property groupKey
2632 2633 2634 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2632 def group_key @group_key end |
#labels ⇒ Hash<String,String>
Labels for Group resource.
Corresponds to the JSON property labels
2637 2638 2639 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2637 def labels @labels end |
#relation_type ⇒ String
The relation between the member and the transitive group.
Corresponds to the JSON property relationType
2642 2643 2644 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2642 def relation_type @relation_type end |
#roles ⇒ Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>
Membership roles of the member for the group.
Corresponds to the JSON property roles
2647 2648 2649 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2647 def roles @roles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2654 2655 2656 2657 2658 2659 2660 2661 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2654 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @group = args[:group] if args.key?(:group) @group_key = args[:group_key] if args.key?(:group_key) @labels = args[:labels] if args.key?(:labels) @relation_type = args[:relation_type] if args.key?(:relation_type) @roles = args[:roles] if args.key?(:roles) end |