Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CmekConfigsResource

The "cmekConfigs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CmekConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CmekConfigsResource

Constructors

CmekConfigsResource(IClientService)

Constructs a new resource.

Declaration
public CmekConfigsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string)

De-provisions a CmekConfig.

Declaration
public virtual ProjectsResource.LocationsResource.CmekConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the CmekConfig to delete, such as projects/{project}/locations/{location}/cmekConfigs/{cmek_config}.

Returns
Type Description
ProjectsResource.LocationsResource.CmekConfigsResource.DeleteRequest

Get(string)

Gets the CmekConfig.

Declaration
public virtual ProjectsResource.LocationsResource.CmekConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of CmekConfig, such as projects/*/locations/*/cmekConfig or projects/*/locations/*/cmekConfigs/*. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.CmekConfigsResource.GetRequest

List(string)

Lists all the CmekConfigs with the project.

Declaration
public virtual ProjectsResource.LocationsResource.CmekConfigsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent location resource name, such as projects/{project}/locations/{location}. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.CmekConfigsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1alphaCmekConfig, string)

Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.

Declaration
public virtual ProjectsResource.LocationsResource.CmekConfigsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaCmekConfig body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaCmekConfig body

The body of the request.

string name

Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig or projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}.

Returns
Type Description
ProjectsResource.LocationsResource.CmekConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX