Class: Google::Apis::DriveV2::GenerateCseTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::GenerateCseTokenResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v2/classes.rb,
lib/google/apis/drive_v2/representations.rb,
lib/google/apis/drive_v2/representations.rb
Overview
JWT and associated metadata used to generate CSE files.
Instance Attribute Summary collapse
-
#current_kacls_id ⇒ Fixnum
The current Key ACL Service (KACLS) ID associated with the JWT.
-
#current_kacls_name ⇒ String
Name of the KACLs that the returned KACLs ID points to.
-
#file_id ⇒ String
The fileId for which the JWT was generated.
-
#jwt ⇒ String
The signed JSON Web Token (JWT) for the file.
-
#kind ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateCseTokenResponse
constructor
A new instance of GenerateCseTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateCseTokenResponse
Returns a new instance of GenerateCseTokenResponse.
3327 3328 3329 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_kacls_id ⇒ Fixnum
The current Key ACL Service (KACLS) ID associated with the JWT.
Corresponds to the JSON property currentKaclsId
3304 3305 3306 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3304 def current_kacls_id @current_kacls_id end |
#current_kacls_name ⇒ String
Name of the KACLs that the returned KACLs ID points to.
Corresponds to the JSON property currentKaclsName
3309 3310 3311 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3309 def current_kacls_name @current_kacls_name end |
#file_id ⇒ String
The fileId for which the JWT was generated.
Corresponds to the JSON property fileId
3314 3315 3316 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3314 def file_id @file_id end |
#jwt ⇒ String
The signed JSON Web Token (JWT) for the file.
Corresponds to the JSON property jwt
3319 3320 3321 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3319 def jwt @jwt end |
#kind ⇒ String
Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#generateCseTokenResponse".
Corresponds to the JSON property kind
3325 3326 3327 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3325 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3332 3333 3334 3335 3336 3337 3338 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3332 def update!(**args) @current_kacls_id = args[:current_kacls_id] if args.key?(:current_kacls_id) @current_kacls_name = args[:current_kacls_name] if args.key?(:current_kacls_name) @file_id = args[:file_id] if args.key?(:file_id) @jwt = args[:jwt] if args.key?(:jwt) @kind = args[:kind] if args.key?(:kind) end |