Class: Google::Apis::StsV1::GoogleIdentityStsV1IntrospectTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::StsV1::GoogleIdentityStsV1IntrospectTokenRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sts_v1/classes.rb,
lib/google/apis/sts_v1/representations.rb,
lib/google/apis/sts_v1/representations.rb
Overview
Request message for IntrospectToken.
Instance Attribute Summary collapse
-
#token ⇒ String
Required.
-
#token_type_hint ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityStsV1IntrospectTokenRequest
constructor
A new instance of GoogleIdentityStsV1IntrospectTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityStsV1IntrospectTokenRequest
Returns a new instance of GoogleIdentityStsV1IntrospectTokenRequest.
363 364 365 |
# File 'lib/google/apis/sts_v1/classes.rb', line 363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
Required. The OAuth 2.0 security token issued by the Security Token Service
API.
Corresponds to the JSON property token
355 356 357 |
# File 'lib/google/apis/sts_v1/classes.rb', line 355 def token @token end |
#token_type_hint ⇒ String
Optional. The type of the given token. Supported values are urn:ietf:params:
oauth:token-type:access_token and access_token.
Corresponds to the JSON property tokenTypeHint
361 362 363 |
# File 'lib/google/apis/sts_v1/classes.rb', line 361 def token_type_hint @token_type_hint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 |
# File 'lib/google/apis/sts_v1/classes.rb', line 368 def update!(**args) @token = args[:token] if args.key?(:token) @token_type_hint = args[:token_type_hint] if args.key?(:token_type_hint) end |