chore: update docs/dyn , add static discovery files to discovery_cache/documents (#1111)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/78f53313-0c78-4a29-8841-f031665a4c6a/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/c2de32114ec484aa708d32012d1fa8d75232daf5
diff --git a/docs/dyn/content_v2.pos.html b/docs/dyn/content_v2.pos.html
index b1d690a..165f4e5 100644
--- a/docs/dyn/content_v2.pos.html
+++ b/docs/dyn/content_v2.pos.html
@@ -115,45 +115,45 @@
{
"entries": [ # The request entries to be processed in the batch.
{
- "sale": { # The change of the available quantity of an item at the given store. # The sale information to submit. This should be set only if the method is `sale`.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
- "itemId": "A String", # Required. A unique identifier for the item.
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "price": { # Required. The price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "gtin": "A String", # Global Trade Item Number.
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- },
+ "targetMerchantId": "A String", # The ID of the account for which to get/submit data.
+ "method": "A String", # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" - "`inventory`" - "`sale`"
"inventory": { # The absolute quantity of an item available at the given store. # The inventory to submit. This should be set only if the method is `inventory`.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
+ "quantity": "A String", # Required. The available quantity of the item.
"price": { # Required. The current price of the item.
- "value": "A String", # The price represented as a number.
"currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
},
"storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "quantity": "A String", # Required. The available quantity of the item.
"gtin": "A String", # Global Trade Item Number.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
- "itemId": "A String", # Required. A unique identifier for the item.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ },
+ "sale": { # The change of the available quantity of an item at the given store. # The sale information to submit. This should be set only if the method is `sale`.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
"targetCountry": "A String", # Required. The CLDR territory code for the item.
"timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "price": { # Required. The price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "gtin": "A String", # Global Trade Item Number.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
},
"storeCode": "A String", # The store code. This should be set only if the method is `delete` or `get`.
- "batchId": 42, # An entry ID, unique within the batch request.
- "targetMerchantId": "A String", # The ID of the account for which to get/submit data.
"merchantId": "A String", # The ID of the POS data provider.
+ "batchId": 42, # An entry ID, unique within the batch request.
"store": { # Store resource. # The store information to submit. This should be set only if the method is `insert`.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
"storeAddress": "A String", # Required. The street address of the store.
},
- "method": "A String", # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" - "`inventory`" - "`sale`"
},
],
}
@@ -171,51 +171,51 @@
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posCustomBatchResponse".
"entries": [ # The result of the execution of the batch requests.
{
+ "batchId": 42, # The ID of the request entry to which this entry responds.
+ "inventory": { # The absolute quantity of an item available at the given store. # The updated inventory information.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
+ "quantity": "A String", # Required. The available quantity of the item.
+ "price": { # Required. The current price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "gtin": "A String", # Global Trade Item Number.
+ },
"store": { # Store resource. # The retrieved or updated store information.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
"storeAddress": "A String", # Required. The street address of the store.
},
+ "sale": { # The change of the available quantity of an item at the given store. # The updated sale information.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "price": { # Required. The price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "gtin": "A String", # Global Trade Item Number.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ },
"errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed.
- "errors": [ # A list of errors.
- { # An error returned by the API.
- "domain": "A String", # The domain of the error.
- "message": "A String", # A description of the error.
- "reason": "A String", # The error code.
- },
- ],
"message": "A String", # The message of the first error in `errors`.
"code": 42, # The HTTP status of the first error in `errors`.
- },
- "sale": { # The change of the available quantity of an item at the given store. # The updated sale information.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
- "itemId": "A String", # Required. A unique identifier for the item.
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "price": { # Required. The price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "gtin": "A String", # Global Trade Item Number.
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- },
- "batchId": 42, # The ID of the request entry to which this entry responds.
- "inventory": { # The absolute quantity of an item available at the given store. # The updated inventory information.
- "price": { # Required. The current price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "quantity": "A String", # Required. The available quantity of the item.
- "gtin": "A String", # Global Trade Item Number.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
- "itemId": "A String", # Required. A unique identifier for the item.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "errors": [ # A list of errors.
+ { # An error returned by the API.
+ "message": "A String", # A description of the error.
+ "reason": "A String", # The error code.
+ "domain": "A String", # The domain of the error.
+ },
+ ],
},
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posCustomBatchResponseEntry`"
},
@@ -306,16 +306,16 @@
{
"storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "gtin": "A String", # Global Trade Item Number.
"quantity": "A String", # Required. The available quantity of the item.
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "price": { # Required. The current price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
+ "gtin": "A String", # Global Trade Item Number.
"timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
"itemId": "A String", # Required. A unique identifier for the item.
+ "price": { # Required. The current price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
}
dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
@@ -328,18 +328,18 @@
An object of the form:
{
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
"gtin": "A String", # Global Trade Item Number.
- "price": { # Required. The current price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posInventoryResponse".
"contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "quantity": "A String", # Required. The available quantity of the item.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
"itemId": "A String", # Required. A unique identifier for the item.
+ "price": { # Required. The current price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "quantity": "A String", # Required. The available quantity of the item.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
}</pre>
</div>
@@ -381,18 +381,18 @@
The object takes the form of:
{
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "itemId": "A String", # Required. A unique identifier for the item.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "price": { # Required. The price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
"targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "price": { # Required. The price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
"gtin": "A String", # Global Trade Item Number.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
}
dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
@@ -405,19 +405,19 @@
An object of the form:
{
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "price": { # Required. The price of the item.
- "value": "A String", # The price represented as a number.
- "currency": "A String", # The currency of the price.
- },
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posSaleResponse".
+ "gtin": "A String", # Global Trade Item Number.
"storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "gtin": "A String", # Global Trade Item Number.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
"itemId": "A String", # Required. A unique identifier for the item.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posSaleResponse".
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "price": { # Required. The price of the item.
+ "currency": "A String", # The currency of the price.
+ "value": "A String", # The price represented as a number.
+ },
}</pre>
</div>