Class: Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oslogin_v1alpha/classes.rb,
lib/google/apis/oslogin_v1alpha/representations.rb,
lib/google/apis/oslogin_v1alpha/representations.rb
Instance Attribute Summary collapse
-
#ssh_public_key ⇒ String
The SSH public key to sign.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignSshPublicKeyRequest
constructor
A new instance of SignSshPublicKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignSshPublicKeyRequest
Returns a new instance of SignSshPublicKeyRequest.
239 240 241 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ssh_public_key ⇒ String
The SSH public key to sign.
Corresponds to the JSON property sshPublicKey
237 238 239 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 237 def ssh_public_key @ssh_public_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
244 245 246 |
# File 'lib/google/apis/oslogin_v1alpha/classes.rb', line 244 def update!(**args) @ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key) end |