class Google::Apis::AdminDirectoryV1::VerificationCode

JSON template for verification codes in Directory API.

Attributes

etag[RW]

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

kind[RW]

The type of the resource. This is always admin#directory#verificationCode. Corresponds to the JSON property `kind` @return [String]

user_id[RW]

The obfuscated unique ID of the user. Corresponds to the JSON property `userId` @return [String]

verification_code[RW]

A current verification code for the user. Invalidated or used verification codes are not returned as part of the result. Corresponds to the JSON property `verificationCode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 3096
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 3101
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
  @user_id = args[:user_id] if args.key?(:user_id)
  @verification_code = args[:verification_code] if args.key?(:verification_code)
end