class Google::Apis::AdminDirectoryV1::Asp
The template that returns individual ASP (Access Code) data.
Attributes
The unique ID of the ASP. Corresponds to the JSON property `codeId` @return [Fixnum]
The time when the ASP was created. Expressed in Unix time format. Corresponds to the JSON property `creationTime` @return [String]
ETag of the ASP. Corresponds to the JSON property `etag` @return [String]
The type of the API resource. This is always admin#directory#asp. Corresponds to the JSON property `kind` @return [String]
The time when the ASP was last used. Expressed in Unix time format. Corresponds to the JSON property `lastTimeUsed` @return [String]
The name of the application that the user, represented by their userId, entered when the ASP was created. Corresponds to the JSON property `name` @return [String]
The unique ID of the user who issued the ASP. Corresponds to the JSON property `userKey` @return [String]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 139 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 144 def update!(**args) @code_id = args[:code_id] if args.key?(:code_id) @creation_time = args[:creation_time] if args.key?(:creation_time) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @last_time_used = args[:last_time_used] if args.key?(:last_time_used) @name = args[:name] if args.key?(:name) @user_key = args[:user_key] if args.key?(:user_key) end