Class: Google::Apis::AdminDirectoryV1::Member
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Member
- 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 Member resource in Directory API.
Instance Attribute Summary collapse
-
#delivery_settings ⇒ String
Delivery settings of member Corresponds to the JSON property
delivery_settings
. -
#email ⇒ String
Email of member (Read-only) Corresponds to the JSON property
email
. -
#etag ⇒ String
ETag of the resource.
-
#id ⇒ String
Unique identifier of customer member (Read-only) Unique identifier of group ( Read-only) Unique identifier of member (Read-only) Corresponds to the JSON property
id
. -
#kind ⇒ String
Kind of resource this is.
-
#role ⇒ String
Role of member Corresponds to the JSON property
role
. -
#status ⇒ String
Status of member (Immutable) Corresponds to the JSON property
status
. -
#type ⇒ String
Type of member (Immutable) Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Member
constructor
A new instance of Member.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Member
Returns a new instance of Member
1726 1727 1728 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery_settings ⇒ String
Delivery settings of member
Corresponds to the JSON property delivery_settings
1688 1689 1690 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1688 def delivery_settings @delivery_settings end |
#email ⇒ String
Email of member (Read-only)
Corresponds to the JSON property email
1693 1694 1695 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1693 def email @email end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1698 1699 1700 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1698 def etag @etag end |
#id ⇒ String
Unique identifier of customer member (Read-only) Unique identifier of group (
Read-only) Unique identifier of member (Read-only)
Corresponds to the JSON property id
1704 1705 1706 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1704 def id @id end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1709 1710 1711 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1709 def kind @kind end |
#role ⇒ String
Role of member
Corresponds to the JSON property role
1714 1715 1716 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1714 def role @role end |
#status ⇒ String
Status of member (Immutable)
Corresponds to the JSON property status
1719 1720 1721 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1719 def status @status end |
#type ⇒ String
Type of member (Immutable)
Corresponds to the JSON property type
1724 1725 1726 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1724 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1731 def update!(**args) @delivery_settings = args[:delivery_settings] if args.key?(:delivery_settings) @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) @role = args[:role] if args.key?(:role) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |