Skip to content

Commit 668edb0

Browse files
feat(retail): update the api
#### retail:v2 The following keys were added: - schemas.GoogleCloudRetailV2DoubleList (Total Keys: 5) - schemas.GoogleCloudRetailV2SearchResponseSearchResult.properties.modelScores (Total Keys: 2) #### retail:v2alpha The following keys were added: - schemas.GoogleCloudRetailV2alphaDoubleList (Total Keys: 5) - schemas.GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.properties.dataSourceId (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.properties.primaryFeedId.deprecated (Total Keys: 1) - schemas.GoogleCloudRetailV2alphaMerchantCenterFeedFilter.properties.dataSourceId (Total Keys: 2) - schemas.GoogleCloudRetailV2alphaMerchantCenterFeedFilter.properties.primaryFeedId.deprecated (Total Keys: 1) - schemas.GoogleCloudRetailV2alphaSearchResponseSearchResult.properties.modelScores (Total Keys: 2) #### retail:v2beta The following keys were added: - schemas.GoogleCloudRetailV2betaDoubleList (Total Keys: 5) - schemas.GoogleCloudRetailV2betaSearchResponseSearchResult.properties.modelScores (Total Keys: 2)
1 parent e5af4cc commit 668edb0

11 files changed

+135
-10
lines changed

docs/dyn/retail_v2.projects.locations.catalogs.placements.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,13 @@ <h3>Method Details</h3>
601601
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
602602
&quot;a_key&quot;: &quot;A String&quot;,
603603
},
604+
&quot;modelScores&quot;: { # Google provided available scores.
605+
&quot;a_key&quot;: { # A message with a list of double values.
606+
&quot;values&quot;: [ # The list of double values.
607+
3.14,
608+
],
609+
},
610+
},
604611
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
605612
&quot;A String&quot;,
606613
],

docs/dyn/retail_v2.projects.locations.catalogs.servingConfigs.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,13 @@ <h3>Method Details</h3>
11521152
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
11531153
&quot;a_key&quot;: &quot;A String&quot;,
11541154
},
1155+
&quot;modelScores&quot;: { # Google provided available scores.
1156+
&quot;a_key&quot;: { # A message with a list of double values.
1157+
&quot;values&quot;: [ # The list of double values.
1158+
3.14,
1159+
],
1160+
},
1161+
},
11551162
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
11561163
&quot;A String&quot;,
11571164
],

docs/dyn/retail_v2alpha.projects.locations.catalogs.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ <h3>Method Details</h3>
522522
],
523523
&quot;feeds&quot;: [ # Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
524524
{ # Merchant Center Feed filter criterion.
525-
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID.
525+
&quot;dataSourceId&quot;: &quot;A String&quot;, # AFM data source ID.
526+
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
526527
&quot;primaryFeedName&quot;: &quot;A String&quot;, # Merchant Center primary feed name. The name is used for the display purposes only.
527528
},
528529
],
@@ -577,7 +578,8 @@ <h3>Method Details</h3>
577578
],
578579
&quot;feeds&quot;: [ # Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
579580
{ # Merchant Center Feed filter criterion.
580-
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID.
581+
&quot;dataSourceId&quot;: &quot;A String&quot;, # AFM data source ID.
582+
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
581583
&quot;primaryFeedName&quot;: &quot;A String&quot;, # Merchant Center primary feed name. The name is used for the display purposes only.
582584
},
583585
],
@@ -614,7 +616,8 @@ <h3>Method Details</h3>
614616
],
615617
&quot;feeds&quot;: [ # Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
616618
{ # Merchant Center Feed filter criterion.
617-
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID.
619+
&quot;dataSourceId&quot;: &quot;A String&quot;, # AFM data source ID.
620+
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
618621
&quot;primaryFeedName&quot;: &quot;A String&quot;, # Merchant Center primary feed name. The name is used for the display purposes only.
619622
},
620623
],

docs/dyn/retail_v2alpha.projects.locations.catalogs.merchantCenterAccountLinks.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ <h3>Method Details</h3>
105105
&quot;branchId&quot;: &quot;A String&quot;, # Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won&#x27;t change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.
106106
&quot;feedFilters&quot;: [ # Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
107107
{ # Merchant Center Feed filter criterion.
108-
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID.
108+
&quot;dataSourceId&quot;: &quot;A String&quot;, # AFM data source ID.
109+
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
109110
&quot;primaryFeedName&quot;: &quot;A String&quot;, # Merchant Center primary feed name. The name is used for the display purposes only.
110111
},
111112
],
@@ -186,7 +187,8 @@ <h3>Method Details</h3>
186187
&quot;branchId&quot;: &quot;A String&quot;, # Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won&#x27;t change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.
187188
&quot;feedFilters&quot;: [ # Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
188189
{ # Merchant Center Feed filter criterion.
189-
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID.
190+
&quot;dataSourceId&quot;: &quot;A String&quot;, # AFM data source ID.
191+
&quot;primaryFeedId&quot;: &quot;A String&quot;, # Merchant Center primary feed ID. Deprecated: use data_source_id instead.
190192
&quot;primaryFeedName&quot;: &quot;A String&quot;, # Merchant Center primary feed name. The name is used for the display purposes only.
191193
},
192194
],

docs/dyn/retail_v2alpha.projects.locations.catalogs.placements.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,13 @@ <h3>Method Details</h3>
695695
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
696696
&quot;a_key&quot;: &quot;A String&quot;,
697697
},
698+
&quot;modelScores&quot;: { # Google provided available scores.
699+
&quot;a_key&quot;: { # A message with a list of double values.
700+
&quot;values&quot;: [ # The list of double values.
701+
3.14,
702+
],
703+
},
704+
},
698705
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
699706
&quot;A String&quot;,
700707
],

docs/dyn/retail_v2alpha.projects.locations.catalogs.servingConfigs.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,13 @@ <h3>Method Details</h3>
12461246
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
12471247
&quot;a_key&quot;: &quot;A String&quot;,
12481248
},
1249+
&quot;modelScores&quot;: { # Google provided available scores.
1250+
&quot;a_key&quot;: { # A message with a list of double values.
1251+
&quot;values&quot;: [ # The list of double values.
1252+
3.14,
1253+
],
1254+
},
1255+
},
12491256
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
12501257
&quot;A String&quot;,
12511258
],

docs/dyn/retail_v2beta.projects.locations.catalogs.placements.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,13 @@ <h3>Method Details</h3>
601601
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
602602
&quot;a_key&quot;: &quot;A String&quot;,
603603
},
604+
&quot;modelScores&quot;: { # Google provided available scores.
605+
&quot;a_key&quot;: { # A message with a list of double values.
606+
&quot;values&quot;: [ # The list of double values.
607+
3.14,
608+
],
609+
},
610+
},
604611
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
605612
&quot;A String&quot;,
606613
],

docs/dyn/retail_v2beta.projects.locations.catalogs.servingConfigs.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,13 @@ <h3>Method Details</h3>
11521152
&quot;matchingVariantFields&quot;: { # If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key &quot;sku1&quot; with field mask &quot;products.color_info&quot; indicates there is a match between &quot;sku1&quot; ColorInfo and the query.
11531153
&quot;a_key&quot;: &quot;A String&quot;,
11541154
},
1155+
&quot;modelScores&quot;: { # Google provided available scores.
1156+
&quot;a_key&quot;: { # A message with a list of double values.
1157+
&quot;values&quot;: [ # The list of double values.
1158+
3.14,
1159+
],
1160+
},
1161+
},
11551162
&quot;personalLabels&quot;: [ # Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.
11561163
&quot;A String&quot;,
11571164
],

googleapiclient/discovery_cache/documents/retail.v2.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@
22232223
}
22242224
}
22252225
},
2226-
"revision": "20250508",
2226+
"revision": "20250515",
22272227
"rootUrl": "https://retail.googleapis.com/",
22282228
"schemas": {
22292229
"GoogleApiHttpBody": {
@@ -3216,6 +3216,21 @@
32163216
},
32173217
"type": "object"
32183218
},
3219+
"GoogleCloudRetailV2DoubleList": {
3220+
"description": "A message with a list of double values.",
3221+
"id": "GoogleCloudRetailV2DoubleList",
3222+
"properties": {
3223+
"values": {
3224+
"description": "The list of double values.",
3225+
"items": {
3226+
"format": "double",
3227+
"type": "number"
3228+
},
3229+
"type": "array"
3230+
}
3231+
},
3232+
"type": "object"
3233+
},
32193234
"GoogleCloudRetailV2ExperimentInfo": {
32203235
"description": "Metadata for active A/B testing experiment.",
32213236
"id": "GoogleCloudRetailV2ExperimentInfo",
@@ -5755,6 +5770,13 @@
57555770
"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
57565771
"type": "object"
57575772
},
5773+
"modelScores": {
5774+
"additionalProperties": {
5775+
"$ref": "GoogleCloudRetailV2DoubleList"
5776+
},
5777+
"description": "Google provided available scores.",
5778+
"type": "object"
5779+
},
57585780
"personalLabels": {
57595781
"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.",
57605782
"items": {

googleapiclient/discovery_cache/documents/retail.v2alpha.json

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2800,7 +2800,7 @@
28002800
}
28012801
}
28022802
},
2803-
"revision": "20250501",
2803+
"revision": "20250515",
28042804
"rootUrl": "https://retail.googleapis.com/",
28052805
"schemas": {
28062806
"GoogleApiHttpBody": {
@@ -4824,6 +4824,21 @@
48244824
},
48254825
"type": "object"
48264826
},
4827+
"GoogleCloudRetailV2alphaDoubleList": {
4828+
"description": "A message with a list of double values.",
4829+
"id": "GoogleCloudRetailV2alphaDoubleList",
4830+
"properties": {
4831+
"values": {
4832+
"description": "The list of double values.",
4833+
"items": {
4834+
"format": "double",
4835+
"type": "number"
4836+
},
4837+
"type": "array"
4838+
}
4839+
},
4840+
"type": "object"
4841+
},
48274842
"GoogleCloudRetailV2alphaEnrollSolutionMetadata": {
48284843
"description": "Metadata related to the EnrollSolution method. This will be returned by the google.longrunning.Operation.metadata field.",
48294844
"id": "GoogleCloudRetailV2alphaEnrollSolutionMetadata",
@@ -5746,8 +5761,14 @@
57465761
"description": "Merchant Center Feed filter criterion.",
57475762
"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter",
57485763
"properties": {
5764+
"dataSourceId": {
5765+
"description": "AFM data source ID.",
5766+
"format": "int64",
5767+
"type": "string"
5768+
},
57495769
"primaryFeedId": {
5750-
"description": "Merchant Center primary feed ID.",
5770+
"deprecated": true,
5771+
"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.",
57515772
"format": "int64",
57525773
"type": "string"
57535774
},
@@ -5762,8 +5783,14 @@
57625783
"description": "Merchant Center Feed filter criterion.",
57635784
"id": "GoogleCloudRetailV2alphaMerchantCenterFeedFilter",
57645785
"properties": {
5786+
"dataSourceId": {
5787+
"description": "AFM data source ID.",
5788+
"format": "int64",
5789+
"type": "string"
5790+
},
57655791
"primaryFeedId": {
5766-
"description": "Merchant Center primary feed ID.",
5792+
"deprecated": true,
5793+
"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.",
57675794
"format": "int64",
57685795
"type": "string"
57695796
},
@@ -7907,6 +7934,13 @@
79077934
"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
79087935
"type": "object"
79097936
},
7937+
"modelScores": {
7938+
"additionalProperties": {
7939+
"$ref": "GoogleCloudRetailV2alphaDoubleList"
7940+
},
7941+
"description": "Google provided available scores.",
7942+
"type": "object"
7943+
},
79107944
"personalLabels": {
79117945
"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.",
79127946
"items": {

googleapiclient/discovery_cache/documents/retail.v2beta.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@
23682368
}
23692369
}
23702370
},
2371-
"revision": "20250508",
2371+
"revision": "20250515",
23722372
"rootUrl": "https://retail.googleapis.com/",
23732373
"schemas": {
23742374
"GoogleApiHttpBody": {
@@ -4881,6 +4881,21 @@
48814881
},
48824882
"type": "object"
48834883
},
4884+
"GoogleCloudRetailV2betaDoubleList": {
4885+
"description": "A message with a list of double values.",
4886+
"id": "GoogleCloudRetailV2betaDoubleList",
4887+
"properties": {
4888+
"values": {
4889+
"description": "The list of double values.",
4890+
"items": {
4891+
"format": "double",
4892+
"type": "number"
4893+
},
4894+
"type": "array"
4895+
}
4896+
},
4897+
"type": "object"
4898+
},
48844899
"GoogleCloudRetailV2betaExperimentInfo": {
48854900
"description": "Metadata for active A/B testing experiment.",
48864901
"id": "GoogleCloudRetailV2betaExperimentInfo",
@@ -7568,6 +7583,13 @@
75687583
"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
75697584
"type": "object"
75707585
},
7586+
"modelScores": {
7587+
"additionalProperties": {
7588+
"$ref": "GoogleCloudRetailV2betaDoubleList"
7589+
},
7590+
"description": "Google provided available scores.",
7591+
"type": "object"
7592+
},
75717593
"personalLabels": {
75727594
"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.",
75737595
"items": {

0 commit comments

Comments
 (0)