Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.GetPublicKeyRequest
Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
Inheritance
ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.GetPublicKeyRequest
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.GetPublicKeyRequest : CloudKMSBaseServiceRequest<PublicKey>, IClientServiceRequest<PublicKey>, IClientServiceRequest
Constructors
GetPublicKeyRequest(IClientService, string)
Constructs a new GetPublicKey request.
Declaration
public GetPublicKeyRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
Required. The name of the CryptoKeyVersion public key to get.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetPublicKey parameter list.
Declaration
protected override void InitParameters()