Cloud Tasks API (cloudtasks:v2)

2023-10-11

2 new methods

Additions

    Methods
  • cloudtasks.projects.locations.updateCmekConfig

      HTTP Method : PATCH

      Parameters :

        name

          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`

          Type : string

          Required : Yes

          Location : path

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

        updateMask

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

          Format : google-fieldmask

          Location : query

          Type : string

      Path : v2/{+name}

      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.

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

      Parameter Order : name

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

  • cloudtasks.projects.locations.getCmekConfig

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

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

      Parameters :

        name

          Type : string

          Required : Yes

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

          Location : path

          Description : Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig`

      Parameter Order : name

      Path : v2/{+name}

      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.

      HTTP Method : GET