Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.ExportTrustedKeyWrappedCryptoKeyVersionRequest
Exports a CryptoKeyVersion with a trusted key. The CryptoKeyVersion must have trusted_wrapping_enabled set to true. The CryptoKeyVersion of the [wrapping_key] must have the AES_WRAPPING purpose. The [wrapping_key] must have the AES_256_KWP algorithm.
Inheritance
ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.ExportTrustedKeyWrappedCryptoKeyVersionRequest
Implements
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.CryptoKeyVersionsResource.ExportTrustedKeyWrappedCryptoKeyVersionRequest : CloudKMSBaseServiceRequest<ExportTrustedKeyWrappedCryptoKeyVersionResponse>, IClientServiceRequest<ExportTrustedKeyWrappedCryptoKeyVersionResponse>, IClientServiceRequest
Constructors
ExportTrustedKeyWrappedCryptoKeyVersionRequest(IClientService, string)
Constructs a new ExportTrustedKeyWrappedCryptoKeyVersion request.
Declaration
public ExportTrustedKeyWrappedCryptoKeyVersionRequest(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 to export. The CryptoKeyVersion must have trusted_wrapping_enabled set to true.
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
WrappingKey
Required. The name of the CryptoKeyVersion to use as a wrapping key. The CryptoKeyVersion must have hsm_trusted set to true.
Declaration
[RequestParameter("wrappingKey", RequestParameterType.Query)]
public virtual string WrappingKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes ExportTrustedKeyWrappedCryptoKeyVersion parameter list.
Declaration
protected override void InitParameters()