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 content v2.1 client #1660

Merged
merged 1 commit into from
Dec 8, 2020
Merged
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
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57822,6 +57822,7 @@
"/content:v2.1/RepricingRuleEligibleOfferMatcher/itemGroupIdMatcher": item_group_id_matcher
"/content:v2.1/RepricingRuleEligibleOfferMatcher/matcherOption": matcher_option
"/content:v2.1/RepricingRuleEligibleOfferMatcher/offerIdMatcher": offer_id_matcher
"/content:v2.1/RepricingRuleEligibleOfferMatcher/skipWhenOnPromotion": skip_when_on_promotion
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher": repricing_rule_eligible_offer_matcher_string_matcher
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes": str_attributes
"/content:v2.1/RepricingRuleEligibleOfferMatcherStringMatcher/strAttributes/str_attribute": str_attribute
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/content_v2_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/shopping-content/v2/
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20201113'
REVISION = '20201204'

# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
Expand Down
23 changes: 16 additions & 7 deletions generated/google/apis/content_v2_1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -334,17 +334,17 @@ def update!(**args)
class AccountLabel
include Google::Apis::Core::Hashable

# Output only. Immutable. The ID of account this label belongs to.
# Immutable. The ID of account this label belongs to.
# Corresponds to the JSON property `accountId`
# @return [Fixnum]
attr_accessor :account_id

# Description for this label.
# The description of this label.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description

# Output only. Immutable. The ID of the label.
# Output only. The ID of the label.
# Corresponds to the JSON property `labelId`
# @return [Fixnum]
attr_accessor :label_id
Expand Down Expand Up @@ -943,7 +943,9 @@ class AccountsCustomBatchRequestEntryLinkRequest
# @return [String]
attr_accessor :linked_account_id

# List of provided services.
# Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
# "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
# shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
# Corresponds to the JSON property `services`
# @return [Array<String>]
attr_accessor :services
Expand Down Expand Up @@ -3397,7 +3399,7 @@ class LiasettingsCustomBatchResponseEntry
# @return [Google::Apis::ContentV2_1::Errors]
attr_accessor :errors

# The the list of accessible GMB accounts.
# The list of accessible GMB accounts.
# Corresponds to the JSON property `gmbAccounts`
# @return [Google::Apis::ContentV2_1::GmbAccounts]
attr_accessor :gmb_accounts
Expand Down Expand Up @@ -10924,6 +10926,12 @@ class RepricingRuleEligibleOfferMatcher
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
attr_accessor :offer_id_matcher

# When true, the rule won't be applied to offers with active promotions.
# Corresponds to the JSON property `skipWhenOnPromotion`
# @return [Boolean]
attr_accessor :skip_when_on_promotion
alias_method :skip_when_on_promotion?, :skip_when_on_promotion

def initialize(**args)
update!(**args)
end
Expand All @@ -10934,6 +10942,7 @@ def update!(**args)
@item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
@matcher_option = args[:matcher_option] if args.key?(:matcher_option)
@offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
@skip_when_on_promotion = args[:skip_when_on_promotion] if args.key?(:skip_when_on_promotion)
end
end

Expand Down Expand Up @@ -11340,7 +11349,7 @@ class ReturnShipment
attr_accessor :delivery_date

# Type of the return method. Acceptable values are: - "`byMail`" - "`
# contactCustomerSupport`" - "`returnless`"
# contactCustomerSupport`" - "`returnless`" - "`inStore`"
# Corresponds to the JSON property `returnMethodType`
# @return [String]
attr_accessor :return_method_type
Expand Down Expand Up @@ -11938,7 +11947,7 @@ class SettlementTransactionAmount
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
# refundFromMerchant`" - "`returnLabelShippingFee`"
# refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
Expand Down
1 change: 1 addition & 0 deletions generated/google/apis/content_v2_1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4932,6 +4932,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :matcher_option, as: 'matcherOption'
property :offer_id_matcher, as: 'offerIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation

property :skip_when_on_promotion, as: 'skipWhenOnPromotion'
end
end

Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/content_v2_1/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "fda99a7f81f55342ce6317eeb1430efb3a3049d0"
"sha": "8629207422003a3377099b7f10716c4cdb61c5d4"
}
}
]
Expand Down