Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of CSS client #12619

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/css/lib/google_api/css/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.CSS.V1 do
API client metadata for GoogleApi.CSS.V1.
"""

@discovery_revision "20241104"
@discovery_revision "20241124"

def discovery_revision(), do: @discovery_revision
end
10 changes: 5 additions & 5 deletions clients/css/lib/google_api/css/v1/model/attributes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ defmodule GoogleApi.CSS.V1.Model.Attributes do
* `ageGroup` (*type:* `String.t`, *default:* `nil`) - Target age group of the item.
* `color` (*type:* `String.t`, *default:* `nil`) - Color of the item.
* `imageLink` (*type:* `String.t`, *default:* `nil`) - URL of an image of the item.
* `headlineOfferPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Headline Price of the aggregate offer.
* `headlineOfferPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Headline Price of the CSS Product.
* `customLabel1` (*type:* `String.t`, *default:* `nil`) - Custom label 1 for custom grouping of items in a Shopping campaign.
* `productHeight` (*type:* `GoogleApi.CSS.V1.Model.ProductDimension.t`, *default:* `nil`) - The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
* `description` (*type:* `String.t`, *default:* `nil`) - Description of the item.
* `productDetails` (*type:* `list(GoogleApi.CSS.V1.Model.ProductDetail.t)`, *default:* `nil`) - Technical specification or additional product details.
* `multipack` (*type:* `String.t`, *default:* `nil`) - The number of identical products in a merchant-defined multipack.
* `lowPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Low Price of the aggregate offer.
* `lowPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Low Price of the CSS Product.
* `sizeSystem` (*type:* `String.t`, *default:* `nil`) - System in which the size is specified. Recommended for apparel items.
* `productLength` (*type:* `GoogleApi.CSS.V1.Model.ProductDimension.t`, *default:* `nil`) - The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
* `headlineOfferShippingPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Headline Price of the aggregate offer.
* `headlineOfferShippingPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - Headline Price of the CSS Product.
* `itemGroupId` (*type:* `String.t`, *default:* `nil`) - Shared identifier for all variants of the same product.
* `customLabel3` (*type:* `String.t`, *default:* `nil`) - Custom label 3 for custom grouping of items in a Shopping campaign.
* `customLabel2` (*type:* `String.t`, *default:* `nil`) - Custom label 2 for custom grouping of items in a Shopping campaign.
Expand All @@ -44,8 +44,8 @@ defmodule GoogleApi.CSS.V1.Model.Attributes do
* `cppAdsRedirect` (*type:* `String.t`, *default:* `nil`) - Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
* `headlineOfferLink` (*type:* `String.t`, *default:* `nil`) - Link to the headline offer.
* `headlineOfferInstallment` (*type:* `GoogleApi.CSS.V1.Model.HeadlineOfferInstallment.t`, *default:* `nil`) - Number and amount of installments to pay for an item.
* `highPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - High Price of the aggregate offer.
* `numberOfOffers` (*type:* `String.t`, *default:* `nil`) - The number of aggregate offers.
* `highPrice` (*type:* `GoogleApi.CSS.V1.Model.Price.t`, *default:* `nil`) - High Price of the CSS Product.
* `numberOfOffers` (*type:* `String.t`, *default:* `nil`) - The number of CSS Products.
* `productTypes` (*type:* `list(String.t)`, *default:* `nil`) - Categories of the item (formatted as in [products data specification](https://support.google.com/merchants/answer/6324406)).
* `certifications` (*type:* `list(GoogleApi.CSS.V1.Model.Certification.t)`, *default:* `nil`) - A list of certificates claimed by the CSS for the given product.
* `additionalImageLinks` (*type:* `list(String.t)`, *default:* `nil`) - Additional URL of images of the item.
Expand Down
2 changes: 1 addition & 1 deletion clients/css/lib/google_api/css/v1/model/css_product.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.CSS.V1.Model.CssProduct do
@moduledoc """
The processed CSS Product(a.k.a Aggregate Offer internally).
The processed CSS Product.

## Attributes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ defmodule GoogleApi.CSS.V1.Model.DestinationStatus do

## Attributes

* `approvedCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved.
* `approvedCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the CSS Product is approved.
* `destination` (*type:* `String.t`, *default:* `nil`) - The name of the destination
* `disapprovedCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved.
* `pendingCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval.
* `disapprovedCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the CSS Product is disapproved.
* `pendingCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where the CSS Product is pending approval.
"""

use GoogleApi.Gax.ModelBase
Expand Down
4 changes: 2 additions & 2 deletions clients/css/lib/google_api/css/v1/model/item_level_issue.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ defmodule GoogleApi.CSS.V1.Model.ItemLevelIssue do

## Attributes

* `applicableCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where issue applies to the aggregate offer.
* `applicableCountries` (*type:* `list(String.t)`, *default:* `nil`) - List of country codes (ISO 3166-1 alpha-2) where issue applies to the CSS Product.
* `attribute` (*type:* `String.t`, *default:* `nil`) - The attribute's name, if the issue is caused by a single attribute.
* `code` (*type:* `String.t`, *default:* `nil`) - The error code of the issue.
* `description` (*type:* `String.t`, *default:* `nil`) - A short issue description in English.
* `destination` (*type:* `String.t`, *default:* `nil`) - The destination the issue applies to.
* `detail` (*type:* `String.t`, *default:* `nil`) - A detailed issue description in English.
* `documentation` (*type:* `String.t`, *default:* `nil`) - The URL of a web page to help with resolving this issue.
* `resolution` (*type:* `String.t`, *default:* `nil`) - Whether the issue can be resolved by the merchant.
* `servability` (*type:* `String.t`, *default:* `nil`) - How this issue affects serving of the aggregate offer.
* `servability` (*type:* `String.t`, *default:* `nil`) - How this issue affects serving of the CSS Product.
"""

use GoogleApi.Gax.ModelBase
Expand Down
2 changes: 1 addition & 1 deletion clients/css/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.CSS.Mixfile do
use Mix.Project

@version "0.4.1"
@version "0.4.2"

def project() do
[
Expand Down
Loading