Class: Google::Cloud::OsLogin::V1::ImportSshPublicKeyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/oslogin/v1/oslogin.rb

Overview

A request message for importing an SSH public key.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The unique ID for the user in format users/{user}.

Returns:

  • (::String)

    Required. The unique ID for the user in format users/{user}.



124
125
126
127
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 124

class ImportSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Returns The project ID of the Google Cloud Platform project.

Returns:

  • (::String)

    The project ID of the Google Cloud Platform project.



124
125
126
127
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 124

class ImportSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#regions::Array<::String>

Returns Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.

Returns:



124
125
126
127
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 124

class ImportSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ssh_public_key::Google::Cloud::OsLogin::Common::SshPublicKey

Returns Optional. The SSH public key and expiration time.

Returns:



124
125
126
127
# File 'proto_docs/google/cloud/oslogin/v1/oslogin.rb', line 124

class ImportSshPublicKeyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end