Class: Google::Apis::AdminDirectoryV1::Member

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Member

Returns a new instance of Member.


1808
1809
1810
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1808

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

Instance Attribute Details

#delivery_settingsString

Delivery settings of member Corresponds to the JSON property delivery_settings

Returns:

  • (String)

1769
1770
1771
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1769

def delivery_settings
  @delivery_settings
end

#emailString

Email of member (Read-only) Corresponds to the JSON property email

Returns:

  • (String)

1774
1775
1776
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1774

def email
  @email
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

1779
1780
1781
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1779

def etag
  @etag
end

#idString

Unique identifier of group (Read-only) Unique identifier of member (Read-only) The unique ID of the group member. A member id can be used as a member request URI's memberKey. Corresponds to the JSON property id

Returns:

  • (String)

1786
1787
1788
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1786

def id
  @id
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)

1791
1792
1793
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1791

def kind
  @kind
end

#roleString

Role of member Corresponds to the JSON property role

Returns:

  • (String)

1796
1797
1798
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1796

def role
  @role
end

#statusString

Status of member (Immutable) Corresponds to the JSON property status

Returns:

  • (String)

1801
1802
1803
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1801

def status
  @status
end

#typeString

Type of member (Immutable) Corresponds to the JSON property type

Returns:

  • (String)

1806
1807
1808
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1806

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1813

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