Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

feat: support case insensitive match on search facets #301

Merged
merged 2 commits into from
Jul 29, 2022
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
6 changes: 6 additions & 0 deletions google/cloud/retail_v2beta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
LocalInventory,
PriceInfo,
Rating,
RecommendationsFilteringOption,
Rule,
SearchSolutionUseCase,
SolutionType,
Expand All @@ -86,10 +87,12 @@
UpdateControlRequest,
)
from .types.export_config import (
BigQueryOutputResult,
ExportErrorsConfig,
ExportMetadata,
ExportProductsResponse,
ExportUserEventsResponse,
OutputResult,
)
from .types.import_config import (
BigQuerySource,
Expand Down Expand Up @@ -186,6 +189,7 @@
"AttributeConfigLevel",
"AttributesConfig",
"Audience",
"BigQueryOutputResult",
"BigQuerySource",
"Catalog",
"CatalogAttribute",
Expand Down Expand Up @@ -242,6 +246,7 @@
"LocalInventory",
"MerchantCenterLink",
"MerchantCenterLinkingConfig",
"OutputResult",
"PredictRequest",
"PredictResponse",
"PredictionServiceClient",
Expand All @@ -258,6 +263,7 @@
"PurgeUserEventsRequest",
"PurgeUserEventsResponse",
"Rating",
"RecommendationsFilteringOption",
"RejoinUserEventsMetadata",
"RejoinUserEventsRequest",
"RejoinUserEventsResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ async def sample_get_attributes_config():
method.
name (:class:`str`):
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ def sample_get_attributes_config():
method.
name (str):
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async def sample_create_control():
The request object. Request for CreateControl method.
parent (:class:`str`):
Required. Full resource name of parent catalog. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -374,7 +374,7 @@ async def sample_delete_control():
name (:class:`str`):
Required. The resource name of the Control to delete.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -581,7 +581,7 @@ async def sample_get_control():
name (:class:`str`):
Required. The resource name of the Control to delete.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -678,7 +678,7 @@ async def sample_list_controls():
The request object. Request for ListControls method.
parent (:class:`str`):
Required. The catalog resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
8 changes: 4 additions & 4 deletions google/cloud/retail_v2beta/services/control_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def sample_create_control():
The request object. Request for CreateControl method.
parent (str):
Required. Full resource name of parent catalog. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -621,7 +621,7 @@ def sample_delete_control():
name (str):
Required. The resource name of the Control to delete.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -828,7 +828,7 @@ def sample_get_control():
name (str):
Required. The resource name of the Control to delete.
Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}``

This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -925,7 +925,7 @@ def sample_list_controls():
The request object. Request for ListControls method.
parent (str):
Required. The catalog resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
``projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}``

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Loading