Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.10.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.10.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,10 @@ class SearchEntriesRequest(proto.Message):
``projects/<project_ref>``. If it is unspecified, it
defaults to the organization where the project provided in
``name`` is located.
semantic_search (bool):
Optional. Specifies whether the search should
understand the meaning and intent behind the
query, rather than just matching keywords.
"""

name: str = proto.Field(
Expand All @@ -1912,6 +1916,10 @@ class SearchEntriesRequest(proto.Message):
proto.STRING,
number=7,
)
semantic_search: bool = proto.Field(
proto.BOOL,
number=11,
)


class SearchEntriesResult(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-dataplex",
"version": "2.10.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class dataplexCallTransformer(cst.CSTTransformer):
'lookup_entry': ('name', 'entry', 'view', 'aspect_types', 'paths', ),
'run_data_scan': ('name', ),
'run_task': ('name', 'labels', 'args', ),
'search_entries': ('name', 'query', 'page_size', 'page_token', 'order_by', 'scope', ),
'search_entries': ('name', 'query', 'page_size', 'page_token', 'order_by', 'scope', 'semantic_search', ),
'set_iam_policy': ('resource', 'policy', 'update_mask', ),
'test_iam_permissions': ('resource', 'permissions', ),
'update_aspect_type': ('aspect_type', 'update_mask', 'validate_only', ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15614,6 +15614,7 @@ def test_search_entries_rest_required_fields(request_type=catalog.SearchEntriesR
"page_token",
"query",
"scope",
"semantic_search",
)
)
jsonified_request.update(unset_fields)
Expand Down Expand Up @@ -15686,6 +15687,7 @@ def test_search_entries_rest_unset_required_fields():
"pageToken",
"query",
"scope",
"semanticSearch",
)
)
& set(
Expand Down
Loading