class ProjectsLocationsEncryptionSpec extends Resource (View source)

The "encryptionSpec" collection of methods.

Typical usage is:

 $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...);
 $encryptionSpec = $contactcenterinsightsService->projects_locations_encryptionSpec;

Methods

initialize(string $name, GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest $postBody, array $optParams = [])

Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Details

GoogleLongrunningOperation initialize(string $name, GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest $postBody, array $optParams = [])

Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

(encryptionSpec.initialize)

Parameters

string $name

Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec

GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception