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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_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)


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