Class: Google::Apis::IamV1::UploadServiceAccountKeyRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UploadServiceAccountKeyRequest

Returns a new instance of UploadServiceAccountKeyRequest.



1682
1683
1684
# File 'generated/google/apis/iam_v1/classes.rb', line 1682

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#public_key_dataString

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.

Returns:

  • (String)


1680
1681
1682
# File 'generated/google/apis/iam_v1/classes.rb', line 1680

def public_key_data
  @public_key_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1687
1688
1689
# File 'generated/google/apis/iam_v1/classes.rb', line 1687

def update!(**args)
  @public_key_data = args[:public_key_data] if args.key?(:public_key_data)
end