ProjectsLocations
class ProjectsLocations extends Resource (View source)
The "locations" collection of methods.
Typical usage is:
$cloudtasksService = new Google\Service\CloudTasks(...);
$locations = $cloudtasksService->projects_locations;
Methods
Gets information about a location. (locations.get)
Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.
Lists information about the supported locations for this service.
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. (locations.updateCmekConfig)
Details
Location
get(string $name, array $optParams = [])
Gets information about a location. (locations.get)
CmekConfig
getCmekConfig(string $name, array $optParams = [])
Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.
(locations.getCmekConfig)
ListLocationsResponse
listProjectsLocations(string $name, array $optParams = [])
Lists information about the supported locations for this service.
(locations.listProjectsLocations)
CmekConfig
updateCmekConfig(string $name, CmekConfig $postBody, array $optParams = [])
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. (locations.updateCmekConfig)