Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4968eac

Browse files
committedSep 25, 2023
feat(content): update the api
#### content:v2.1 The following keys were added: - resources.liasettings.methods.setomnichannelexperience (Total Keys: 22) - schemas.LiaCountrySettings.properties.omnichannelExperience.$ref (Total Keys: 1) - schemas.LiaOmnichannelExperience (Total Keys: 6) - schemas.LiasettingsCustomBatchRequestEntry.properties.omnichannelExperience.$ref (Total Keys: 1) - schemas.LiasettingsCustomBatchResponseEntry.properties.omnichannelExperience.$ref (Total Keys: 1)
1 parent 6e7133e commit 4968eac

File tree

2 files changed

+170
-1
lines changed

2 files changed

+170
-1
lines changed
 

‎docs/dyn/content_v2_1.liasettings.html

+86
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ <h2>Instance Methods</h2>
104104
<p class="toc_element">
105105
<code><a href="#setinventoryverificationcontact">setinventoryverificationcontact(merchantId, accountId, country, language, contactName, contactEmail, x__xgafv=None)</a></code></p>
106106
<p class="firstline">Sets the inventory verification contract for the specified country.</p>
107+
<p class="toc_element">
108+
<code><a href="#setomnichannelexperience">setomnichannelexperience(merchantId, accountId, country=None, lsfType=None, pickupTypes=None, x__xgafv=None)</a></code></p>
109+
<p class="firstline">Sets the omnichannel experience for the specified country.</p>
107110
<p class="toc_element">
108111
<code><a href="#setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None, x__xgafv=None)</a></code></p>
109112
<p class="firstline">Sets the POS data provider for the specified country.</p>
@@ -149,6 +152,13 @@ <h3>Method Details</h3>
149152
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
150153
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
151154
},
155+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
156+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
157+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
158+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
159+
&quot;A String&quot;,
160+
],
161+
},
152162
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
153163
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
154164
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
@@ -164,6 +174,13 @@ <h3>Method Details</h3>
164174
},
165175
&quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
166176
&quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`get`&quot; - &quot;`getAccessibleGmbAccounts`&quot; - &quot;`requestGmbAccess`&quot; - &quot;`requestInventoryVerification`&quot; - &quot;`setInventoryVerificationContact`&quot; - &quot;`update`&quot;
177+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience for a country. Required only for SetOmnichannelExperience.
178+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
179+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
180+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
181+
&quot;A String&quot;,
182+
],
183+
},
167184
&quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of POS data provider. Required only for SetPosProvider.
168185
&quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS provider.
169186
},
@@ -221,6 +238,13 @@ <h3>Method Details</h3>
221238
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
222239
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
223240
},
241+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
242+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
243+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
244+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
245+
&quot;A String&quot;,
246+
],
247+
},
224248
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
225249
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
226250
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
@@ -234,6 +258,13 @@ <h3>Method Details</h3>
234258
],
235259
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
236260
},
261+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The updated omnichannel experience for a country.
262+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
263+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
264+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
265+
&quot;A String&quot;,
266+
],
267+
},
237268
&quot;posDataProviders&quot;: [ # The list of POS data providers.
238269
{
239270
&quot;country&quot;: &quot;A String&quot;, # Country code.
@@ -283,6 +314,13 @@ <h3>Method Details</h3>
283314
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
284315
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
285316
},
317+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
318+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
319+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
320+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
321+
&quot;A String&quot;,
322+
],
323+
},
286324
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
287325
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
288326
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
@@ -363,6 +401,13 @@ <h3>Method Details</h3>
363401
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
364402
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
365403
},
404+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
405+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
406+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
407+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
408+
&quot;A String&quot;,
409+
],
410+
},
366411
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
367412
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
368413
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
@@ -490,6 +535,33 @@ <h3>Method Details</h3>
490535
}</pre>
491536
</div>
492537

538+
<div class="method">
539+
<code class="details" id="setomnichannelexperience">setomnichannelexperience(merchantId, accountId, country=None, lsfType=None, pickupTypes=None, x__xgafv=None)</code>
540+
<pre>Sets the omnichannel experience for the specified country.
541+
542+
Args:
543+
merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
544+
accountId: string, The ID of the account for which to retrieve accessible Business Profiles. (required)
545+
country: string, The CLDR country code (for example, &quot;US&quot;) for which the omnichannel experience is selected.
546+
lsfType: string, The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
547+
pickupTypes: string, The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot; (repeated)
548+
x__xgafv: string, V1 error format.
549+
Allowed values
550+
1 - v1 error format
551+
2 - v2 error format
552+
553+
Returns:
554+
An object of the form:
555+
556+
{ # Omnichannel experience details.
557+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
558+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
559+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
560+
&quot;A String&quot;,
561+
],
562+
}</pre>
563+
</div>
564+
493565
<div class="method">
494566
<code class="details" id="setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None, x__xgafv=None)</code>
495567
<pre>Sets the POS data provider for the specified country.
@@ -539,6 +611,13 @@ <h3>Method Details</h3>
539611
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
540612
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
541613
},
614+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
615+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
616+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
617+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
618+
&quot;A String&quot;,
619+
],
620+
},
542621
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
543622
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
544623
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
@@ -577,6 +656,13 @@ <h3>Method Details</h3>
577656
&quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
578657
&quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
579658
},
659+
&quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
660+
&quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
661+
&quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
662+
&quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
663+
&quot;A String&quot;,
664+
],
665+
},
580666
&quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
581667
&quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
582668
&quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;

‎googleapiclient/discovery_cache/documents/content.v2.1.json

+84-1
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,55 @@
25592559
"https://www.googleapis.com/auth/content"
25602560
]
25612561
},
2562+
"setomnichannelexperience": {
2563+
"description": "Sets the omnichannel experience for the specified country.",
2564+
"flatPath": "{merchantId}/liasettings/{accountId}/setomnichannelexperience",
2565+
"httpMethod": "POST",
2566+
"id": "content.liasettings.setomnichannelexperience",
2567+
"parameterOrder": [
2568+
"merchantId",
2569+
"accountId"
2570+
],
2571+
"parameters": {
2572+
"accountId": {
2573+
"description": "The ID of the account for which to retrieve accessible Business Profiles.",
2574+
"format": "uint64",
2575+
"location": "path",
2576+
"required": true,
2577+
"type": "string"
2578+
},
2579+
"country": {
2580+
"description": "The CLDR country code (for example, \"US\") for which the omnichannel experience is selected.",
2581+
"location": "query",
2582+
"type": "string"
2583+
},
2584+
"lsfType": {
2585+
"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.",
2586+
"location": "query",
2587+
"type": "string"
2588+
},
2589+
"merchantId": {
2590+
"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.",
2591+
"format": "uint64",
2592+
"location": "path",
2593+
"required": true,
2594+
"type": "string"
2595+
},
2596+
"pickupTypes": {
2597+
"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ",
2598+
"location": "query",
2599+
"repeated": true,
2600+
"type": "string"
2601+
}
2602+
},
2603+
"path": "{merchantId}/liasettings/{accountId}/setomnichannelexperience",
2604+
"response": {
2605+
"$ref": "LiaOmnichannelExperience"
2606+
},
2607+
"scopes": [
2608+
"https://www.googleapis.com/auth/content"
2609+
]
2610+
},
25622611
"setposdataprovider": {
25632612
"description": "Sets the POS data provider for the specified country.",
25642613
"flatPath": "{merchantId}/liasettings/{accountId}/setposdataprovider",
@@ -6439,7 +6488,7 @@
64396488
}
64406489
}
64416490
},
6442-
"revision": "20230906",
6491+
"revision": "20230918",
64436492
"rootUrl": "https://shoppingcontent.googleapis.com/",
64446493
"schemas": {
64456494
"Account": {
@@ -10021,6 +10070,10 @@
1002110070
"$ref": "LiaInventorySettings",
1002210071
"description": "LIA inventory verification settings."
1002310072
},
10073+
"omnichannelExperience": {
10074+
"$ref": "LiaOmnichannelExperience",
10075+
"description": "The omnichannel experience configured for this country."
10076+
},
1002410077
"onDisplayToOrder": {
1002510078
"$ref": "LiaOnDisplayToOrderSettings",
1002610079
"description": "LIA \"On Display To Order\" settings."
@@ -10058,6 +10111,28 @@
1005810111
},
1005910112
"type": "object"
1006010113
},
10114+
"LiaOmnichannelExperience": {
10115+
"description": "Omnichannel experience details.",
10116+
"id": "LiaOmnichannelExperience",
10117+
"properties": {
10118+
"country": {
10119+
"description": "The CLDR country code (for example, \"US\").",
10120+
"type": "string"
10121+
},
10122+
"lsfType": {
10123+
"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.",
10124+
"type": "string"
10125+
},
10126+
"pickupTypes": {
10127+
"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ",
10128+
"items": {
10129+
"type": "string"
10130+
},
10131+
"type": "array"
10132+
}
10133+
},
10134+
"type": "object"
10135+
},
1006110136
"LiaOnDisplayToOrderSettings": {
1006210137
"id": "LiaOnDisplayToOrderSettings",
1006310138
"properties": {
@@ -10165,6 +10240,10 @@
1016510240
"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`getAccessibleGmbAccounts`\" - \"`requestGmbAccess`\" - \"`requestInventoryVerification`\" - \"`setInventoryVerificationContact`\" - \"`update`\" ",
1016610241
"type": "string"
1016710242
},
10243+
"omnichannelExperience": {
10244+
"$ref": "LiaOmnichannelExperience",
10245+
"description": "The omnichannel experience for a country. Required only for SetOmnichannelExperience."
10246+
},
1016810247
"posDataProviderId": {
1016910248
"description": "The ID of POS data provider. Required only for SetPosProvider.",
1017010249
"format": "uint64",
@@ -10218,6 +10297,10 @@
1021810297
"$ref": "LiaSettings",
1021910298
"description": "The retrieved or updated Lia settings."
1022010299
},
10300+
"omnichannelExperience": {
10301+
"$ref": "LiaOmnichannelExperience",
10302+
"description": "The updated omnichannel experience for a country."
10303+
},
1022110304
"posDataProviders": {
1022210305
"description": "The list of POS data providers.",
1022310306
"items": {

0 commit comments

Comments
 (0)
Please sign in to comment.