Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::CreateSSHKeyRequest.
Message for registering a public SSH key in a project.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
    Returns
    
  - (::String) — Required. The parent containing the SSH keys.
#parent=
def parent=(value) -> ::String
    Parameter
    
  - value (::String) — Required. The parent containing the SSH keys.
    Returns
    
  - (::String) — Required. The parent containing the SSH keys.
#ssh_key
def ssh_key() -> ::Google::Cloud::BareMetalSolution::V2::SSHKey
    Returns
    
  - (::Google::Cloud::BareMetalSolution::V2::SSHKey) — Required. The SSH key to register.
#ssh_key=
def ssh_key=(value) -> ::Google::Cloud::BareMetalSolution::V2::SSHKey
    Parameter
    
  - value (::Google::Cloud::BareMetalSolution::V2::SSHKey) — Required. The SSH key to register.
    Returns
    
  - (::Google::Cloud::BareMetalSolution::V2::SSHKey) — Required. The SSH key to register.
#ssh_key_id
def ssh_key_id() -> ::String
    Returns
    
  - 
        (::String) — Required. The ID to use for the key, which will become the final component
of the key's resource name.This value must match the regex: [a-zA-Z0-9@.-_]{1,64} 
#ssh_key_id=
def ssh_key_id=(value) -> ::String
    Parameter
    
  - 
        value (::String) — Required. The ID to use for the key, which will become the final component
of the key's resource name.This value must match the regex: [a-zA-Z0-9@.-_]{1,64} 
    Returns
    
- 
        (::String) — Required. The ID to use for the key, which will become the final component
of the key's resource name.This value must match the regex: [a-zA-Z0-9@.-_]{1,64}