diff --git a/Dataplex/samples/V1/ContentServiceClient/create_content.php b/Dataplex/samples/V1/ContentServiceClient/create_content.php
deleted file mode 100644
index f9e4de2ed939..000000000000
--- a/Dataplex/samples/V1/ContentServiceClient/create_content.php
+++ /dev/null
@@ -1,85 +0,0 @@
-setPath($contentPath)
- ->setDataText($contentDataText);
- $request = (new CreateContentRequest())
- ->setParent($formattedParent)
- ->setContent($content);
-
- // Call the API and handle any network failures.
- try {
- /** @var Content $response */
- $response = $contentServiceClient->createContent($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = ContentServiceClient::lakeName('[PROJECT]', '[LOCATION]', '[LAKE]');
- $contentPath = '[PATH]';
- $contentDataText = '[DATA_TEXT]';
-
- create_content_sample($formattedParent, $contentPath, $contentDataText);
-}
-// [END dataplex_v1_generated_ContentService_CreateContent_sync]
diff --git a/Dataplex/samples/V1/ContentServiceClient/delete_content.php b/Dataplex/samples/V1/ContentServiceClient/delete_content.php
deleted file mode 100644
index 9d9a93da0707..000000000000
--- a/Dataplex/samples/V1/ContentServiceClient/delete_content.php
+++ /dev/null
@@ -1,75 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- $contentServiceClient->deleteContent($request);
- printf('Call completed successfully.' . PHP_EOL);
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = ContentServiceClient::contentName(
- '[PROJECT]',
- '[LOCATION]',
- '[LAKE]',
- '[CONTENT]'
- );
-
- delete_content_sample($formattedName);
-}
-// [END dataplex_v1_generated_ContentService_DeleteContent_sync]
diff --git a/Dataplex/samples/V1/ContentServiceClient/get_content.php b/Dataplex/samples/V1/ContentServiceClient/get_content.php
deleted file mode 100644
index 9db754c7b72b..000000000000
--- a/Dataplex/samples/V1/ContentServiceClient/get_content.php
+++ /dev/null
@@ -1,77 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Content $response */
- $response = $contentServiceClient->getContent($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = ContentServiceClient::contentName(
- '[PROJECT]',
- '[LOCATION]',
- '[LAKE]',
- '[CONTENT]'
- );
-
- get_content_sample($formattedName);
-}
-// [END dataplex_v1_generated_ContentService_GetContent_sync]
diff --git a/Dataplex/samples/V1/ContentServiceClient/list_content.php b/Dataplex/samples/V1/ContentServiceClient/list_content.php
deleted file mode 100644
index a863cdc01db4..000000000000
--- a/Dataplex/samples/V1/ContentServiceClient/list_content.php
+++ /dev/null
@@ -1,77 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $contentServiceClient->listContent($request);
-
- /** @var Content $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = ContentServiceClient::lakeName('[PROJECT]', '[LOCATION]', '[LAKE]');
-
- list_content_sample($formattedParent);
-}
-// [END dataplex_v1_generated_ContentService_ListContent_sync]
diff --git a/Dataplex/samples/V1/ContentServiceClient/update_content.php b/Dataplex/samples/V1/ContentServiceClient/update_content.php
deleted file mode 100644
index 90531b720a47..000000000000
--- a/Dataplex/samples/V1/ContentServiceClient/update_content.php
+++ /dev/null
@@ -1,80 +0,0 @@
-setPath($contentPath)
- ->setDataText($contentDataText);
- $request = (new UpdateContentRequest())
- ->setUpdateMask($updateMask)
- ->setContent($content);
-
- // Call the API and handle any network failures.
- try {
- /** @var Content $response */
- $response = $contentServiceClient->updateContent($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $contentPath = '[PATH]';
- $contentDataText = '[DATA_TEXT]';
-
- update_content_sample($contentPath, $contentDataText);
-}
-// [END dataplex_v1_generated_ContentService_UpdateContent_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/create_environment.php b/Dataplex/samples/V1/DataplexServiceClient/create_environment.php
deleted file mode 100644
index 0232c40221e8..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/create_environment.php
+++ /dev/null
@@ -1,110 +0,0 @@
-setImageVersion($environmentInfrastructureSpecOsImageImageVersion);
- $environmentInfrastructureSpec = (new InfrastructureSpec())
- ->setOsImage($environmentInfrastructureSpecOsImage);
- $environment = (new Environment())
- ->setInfrastructureSpec($environmentInfrastructureSpec);
- $request = (new CreateEnvironmentRequest())
- ->setParent($formattedParent)
- ->setEnvironmentId($environmentId)
- ->setEnvironment($environment);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $dataplexServiceClient->createEnvironment($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Environment $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = DataplexServiceClient::lakeName('[PROJECT]', '[LOCATION]', '[LAKE]');
- $environmentId = '[ENVIRONMENT_ID]';
- $environmentInfrastructureSpecOsImageImageVersion = '[IMAGE_VERSION]';
-
- create_environment_sample(
- $formattedParent,
- $environmentId,
- $environmentInfrastructureSpecOsImageImageVersion
- );
-}
-// [END dataplex_v1_generated_DataplexService_CreateEnvironment_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/delete_environment.php b/Dataplex/samples/V1/DataplexServiceClient/delete_environment.php
deleted file mode 100644
index 2974f7118165..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/delete_environment.php
+++ /dev/null
@@ -1,87 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $dataplexServiceClient->deleteEnvironment($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- printf('Operation completed successfully.' . PHP_EOL);
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = DataplexServiceClient::environmentName(
- '[PROJECT]',
- '[LOCATION]',
- '[LAKE]',
- '[ENVIRONMENT]'
- );
-
- delete_environment_sample($formattedName);
-}
-// [END dataplex_v1_generated_DataplexService_DeleteEnvironment_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/get_environment.php b/Dataplex/samples/V1/DataplexServiceClient/get_environment.php
deleted file mode 100644
index 2f1ec72a4faa..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/get_environment.php
+++ /dev/null
@@ -1,77 +0,0 @@
-setName($formattedName);
-
- // Call the API and handle any network failures.
- try {
- /** @var Environment $response */
- $response = $dataplexServiceClient->getEnvironment($request);
- printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedName = DataplexServiceClient::environmentName(
- '[PROJECT]',
- '[LOCATION]',
- '[LAKE]',
- '[ENVIRONMENT]'
- );
-
- get_environment_sample($formattedName);
-}
-// [END dataplex_v1_generated_DataplexService_GetEnvironment_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/list_environments.php b/Dataplex/samples/V1/DataplexServiceClient/list_environments.php
deleted file mode 100644
index 78d842433f7d..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/list_environments.php
+++ /dev/null
@@ -1,77 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $dataplexServiceClient->listEnvironments($request);
-
- /** @var Environment $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = DataplexServiceClient::lakeName('[PROJECT]', '[LOCATION]', '[LAKE]');
-
- list_environments_sample($formattedParent);
-}
-// [END dataplex_v1_generated_DataplexService_ListEnvironments_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/list_sessions.php b/Dataplex/samples/V1/DataplexServiceClient/list_sessions.php
deleted file mode 100644
index 43298fd01d58..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/list_sessions.php
+++ /dev/null
@@ -1,82 +0,0 @@
-setParent($formattedParent);
-
- // Call the API and handle any network failures.
- try {
- /** @var PagedListResponse $response */
- $response = $dataplexServiceClient->listSessions($request);
-
- /** @var Session $element */
- foreach ($response as $element) {
- printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $formattedParent = DataplexServiceClient::environmentName(
- '[PROJECT]',
- '[LOCATION]',
- '[LAKE]',
- '[ENVIRONMENT]'
- );
-
- list_sessions_sample($formattedParent);
-}
-// [END dataplex_v1_generated_DataplexService_ListSessions_sync]
diff --git a/Dataplex/samples/V1/DataplexServiceClient/update_environment.php b/Dataplex/samples/V1/DataplexServiceClient/update_environment.php
deleted file mode 100644
index 5afb1d4c1093..000000000000
--- a/Dataplex/samples/V1/DataplexServiceClient/update_environment.php
+++ /dev/null
@@ -1,93 +0,0 @@
-setImageVersion($environmentInfrastructureSpecOsImageImageVersion);
- $environmentInfrastructureSpec = (new InfrastructureSpec())
- ->setOsImage($environmentInfrastructureSpecOsImage);
- $environment = (new Environment())
- ->setInfrastructureSpec($environmentInfrastructureSpec);
- $request = (new UpdateEnvironmentRequest())
- ->setUpdateMask($updateMask)
- ->setEnvironment($environment);
-
- // Call the API and handle any network failures.
- try {
- /** @var OperationResponse $response */
- $response = $dataplexServiceClient->updateEnvironment($request);
- $response->pollUntilComplete();
-
- if ($response->operationSucceeded()) {
- /** @var Environment $result */
- $result = $response->getResult();
- printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
- } else {
- /** @var Status $error */
- $error = $response->getError();
- printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
- }
- } catch (ApiException $ex) {
- printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
- }
-}
-
-/**
- * Helper to execute the sample.
- *
- * This sample has been automatically generated and should be regarded as a code
- * template only. It will require modifications to work:
- * - It may require correct/in-range values for request initialization.
- * - It may require specifying regional endpoints when creating the service client,
- * please see the apiEndpoint client configuration option for more details.
- */
-function callSample(): void
-{
- $environmentInfrastructureSpecOsImageImageVersion = '[IMAGE_VERSION]';
-
- update_environment_sample($environmentInfrastructureSpecOsImageImageVersion);
-}
-// [END dataplex_v1_generated_DataplexService_UpdateEnvironment_sync]
diff --git a/Dataplex/src/V1/CreateContentRequest.php b/Dataplex/src/V1/CreateContentRequest.php
deleted file mode 100644
index 75823c6ed7cf..000000000000
--- a/Dataplex/src/V1/CreateContentRequest.php
+++ /dev/null
@@ -1,170 +0,0 @@
-google.cloud.dataplex.v1.CreateContentRequest
- */
-class CreateContentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. Content resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $content = null;
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $validate_only = false;
-
- /**
- * @param string $parent Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- * Please see {@see ContentServiceClient::lakeName()} for help formatting this field.
- * @param \Google\Cloud\Dataplex\V1\Content $content Required. Content resource.
- *
- * @return \Google\Cloud\Dataplex\V1\CreateContentRequest
- *
- * @experimental
- */
- public static function build(string $parent, \Google\Cloud\Dataplex\V1\Content $content): self
- {
- return (new self())
- ->setParent($parent)
- ->setContent($content);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- * @type \Google\Cloud\Dataplex\V1\Content $content
- * Required. Content resource.
- * @type bool $validate_only
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. Content resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Dataplex\V1\Content|null
- */
- public function getContent()
- {
- return $this->content;
- }
-
- public function hasContent()
- {
- return isset($this->content);
- }
-
- public function clearContent()
- {
- unset($this->content);
- }
-
- /**
- * Required. Content resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Dataplex\V1\Content $var
- * @return $this
- */
- public function setContent($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\Content::class);
- $this->content = $var;
-
- return $this;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getValidateOnly()
- {
- return $this->validate_only;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setValidateOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->validate_only = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/CreateEnvironmentRequest.php b/Dataplex/src/V1/CreateEnvironmentRequest.php
deleted file mode 100644
index cb4acf20f1a3..000000000000
--- a/Dataplex/src/V1/CreateEnvironmentRequest.php
+++ /dev/null
@@ -1,231 +0,0 @@
-google.cloud.dataplex.v1.CreateEnvironmentRequest
- */
-class CreateEnvironmentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Required. Environment identifier.
- * * Must contain only lowercase letters, numbers and hyphens.
- * * Must start with a letter.
- * * Must be between 1-63 characters.
- * * Must end with a number or a letter.
- * * Must be unique within the lake.
- *
- * Generated from protobuf field string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $environment_id = '';
- /**
- * Required. Environment resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $environment = null;
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $validate_only = false;
-
- /**
- * @param string $parent Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. Please see
- * {@see DataplexServiceClient::lakeName()} for help formatting this field.
- * @param \Google\Cloud\Dataplex\V1\Environment $environment Required. Environment resource.
- * @param string $environmentId Required. Environment identifier.
- * * Must contain only lowercase letters, numbers and hyphens.
- * * Must start with a letter.
- * * Must be between 1-63 characters.
- * * Must end with a number or a letter.
- * * Must be unique within the lake.
- *
- * @return \Google\Cloud\Dataplex\V1\CreateEnvironmentRequest
- *
- * @experimental
- */
- public static function build(string $parent, \Google\Cloud\Dataplex\V1\Environment $environment, string $environmentId): self
- {
- return (new self())
- ->setParent($parent)
- ->setEnvironment($environment)
- ->setEnvironmentId($environmentId);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- * @type string $environment_id
- * Required. Environment identifier.
- * * Must contain only lowercase letters, numbers and hyphens.
- * * Must start with a letter.
- * * Must be between 1-63 characters.
- * * Must end with a number or a letter.
- * * Must be unique within the lake.
- * @type \Google\Cloud\Dataplex\V1\Environment $environment
- * Required. Environment resource.
- * @type bool $validate_only
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Required. Environment identifier.
- * * Must contain only lowercase letters, numbers and hyphens.
- * * Must start with a letter.
- * * Must be between 1-63 characters.
- * * Must end with a number or a letter.
- * * Must be unique within the lake.
- *
- * Generated from protobuf field string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getEnvironmentId()
- {
- return $this->environment_id;
- }
-
- /**
- * Required. Environment identifier.
- * * Must contain only lowercase letters, numbers and hyphens.
- * * Must start with a letter.
- * * Must be between 1-63 characters.
- * * Must end with a number or a letter.
- * * Must be unique within the lake.
- *
- * Generated from protobuf field string environment_id = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setEnvironmentId($var)
- {
- GPBUtil::checkString($var, True);
- $this->environment_id = $var;
-
- return $this;
- }
-
- /**
- * Required. Environment resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Dataplex\V1\Environment|null
- */
- public function getEnvironment()
- {
- return $this->environment;
- }
-
- public function hasEnvironment()
- {
- return isset($this->environment);
- }
-
- public function clearEnvironment()
- {
- unset($this->environment);
- }
-
- /**
- * Required. Environment resource.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 3 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Dataplex\V1\Environment $var
- * @return $this
- */
- public function setEnvironment($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\Environment::class);
- $this->environment = $var;
-
- return $this;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getValidateOnly()
- {
- return $this->validate_only;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setValidateOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->validate_only = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/DeleteContentRequest.php b/Dataplex/src/V1/DeleteContentRequest.php
deleted file mode 100644
index d62eea2e642d..000000000000
--- a/Dataplex/src/V1/DeleteContentRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.cloud.dataplex.v1.DeleteContentRequest
- */
-class DeleteContentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- * Please see {@see ContentServiceClient::contentName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\DeleteContentRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/DeleteEnvironmentRequest.php b/Dataplex/src/V1/DeleteEnvironmentRequest.php
deleted file mode 100644
index 74f413225099..000000000000
--- a/Dataplex/src/V1/DeleteEnvironmentRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.cloud.dataplex.v1.DeleteEnvironmentRequest
- */
-class DeleteEnvironmentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. Please see
- * {@see DataplexServiceClient::environmentName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\DeleteEnvironmentRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/GetContentRequest.php b/Dataplex/src/V1/GetContentRequest.php
deleted file mode 100644
index cef19e08dd11..000000000000
--- a/Dataplex/src/V1/GetContentRequest.php
+++ /dev/null
@@ -1,120 +0,0 @@
-google.cloud.dataplex.v1.GetContentRequest
- */
-class GetContentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
- /**
- * Optional. Specify content view to make a partial request.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $view = 0;
-
- /**
- * @param string $name Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- * Please see {@see ContentServiceClient::contentName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\GetContentRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- * @type int $view
- * Optional. Specify content view to make a partial request.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The resource name of the content:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Optional. Specify content view to make a partial request.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getView()
- {
- return $this->view;
- }
-
- /**
- * Optional. Specify content view to make a partial request.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.GetContentRequest.ContentView view = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setView($var)
- {
- GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\GetContentRequest\ContentView::class);
- $this->view = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/GetContentRequest/ContentView.php b/Dataplex/src/V1/GetContentRequest/ContentView.php
deleted file mode 100644
index b4bf6fcdc9e4..000000000000
--- a/Dataplex/src/V1/GetContentRequest/ContentView.php
+++ /dev/null
@@ -1,63 +0,0 @@
-google.cloud.dataplex.v1.GetContentRequest.ContentView
- */
-class ContentView
-{
- /**
- * Content view not specified. Defaults to BASIC.
- * The API will default to the BASIC view.
- *
- * Generated from protobuf enum CONTENT_VIEW_UNSPECIFIED = 0;
- */
- const CONTENT_VIEW_UNSPECIFIED = 0;
- /**
- * Will not return the `data_text` field.
- *
- * Generated from protobuf enum BASIC = 1;
- */
- const BASIC = 1;
- /**
- * Returns the complete proto.
- *
- * Generated from protobuf enum FULL = 2;
- */
- const FULL = 2;
-
- private static $valueToName = [
- self::CONTENT_VIEW_UNSPECIFIED => 'CONTENT_VIEW_UNSPECIFIED',
- self::BASIC => 'BASIC',
- self::FULL => 'FULL',
- ];
-
- public static function name($value)
- {
- if (!isset(self::$valueToName[$value])) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no name defined for value %s', __CLASS__, $value));
- }
- return self::$valueToName[$value];
- }
-
-
- public static function value($name)
- {
- $const = __CLASS__ . '::' . strtoupper($name);
- if (!defined($const)) {
- throw new UnexpectedValueException(sprintf(
- 'Enum %s has no value defined for name %s', __CLASS__, $name));
- }
- return constant($const);
- }
-}
-
diff --git a/Dataplex/src/V1/GetEnvironmentRequest.php b/Dataplex/src/V1/GetEnvironmentRequest.php
deleted file mode 100644
index 01949fbe2813..000000000000
--- a/Dataplex/src/V1/GetEnvironmentRequest.php
+++ /dev/null
@@ -1,86 +0,0 @@
-google.cloud.dataplex.v1.GetEnvironmentRequest
- */
-class GetEnvironmentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $name = '';
-
- /**
- * @param string $name Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. Please see
- * {@see DataplexServiceClient::environmentName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\GetEnvironmentRequest
- *
- * @experimental
- */
- public static function build(string $name): self
- {
- return (new self())
- ->setName($name);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $name
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Required. The resource name of the environment:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
- *
- * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListContentRequest.php b/Dataplex/src/V1/ListContentRequest.php
deleted file mode 100644
index b4cfd399d779..000000000000
--- a/Dataplex/src/V1/ListContentRequest.php
+++ /dev/null
@@ -1,232 +0,0 @@
-google.cloud.dataplex.v1.ListContentRequest
- */
-class ListContentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. Maximum number of content to return. The service may return fewer
- * than this value. If unspecified, at most 10 content will be returned. The
- * maximum value is 1000; values above 1000 will be coerced to 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_size = 0;
- /**
- * Optional. Page token received from a previous `ListContent` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListContent` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_token = '';
- /**
- * Optional. Filter request. Filters are case-sensitive.
- * The following formats are supported:
- * labels.key1 = "value1"
- * labels:key1
- * type = "NOTEBOOK"
- * type = "SQL_SCRIPT"
- * These restrictions can be coinjoined with AND, OR and NOT conjunctions.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $filter = '';
-
- /**
- * @param string $parent Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- * Please see {@see ContentServiceClient::lakeName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\ListContentRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- * @type int $page_size
- * Optional. Maximum number of content to return. The service may return fewer
- * than this value. If unspecified, at most 10 content will be returned. The
- * maximum value is 1000; values above 1000 will be coerced to 1000.
- * @type string $page_token
- * Optional. Page token received from a previous `ListContent` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListContent` must match the call that provided the page
- * token.
- * @type string $filter
- * Optional. Filter request. Filters are case-sensitive.
- * The following formats are supported:
- * labels.key1 = "value1"
- * labels:key1
- * type = "NOTEBOOK"
- * type = "SQL_SCRIPT"
- * These restrictions can be coinjoined with AND, OR and NOT conjunctions.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The resource name of the parent lake:
- * projects/{project_id}/locations/{location_id}/lakes/{lake_id}
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Optional. Maximum number of content to return. The service may return fewer
- * than this value. If unspecified, at most 10 content will be returned. The
- * maximum value is 1000; values above 1000 will be coerced to 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Optional. Maximum number of content to return. The service may return fewer
- * than this value. If unspecified, at most 10 content will be returned. The
- * maximum value is 1000; values above 1000 will be coerced to 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * Optional. Page token received from a previous `ListContent` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListContent` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * Optional. Page token received from a previous `ListContent` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListContent` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. Filter request. Filters are case-sensitive.
- * The following formats are supported:
- * labels.key1 = "value1"
- * labels:key1
- * type = "NOTEBOOK"
- * type = "SQL_SCRIPT"
- * These restrictions can be coinjoined with AND, OR and NOT conjunctions.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * Optional. Filter request. Filters are case-sensitive.
- * The following formats are supported:
- * labels.key1 = "value1"
- * labels:key1
- * type = "NOTEBOOK"
- * type = "SQL_SCRIPT"
- * These restrictions can be coinjoined with AND, OR and NOT conjunctions.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListContentResponse.php b/Dataplex/src/V1/ListContentResponse.php
deleted file mode 100644
index becb349caa0f..000000000000
--- a/Dataplex/src/V1/ListContentResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.dataplex.v1.ListContentResponse
- */
-class ListContentResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Content under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Content content = 1;
- */
- private $content;
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Dataplex\V1\Content[] $content
- * Content under the given parent lake.
- * @type string $next_page_token
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Content under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Content content = 1;
- * @return RepeatedField<\Google\Cloud\Dataplex\V1\Content>
- */
- public function getContent()
- {
- return $this->content;
- }
-
- /**
- * Content under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Content content = 1;
- * @param \Google\Cloud\Dataplex\V1\Content[] $var
- * @return $this
- */
- public function setContent($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataplex\V1\Content::class);
- $this->content = $arr;
-
- return $this;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListEnvironmentsRequest.php b/Dataplex/src/V1/ListEnvironmentsRequest.php
deleted file mode 100644
index 5a36188692bb..000000000000
--- a/Dataplex/src/V1/ListEnvironmentsRequest.php
+++ /dev/null
@@ -1,246 +0,0 @@
-google.cloud.dataplex.v1.ListEnvironmentsRequest
- */
-class ListEnvironmentsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. Maximum number of environments to return. The service may return
- * fewer than this value. If unspecified, at most 10 environments will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_size = 0;
- /**
- * Optional. Page token received from a previous `ListEnvironments` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `ListEnvironments` must match the call that provided
- * the page token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_token = '';
- /**
- * Optional. Filter request.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $filter = '';
- /**
- * Optional. Order by fields for the result.
- *
- * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $order_by = '';
-
- /**
- * @param string $parent Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. Please see
- * {@see DataplexServiceClient::lakeName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\ListEnvironmentsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- * @type int $page_size
- * Optional. Maximum number of environments to return. The service may return
- * fewer than this value. If unspecified, at most 10 environments will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- * @type string $page_token
- * Optional. Page token received from a previous `ListEnvironments` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `ListEnvironments` must match the call that provided
- * the page token.
- * @type string $filter
- * Optional. Filter request.
- * @type string $order_by
- * Optional. Order by fields for the result.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The resource name of the parent lake:
- * `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Optional. Maximum number of environments to return. The service may return
- * fewer than this value. If unspecified, at most 10 environments will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Optional. Maximum number of environments to return. The service may return
- * fewer than this value. If unspecified, at most 10 environments will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * Optional. Page token received from a previous `ListEnvironments` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `ListEnvironments` must match the call that provided
- * the page token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * Optional. Page token received from a previous `ListEnvironments` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `ListEnvironments` must match the call that provided
- * the page token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. Filter request.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * Optional. Filter request.
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
- /**
- * Optional. Order by fields for the result.
- *
- * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getOrderBy()
- {
- return $this->order_by;
- }
-
- /**
- * Optional. Order by fields for the result.
- *
- * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setOrderBy($var)
- {
- GPBUtil::checkString($var, True);
- $this->order_by = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListEnvironmentsResponse.php b/Dataplex/src/V1/ListEnvironmentsResponse.php
deleted file mode 100644
index a278b1e2e31d..000000000000
--- a/Dataplex/src/V1/ListEnvironmentsResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.dataplex.v1.ListEnvironmentsResponse
- */
-class ListEnvironmentsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Environments under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Environment environments = 1;
- */
- private $environments;
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Dataplex\V1\Environment[] $environments
- * Environments under the given parent lake.
- * @type string $next_page_token
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Environments under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Environment environments = 1;
- * @return RepeatedField<\Google\Cloud\Dataplex\V1\Environment>
- */
- public function getEnvironments()
- {
- return $this->environments;
- }
-
- /**
- * Environments under the given parent lake.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Environment environments = 1;
- * @param \Google\Cloud\Dataplex\V1\Environment[] $var
- * @return $this
- */
- public function setEnvironments($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataplex\V1\Environment::class);
- $this->environments = $arr;
-
- return $this;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListSessionsRequest.php b/Dataplex/src/V1/ListSessionsRequest.php
deleted file mode 100644
index 0d67f2730364..000000000000
--- a/Dataplex/src/V1/ListSessionsRequest.php
+++ /dev/null
@@ -1,236 +0,0 @@
-google.cloud.dataplex.v1.ListSessionsRequest
- */
-class ListSessionsRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource name of the parent environment:
- * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- */
- protected $parent = '';
- /**
- * Optional. Maximum number of sessions to return. The service may return
- * fewer than this value. If unspecified, at most 10 sessions will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_size = 0;
- /**
- * Optional. Page token received from a previous `ListSessions` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListSessions` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $page_token = '';
- /**
- * Optional. Filter request. The following `mode` filter is supported to
- * return only the sessions belonging to the requester when the mode is USER
- * and return sessions of all the users when the mode is ADMIN. When no filter
- * is sent default to USER mode. NOTE: When the mode is ADMIN, the requester
- * should have `dataplex.environments.listAllSessions` permission to list all
- * sessions, in absence of the permission, the request fails.
- * mode = ADMIN | USER
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $filter = '';
-
- /**
- * @param string $parent Required. The resource name of the parent environment:
- * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`. Please see
- * {@see DataplexServiceClient::environmentName()} for help formatting this field.
- *
- * @return \Google\Cloud\Dataplex\V1\ListSessionsRequest
- *
- * @experimental
- */
- public static function build(string $parent): self
- {
- return (new self())
- ->setParent($parent);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type string $parent
- * Required. The resource name of the parent environment:
- * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
- * @type int $page_size
- * Optional. Maximum number of sessions to return. The service may return
- * fewer than this value. If unspecified, at most 10 sessions will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- * @type string $page_token
- * Optional. Page token received from a previous `ListSessions` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListSessions` must match the call that provided the page
- * token.
- * @type string $filter
- * Optional. Filter request. The following `mode` filter is supported to
- * return only the sessions belonging to the requester when the mode is USER
- * and return sessions of all the users when the mode is ADMIN. When no filter
- * is sent default to USER mode. NOTE: When the mode is ADMIN, the requester
- * should have `dataplex.environments.listAllSessions` permission to list all
- * sessions, in absence of the permission, the request fails.
- * mode = ADMIN | USER
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. The resource name of the parent environment:
- * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @return string
- */
- public function getParent()
- {
- return $this->parent;
- }
-
- /**
- * Required. The resource name of the parent environment:
- * `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
- *
- * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
- * @param string $var
- * @return $this
- */
- public function setParent($var)
- {
- GPBUtil::checkString($var, True);
- $this->parent = $var;
-
- return $this;
- }
-
- /**
- * Optional. Maximum number of sessions to return. The service may return
- * fewer than this value. If unspecified, at most 10 sessions will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @return int
- */
- public function getPageSize()
- {
- return $this->page_size;
- }
-
- /**
- * Optional. Maximum number of sessions to return. The service may return
- * fewer than this value. If unspecified, at most 10 sessions will be
- * returned. The maximum value is 1000; values above 1000 will be coerced to
- * 1000.
- *
- * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- * @param int $var
- * @return $this
- */
- public function setPageSize($var)
- {
- GPBUtil::checkInt32($var);
- $this->page_size = $var;
-
- return $this;
- }
-
- /**
- * Optional. Page token received from a previous `ListSessions` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListSessions` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getPageToken()
- {
- return $this->page_token;
- }
-
- /**
- * Optional. Page token received from a previous `ListSessions` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `ListSessions` must match the call that provided the page
- * token.
- *
- * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->page_token = $var;
-
- return $this;
- }
-
- /**
- * Optional. Filter request. The following `mode` filter is supported to
- * return only the sessions belonging to the requester when the mode is USER
- * and return sessions of all the users when the mode is ADMIN. When no filter
- * is sent default to USER mode. NOTE: When the mode is ADMIN, the requester
- * should have `dataplex.environments.listAllSessions` permission to list all
- * sessions, in absence of the permission, the request fails.
- * mode = ADMIN | USER
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return string
- */
- public function getFilter()
- {
- return $this->filter;
- }
-
- /**
- * Optional. Filter request. The following `mode` filter is supported to
- * return only the sessions belonging to the requester when the mode is USER
- * and return sessions of all the users when the mode is ADMIN. When no filter
- * is sent default to USER mode. NOTE: When the mode is ADMIN, the requester
- * should have `dataplex.environments.listAllSessions` permission to list all
- * sessions, in absence of the permission, the request fails.
- * mode = ADMIN | USER
- *
- * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param string $var
- * @return $this
- */
- public function setFilter($var)
- {
- GPBUtil::checkString($var, True);
- $this->filter = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/ListSessionsResponse.php b/Dataplex/src/V1/ListSessionsResponse.php
deleted file mode 100644
index 4f340ac9f95a..000000000000
--- a/Dataplex/src/V1/ListSessionsResponse.php
+++ /dev/null
@@ -1,105 +0,0 @@
-google.cloud.dataplex.v1.ListSessionsResponse
- */
-class ListSessionsResponse extends \Google\Protobuf\Internal\Message
-{
- /**
- * Sessions under a given environment.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Session sessions = 1;
- */
- private $sessions;
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- */
- protected $next_page_token = '';
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Cloud\Dataplex\V1\Session[] $sessions
- * Sessions under a given environment.
- * @type string $next_page_token
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Sessions under a given environment.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Session sessions = 1;
- * @return RepeatedField<\Google\Cloud\Dataplex\V1\Session>
- */
- public function getSessions()
- {
- return $this->sessions;
- }
-
- /**
- * Sessions under a given environment.
- *
- * Generated from protobuf field repeated .google.cloud.dataplex.v1.Session sessions = 1;
- * @param \Google\Cloud\Dataplex\V1\Session[] $var
- * @return $this
- */
- public function setSessions($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataplex\V1\Session::class);
- $this->sessions = $arr;
-
- return $this;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @return string
- */
- public function getNextPageToken()
- {
- return $this->next_page_token;
- }
-
- /**
- * Token to retrieve the next page of results, or empty if there are no more
- * results in the list.
- *
- * Generated from protobuf field string next_page_token = 2;
- * @param string $var
- * @return $this
- */
- public function setNextPageToken($var)
- {
- GPBUtil::checkString($var, True);
- $this->next_page_token = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/UpdateContentRequest.php b/Dataplex/src/V1/UpdateContentRequest.php
deleted file mode 100644
index adcc6659c07f..000000000000
--- a/Dataplex/src/V1/UpdateContentRequest.php
+++ /dev/null
@@ -1,179 +0,0 @@
-google.cloud.dataplex.v1.UpdateContentRequest
- */
-class UpdateContentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $content = null;
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $validate_only = false;
-
- /**
- * @param \Google\Cloud\Dataplex\V1\Content $content Required. Update description.
- * Only fields specified in `update_mask` are updated.
- * @param \Google\Protobuf\FieldMask $updateMask Required. Mask of fields to update.
- *
- * @return \Google\Cloud\Dataplex\V1\UpdateContentRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Dataplex\V1\Content $content, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setContent($content)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. Mask of fields to update.
- * @type \Google\Cloud\Dataplex\V1\Content $content
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- * @type bool $validate_only
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Content::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Dataplex\V1\Content|null
- */
- public function getContent()
- {
- return $this->content;
- }
-
- public function hasContent()
- {
- return isset($this->content);
- }
-
- public function clearContent()
- {
- unset($this->content);
- }
-
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Dataplex\V1\Content $var
- * @return $this
- */
- public function setContent($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\Content::class);
- $this->content = $var;
-
- return $this;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getValidateOnly()
- {
- return $this->validate_only;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setValidateOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->validate_only = $var;
-
- return $this;
- }
-
-}
-
diff --git a/Dataplex/src/V1/UpdateEnvironmentRequest.php b/Dataplex/src/V1/UpdateEnvironmentRequest.php
deleted file mode 100644
index 8cf3bc8a7016..000000000000
--- a/Dataplex/src/V1/UpdateEnvironmentRequest.php
+++ /dev/null
@@ -1,179 +0,0 @@
-google.cloud.dataplex.v1.UpdateEnvironmentRequest
- */
-class UpdateEnvironmentRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $update_mask = null;
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $environment = null;
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- */
- protected $validate_only = false;
-
- /**
- * @param \Google\Cloud\Dataplex\V1\Environment $environment Required. Update description.
- * Only fields specified in `update_mask` are updated.
- * @param \Google\Protobuf\FieldMask $updateMask Required. Mask of fields to update.
- *
- * @return \Google\Cloud\Dataplex\V1\UpdateEnvironmentRequest
- *
- * @experimental
- */
- public static function build(\Google\Cloud\Dataplex\V1\Environment $environment, \Google\Protobuf\FieldMask $updateMask): self
- {
- return (new self())
- ->setEnvironment($environment)
- ->setUpdateMask($updateMask);
- }
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Google\Protobuf\FieldMask $update_mask
- * Required. Mask of fields to update.
- * @type \Google\Cloud\Dataplex\V1\Environment $environment
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- * @type bool $validate_only
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Google\Cloud\Dataplex\V1\Service::initOnce();
- parent::__construct($data);
- }
-
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Protobuf\FieldMask|null
- */
- public function getUpdateMask()
- {
- return $this->update_mask;
- }
-
- public function hasUpdateMask()
- {
- return isset($this->update_mask);
- }
-
- public function clearUpdateMask()
- {
- unset($this->update_mask);
- }
-
- /**
- * Required. Mask of fields to update.
- *
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Protobuf\FieldMask $var
- * @return $this
- */
- public function setUpdateMask($var)
- {
- GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
- $this->update_mask = $var;
-
- return $this;
- }
-
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return \Google\Cloud\Dataplex\V1\Environment|null
- */
- public function getEnvironment()
- {
- return $this->environment;
- }
-
- public function hasEnvironment()
- {
- return isset($this->environment);
- }
-
- public function clearEnvironment()
- {
- unset($this->environment);
- }
-
- /**
- * Required. Update description.
- * Only fields specified in `update_mask` are updated.
- *
- * Generated from protobuf field .google.cloud.dataplex.v1.Environment environment = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param \Google\Cloud\Dataplex\V1\Environment $var
- * @return $this
- */
- public function setEnvironment($var)
- {
- GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\Environment::class);
- $this->environment = $var;
-
- return $this;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @return bool
- */
- public function getValidateOnly()
- {
- return $this->validate_only;
- }
-
- /**
- * Optional. Only validate the request, but do not perform mutations.
- * The default is false.
- *
- * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
- * @param bool $var
- * @return $this
- */
- public function setValidateOnly($var)
- {
- GPBUtil::checkBool($var);
- $this->validate_only = $var;
-
- return $this;
- }
-
-}
-