From 9bd36100a76d7d3f0d187e14ad4b2ccc25d3b459 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 3 May 2024 10:01:07 -0700
Subject: [PATCH] feat: updated client libraries for Dataplex Catalog: removed
deprecated fields, updated comments (#7282)
fix!: An existing field `entry` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `display_name` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `entry_type` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `modify_time` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `fully_qualified_name` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `description` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
fix!: An existing field `relative_resource` is removed from message `.google.cloud.dataplex.v1.SearchEntriesResult`
docs: A comment for field `aspects` in message `.google.cloud.dataplex.v1.Entry` is changed
docs: A comment for field `filter` in message `.google.cloud.dataplex.v1.ListEntriesRequest` is changed
PiperOrigin-RevId: 630090353
Source-Link: https://github.com/googleapis/googleapis/commit/7ea9f2c99529458ca1a5c70f28608490bdafd3a9
Source-Link: https://github.com/googleapis/googleapis-gen/commit/7a1cca7982e5ace295aaad194267cc5d05c11d58
Copy-Tag: eyJwIjoiRGF0YXBsZXgvLk93bEJvdC55YW1sIiwiaCI6IjdhMWNjYTc5ODJlNWFjZTI5NWFhYWQxOTQyNjdjYzVkMDVjMTFkNTgifQ==
---
Dataplex/metadata/V1/Catalog.php | 14 +-
Dataplex/metadata/V1/DataQuality.php | Bin 5177 -> 5337 bytes
Dataplex/metadata/V1/Logs.php | Bin 7895 -> 7943 bytes
Dataplex/src/V1/DataQualityRule.php | 36 +++
.../src/V1/DataQualityRule/SqlAssertion.php | 75 +++++
Dataplex/src/V1/DataQualityRuleResult.php | 42 +++
Dataplex/src/V1/DataQualityScanRuleResult.php | 38 +++
.../V1/DataQualityScanRuleResult/RuleType.php | 8 +
Dataplex/src/V1/Entry.php | 36 ++-
.../V1/Gapic/CatalogServiceGapicClient.php | 12 +-
Dataplex/src/V1/ListEntriesRequest.php | 48 +--
Dataplex/src/V1/SearchEntriesResult.php | 285 ------------------
12 files changed, 261 insertions(+), 333 deletions(-)
create mode 100644 Dataplex/src/V1/DataQualityRule/SqlAssertion.php
diff --git a/Dataplex/metadata/V1/Catalog.php b/Dataplex/metadata/V1/Catalog.php
index 1f1ca35e5621..cf7ececbce98 100644
--- a/Dataplex/metadata/V1/Catalog.php
+++ b/Dataplex/metadata/V1/Catalog.php
@@ -26,7 +26,7 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
'
-¢p
+În
&google/cloud/dataplex/v1/catalog.protogoogle.cloud.dataplex.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto&google/cloud/dataplex/v1/service.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"Ó
AspectType8
@@ -297,16 +297,8 @@ public static function initOnce() {
page_token ( BàA
order_by ( BàA
-scope ( BàA"Ê
-SearchEntriesResult
-entry ( B
-display_name ( B
-
-entry_type ( B3
-modify_time (2.google.protobuf.TimestampB
-fully_qualified_name ( B
-description ( B
-relative_resource ( B
+scope ( BàA"ö
+SearchEntriesResult
linked_resource ( 7
dataplex_entry (2.google.cloud.dataplex.v1.EntryH
snippets (26.google.cloud.dataplex.v1.SearchEntriesResult.SnippetsC
diff --git a/Dataplex/metadata/V1/DataQuality.php b/Dataplex/metadata/V1/DataQuality.php
index b56b8520e8f38a8ab5117ec24a0d99884c5e2197..a0ce2465cea50134879bb5a477c98a8eacb3e842 100644
GIT binary patch
delta 156
zcmdm~aZ_`{OeU7^%3Ru$|1(K$-p0hs!T5FZ5w0srLJC~MiN(dKMJ1W}dGSU0+e+
zrFkV1+zN~u%udV?9GNH2;6BLog?Do_k1Vrf02gm@VNN_;hr}sHph9jVv&oKv+U$in
pjv%8p7xITND@ti`@dQIfK!yuRLG%`vB$lM+rskDw-X&De2mmL)Gr0f&
delta 49
zcmV-10M7r}DY+=HnF0jYA_^;${{k7awgL?Z0n?Mj3e=Oj3&8^R46}U<9RsuM4^0EJ
HWfOD(<@*w@
diff --git a/Dataplex/metadata/V1/Logs.php b/Dataplex/metadata/V1/Logs.php
index a451da03225ae778cb58d93e3d857fd713ff7452..f8a7f110a7f981c602296debecb473774a41588b 100644
GIT binary patch
delta 85
zcmV-b0IL7jJ%>K9y8;4)IJ3P1`xgS42eY~w-T@#I8wwL)b8}^KbZKvHUvh7EUt@1|
rZgdz8AOR=?B9a1=n;icW5)ldwQ&CJ`K~qyjQdCJ#P7n#RnjJj>5fmGj
delta 36
ucmV+<0NekEKG!|4y8;5#H?zG0`xgS~2D7>v-T?z5{{fS@9RIV*9X$aj)(?^Z
diff --git a/Dataplex/src/V1/DataQualityRule.php b/Dataplex/src/V1/DataQualityRule.php
index 2bdc8fcf9ab3..9c578a57ff45 100644
--- a/Dataplex/src/V1/DataQualityRule.php
+++ b/Dataplex/src/V1/DataQualityRule.php
@@ -99,6 +99,9 @@ class DataQualityRule extends \Google\Protobuf\Internal\Message
* @type \Google\Cloud\Dataplex\V1\DataQualityRule\TableConditionExpectation $table_condition_expectation
* Aggregate rule which evaluates whether the provided expression is true
* for a table.
+ * @type \Google\Cloud\Dataplex\V1\DataQualityRule\SqlAssertion $sql_assertion
+ * Aggregate rule which evaluates the number of rows returned for the
+ * provided statement.
* @type string $column
* Optional. The unnested column which this rule is evaluated against.
* @type bool $ignore_null
@@ -396,6 +399,39 @@ public function setTableConditionExpectation($var)
return $this;
}
+ /**
+ * Aggregate rule which evaluates the number of rows returned for the
+ * provided statement.
+ *
+ * Generated from protobuf field .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
+ * @return \Google\Cloud\Dataplex\V1\DataQualityRule\SqlAssertion|null
+ */
+ public function getSqlAssertion()
+ {
+ return $this->readOneof(202);
+ }
+
+ public function hasSqlAssertion()
+ {
+ return $this->hasOneof(202);
+ }
+
+ /**
+ * Aggregate rule which evaluates the number of rows returned for the
+ * provided statement.
+ *
+ * Generated from protobuf field .google.cloud.dataplex.v1.DataQualityRule.SqlAssertion sql_assertion = 202;
+ * @param \Google\Cloud\Dataplex\V1\DataQualityRule\SqlAssertion $var
+ * @return $this
+ */
+ public function setSqlAssertion($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\DataQualityRule\SqlAssertion::class);
+ $this->writeOneof(202, $var);
+
+ return $this;
+ }
+
/**
* Optional. The unnested column which this rule is evaluated against.
*
diff --git a/Dataplex/src/V1/DataQualityRule/SqlAssertion.php b/Dataplex/src/V1/DataQualityRule/SqlAssertion.php
new file mode 100644
index 000000000000..5c25ce0b008d
--- /dev/null
+++ b/Dataplex/src/V1/DataQualityRule/SqlAssertion.php
@@ -0,0 +1,75 @@
+google.cloud.dataplex.v1.DataQualityRule.SqlAssertion
+ */
+class SqlAssertion extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The SQL statement.
+ *
+ * Generated from protobuf field string sql_statement = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $sql_statement = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $sql_statement
+ * Optional. The SQL statement.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Dataplex\V1\DataQuality::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The SQL statement.
+ *
+ * Generated from protobuf field string sql_statement = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSqlStatement()
+ {
+ return $this->sql_statement;
+ }
+
+ /**
+ * Optional. The SQL statement.
+ *
+ * Generated from protobuf field string sql_statement = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSqlStatement($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->sql_statement = $var;
+
+ return $this;
+ }
+
+}
+
+
diff --git a/Dataplex/src/V1/DataQualityRuleResult.php b/Dataplex/src/V1/DataQualityRuleResult.php
index c9d438e3b7f4..5fac421ec514 100644
--- a/Dataplex/src/V1/DataQualityRuleResult.php
+++ b/Dataplex/src/V1/DataQualityRuleResult.php
@@ -66,6 +66,14 @@ class DataQualityRuleResult extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string failing_rows_query = 10;
*/
private $failing_rows_query = '';
+ /**
+ * Output only. The number of rows returned by the sql statement in the
+ * SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $assertion_row_count = 0;
/**
* Constructor.
@@ -96,6 +104,10 @@ class DataQualityRuleResult extends \Google\Protobuf\Internal\Message
* @type string $failing_rows_query
* The query to find rows that did not pass this rule.
* This field is only valid for row-level type rules.
+ * @type int|string $assertion_row_count
+ * Output only. The number of rows returned by the sql statement in the
+ * SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
* }
*/
public function __construct($data = NULL) {
@@ -313,5 +325,35 @@ public function setFailingRowsQuery($var)
return $this;
}
+ /**
+ * Output only. The number of rows returned by the sql statement in the
+ * SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getAssertionRowCount()
+ {
+ return $this->assertion_row_count;
+ }
+
+ /**
+ * Output only. The number of rows returned by the sql statement in the
+ * SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setAssertionRowCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->assertion_row_count = $var;
+
+ return $this;
+ }
+
}
diff --git a/Dataplex/src/V1/DataQualityScanRuleResult.php b/Dataplex/src/V1/DataQualityScanRuleResult.php
index e59fb96f94a9..fb49f3af175a 100644
--- a/Dataplex/src/V1/DataQualityScanRuleResult.php
+++ b/Dataplex/src/V1/DataQualityScanRuleResult.php
@@ -90,6 +90,13 @@ class DataQualityScanRuleResult extends \Google\Protobuf\Internal\Message
* Generated from protobuf field int64 null_row_count = 12;
*/
private $null_row_count = 0;
+ /**
+ * The number of rows returned by the sql statement in the SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 13;
+ */
+ private $assertion_row_count = 0;
/**
* Constructor.
@@ -123,6 +130,9 @@ class DataQualityScanRuleResult extends \Google\Protobuf\Internal\Message
* This field is only valid for rules of PER_ROW evaluation type.
* @type int|string $null_row_count
* The number of rows with null values in the specified column.
+ * @type int|string $assertion_row_count
+ * The number of rows returned by the sql statement in the SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
* }
*/
public function __construct($data = NULL) {
@@ -446,5 +456,33 @@ public function setNullRowCount($var)
return $this;
}
+ /**
+ * The number of rows returned by the sql statement in the SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 13;
+ * @return int|string
+ */
+ public function getAssertionRowCount()
+ {
+ return $this->assertion_row_count;
+ }
+
+ /**
+ * The number of rows returned by the sql statement in the SqlAssertion rule.
+ * This field is only valid for SqlAssertion rules.
+ *
+ * Generated from protobuf field int64 assertion_row_count = 13;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setAssertionRowCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->assertion_row_count = $var;
+
+ return $this;
+ }
+
}
diff --git a/Dataplex/src/V1/DataQualityScanRuleResult/RuleType.php b/Dataplex/src/V1/DataQualityScanRuleResult/RuleType.php
index bc63f6c601a9..51434ffb5c35 100644
--- a/Dataplex/src/V1/DataQualityScanRuleResult/RuleType.php
+++ b/Dataplex/src/V1/DataQualityScanRuleResult/RuleType.php
@@ -75,6 +75,13 @@ class RuleType
* Generated from protobuf enum UNIQUENESS_EXPECTATION = 8;
*/
const UNIQUENESS_EXPECTATION = 8;
+ /**
+ * Please see
+ * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#sqlAssertion.
+ *
+ * Generated from protobuf enum SQL_ASSERTION = 9;
+ */
+ const SQL_ASSERTION = 9;
private static $valueToName = [
self::RULE_TYPE_UNSPECIFIED => 'RULE_TYPE_UNSPECIFIED',
@@ -86,6 +93,7 @@ class RuleType
self::STATISTIC_RANGE_EXPECTATION => 'STATISTIC_RANGE_EXPECTATION',
self::TABLE_CONDITION_EXPECTATION => 'TABLE_CONDITION_EXPECTATION',
self::UNIQUENESS_EXPECTATION => 'UNIQUENESS_EXPECTATION',
+ self::SQL_ASSERTION => 'SQL_ASSERTION',
];
public static function name($value)
diff --git a/Dataplex/src/V1/Entry.php b/Dataplex/src/V1/Entry.php
index 4880792df5f1..33e3351824f3 100644
--- a/Dataplex/src/V1/Entry.php
+++ b/Dataplex/src/V1/Entry.php
@@ -43,9 +43,12 @@ class Entry extends \Google\Protobuf\Internal\Message
*/
private $update_time = null;
/**
- * Optional. The Aspects attached to the Entry. The key is either the resource
- * name of the aspect type (if the aspect is attached directly to the entry)
- * or "aspectType@path" if the aspect is attached to an entry's path.
+ * Optional. The Aspects attached to the Entry.
+ * The format for the key can be one of the following:
+ * 1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached
+ * directly to the entry)
+ * 2. {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is
+ * attached to an entry's path)
*
* Generated from protobuf field map aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -87,9 +90,12 @@ class Entry extends \Google\Protobuf\Internal\Message
* @type \Google\Protobuf\Timestamp $update_time
* Output only. The time when the Entry was last updated.
* @type array|\Google\Protobuf\Internal\MapField $aspects
- * Optional. The Aspects attached to the Entry. The key is either the resource
- * name of the aspect type (if the aspect is attached directly to the entry)
- * or "aspectType@path" if the aspect is attached to an entry's path.
+ * Optional. The Aspects attached to the Entry.
+ * The format for the key can be one of the following:
+ * 1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached
+ * directly to the entry)
+ * 2. {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is
+ * attached to an entry's path)
* @type string $parent_entry
* Optional. Immutable. The resource name of the parent entry.
* @type string $fully_qualified_name
@@ -233,9 +239,12 @@ public function setUpdateTime($var)
}
/**
- * Optional. The Aspects attached to the Entry. The key is either the resource
- * name of the aspect type (if the aspect is attached directly to the entry)
- * or "aspectType@path" if the aspect is attached to an entry's path.
+ * Optional. The Aspects attached to the Entry.
+ * The format for the key can be one of the following:
+ * 1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached
+ * directly to the entry)
+ * 2. {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is
+ * attached to an entry's path)
*
* Generated from protobuf field map aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Internal\MapField
@@ -246,9 +255,12 @@ public function getAspects()
}
/**
- * Optional. The Aspects attached to the Entry. The key is either the resource
- * name of the aspect type (if the aspect is attached directly to the entry)
- * or "aspectType@path" if the aspect is attached to an entry's path.
+ * Optional. The Aspects attached to the Entry.
+ * The format for the key can be one of the following:
+ * 1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached
+ * directly to the entry)
+ * 2. {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is
+ * attached to an entry's path)
*
* Generated from protobuf field map aspects = 9 [(.google.api.field_behavior) = OPTIONAL];
* @param array|\Google\Protobuf\Internal\MapField $var
diff --git a/Dataplex/src/V1/Gapic/CatalogServiceGapicClient.php b/Dataplex/src/V1/Gapic/CatalogServiceGapicClient.php
index ecd726ce8d78..3407700b8e35 100644
--- a/Dataplex/src/V1/Gapic/CatalogServiceGapicClient.php
+++ b/Dataplex/src/V1/Gapic/CatalogServiceGapicClient.php
@@ -1509,15 +1509,17 @@ public function listAspectTypes($parent, array $optionalArgs = [])
* Optional. A filter on the entries to return.
* Filters are case-sensitive.
* The request can be filtered by the following fields:
- * entry_type, display_name.
+ * entry_type, entry_source.display_name.
* The comparison operators are =, !=, <, >, <=, >= (strings are compared
* according to lexical order)
* The logical operators AND, OR, NOT can be used
- * in the filter. Example filter expressions:
- * "display_name=AnExampleDisplayName"
+ * in the filter. Wildcard "*" can be used, but for entry_type the full
+ * project id or number needs to be provided. Example filter expressions:
+ * "entry_source.display_name=AnExampleDisplayName"
* "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
- * "entry_type=projects/a* OR "entry_type=projects/k*"
- * "NOT display_name=AnotherExampleDisplayName"
+ * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
+ * entry_type=projects/another-project/locations/*"
+ * "NOT entry_source.display_name=AnotherExampleDisplayName"
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
diff --git a/Dataplex/src/V1/ListEntriesRequest.php b/Dataplex/src/V1/ListEntriesRequest.php
index a6e10d77dd62..1d7a191eb49d 100644
--- a/Dataplex/src/V1/ListEntriesRequest.php
+++ b/Dataplex/src/V1/ListEntriesRequest.php
@@ -34,15 +34,17 @@ class ListEntriesRequest extends \Google\Protobuf\Internal\Message
* Optional. A filter on the entries to return.
* Filters are case-sensitive.
* The request can be filtered by the following fields:
- * entry_type, display_name.
+ * entry_type, entry_source.display_name.
* The comparison operators are =, !=, <, >, <=, >= (strings are compared
* according to lexical order)
* The logical operators AND, OR, NOT can be used
- * in the filter. Example filter expressions:
- * "display_name=AnExampleDisplayName"
+ * in the filter. Wildcard "*" can be used, but for entry_type the full
+ * project id or number needs to be provided. Example filter expressions:
+ * "entry_source.display_name=AnExampleDisplayName"
* "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
- * "entry_type=projects/a* OR "entry_type=projects/k*"
- * "NOT display_name=AnotherExampleDisplayName"
+ * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
+ * entry_type=projects/another-project/locations/*"
+ * "NOT entry_source.display_name=AnotherExampleDisplayName"
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -79,15 +81,17 @@ public static function build(string $parent): self
* Optional. A filter on the entries to return.
* Filters are case-sensitive.
* The request can be filtered by the following fields:
- * entry_type, display_name.
+ * entry_type, entry_source.display_name.
* The comparison operators are =, !=, <, >, <=, >= (strings are compared
* according to lexical order)
* The logical operators AND, OR, NOT can be used
- * in the filter. Example filter expressions:
- * "display_name=AnExampleDisplayName"
+ * in the filter. Wildcard "*" can be used, but for entry_type the full
+ * project id or number needs to be provided. Example filter expressions:
+ * "entry_source.display_name=AnExampleDisplayName"
* "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
- * "entry_type=projects/a* OR "entry_type=projects/k*"
- * "NOT display_name=AnotherExampleDisplayName"
+ * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
+ * entry_type=projects/another-project/locations/*"
+ * "NOT entry_source.display_name=AnotherExampleDisplayName"
* }
*/
public function __construct($data = NULL) {
@@ -175,15 +179,17 @@ public function setPageToken($var)
* Optional. A filter on the entries to return.
* Filters are case-sensitive.
* The request can be filtered by the following fields:
- * entry_type, display_name.
+ * entry_type, entry_source.display_name.
* The comparison operators are =, !=, <, >, <=, >= (strings are compared
* according to lexical order)
* The logical operators AND, OR, NOT can be used
- * in the filter. Example filter expressions:
- * "display_name=AnExampleDisplayName"
+ * in the filter. Wildcard "*" can be used, but for entry_type the full
+ * project id or number needs to be provided. Example filter expressions:
+ * "entry_source.display_name=AnExampleDisplayName"
* "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
- * "entry_type=projects/a* OR "entry_type=projects/k*"
- * "NOT display_name=AnotherExampleDisplayName"
+ * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
+ * entry_type=projects/another-project/locations/*"
+ * "NOT entry_source.display_name=AnotherExampleDisplayName"
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
* @return string
@@ -197,15 +203,17 @@ public function getFilter()
* Optional. A filter on the entries to return.
* Filters are case-sensitive.
* The request can be filtered by the following fields:
- * entry_type, display_name.
+ * entry_type, entry_source.display_name.
* The comparison operators are =, !=, <, >, <=, >= (strings are compared
* according to lexical order)
* The logical operators AND, OR, NOT can be used
- * in the filter. Example filter expressions:
- * "display_name=AnExampleDisplayName"
+ * in the filter. Wildcard "*" can be used, but for entry_type the full
+ * project id or number needs to be provided. Example filter expressions:
+ * "entry_source.display_name=AnExampleDisplayName"
* "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
- * "entry_type=projects/a* OR "entry_type=projects/k*"
- * "NOT display_name=AnotherExampleDisplayName"
+ * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
+ * entry_type=projects/another-project/locations/*"
+ * "NOT entry_source.display_name=AnotherExampleDisplayName"
*
* Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
* @param string $var
diff --git a/Dataplex/src/V1/SearchEntriesResult.php b/Dataplex/src/V1/SearchEntriesResult.php
index cb03bb6f617e..9bc74df9e5b0 100644
--- a/Dataplex/src/V1/SearchEntriesResult.php
+++ b/Dataplex/src/V1/SearchEntriesResult.php
@@ -15,55 +15,6 @@
*/
class SearchEntriesResult extends \Google\Protobuf\Internal\Message
{
- /**
- * Resource name of the entry.
- *
- * Generated from protobuf field string entry = 1 [deprecated = true];
- * @deprecated
- */
- protected $entry = '';
- /**
- * Display name.
- *
- * Generated from protobuf field string display_name = 2 [deprecated = true];
- * @deprecated
- */
- protected $display_name = '';
- /**
- * The entry type.
- *
- * Generated from protobuf field string entry_type = 3 [deprecated = true];
- * @deprecated
- */
- protected $entry_type = '';
- /**
- * The last modification timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp modify_time = 4 [deprecated = true];
- * @deprecated
- */
- protected $modify_time = null;
- /**
- * Fully qualified name.
- *
- * Generated from protobuf field string fully_qualified_name = 5 [deprecated = true];
- * @deprecated
- */
- protected $fully_qualified_name = '';
- /**
- * Entry description.
- *
- * Generated from protobuf field string description = 6 [deprecated = true];
- * @deprecated
- */
- protected $description = '';
- /**
- * Relative resource name.
- *
- * Generated from protobuf field string relative_resource = 7 [deprecated = true];
- * @deprecated
- */
- protected $relative_resource = '';
/**
* Linked resource name.
*
@@ -89,20 +40,6 @@ class SearchEntriesResult extends \Google\Protobuf\Internal\Message
* @param array $data {
* Optional. Data for populating the Message object.
*
- * @type string $entry
- * Resource name of the entry.
- * @type string $display_name
- * Display name.
- * @type string $entry_type
- * The entry type.
- * @type \Google\Protobuf\Timestamp $modify_time
- * The last modification timestamp.
- * @type string $fully_qualified_name
- * Fully qualified name.
- * @type string $description
- * Entry description.
- * @type string $relative_resource
- * Relative resource name.
* @type string $linked_resource
* Linked resource name.
* @type \Google\Cloud\Dataplex\V1\Entry $dataplex_entry
@@ -116,228 +53,6 @@ public function __construct($data = NULL) {
parent::__construct($data);
}
- /**
- * Resource name of the entry.
- *
- * Generated from protobuf field string entry = 1 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getEntry()
- {
- @trigger_error('entry is deprecated.', E_USER_DEPRECATED);
- return $this->entry;
- }
-
- /**
- * Resource name of the entry.
- *
- * Generated from protobuf field string entry = 1 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setEntry($var)
- {
- @trigger_error('entry is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->entry = $var;
-
- return $this;
- }
-
- /**
- * Display name.
- *
- * Generated from protobuf field string display_name = 2 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getDisplayName()
- {
- @trigger_error('display_name is deprecated.', E_USER_DEPRECATED);
- return $this->display_name;
- }
-
- /**
- * Display name.
- *
- * Generated from protobuf field string display_name = 2 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setDisplayName($var)
- {
- @trigger_error('display_name is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->display_name = $var;
-
- return $this;
- }
-
- /**
- * The entry type.
- *
- * Generated from protobuf field string entry_type = 3 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getEntryType()
- {
- @trigger_error('entry_type is deprecated.', E_USER_DEPRECATED);
- return $this->entry_type;
- }
-
- /**
- * The entry type.
- *
- * Generated from protobuf field string entry_type = 3 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setEntryType($var)
- {
- @trigger_error('entry_type is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->entry_type = $var;
-
- return $this;
- }
-
- /**
- * The last modification timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp modify_time = 4 [deprecated = true];
- * @return \Google\Protobuf\Timestamp|null
- * @deprecated
- */
- public function getModifyTime()
- {
- @trigger_error('modify_time is deprecated.', E_USER_DEPRECATED);
- return $this->modify_time;
- }
-
- public function hasModifyTime()
- {
- @trigger_error('modify_time is deprecated.', E_USER_DEPRECATED);
- return isset($this->modify_time);
- }
-
- public function clearModifyTime()
- {
- @trigger_error('modify_time is deprecated.', E_USER_DEPRECATED);
- unset($this->modify_time);
- }
-
- /**
- * The last modification timestamp.
- *
- * Generated from protobuf field .google.protobuf.Timestamp modify_time = 4 [deprecated = true];
- * @param \Google\Protobuf\Timestamp $var
- * @return $this
- * @deprecated
- */
- public function setModifyTime($var)
- {
- @trigger_error('modify_time is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
- $this->modify_time = $var;
-
- return $this;
- }
-
- /**
- * Fully qualified name.
- *
- * Generated from protobuf field string fully_qualified_name = 5 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getFullyQualifiedName()
- {
- @trigger_error('fully_qualified_name is deprecated.', E_USER_DEPRECATED);
- return $this->fully_qualified_name;
- }
-
- /**
- * Fully qualified name.
- *
- * Generated from protobuf field string fully_qualified_name = 5 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setFullyQualifiedName($var)
- {
- @trigger_error('fully_qualified_name is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->fully_qualified_name = $var;
-
- return $this;
- }
-
- /**
- * Entry description.
- *
- * Generated from protobuf field string description = 6 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getDescription()
- {
- @trigger_error('description is deprecated.', E_USER_DEPRECATED);
- return $this->description;
- }
-
- /**
- * Entry description.
- *
- * Generated from protobuf field string description = 6 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setDescription($var)
- {
- @trigger_error('description is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->description = $var;
-
- return $this;
- }
-
- /**
- * Relative resource name.
- *
- * Generated from protobuf field string relative_resource = 7 [deprecated = true];
- * @return string
- * @deprecated
- */
- public function getRelativeResource()
- {
- @trigger_error('relative_resource is deprecated.', E_USER_DEPRECATED);
- return $this->relative_resource;
- }
-
- /**
- * Relative resource name.
- *
- * Generated from protobuf field string relative_resource = 7 [deprecated = true];
- * @param string $var
- * @return $this
- * @deprecated
- */
- public function setRelativeResource($var)
- {
- @trigger_error('relative_resource is deprecated.', E_USER_DEPRECATED);
- GPBUtil::checkString($var, True);
- $this->relative_resource = $var;
-
- return $this;
- }
-
/**
* Linked resource name.
*