Class: Google::Apis::IamcredentialsV1::SignJwtRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::SignJwtRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iamcredentials_v1/classes.rb,
generated/google/apis/iamcredentials_v1/representations.rb,
generated/google/apis/iamcredentials_v1/representations.rb
Instance Attribute Summary collapse
-
#delegates ⇒ Array<String>
The sequence of service accounts in a delegation chain.
-
#payload ⇒ String
The JWT payload to sign: a JSON object that contains a JWT Claims Set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignJwtRequest
constructor
A new instance of SignJwtRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SignJwtRequest
Returns a new instance of SignJwtRequest
332 333 334 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegates ⇒ Array<String>
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/
ACCOUNT_EMAIL_OR_UNIQUEID`
Corresponds to the JSON property
delegates`
325 326 327 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 325 def delegates @delegates end |
#payload ⇒ String
The JWT payload to sign: a JSON object that contains a JWT Claims Set.
Corresponds to the JSON property payload
330 331 332 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 330 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 337 def update!(**args) @delegates = args[:delegates] if args.key?(:delegates) @payload = args[:payload] if args.key?(:payload) end |