Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 10, 2023
1 parent d5e0fb2 commit 98b3073
Show file tree
Hide file tree
Showing 18 changed files with 1,420 additions and 168 deletions.
67 changes: 63 additions & 4 deletions content/v2.1/content-api.json
Expand Up @@ -4837,7 +4837,7 @@
],
"parameters": {
"allowedTag": {
"description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types. User can specify zero or more tags in this field to indicate what group of recommendations they want to receive. Current list of supported tags: - TREND",
"description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types belong to. User can specify zero or more tags in this field to indicate what categories of recommendations they want to receive. Current list of supported tags: - TREND",
"location": "query",
"repeated": true,
"type": "string"
Expand Down Expand Up @@ -6225,7 +6225,7 @@
}
}
},
"revision": "20230503",
"revision": "20230504",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -7477,7 +7477,7 @@
"Cross-channel Last Click model.",
"Ads-preferred Last Click model.",
"Cross-channel Data Driven model.",
"Cross-channel Frist Click model.",
"Cross-channel First Click model.",
"Cross-channel Linear model.",
"Cross-channel Position Based model.",
"Cross-channel Time Decay model."
Expand Down Expand Up @@ -7816,6 +7816,58 @@
},
"type": "object"
},
"CloudExportAdditionalProperties": {
"description": "Product property for the Cloud Retail API. For example, properties for a TV product could be \"Screen-Resolution\" or \"Screen-Size\".",
"id": "CloudExportAdditionalProperties",
"properties": {
"boolValue": {
"description": "Boolean value of the given property. For example for a TV product, \"True\" or \"False\" if the screen is UHD.",
"type": "boolean"
},
"floatValue": {
"description": "Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.",
"items": {
"format": "float",
"type": "number"
},
"type": "array"
},
"intValue": {
"description": "Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"maxValue": {
"description": "Maximum float value of the given property. For example for a TV product 100.00.",
"format": "float",
"type": "number"
},
"minValue": {
"description": "Minimum float value of the given property. For example for a TV product 1.00.",
"format": "float",
"type": "number"
},
"propertyName": {
"description": "Name of the given property. For example, \"Screen-Resolution\" for a TV product. Maximum string size is 256 characters.",
"type": "string"
},
"textValue": {
"description": "Text value of the given property. For example, \"8K(UHD)\" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.",
"items": {
"type": "string"
},
"type": "array"
},
"unitCode": {
"description": "Unit of the given property. For example, \"Pixels\" for a TV product. Maximum string size is 256 bytes.",
"type": "string"
}
},
"type": "object"
},
"Collection": {
"description": "The collection message.",
"id": "Collection",
Expand Down Expand Up @@ -8747,7 +8799,7 @@
"properties": {
"cutoffTime": {
"$ref": "CutoffTime",
"description": "Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig."
"description": "Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig."
},
"handlingBusinessDayConfig": {
"$ref": "BusinessDayConfig",
Expand Down Expand Up @@ -13284,6 +13336,13 @@
"description": "Required. The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ",
"type": "string"
},
"cloudExportAdditionalProperties": {
"description": "Extra fields to export to the Cloud Retail program.",
"items": {
"$ref": "CloudExportAdditionalProperties"
},
"type": "array"
},
"color": {
"description": "Color of the item.",
"type": "string"
Expand Down
103 changes: 97 additions & 6 deletions content/v2.1/content-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 98b3073

Please sign in to comment.