Class ProjectsResource.LocationsResource.UpdateCmekConfigRequest
Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config.
Inheritance
ProjectsResource.LocationsResource.UpdateCmekConfigRequest
Inherited Members
Namespace: Google.Apis.CloudTasks.v2
Assembly: Google.Apis.CloudTasks.v2.dll
Syntax
public class ProjectsResource.LocationsResource.UpdateCmekConfigRequest : CloudTasksBaseServiceRequest<CmekConfig>, IClientServiceRequest<CmekConfig>, IClientServiceRequest
Constructors
UpdateCmekConfigRequest(IClientService, CmekConfig, string)
Constructs a new UpdateCmekConfig request.
Declaration
public UpdateCmekConfigRequest(IClientService service, CmekConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CmekConfig | 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
Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/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
UpdateMask
List of fields to be updated in this request.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
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()