Class ProjectsResource.LocationsResource.KmsConfigsResource
The "kmsConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KmsConfigsResource
Constructors
KmsConfigsResource(IClientService)
Constructs a new resource.
Declaration
public KmsConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(KmsConfig, string)
Creates a new KMS config.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.CreateRequest Create(KmsConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
KmsConfig | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.CreateRequest |
Delete(string)
Warning! This operation will permanently delete the Kms config.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the KmsConfig. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.DeleteRequest |
Encrypt(EncryptVolumesRequest, string)
Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.EncryptRequest Encrypt(EncryptVolumesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
EncryptVolumesRequest | body | The body of the request. |
string | name | Required. Name of the KmsConfig. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.EncryptRequest |
Get(string)
Returns the description of the specified KMS config by kms_config_id.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the KmsConfig |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.GetRequest |
List(string)
Returns descriptions of all KMS configs owned by the caller.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.ListRequest |
Patch(KmsConfig, string)
Updates the Kms config properties with the full spec
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.PatchRequest Patch(KmsConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
KmsConfig | body | The body of the request. |
string | name | Identifier. Name of the KmsConfig. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.PatchRequest |
Verify(VerifyKmsConfigRequest, string)
Verifies KMS config reachability.
Declaration
public virtual ProjectsResource.LocationsResource.KmsConfigsResource.VerifyRequest Verify(VerifyKmsConfigRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
VerifyKmsConfigRequest | body | The body of the request. |
string | name | Required. Name of the KMS Config to be verified. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.KmsConfigsResource.VerifyRequest |