class Google::Apis::CloudidentityV1::GroupRelation

Message representing a transitive group of a user or a group.

Attributes

display_name[RW]

Display name for this group. Corresponds to the JSON property `displayName` @return [String]

group[RW]

Resource name for this group. Corresponds to the JSON property `group` @return [String]

group_key[RW]

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 `namespace`s. Corresponds to the JSON property `groupKey` @return [Google::Apis::CloudidentityV1::EntityKey]

labels[RW]

Labels for Group resource. Corresponds to the JSON property `labels` @return [Hash<String,String>]

relation_type[RW]

The relation between the member and the transitive group. Corresponds to the JSON property `relationType` @return [String]

roles[RW]

Membership roles of the member for the group. Corresponds to the JSON property `roles` @return [Array<Google::Apis::CloudidentityV1::TransitiveMembershipRole>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudidentity_v1/classes.rb, line 1392
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1/classes.rb, line 1397
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