class Google::Apis::IamV1::CreateServiceAccountKeyRequest

The service account key create request.

Attributes

key_algorithm[RW]

Which type of key and algorithm to use for the key. The default is currently a 2K RSA key. However this may change in the future. Corresponds to the JSON property `keyAlgorithm` @return [String]

private_key_type[RW]

The output format of the private key. The default value is ` TYPE_GOOGLE_CREDENTIALS_FILE`, which is the Google Credentials File format. Corresponds to the JSON property `privateKeyType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/iam_v1/classes.rb, line 345
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/iam_v1/classes.rb, line 350
def update!(**args)
  @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
  @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
end