Class: Google::Apis::IamcredentialsV1::SignBlobRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::SignBlobRequest
- 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
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignBlobRequest
constructor
A new instance of SignBlobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignBlobRequest
Returns a new instance of SignBlobRequest.
178 179 180 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 178 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`.
The
-wildcard character is required; replacing it with a project ID is
invalid.
Corresponds to the JSON property
delegates`
170 171 172 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 170 def delegates @delegates end |
#payload ⇒ String
Required. The bytes to sign.
Corresponds to the JSON property payload
NOTE: Values are automatically base64 encoded/decoded in the client library.
176 177 178 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 176 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 186 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 183 def update!(**args) @delegates = args[:delegates] if args.key?(:delegates) @payload = args[:payload] if args.key?(:payload) end |