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.
2873 2874 2875 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2873 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.
2871 2872 2873 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2871 def public_key_data @public_key_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2878 2879 2880 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2878 def update!(**args) @public_key_data = args[:public_key_data] if args.key?(:public_key_data) end |