Class: Google::Apis::CloudidentityV1beta1::Group

Inherits:
Object
  • Object
show all
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

A group within the Cloud Identity Groups API. A Group is a collection of entities, where each entity is either a user, another group, or a service account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Group

Returns a new instance of Group.



1959
1960
1961
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1959

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

Instance Attribute Details

#create_timeString

Output only. The time when the Group was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1892
1893
1894
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1892

def create_time
  @create_time
end

#descriptionString

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters. Corresponds to the JSON property description

Returns:

  • (String)


1898
1899
1900
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1898

def description
  @description
end

#display_nameString

The display name of the Group. Corresponds to the JSON property displayName

Returns:

  • (String)


1903
1904
1905
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1903

def display_name
  @display_name
end

#dynamic_group_metadataGoogle::Apis::CloudidentityV1beta1::DynamicGroupMetadata

Dynamic group metadata like queries and status. Corresponds to the JSON property dynamicGroupMetadata



1908
1909
1910
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1908

def 
  @dynamic_group_metadata
end

#group_keyGoogle::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



1916
1917
1918
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1916

def group_key
  @group_key
end

#labelsHash<String,String>

Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis. com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups. security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1930
1931
1932
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1930

def labels
  @labels
end

#nameString

Output only. The resource name of the Group. Shall be of the form groups/group_id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


1936
1937
1938
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1936

def name
  @name
end

#parentString

Required. Immutable. The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/identity_sourcefor external [identity-mapped groups](https: //support.google.com/a/answer/9039510) or `customers/`customer_id for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). Find your customer ID. Corresponds to the JSON property parent

Returns:

  • (String)


1947
1948
1949
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1947

def parent
  @parent
end

#posix_groupsArray<Google::Apis::CloudidentityV1beta1::PosixGroup>

Optional. The POSIX groups associated with the Group. Corresponds to the JSON property posixGroups



1952
1953
1954
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1952

def posix_groups
  @posix_groups
end

#update_timeString

Output only. The time when the Group was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1957
1958
1959
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1957

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1964

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @dynamic_group_metadata = args[:dynamic_group_metadata] if args.key?(:dynamic_group_metadata)
  @group_key = args[:group_key] if args.key?(:group_key)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @parent = args[:parent] if args.key?(:parent)
  @posix_groups = args[:posix_groups] if args.key?(:posix_groups)
  @update_time = args[:update_time] if args.key?(:update_time)
end