Class: Google::Apis::IamV1::UploadServiceAccountKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::UploadServiceAccountKeyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
The service account key upload request.
Instance Attribute Summary collapse
-
#public_key_data ⇒ String
The public key to associate with the service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadServiceAccountKeyRequest
constructor
A new instance of UploadServiceAccountKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadServiceAccountKeyRequest
Returns a new instance of UploadServiceAccountKeyRequest.
2311 2312 2313 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#public_key_data ⇒ String
The public key to associate with the service account. Must be an RSA public
key that is wrapped in an X.509 v3 certificate. Include the first line, -----
BEGIN CERTIFICATE-----, and the last line, -----END CERTIFICATE-----.
Corresponds to the JSON property publicKeyData
NOTE: Values are automatically base64 encoded/decoded in the client library.
2309 2310 2311 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2309 def public_key_data @public_key_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2316 2317 2318 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2316 def update!(**args) @public_key_data = args[:public_key_data] if args.key?(:public_key_data) end |