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.



2813
2814
2815
# File 'lib/google/apis/iam_v1/classes.rb', line 2813

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)


2811
2812
2813
# File 'lib/google/apis/iam_v1/classes.rb', line 2811

def public_key_data
  @public_key_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2818
2819
2820
# File 'lib/google/apis/iam_v1/classes.rb', line 2818

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