Class: Google::Apis::IamcredentialsV1::SignBlobRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SignBlobRequest

Returns a new instance of SignBlobRequest



274
275
276
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 274

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delegatesArray<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 propertydelegates`

Returns:

  • (Array<String>)


266
267
268
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 266

def delegates
  @delegates
end

#payloadString

The bytes to sign. Corresponds to the JSON property payload NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


272
273
274
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 272

def payload
  @payload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



279
280
281
282
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 279

def update!(**args)
  @delegates = args[:delegates] if args.key?(:delegates)
  @payload = args[:payload] if args.key?(:payload)
end