class Google::Apis::AdminDirectoryV1::Alias

JSON template for Alias object in Directory API.

Attributes

alias[RW]

A alias email Corresponds to the JSON property `alias` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

Unique id of the group (Read-only) Unique id of the user (Read-only) Corresponds to the JSON property `id` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

primary_email[RW]

Group's primary email (Read-only) User's primary email (Read-only) Corresponds to the JSON property `primaryEmail` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 59
def update!(**args)
  @alias = args[:alias] if args.key?(:alias)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @primary_email = args[:primary_email] if args.key?(:primary_email)
end