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

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

Instance Method Summary collapse

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_dataString

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.

Returns:

  • (String)


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