Cloud Tasks API (cloudtasks:v2beta3)

2023-10-04

2 new methods

Additions

    Methods
  • cloudtasks.projects.locations.getCmekConfig

      Parameter Order: name

      Flat Path: v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig

      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.

      Parameters:

        name

          Location: path

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/cmekConfig$

          Description: Required. The config resource name. For example: projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`

          Type: string

      HTTP Method: GET

      Path: v2beta3/{+name}

      Scopes: https://www.googleapis.com/auth/cloud-platform

  • cloudtasks.projects.locations.updateCmekConfig

      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.

      Parameters:

        locationsId

          Required: Yes

          Location: path

          Type: string

        updateMask

          Type: string

          Location: query

          Description: List of fields to be updated in this request.

          Format: google-fieldmask

        projectsId

          Type: string

          Required: Yes

          Location: path

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig

      Path: v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig

      Parameter Order:

    • projectsId
    • locationsId
    • HTTP Method: PATCH