Skip to content

Commit 266cb0c

Browse files
feat: [google-cloud-retail] add analytics service (#12212)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat(v2alpha): Add analytics service feat(v2beta): Add analytics service END_COMMIT_OVERRIDE PiperOrigin-RevId: 600040070 Source-Link: googleapis/googleapis@f4efe4b Source-Link: googleapis/googleapis-gen@2154296 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiMjE1NDI5NmRkNzFjMDBiYjgwNWIzZDFlOWI5YjcxNTczOTE0NTYyMyJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-retail] add analytics service PiperOrigin-RevId: 599976565 Source-Link: googleapis/googleapis@3d20b39 Source-Link: googleapis/googleapis-gen@f916ef8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiZjkxNmVmODY1ZjhhYjg1Y2NmNTBkMTBhNjQ0ZTQzNTYzODljODdjYSJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 52957f3 commit 266cb0c

46 files changed

Lines changed: 10957 additions & 7 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
AnalyticsService
2+
----------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2alpha.services.analytics_service
5+
:members:
6+
:inherited-members:

packages/google-cloud-retail/docs/retail_v2alpha/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Services for Google Cloud Retail v2alpha API
33
.. toctree::
44
:maxdepth: 2
55

6+
analytics_service
67
catalog_service
78
completion_service
89
control_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
AnalyticsService
2+
----------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2beta.services.analytics_service
5+
:members:
6+
:inherited-members:

packages/google-cloud-retail/docs/retail_v2beta/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Services for Google Cloud Retail v2beta API
33
.. toctree::
44
:maxdepth: 2
55

6+
analytics_service
67
catalog_service
78
completion_service
89
control_service

packages/google-cloud-retail/google/cloud/retail/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.17.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-retail/google/cloud/retail_v2/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.17.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-retail/google/cloud/retail_v2alpha/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
__version__ = package_version.__version__
1919

2020

21+
from .services.analytics_service import (
22+
AnalyticsServiceAsyncClient,
23+
AnalyticsServiceClient,
24+
)
2125
from .services.catalog_service import CatalogServiceAsyncClient, CatalogServiceClient
2226
from .services.completion_service import (
2327
CompletionServiceAsyncClient,
@@ -100,11 +104,14 @@
100104
)
101105
from .types.export_config import (
102106
BigQueryOutputResult,
107+
ExportAnalyticsMetricsRequest,
108+
ExportAnalyticsMetricsResponse,
103109
ExportErrorsConfig,
104110
ExportMetadata,
105111
ExportProductsResponse,
106112
ExportUserEventsResponse,
107113
GcsOutputResult,
114+
OutputConfig,
108115
OutputResult,
109116
)
110117
from .types.import_config import (
@@ -212,6 +219,7 @@
212219
)
213220

214221
__all__ = (
222+
"AnalyticsServiceAsyncClient",
215223
"CatalogServiceAsyncClient",
216224
"CompletionServiceAsyncClient",
217225
"ControlServiceAsyncClient",
@@ -230,6 +238,7 @@
230238
"AddLocalInventoriesMetadata",
231239
"AddLocalInventoriesRequest",
232240
"AddLocalInventoriesResponse",
241+
"AnalyticsServiceClient",
233242
"AttributeConfigLevel",
234243
"AttributesConfig",
235244
"Audience",
@@ -265,6 +274,8 @@
265274
"DeleteProductRequest",
266275
"DeleteServingConfigRequest",
267276
"ExperimentInfo",
277+
"ExportAnalyticsMetricsRequest",
278+
"ExportAnalyticsMetricsResponse",
268279
"ExportErrorsConfig",
269280
"ExportMetadata",
270281
"ExportProductsResponse",
@@ -310,6 +321,7 @@
310321
"MerchantCenterLinkingConfig",
311322
"Model",
312323
"ModelServiceClient",
324+
"OutputConfig",
313325
"OutputResult",
314326
"PauseModelRequest",
315327
"PredictRequest",

packages/google-cloud-retail/google/cloud/retail_v2alpha/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,40 @@
55
"protoPackage": "google.cloud.retail.v2alpha",
66
"schema": "1.0",
77
"services": {
8+
"AnalyticsService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "AnalyticsServiceClient",
12+
"rpcs": {
13+
"ExportAnalyticsMetrics": {
14+
"methods": [
15+
"export_analytics_metrics"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "AnalyticsServiceAsyncClient",
22+
"rpcs": {
23+
"ExportAnalyticsMetrics": {
24+
"methods": [
25+
"export_analytics_metrics"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "AnalyticsServiceClient",
32+
"rpcs": {
33+
"ExportAnalyticsMetrics": {
34+
"methods": [
35+
"export_analytics_metrics"
36+
]
37+
}
38+
}
39+
}
40+
}
41+
},
842
"CatalogService": {
943
"clients": {
1044
"grpc": {

packages/google-cloud-retail/google/cloud/retail_v2alpha/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.17.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2023 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .async_client import AnalyticsServiceAsyncClient
17+
from .client import AnalyticsServiceClient
18+
19+
__all__ = (
20+
"AnalyticsServiceClient",
21+
"AnalyticsServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)