Class ProjectsResource.LocationsResource.UpdateCmekConfigRequest
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.
Inheritance
ProjectsResource.LocationsResource.UpdateCmekConfigRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.UpdateCmekConfigRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UpdateCmekConfigRequest(IClientService, GoogleCloudDiscoveryengineV1alphaCmekConfig, string)
Constructs a new UpdateCmekConfig request.
Declaration
public UpdateCmekConfigRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaCmekConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1alphaCmekConfig | body | |
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. Name of the CmekConfig, of the form projects/{project}/locations/{location}/cmekConfig
or projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}
.
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
SetDefault
Set the following CmekConfig as the default to be used for child resources if one is not specified.
Declaration
[RequestParameter("setDefault", RequestParameterType.Query)]
public virtual bool? SetDefault { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateCmekConfig parameter list.
Declaration
protected override void InitParameters()