Class: Google::Apis::IamV1::CreateServiceAccountKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::CreateServiceAccountKeyRequest
- 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
The service account key create request.
Instance Attribute Summary collapse
-
#key_algorithm ⇒ String
Which type of key and algorithm to use for the key.
-
#private_key_type ⇒ String
The output format of the private key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateServiceAccountKeyRequest
constructor
A new instance of CreateServiceAccountKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateServiceAccountKeyRequest
Returns a new instance of CreateServiceAccountKeyRequest
174 175 176 |
# File 'generated/google/apis/iam_v1/classes.rb', line 174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_algorithm ⇒ String
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
166 167 168 |
# File 'generated/google/apis/iam_v1/classes.rb', line 166 def key_algorithm @key_algorithm end |
#private_key_type ⇒ String
The output format of the private key. GOOGLE_CREDENTIALS_FILE
is the
default output format.
Corresponds to the JSON property privateKeyType
172 173 174 |
# File 'generated/google/apis/iam_v1/classes.rb', line 172 def private_key_type @private_key_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
179 180 181 182 |
# File 'generated/google/apis/iam_v1/classes.rb', line 179 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 |