Close httplib2 connections.
signSshPublicKey(parent, body=None, x__xgafv=None)
Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.
close()
Close httplib2 connections.
signSshPublicKey(parent, body=None, x__xgafv=None)
Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine. Args: parent: string, Required. The parent for the signing request. Format: projects/{project}/locations/{location} (required) body: object, The request body. The object takes the form of: { # A request message for signing an SSH public key. "appEngineInstance": "A String", # The App Engine instance to sign the SSH public key for. Expected format: apps/{app}/services/{service}/versions/{version}/instances/{instance} "computeInstance": "A String", # The Compute instance to sign the SSH public key for. Expected format: projects/{project}/zones/{zone}/instances/{numeric_instance_id} "serviceAccount": "A String", # Optional. The service account for the instance. If the instance in question does not have a service account, this field should be left empty. If the wrong service account is provided, this operation will return a signed certificate that will not be accepted by the VM. "sshPublicKey": "A String", # Required. The SSH public key to sign. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The response message for signing an SSH public key. "signedSshPublicKey": "A String", # The signed SSH public key to use in the SSH handshake. }