Class: Google::Apis::AdminDirectoryV1::Group
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Group
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for Group resource in Directory API.
Instance Attribute Summary collapse
-
#admin_created ⇒ Boolean
(also: #admin_created?)
Is the group created by admin (Read-only) * Corresponds to the JSON property
adminCreated
. -
#aliases ⇒ Array<String>
List of aliases (Read-only) Corresponds to the JSON property
aliases
. -
#description ⇒ String
Description of the group Corresponds to the JSON property
description
. -
#direct_members_count ⇒ Fixnum
Group direct members count Corresponds to the JSON property
directMembersCount
. -
#email ⇒ String
Email of Group Corresponds to the JSON property
email
. -
#etag ⇒ String
ETag of the resource.
-
#id ⇒ String
Unique identifier of Group (Read-only) Corresponds to the JSON property
id
. -
#kind ⇒ String
Kind of resource this is.
-
#name ⇒ String
Group name Corresponds to the JSON property
name
. -
#non_editable_aliases ⇒ Array<String>
List of non editable aliases (Read-only) Corresponds to the JSON property
nonEditableAliases
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Group
constructor
A new instance of Group.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group
1625 1626 1627 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1625 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_created ⇒ Boolean Also known as: admin_created?
Is the group created by admin (Read-only) *
Corresponds to the JSON property adminCreated
1577 1578 1579 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1577 def admin_created @admin_created end |
#aliases ⇒ Array<String>
List of aliases (Read-only)
Corresponds to the JSON property aliases
1583 1584 1585 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1583 def aliases @aliases end |
#description ⇒ String
Description of the group
Corresponds to the JSON property description
1588 1589 1590 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1588 def description @description end |
#direct_members_count ⇒ Fixnum
Group direct members count
Corresponds to the JSON property directMembersCount
1593 1594 1595 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1593 def direct_members_count @direct_members_count end |
#email ⇒ String
Email of Group
Corresponds to the JSON property email
1598 1599 1600 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1598 def email @email end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1603 1604 1605 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1603 def etag @etag end |
#id ⇒ String
Unique identifier of Group (Read-only)
Corresponds to the JSON property id
1608 1609 1610 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1608 def id @id end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1613 1614 1615 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1613 def kind @kind end |
#name ⇒ String
Group name
Corresponds to the JSON property name
1618 1619 1620 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1618 def name @name end |
#non_editable_aliases ⇒ Array<String>
List of non editable aliases (Read-only)
Corresponds to the JSON property nonEditableAliases
1623 1624 1625 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1623 def non_editable_aliases @non_editable_aliases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1630 def update!(**args) @admin_created = args[:admin_created] if args.key?(:admin_created) @aliases = args[:aliases] if args.key?(:aliases) @description = args[:description] if args.key?(:description) @direct_members_count = args[:direct_members_count] if args.key?(:direct_members_count) @email = args[:email] if args.key?(:email) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @non_editable_aliases = args[:non_editable_aliases] if args.key?(:non_editable_aliases) end |