Class: Google::Apis::IamV1::UploadServiceAccountKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::UploadServiceAccountKeyRequest
- 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 upload request.
Instance Attribute Summary collapse
-
#public_key_data ⇒ String
A field that allows clients to upload their own public key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadServiceAccountKeyRequest
constructor
A new instance of UploadServiceAccountKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UploadServiceAccountKeyRequest
Returns a new instance of UploadServiceAccountKeyRequest.
1739 1740 1741 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#public_key_data ⇒ String
A field that allows clients to upload their own public key. If set,
use this public key data to create a service account key for given
service account.
Please note, the expected format for this field is X509_PEM.
Corresponds to the JSON property publicKeyData
NOTE: Values are automatically base64 encoded/decoded in the client library.
1737 1738 1739 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1737 def public_key_data @public_key_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1744 1745 1746 |
# File 'generated/google/apis/iam_v1/classes.rb', line 1744 def update!(**args) @public_key_data = args[:public_key_data] if args.key?(:public_key_data) end |