diff --git a/dlp/src/deidentify_cloud_storage.php b/dlp/src/deidentify_cloud_storage.php index 76dfc72878..3a1f393172 100644 --- a/dlp/src/deidentify_cloud_storage.php +++ b/dlp/src/deidentify_cloud_storage.php @@ -37,7 +37,6 @@ use Google\Cloud\Dlp\V2\InspectJobConfig; use Google\Cloud\Dlp\V2\TransformationConfig; use Google\Cloud\Dlp\V2\TransformationDetailsStorageConfig; -use Google\Cloud\Dlp\V2\Client\BaseClient\DlpServiceBaseClient; use Google\Cloud\Dlp\V2\DlpJob\JobState; /** @@ -104,13 +103,13 @@ function deidentify_cloud_storage( // Specify the de-identify template used for the transformation. $transformationConfig = (new TransformationConfig()) ->setDeidentifyTemplate( - DlpServiceBaseClient::projectDeidentifyTemplateName($callingProjectId, $deidentifyTemplateName) + DlpServiceClient::projectDeidentifyTemplateName($callingProjectId, $deidentifyTemplateName) ) ->setStructuredDeidentifyTemplate( - DlpServiceBaseClient::projectDeidentifyTemplateName($callingProjectId, $structuredDeidentifyTemplateName) + DlpServiceClient::projectDeidentifyTemplateName($callingProjectId, $structuredDeidentifyTemplateName) ) ->setImageRedactTemplate( - DlpServiceBaseClient::projectDeidentifyTemplateName($callingProjectId, $imageRedactTemplateName) + DlpServiceClient::projectDeidentifyTemplateName($callingProjectId, $imageRedactTemplateName) ); $deidentify = (new Deidentify())