Class: Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest

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

Instance Method Summary collapse

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_keyString

The SSH public key to sign. Corresponds to the JSON property sshPublicKey

Returns:

  • (String)


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