Cloud Tasks API (cloudtasks:v2beta2)

2023-09-15

2 new methods

Additions

    Methods
  • cloudtasks.projects.locations.updateCmekConfig

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

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

      HTTP Method : PATCH

      Parameters :

        projectsId

          Location : path

          Required : Yes

          Type : string

        locationsId

          Location : path

          Required : Yes

          Type : string

        updateMask

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

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order :

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

      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.

  • cloudtasks.projects.locations.getCmekConfig

      Path : v2beta2/{+name}

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

      HTTP Method : GET

      Parameters :

        name

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

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      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.