You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### cloudtasks:v2
The following keys were added:
- resources.projects.resources.locations.methods.getCmekConfig (Total Keys: 11)
- resources.projects.resources.locations.methods.updateCmekConfig (Total Keys: 15)
- schemas.CmekConfig (Total Keys: 5)
#### cloudtasks:v2beta2
The following keys were deleted:
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId (Total Keys: 3)
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId (Total Keys: 3)
The following keys were added:
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.name (Total Keys: 4)
The following keys were changed:
- resources.projects.resources.locations.methods.updateCmekConfig (Total Keys: 2)
#### cloudtasks:v2beta3
The following keys were deleted:
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.locationsId (Total Keys: 3)
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.projectsId (Total Keys: 3)
The following keys were added:
- resources.projects.resources.locations.methods.updateCmekConfig.parameters.name (Total Keys: 4)
The following keys were changed:
- resources.projects.resources.locations.methods.updateCmekConfig (Total Keys: 2)
<pclass="firstline">Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.</p>
<pclass="firstline">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.</p>
<pre>Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.
136
+
137
+
Args:
138
+
name: string, Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig` (required)
139
+
x__xgafv: string, V1 error format.
140
+
Allowed values
141
+
1 - v1 error format
142
+
2 - v2 error format
143
+
144
+
Returns:
145
+
An object of the form:
146
+
147
+
{ # CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.
148
+
"kmsKey": "A String", # Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.
149
+
"name": "A String", # 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`
<pre>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.
205
+
206
+
Args:
207
+
name: string, 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` (required)
208
+
body: object, The request body.
209
+
The object takes the form of:
210
+
211
+
{ # CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.
212
+
"kmsKey": "A String", # Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.
213
+
"name": "A String", # 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`
214
+
}
215
+
216
+
updateMask: string, List of fields to be updated in this request.
217
+
x__xgafv: string, V1 error format.
218
+
Allowed values
219
+
1 - v1 error format
220
+
2 - v2 error format
221
+
222
+
Returns:
223
+
An object of the form:
224
+
225
+
{ # CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.
226
+
"kmsKey": "A String", # Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.
227
+
"name": "A String", # 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`
<pclass="firstline">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.</p>
<pre>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.
205
205
206
206
Args:
207
-
projectsId: string, A parameter (required)
208
-
locationsId: string, A parameter (required)
207
+
name: string, 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` (required)
<pclass="firstline">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.</p>
<pre>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.
205
205
206
206
Args:
207
-
projectsId: string, A parameter (required)
208
-
locationsId: string, A parameter (required)
207
+
name: string, 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` (required)
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/cloudtasks.v2.json
+76-1
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,31 @@
134
134
"https://www.googleapis.com/auth/cloud-platform"
135
135
]
136
136
},
137
+
"getCmekConfig": {
138
+
"description": "Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.",
"description": "Lists information about the supported locations for this service.",
139
164
"flatPath": "v2/projects/{projectsId}/locations",
@@ -174,6 +199,40 @@
174
199
"scopes": [
175
200
"https://www.googleapis.com/auth/cloud-platform"
176
201
]
202
+
},
203
+
"updateCmekConfig": {
204
+
"description": "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.",
"description": "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`",
"description": "List of fields to be updated in this request.",
221
+
"format": "google-fieldmask",
222
+
"location": "query",
223
+
"type": "string"
224
+
}
225
+
},
226
+
"path": "v2/{+name}",
227
+
"request": {
228
+
"$ref": "CmekConfig"
229
+
},
230
+
"response": {
231
+
"$ref": "CmekConfig"
232
+
},
233
+
"scopes": [
234
+
"https://www.googleapis.com/auth/cloud-platform"
235
+
]
177
236
}
178
237
},
179
238
"resources": {
@@ -685,7 +744,7 @@
685
744
}
686
745
}
687
746
},
688
-
"revision": "20230927",
747
+
"revision": "20230929",
689
748
"rootUrl": "https://cloudtasks.googleapis.com/",
690
749
"schemas": {
691
750
"AppEngineHttpRequest": {
@@ -810,6 +869,22 @@
810
869
},
811
870
"type": "object"
812
871
},
872
+
"CmekConfig": {
873
+
"description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer\u2019s hands.",
874
+
"id": "CmekConfig",
875
+
"properties": {
876
+
"kmsKey": {
877
+
"description": "Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.",
878
+
"type": "string"
879
+
},
880
+
"name": {
881
+
"description": "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`",
"description": "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`",
"description": "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`",
0 commit comments