Skip to content

Commit 73bd9a8

Browse files
build(shopping/merchant/issueresolution): Fix proto options for csharp, php, ruby (#12064)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 752230309 Source-Link: https://togithub.com/googleapis/googleapis/commit/114d6a575fbc91d36d4f35d543f9d541f13a4a18 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f9c6b36c007bcb5c8445824651798eadcbf53214 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjljNmIzNmMwMDdiY2I1Yzg0NDU4MjQ2NTE3OThlYWRjYmY1MzIxNCJ9 BEGIN_NESTED_COMMIT feat(retail): add conversational search API PiperOrigin-RevId: 751643959 Source-Link: https://togithub.com/googleapis/googleapis/commit/2eec62dc7ed836c8d9f73fb313afb8f48c361bef Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/dc04c51ae1085872f46948768d3c21172f48af01 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGMwNGM1MWFlMTA4NTg3MmY0Njk0ODc2OGQzYzIxMTcyZjQ4YWYwMSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(retail): add language_code, region_code and place_id to SearchRequest feat(retail): add pin_control_metadata to SearchResponse docs(retail): keep the API doc up-to-date with recent changes PiperOrigin-RevId: 751590638 Source-Link: https://togithub.com/googleapis/googleapis/commit/7b29e663fbd7b0e203d4ed4b843cff20a8c386a6 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/a7be28dca9cb0d06a4dc90056dc3caab734a8277 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTdiZTI4ZGNhOWNiMGQwNmE0ZGM5MDA1NmRjM2NhYWI3MzRhODI3NyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore(shopping/merchant/ordertracking): Configure package options for merchant ordertracking client generation PiperOrigin-RevId: 751574704 Source-Link: https://togithub.com/googleapis/googleapis/commit/567d95634cf28a716f2c56ca6638b68a43b4a9e9 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/834b3f7287ea3a9ac696b690dc6e6a998a09eb4d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODM0YjNmNzI4N2VhM2E5YWM2OTZiNjkwZGM2ZTZhOTk4YTA5ZWI0ZCJ9 END_NESTED_COMMIT
1 parent e56e75a commit 73bd9a8

File tree

47 files changed

+8898
-772
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+8898
-772
lines changed

internal/.repo-metadata-full.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,7 @@
23322332
"cloud.google.com/go/retail/apiv2beta": {
23332333
"api_shortname": "retail",
23342334
"distribution_name": "cloud.google.com/go/retail/apiv2beta",
2335-
"description": "Vertex AI Search for Retail API",
2335+
"description": "Vertex AI Search for commerce API",
23362336
"language": "go",
23372337
"client_library_type": "generated",
23382338
"client_documentation": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/retail/latest/apiv2beta",
@@ -2629,6 +2629,16 @@
26292629
"release_level": "preview",
26302630
"library_type": "GAPIC_AUTO"
26312631
},
2632+
"cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta": {
2633+
"api_shortname": "merchantapi",
2634+
"distribution_name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta",
2635+
"description": "Merchant API",
2636+
"language": "go",
2637+
"client_library_type": "generated",
2638+
"client_documentation": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/shopping/latest/merchant/issueresolution/apiv1beta",
2639+
"release_level": "preview",
2640+
"library_type": "GAPIC_AUTO"
2641+
},
26322642
"cloud.google.com/go/shopping/merchant/lfp/apiv1beta": {
26332643
"api_shortname": "merchantapi",
26342644
"distribution_name": "cloud.google.com/go/shopping/merchant/lfp/apiv1beta",

internal/generated/snippets/retail/apiv2alpha/ConversationalSearchClient/GetOperation/main.go

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/generated/snippets/retail/apiv2alpha/ConversationalSearchClient/ListOperations/main.go

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,98 @@
14811481
}
14821482
]
14831483
},
1484+
{
1485+
"regionTag": "retail_v2alpha_generated_ConversationalSearchService_GetOperation_sync",
1486+
"title": "retail GetOperation Sample",
1487+
"description": "GetOperation is a utility method from google.longrunning.Operations.",
1488+
"file": "ConversationalSearchClient/GetOperation/main.go",
1489+
"language": "GO",
1490+
"clientMethod": {
1491+
"shortName": "GetOperation",
1492+
"fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient.GetOperation",
1493+
"parameters": [
1494+
{
1495+
"type": "context.Context",
1496+
"name": "ctx"
1497+
},
1498+
{
1499+
"type": "longrunningpb.GetOperationRequest",
1500+
"name": "req"
1501+
},
1502+
{
1503+
"type": "...gax.CallOption",
1504+
"name": "opts"
1505+
}
1506+
],
1507+
"resultType": "*longrunningpb.Operation",
1508+
"client": {
1509+
"shortName": "ConversationalSearchClient",
1510+
"fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient"
1511+
},
1512+
"method": {
1513+
"shortName": "GetOperation",
1514+
"fullName": "google.longrunning.Operations.GetOperation",
1515+
"service": {
1516+
"shortName": "Operations",
1517+
"fullName": "google.longrunning.Operations"
1518+
}
1519+
}
1520+
},
1521+
"origin": "API_DEFINITION",
1522+
"segments": [
1523+
{
1524+
"start": 18,
1525+
"end": 53,
1526+
"type": "FULL"
1527+
}
1528+
]
1529+
},
1530+
{
1531+
"regionTag": "retail_v2alpha_generated_ConversationalSearchService_ListOperations_sync",
1532+
"title": "retail ListOperations Sample",
1533+
"description": "ListOperations is a utility method from google.longrunning.Operations.",
1534+
"file": "ConversationalSearchClient/ListOperations/main.go",
1535+
"language": "GO",
1536+
"clientMethod": {
1537+
"shortName": "ListOperations",
1538+
"fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient.ListOperations",
1539+
"parameters": [
1540+
{
1541+
"type": "context.Context",
1542+
"name": "ctx"
1543+
},
1544+
{
1545+
"type": "longrunningpb.ListOperationsRequest",
1546+
"name": "req"
1547+
},
1548+
{
1549+
"type": "...gax.CallOption",
1550+
"name": "opts"
1551+
}
1552+
],
1553+
"resultType": "OperationIterator",
1554+
"client": {
1555+
"shortName": "ConversationalSearchClient",
1556+
"fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient"
1557+
},
1558+
"method": {
1559+
"shortName": "ListOperations",
1560+
"fullName": "google.longrunning.Operations.ListOperations",
1561+
"service": {
1562+
"shortName": "Operations",
1563+
"fullName": "google.longrunning.Operations"
1564+
}
1565+
}
1566+
},
1567+
"origin": "API_DEFINITION",
1568+
"segments": [
1569+
{
1570+
"start": 18,
1571+
"end": 66,
1572+
"type": "FULL"
1573+
}
1574+
]
1575+
},
14841576
{
14851577
"regionTag": "retail_v2alpha_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync",
14861578
"title": "retail BatchUpdateGenerativeQuestionConfigs Sample",

internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@
612612
{
613613
"regionTag": "retail_v2beta_generated_CatalogService_SetDefaultBranch_sync",
614614
"title": "retail SetDefaultBranch Sample",
615-
"description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2beta.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API while\nkeeping using `projects/*/locations/*/catalogs/*/branches/default_branch`\nas [SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch]\nto route the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch is\nvery different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.",
615+
"description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2beta.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.",
616616
"file": "CatalogClient/SetDefaultBranch/main.go",
617617
"language": "GO",
618618
"clientMethod": {
@@ -3643,7 +3643,7 @@
36433643
{
36443644
"regionTag": "retail_v2beta_generated_UserEventService_CollectUserEvent_sync",
36453645
"title": "retail CollectUserEvent Sample",
3646-
"description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a 3rd party domain.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.",
3646+
"description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.",
36473647
"file": "UserEventClient/CollectUserEvent/main.go",
36483648
"language": "GO",
36493649
"clientMethod": {

internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/Client/RenderAccountIssues/main.go

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/Client/RenderProductIssues/main.go

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)