Class ProjectsResource.LocationsResource.SignSshPublicKeyRequest
Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.
Inheritance
CloudOSLoginBaseServiceRequest<GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>
ProjectsResource.LocationsResource.SignSshPublicKeyRequest
Implements
Inherited Members
Namespace: Google.Apis.CloudOSLogin.v1alpha
Assembly: Google.Apis.CloudOSLogin.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SignSshPublicKeyRequest : CloudOSLoginBaseServiceRequest<GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>, IClientServiceRequest<GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>, IClientServiceRequest
Constructors
SignSshPublicKeyRequest(IClientService, GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest, string)
Constructs a new SignSshPublicKey request.
Declaration
public SignSshPublicKeyRequest(IClientService service, GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent for the signing request. Format: projects/{project}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ClientServiceRequest<GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SignSshPublicKey parameter list.
Declaration
protected override void InitParameters()