Class: Google::Apis::IamV1::SignJwtRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::SignJwtRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/google/apis/iam_v1/representations.rb
Overview
Deprecated. Migrate to Service Account Credentials API. The service account sign JWT request.
Instance Attribute Summary collapse
-
#payload ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignJwtRequest
constructor
A new instance of SignJwtRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignJwtRequest
Returns a new instance of SignJwtRequest.
1495 1496 1497 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1495 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ String
Required. Deprecated. Migrate to Service Account Credentials API. The JWT payload to sign.
Must be a serialized JSON object that contains a JWT Claims Set. For example:
"sub": "user@example.com", "iat": 313435`If the JWT Claims Set contains an
expiration time (
exp) claim, it must be an integer timestamp that is not in
the past and no more than 1 hour in the future. If the JWT Claims Set does not
contain an expiration time (
exp) claim, this claim is added automatically,
with a timestamp that is 1 hour in the future.
Corresponds to the JSON property
payload`
1493 1494 1495 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1493 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1500 1501 1502 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1500 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |