Skip to content

Commit c859d14

Browse files
gcf-owl-bot[bot]ohmayrparthea
authored
feat: [google-shopping-merchant-datasources] adding some more information about supplemental data sources (#13108)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: adding some more information about supplemental data sources feat: Add FileUploads service docs: A comment for enum value `PRODUCTS` in enum `Channel` is changed END_COMMIT_OVERRIDE PiperOrigin-RevId: 681900944 Source-Link: googleapis/googleapis@78d1fb2 Source-Link: googleapis/googleapis-gen@19badfa Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWRhdGFzb3VyY2VzLy5Pd2xCb3QueWFtbCIsImgiOiIxOWJhZGZhYzg3NDE4NTljYTA2ZjE5MTk3NzQ1NWIzNzBlODRlMTRiIn0= BEGIN_NESTED_COMMIT feat: [google-shopping-merchant-datasources] Add FileUploads service docs: A comment for enum value `PRODUCTS` in enum `Channel` is changed PiperOrigin-RevId: 678641097 Source-Link: googleapis/googleapis@9c4c174 Source-Link: googleapis/googleapis-gen@13cfe50 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWRhdGFzb3VyY2VzLy5Pd2xCb3QueWFtbCIsImgiOiIxM2NmZTUwNGE2ZjBhZWRjMDQxNmMyMzg1MWYyNzgxNTc4MzRmOTA1In0= END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <omairnaveed@ymail.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent e4ac435 commit c859d14

22 files changed

Lines changed: 5603 additions & 1 deletion
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FileUploadsService
2+
------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_datasources_v1beta.services.file_uploads_service
5+
:members:
6+
:inherited-members:

packages/google-shopping-merchant-datasources/docs/merchant_datasources_v1beta/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Services for Google Shopping Merchant Datasources v1beta API
44
:maxdepth: 2
55

66
data_sources_service
7+
file_uploads_service

packages/google-shopping-merchant-datasources/google/shopping/merchant_datasources/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
from google.shopping.merchant_datasources_v1beta.services.data_sources_service.client import (
2525
DataSourcesServiceClient,
2626
)
27+
from google.shopping.merchant_datasources_v1beta.services.file_uploads_service.async_client import (
28+
FileUploadsServiceAsyncClient,
29+
)
30+
from google.shopping.merchant_datasources_v1beta.services.file_uploads_service.client import (
31+
FileUploadsServiceClient,
32+
)
2733
from google.shopping.merchant_datasources_v1beta.types.datasources import (
2834
CreateDataSourceRequest,
2935
DataSource,
@@ -35,17 +41,24 @@
3541
UpdateDataSourceRequest,
3642
)
3743
from google.shopping.merchant_datasources_v1beta.types.datasourcetypes import (
44+
DataSourceReference,
3845
LocalInventoryDataSource,
3946
PrimaryProductDataSource,
4047
PromotionDataSource,
4148
RegionalInventoryDataSource,
4249
SupplementalProductDataSource,
4350
)
4451
from google.shopping.merchant_datasources_v1beta.types.fileinputs import FileInput
52+
from google.shopping.merchant_datasources_v1beta.types.fileuploads import (
53+
FileUpload,
54+
GetFileUploadRequest,
55+
)
4556

4657
__all__ = (
4758
"DataSourcesServiceClient",
4859
"DataSourcesServiceAsyncClient",
60+
"FileUploadsServiceClient",
61+
"FileUploadsServiceAsyncClient",
4962
"CreateDataSourceRequest",
5063
"DataSource",
5164
"DeleteDataSourceRequest",
@@ -54,10 +67,13 @@
5467
"ListDataSourcesRequest",
5568
"ListDataSourcesResponse",
5669
"UpdateDataSourceRequest",
70+
"DataSourceReference",
5771
"LocalInventoryDataSource",
5872
"PrimaryProductDataSource",
5973
"PromotionDataSource",
6074
"RegionalInventoryDataSource",
6175
"SupplementalProductDataSource",
6276
"FileInput",
77+
"FileUpload",
78+
"GetFileUploadRequest",
6379
)

packages/google-shopping-merchant-datasources/google/shopping/merchant_datasources_v1beta/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
DataSourcesServiceAsyncClient,
2323
DataSourcesServiceClient,
2424
)
25+
from .services.file_uploads_service import (
26+
FileUploadsServiceAsyncClient,
27+
FileUploadsServiceClient,
28+
)
2529
from .types.datasources import (
2630
CreateDataSourceRequest,
2731
DataSource,
@@ -33,23 +37,30 @@
3337
UpdateDataSourceRequest,
3438
)
3539
from .types.datasourcetypes import (
40+
DataSourceReference,
3641
LocalInventoryDataSource,
3742
PrimaryProductDataSource,
3843
PromotionDataSource,
3944
RegionalInventoryDataSource,
4045
SupplementalProductDataSource,
4146
)
4247
from .types.fileinputs import FileInput
48+
from .types.fileuploads import FileUpload, GetFileUploadRequest
4349

4450
__all__ = (
4551
"DataSourcesServiceAsyncClient",
52+
"FileUploadsServiceAsyncClient",
4653
"CreateDataSourceRequest",
4754
"DataSource",
55+
"DataSourceReference",
4856
"DataSourcesServiceClient",
4957
"DeleteDataSourceRequest",
5058
"FetchDataSourceRequest",
5159
"FileInput",
60+
"FileUpload",
61+
"FileUploadsServiceClient",
5262
"GetDataSourceRequest",
63+
"GetFileUploadRequest",
5364
"ListDataSourcesRequest",
5465
"ListDataSourcesResponse",
5566
"LocalInventoryDataSource",

packages/google-shopping-merchant-datasources/google/shopping/merchant_datasources_v1beta/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,40 @@
113113
}
114114
}
115115
}
116+
},
117+
"FileUploadsService": {
118+
"clients": {
119+
"grpc": {
120+
"libraryClient": "FileUploadsServiceClient",
121+
"rpcs": {
122+
"GetFileUpload": {
123+
"methods": [
124+
"get_file_upload"
125+
]
126+
}
127+
}
128+
},
129+
"grpc-async": {
130+
"libraryClient": "FileUploadsServiceAsyncClient",
131+
"rpcs": {
132+
"GetFileUpload": {
133+
"methods": [
134+
"get_file_upload"
135+
]
136+
}
137+
}
138+
},
139+
"rest": {
140+
"libraryClient": "FileUploadsServiceClient",
141+
"rpcs": {
142+
"GetFileUpload": {
143+
"methods": [
144+
"get_file_upload"
145+
]
146+
}
147+
}
148+
}
149+
}
116150
}
117151
}
118152
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2024 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 FileUploadsServiceAsyncClient
17+
from .client import FileUploadsServiceClient
18+
19+
__all__ = (
20+
"FileUploadsServiceClient",
21+
"FileUploadsServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)