Class: Google::Apis::AdminDirectoryV1::Asp
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDirectoryV1::Asp
 
- 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
The template that returns individual ASP (Access Code) data.
Instance Attribute Summary collapse
- 
  
    
      #code_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique ID of the ASP. 
- 
  
    
      #creation_time  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time when the ASP was created. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ETag of the ASP. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the API resource. 
- 
  
    
      #last_time_used  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time when the ASP was last used. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the application that the user, represented by their userId, entered when the ASP was created. 
- 
  
    
      #user_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique ID of the user who issued the ASP. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Asp 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Asp. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Asp
Returns a new instance of Asp
| 206 207 208 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 206 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#code_id ⇒ Fixnum
The unique ID of the ASP.
Corresponds to the JSON property codeId
| 173 174 175 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 173 def code_id @code_id end | 
#creation_time ⇒ Fixnum
The time when the ASP was created. Expressed in Unix time format.
Corresponds to the JSON property creationTime
| 178 179 180 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 178 def creation_time @creation_time end | 
#etag ⇒ String
ETag of the ASP.
Corresponds to the JSON property etag
| 183 184 185 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 183 def etag @etag end | 
#kind ⇒ String
The type of the API resource. This is always admin#directory#asp.
Corresponds to the JSON property kind
| 188 189 190 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 188 def kind @kind end | 
#last_time_used ⇒ Fixnum
The time when the ASP was last used. Expressed in Unix time format.
Corresponds to the JSON property lastTimeUsed
| 193 194 195 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 193 def last_time_used @last_time_used end | 
#name ⇒ 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
| 199 200 201 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 199 def name @name end | 
#user_key ⇒ String
The unique ID of the user who issued the ASP.
Corresponds to the JSON property userKey
| 204 205 206 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 204 def user_key @user_key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 211 212 213 214 215 216 217 218 219 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 211 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 |