2018-12-06 00:36:26 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module ContentV2_1
|
|
|
|
|
|
|
|
class Account
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAdsLink
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountBusinessInformation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountCustomerService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountGoogleMyBusinessLink
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountIdentifier
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class AccountLabel
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusAccountLevelIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusItemLevelIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusProducts
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusStatistics
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTax
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxTaxRule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountUser
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountYouTubeChannelLink
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsAuthInfoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsClaimWebsiteResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequestEntryLinkRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsLinkRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsLinkResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-01 00:37:54 +00:00
|
|
|
class AccountsListLinksResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-08-13 00:39:19 +00:00
|
|
|
class AccountsUpdateLabelsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsUpdateLabelsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountstatusesCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Amount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-07-04 00:37:48 +00:00
|
|
|
class BusinessDayConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class CarrierRate
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CarriersCarrier
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class Css
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class CustomAttribute
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CustomerReturnReason
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CutoffTime
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Datafeed
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFetchSchedule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFormat
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusError
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusExample
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedTarget
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsFetchNowResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class DateTime
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class DeliveryTime
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Error
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Errors
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmbAccounts
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmbAccountsGmbAccount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Headers
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class HolidayCutoff
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class HolidaysHoliday
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Installment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvoiceSummary
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvoiceSummaryAdditionalChargeSummary
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class LabelIds
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class LiaAboutPageSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaCountrySettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaInventorySettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaOnDisplayToOrderSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaPosDataProvider
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsGetAccessibleGmbAccountsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsListPosDataProvidersResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsRequestGmbAccessResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsRequestInventoryVerificationResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsSetInventoryVerificationContactResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsSetPosDataProviderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-02-01 00:37:54 +00:00
|
|
|
class LinkService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LinkedAccount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class ListAccountLabelsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCssesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1531)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-17 02:08:41,840 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-17 02:08:41,870 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.50.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-17T10:09:04.390574 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.390639 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.391807 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.391826 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.392363 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.392378 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395178 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395210 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395789 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395806 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.435042 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.435091 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.444697 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.444739 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.449228 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.449257 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.459785 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.459817 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466093 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466121 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466721 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466737 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.468533 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.468557 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471043 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471067 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471634 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471649 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.474140 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.474164 #240] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-17 02:09:12,162 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/7e06f273-92b4-427a-ba27-5b49afa0b082/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-17 10:24:04 +00:00
|
|
|
class ListRegionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class ListRepricingRulesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-04-13 16:49:10 +00:00
|
|
|
class LocalInventory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class LocationIdSet
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LoyaltyPoints
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MerchantOrderReturn
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MerchantOrderReturnItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class MerchantRejectionReason
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MinimumOrderValueTable
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MinimumOrderValueTableStoreCodeSetWithMov
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MonetaryAmount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Order
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCancellation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCustomer
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-08 00:38:23 +00:00
|
|
|
class OrderCustomerLoyaltyInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderCustomerMarketingRightsInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderDeliveryDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-06-13 00:38:06 +00:00
|
|
|
class OrderLineItemAdjustment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderLineItemProduct
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductFee
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductVariantAttribute
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemReturnInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetailsMethod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderMerchantProvidedAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrderOrderAnnotation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-09-11 00:38:11 +00:00
|
|
|
class OrderPickupDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPickupDetailsCollector
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderPromotion
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPromotionItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderRefund
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReportDisbursement
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReportTransaction
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReturn
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipmentLineItemShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-05 00:39:06 +00:00
|
|
|
class OrderShipmentScheduledDeliveryDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class OrderTrackingSignal
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalLineItemDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalShipmentLineItemMapping
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalShippingInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateRefundInvoiceRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreportsListDisbursementsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreportsListTransactionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class OrderreturnsAcknowledgeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsAcknowledgeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-10-08 00:39:03 +00:00
|
|
|
class OrderreturnsCreateOrderReturnRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsCreateOrderReturnResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderreturnsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class OrderreturnsPartialRefund
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsProcessRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsProcessResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsRefundOperation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsRejectOperation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsReturnItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersAcknowledgeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAdvanceTestOrderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelTestOrderByCustomerRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelTestOrderByCustomerResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestReturnRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestReturnResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrdersCustomBatchRequestEntryRefundItemItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryRefundItemShipping
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetByMerchantOrderIdResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetTestOrderTemplateResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersInStoreRefundLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersInStoreRefundLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrdersRefundItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundOrderRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundOrderResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersRejectReturnLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRejectReturnLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnRefundLineItemRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnRefundLineItemResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersSetLineItemMetadataRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersSetLineItemMetadataResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateLineItemShippingDetailsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-01-18 00:37:34 +00:00
|
|
|
class PickupCarrierService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PickupServicesPickupService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class PosCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosDataProviders
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosDataProvidersPosDataProvider
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventoryRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventoryResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSale
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSaleRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSaleResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosStore
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PostalCodeGroup
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class PostalCodeRange
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Price
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class PriceAmount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Product
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-01-10 00:36:17 +00:00
|
|
|
class ProductAmount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-20 00:38:16 +00:00
|
|
|
class ProductProductDetail
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ProductShipping
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingDimension
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingWeight
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDestinationStatus
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusItemLevelIssue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-20 00:38:16 +00:00
|
|
|
class ProductSubscriptionCost
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ProductTax
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingBaseMeasure
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingMeasure
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-03-08 00:37:56 +00:00
|
|
|
class PubsubNotificationSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class RateGroup
|
2018-12-06 00:36:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class RefundReason
|
2018-12-06 00:36:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1531)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-17 02:08:41,840 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-17 02:08:41,870 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.50.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-17T10:09:04.390574 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.390639 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.391807 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.391826 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.392363 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.392378 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395178 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395210 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395789 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395806 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.435042 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.435091 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.444697 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.444739 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.449228 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.449257 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.459785 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.459817 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466093 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466121 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466721 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466737 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.468533 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.468557 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471043 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471067 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471634 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471649 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.474140 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.474164 #240] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-17 02:09:12,162 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/7e06f273-92b4-427a-ba27-5b49afa0b082/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-17 10:24:04 +00:00
|
|
|
class Region
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionGeoTargetArea
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionPostalCodeArea
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionPostalCodeAreaPostalCodeRange
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class RegionalInventory
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchResponseEntry
|
2018-12-06 00:36:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class RepricingRule
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEffectiveTime
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEligibleOfferMatcher
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleRestriction
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleRestrictionBoundary
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-14 00:38:24 +00:00
|
|
|
class ReturnAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnAddressAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicyPolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicySeasonalOverride
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class ReturnPricingInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ReturnShipment
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-14 00:38:24 +00:00
|
|
|
class ReturnaddressCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Row
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Service
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class SettlementReport
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransaction
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionAmount
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionAmountCommission
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionIdentifiers
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionTransaction
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementreportsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementtransactionsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ShipmentInvoice
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShipmentInvoiceLineItemInvoice
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShipmentTrackingInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingSettings
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchRequestEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchResponseEntry
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsGetSupportedCarriersResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsGetSupportedHolidaysResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-01-18 00:37:34 +00:00
|
|
|
class ShippingsettingsGetSupportedPickupServicesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ShippingsettingsListResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Table
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrder
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-27 00:38:20 +00:00
|
|
|
class TestOrderAddress
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderDeliveryDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class TestOrderLineItem
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItemProduct
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2020-06-27 00:38:20 +00:00
|
|
|
class TestOrderPickupDetails
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderPickupDetailsPickupPerson
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class TimeZone
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class TransitTable
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TransitTableTransitTimeRow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class TransitTableTransitTimeRowTransitTimeValue
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class UnitInvoice
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UnitInvoiceAdditionalCharge
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UnitInvoiceTaxLine
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Value
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Weight
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Account
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation
|
|
|
|
|
|
|
|
property :adult_content, as: 'adultContent'
|
|
|
|
property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2_1::AccountBusinessInformation, decorator: Google::Apis::ContentV2_1::AccountBusinessInformation::Representation
|
|
|
|
|
2020-08-13 00:39:19 +00:00
|
|
|
property :css_id, :numeric_string => true, as: 'cssId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :google_my_business_link, as: 'googleMyBusinessLink', class: Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink, decorator: Google::Apis::ContentV2_1::AccountGoogleMyBusinessLink::Representation
|
|
|
|
|
|
|
|
property :id, :numeric_string => true, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
2020-08-13 00:39:19 +00:00
|
|
|
collection :label_ids, as: 'labelIds'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :seller_id, as: 'sellerId'
|
|
|
|
collection :users, as: 'users', class: Google::Apis::ContentV2_1::AccountUser, decorator: Google::Apis::ContentV2_1::AccountUser::Representation
|
|
|
|
|
|
|
|
property :website_url, as: 'websiteUrl'
|
|
|
|
collection :youtube_channel_links, as: 'youtubeChannelLinks', class: Google::Apis::ContentV2_1::AccountYouTubeChannelLink, decorator: Google::Apis::ContentV2_1::AccountYouTubeChannelLink::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :street_address, as: 'streetAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountAdsLink
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ads_id, :numeric_string => true, as: 'adsId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountBusinessInformation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::AccountAddress, decorator: Google::Apis::ContentV2_1::AccountAddress::Representation
|
|
|
|
|
|
|
|
property :customer_service, as: 'customerService', class: Google::Apis::ContentV2_1::AccountCustomerService, decorator: Google::Apis::ContentV2_1::AccountCustomerService::Representation
|
|
|
|
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountCustomerService
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountGoogleMyBusinessLink
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-05-07 20:07:42 +00:00
|
|
|
property :gmb_account_id, as: 'gmbAccountId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :gmb_email, as: 'gmbEmail'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountIdentifier
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :aggregator_id, :numeric_string => true, as: 'aggregatorId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class AccountLabel
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :label_id, :numeric_string => true, as: 'labelId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountStatus
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
collection :account_level_issues, as: 'accountLevelIssues', class: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue, decorator: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :products, as: 'products', class: Google::Apis::ContentV2_1::AccountStatusProducts, decorator: Google::Apis::ContentV2_1::AccountStatusProducts::Representation
|
|
|
|
|
|
|
|
property :website_claimed, as: 'websiteClaimed'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusAccountLevelIssue
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :destination, as: 'destination'
|
|
|
|
property :detail, as: 'detail'
|
|
|
|
property :documentation, as: 'documentation'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusItemLevelIssue
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :attribute_name, as: 'attributeName'
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :detail, as: 'detail'
|
|
|
|
property :documentation, as: 'documentation'
|
|
|
|
property :num_items, :numeric_string => true, as: 'numItems'
|
|
|
|
property :resolution, as: 'resolution'
|
|
|
|
property :servability, as: 'servability'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusProducts
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel, as: 'channel'
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :destination, as: 'destination'
|
|
|
|
collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::ContentV2_1::AccountStatusItemLevelIssue, decorator: Google::Apis::ContentV2_1::AccountStatusItemLevelIssue::Representation
|
|
|
|
|
|
|
|
property :statistics, as: 'statistics', class: Google::Apis::ContentV2_1::AccountStatusStatistics, decorator: Google::Apis::ContentV2_1::AccountStatusStatistics::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountStatusStatistics
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :active, :numeric_string => true, as: 'active'
|
|
|
|
property :disapproved, :numeric_string => true, as: 'disapproved'
|
|
|
|
property :expiring, :numeric_string => true, as: 'expiring'
|
|
|
|
property :pending, :numeric_string => true, as: 'pending'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTax
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :rules, as: 'rules', class: Google::Apis::ContentV2_1::AccountTaxTaxRule, decorator: Google::Apis::ContentV2_1::AccountTaxTaxRule::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountTaxTaxRule
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_id, :numeric_string => true, as: 'locationId'
|
|
|
|
property :rate_percent, as: 'ratePercent'
|
|
|
|
property :shipping_taxed, as: 'shippingTaxed'
|
|
|
|
property :use_global_rate, as: 'useGlobalRate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountUser
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :admin, as: 'admin'
|
|
|
|
property :email_address, as: 'emailAddress'
|
2019-01-10 00:36:17 +00:00
|
|
|
property :order_manager, as: 'orderManager'
|
|
|
|
property :payments_analyst, as: 'paymentsAnalyst'
|
|
|
|
property :payments_manager, as: 'paymentsManager'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountYouTubeChannelLink
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :channel_id, as: 'channelId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsAuthInfoResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :account_identifiers, as: 'accountIdentifiers', class: Google::Apis::ContentV2_1::AccountIdentifier, decorator: Google::Apis::ContentV2_1::AccountIdentifier::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsClaimWebsiteResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account, as: 'account', class: Google::Apis::ContentV2_1::Account, decorator: Google::Apis::ContentV2_1::Account::Representation
|
|
|
|
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :force, as: 'force'
|
2020-07-24 00:38:50 +00:00
|
|
|
collection :label_ids, as: 'labelIds'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :overwrite, as: 'overwrite'
|
2020-08-13 00:39:19 +00:00
|
|
|
property :view, as: 'view'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchRequestEntryLinkRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :link_type, as: 'linkType'
|
|
|
|
property :linked_account_id, as: 'linkedAccountId'
|
2020-01-18 00:37:34 +00:00
|
|
|
collection :services, as: 'services'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccountsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account, as: 'account', class: Google::Apis::ContentV2_1::Account, decorator: Google::Apis::ContentV2_1::Account::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsLinkRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :link_type, as: 'linkType'
|
|
|
|
property :linked_account_id, as: 'linkedAccountId'
|
2020-01-18 00:37:34 +00:00
|
|
|
collection :services, as: 'services'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsLinkResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-02-01 00:37:54 +00:00
|
|
|
class AccountsListLinksResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :links, as: 'links', class: Google::Apis::ContentV2_1::LinkedAccount, decorator: Google::Apis::ContentV2_1::LinkedAccount::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Account, decorator: Google::Apis::ContentV2_1::Account::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-13 00:39:19 +00:00
|
|
|
class AccountsUpdateLabelsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :label_ids, as: 'labelIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountsUpdateLabelsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class AccountstatusesCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
collection :destinations, as: 'destinations'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_status, as: 'accountStatus', class: Google::Apis::ContentV2_1::AccountStatus, decorator: Google::Apis::ContentV2_1::AccountStatus::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccountstatusesListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::AccountStatus, decorator: Google::Apis::ContentV2_1::AccountStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccounttaxCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::AccounttaxCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2_1::AccountTax, decorator: Google::Apis::ContentV2_1::AccountTax::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::AccounttaxCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::AccounttaxCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2_1::AccountTax, decorator: Google::Apis::ContentV2_1::AccountTax::Representation
|
|
|
|
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AccounttaxListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::AccountTax, decorator: Google::Apis::ContentV2_1::AccountTax::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Amount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-01-10 00:36:17 +00:00
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
2019-01-10 00:36:17 +00:00
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-07-04 00:37:48 +00:00
|
|
|
class BusinessDayConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :business_days, as: 'businessDays'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class CarrierRate
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_name, as: 'carrierName'
|
|
|
|
property :carrier_service, as: 'carrierService'
|
|
|
|
property :flat_adjustment, as: 'flatAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :origin_postal_code, as: 'originPostalCode'
|
|
|
|
property :percentage_adjustment, as: 'percentageAdjustment'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CarriersCarrier
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :services, as: 'services'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class Css
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :css_domain_id, :numeric_string => true, as: 'cssDomainId'
|
|
|
|
property :css_group_id, :numeric_string => true, as: 'cssGroupId'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
property :homepage_uri, as: 'homepageUri'
|
|
|
|
collection :label_ids, as: 'labelIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class CustomAttribute
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :group_values, as: 'groupValues', class: Google::Apis::ContentV2_1::CustomAttribute, decorator: Google::Apis::ContentV2_1::CustomAttribute::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CustomerReturnReason
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason_code, as: 'reasonCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CutoffTime
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :hour, as: 'hour'
|
|
|
|
property :minute, as: 'minute'
|
|
|
|
property :timezone, as: 'timezone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Datafeed
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :attribute_language, as: 'attributeLanguage'
|
|
|
|
property :content_type, as: 'contentType'
|
|
|
|
property :fetch_schedule, as: 'fetchSchedule', class: Google::Apis::ContentV2_1::DatafeedFetchSchedule, decorator: Google::Apis::ContentV2_1::DatafeedFetchSchedule::Representation
|
|
|
|
|
|
|
|
property :file_name, as: 'fileName'
|
|
|
|
property :format, as: 'format', class: Google::Apis::ContentV2_1::DatafeedFormat, decorator: Google::Apis::ContentV2_1::DatafeedFormat::Representation
|
|
|
|
|
|
|
|
property :id, :numeric_string => true, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :targets, as: 'targets', class: Google::Apis::ContentV2_1::DatafeedTarget, decorator: Google::Apis::ContentV2_1::DatafeedTarget::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFetchSchedule
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :day_of_month, as: 'dayOfMonth'
|
|
|
|
property :fetch_url, as: 'fetchUrl'
|
|
|
|
property :hour, as: 'hour'
|
|
|
|
property :minute_of_hour, as: 'minuteOfHour'
|
|
|
|
property :password, as: 'password'
|
|
|
|
property :paused, as: 'paused'
|
|
|
|
property :time_zone, as: 'timeZone'
|
|
|
|
property :username, as: 'username'
|
|
|
|
property :weekday, as: 'weekday'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedFormat
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :column_delimiter, as: 'columnDelimiter'
|
|
|
|
property :file_encoding, as: 'fileEncoding'
|
|
|
|
property :quoting_mode, as: 'quotingMode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatus
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :datafeed_id, :numeric_string => true, as: 'datafeedId'
|
|
|
|
collection :errors, as: 'errors', class: Google::Apis::ContentV2_1::DatafeedStatusError, decorator: Google::Apis::ContentV2_1::DatafeedStatusError::Representation
|
|
|
|
|
|
|
|
property :items_total, :numeric_string => true, as: 'itemsTotal'
|
|
|
|
property :items_valid, :numeric_string => true, as: 'itemsValid'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :language, as: 'language'
|
|
|
|
property :last_upload_date, as: 'lastUploadDate'
|
|
|
|
property :processing_status, as: 'processingStatus'
|
|
|
|
collection :warnings, as: 'warnings', class: Google::Apis::ContentV2_1::DatafeedStatusError, decorator: Google::Apis::ContentV2_1::DatafeedStatusError::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusError
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :count, :numeric_string => true, as: 'count'
|
|
|
|
collection :examples, as: 'examples', class: Google::Apis::ContentV2_1::DatafeedStatusExample, decorator: Google::Apis::ContentV2_1::DatafeedStatusExample::Representation
|
|
|
|
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedStatusExample
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :line_number, :numeric_string => true, as: 'lineNumber'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedTarget
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :excluded_destinations, as: 'excludedDestinations'
|
|
|
|
collection :included_destinations, as: 'includedDestinations'
|
|
|
|
property :language, as: 'language'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::DatafeedsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::DatafeedsCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2_1::Datafeed, decorator: Google::Apis::ContentV2_1::Datafeed::Representation
|
|
|
|
|
|
|
|
property :datafeed_id, :numeric_string => true, as: 'datafeedId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::DatafeedsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::DatafeedsCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2_1::Datafeed, decorator: Google::Apis::ContentV2_1::Datafeed::Representation
|
|
|
|
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsFetchNowResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Datafeed, decorator: Google::Apis::ContentV2_1::Datafeed::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :datafeed_id, :numeric_string => true, as: 'datafeedId'
|
|
|
|
property :language, as: 'language'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :datafeed_status, as: 'datafeedStatus', class: Google::Apis::ContentV2_1::DatafeedStatus, decorator: Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
|
|
|
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DatafeedstatusesListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::DatafeedStatus, decorator: Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class DateTime
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :day, as: 'day'
|
|
|
|
property :hours, as: 'hours'
|
|
|
|
property :minutes, as: 'minutes'
|
|
|
|
property :month, as: 'month'
|
|
|
|
property :nanos, as: 'nanos'
|
|
|
|
property :seconds, as: 'seconds'
|
|
|
|
property :time_zone, as: 'timeZone', class: Google::Apis::ContentV2_1::TimeZone, decorator: Google::Apis::ContentV2_1::TimeZone::Representation
|
|
|
|
|
|
|
|
property :utc_offset, as: 'utcOffset'
|
|
|
|
property :year, as: 'year'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class DeliveryTime
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2_1::CutoffTime, decorator: Google::Apis::ContentV2_1::CutoffTime::Representation
|
|
|
|
|
2019-07-04 00:37:48 +00:00
|
|
|
property :handling_business_day_config, as: 'handlingBusinessDayConfig', class: Google::Apis::ContentV2_1::BusinessDayConfig, decorator: Google::Apis::ContentV2_1::BusinessDayConfig::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2_1::HolidayCutoff, decorator: Google::Apis::ContentV2_1::HolidayCutoff::Representation
|
|
|
|
|
|
|
|
property :max_handling_time_in_days, as: 'maxHandlingTimeInDays'
|
|
|
|
property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
|
|
|
|
property :min_handling_time_in_days, as: 'minHandlingTimeInDays'
|
|
|
|
property :min_transit_time_in_days, as: 'minTransitTimeInDays'
|
2019-07-04 00:37:48 +00:00
|
|
|
property :transit_business_day_config, as: 'transitBusinessDayConfig', class: Google::Apis::ContentV2_1::BusinessDayConfig, decorator: Google::Apis::ContentV2_1::BusinessDayConfig::Representation
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::ContentV2_1::TransitTable, decorator: Google::Apis::ContentV2_1::TransitTable::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Error
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :domain, as: 'domain'
|
|
|
|
property :message, as: 'message'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Errors
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
collection :errors, as: 'errors', class: Google::Apis::ContentV2_1::Error, decorator: Google::Apis::ContentV2_1::Error::Representation
|
|
|
|
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmbAccounts
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
collection :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2_1::GmbAccountsGmbAccount, decorator: Google::Apis::ContentV2_1::GmbAccountsGmbAccount::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GmbAccountsGmbAccount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :listing_count, :numeric_string => true, as: 'listingCount'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Headers
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :locations, as: 'locations', class: Google::Apis::ContentV2_1::LocationIdSet, decorator: Google::Apis::ContentV2_1::LocationIdSet::Representation
|
|
|
|
|
|
|
|
collection :number_of_items, as: 'numberOfItems'
|
|
|
|
collection :postal_code_group_names, as: 'postalCodeGroupNames'
|
|
|
|
collection :prices, as: 'prices', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
collection :weights, as: 'weights', class: Google::Apis::ContentV2_1::Weight, decorator: Google::Apis::ContentV2_1::Weight::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class HolidayCutoff
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :deadline_date, as: 'deadlineDate'
|
|
|
|
property :deadline_hour, as: 'deadlineHour'
|
|
|
|
property :deadline_timezone, as: 'deadlineTimezone'
|
|
|
|
property :holiday_id, as: 'holidayId'
|
|
|
|
property :visible_from_date, as: 'visibleFromDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class HolidaysHoliday
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country_code, as: 'countryCode'
|
|
|
|
property :date, as: 'date'
|
|
|
|
property :delivery_guarantee_date, as: 'deliveryGuaranteeDate'
|
|
|
|
property :delivery_guarantee_hour, :numeric_string => true, as: 'deliveryGuaranteeHour'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Installment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :months, :numeric_string => true, as: 'months'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvoiceSummary
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :additional_charge_summaries, as: 'additionalChargeSummaries', class: Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary, decorator: Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary::Representation
|
|
|
|
|
|
|
|
property :product_total, as: 'productTotal', class: Google::Apis::ContentV2_1::Amount, decorator: Google::Apis::ContentV2_1::Amount::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class InvoiceSummaryAdditionalChargeSummary
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :total_amount, as: 'totalAmount', class: Google::Apis::ContentV2_1::Amount, decorator: Google::Apis::ContentV2_1::Amount::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class LabelIds
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :label_ids, as: 'labelIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class LiaAboutPageSettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :url, as: 'url'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaCountrySettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :about, as: 'about', class: Google::Apis::ContentV2_1::LiaAboutPageSettings, decorator: Google::Apis::ContentV2_1::LiaAboutPageSettings::Representation
|
|
|
|
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :hosted_local_storefront_active, as: 'hostedLocalStorefrontActive'
|
|
|
|
property :inventory, as: 'inventory', class: Google::Apis::ContentV2_1::LiaInventorySettings, decorator: Google::Apis::ContentV2_1::LiaInventorySettings::Representation
|
|
|
|
|
|
|
|
property :on_display_to_order, as: 'onDisplayToOrder', class: Google::Apis::ContentV2_1::LiaOnDisplayToOrderSettings, decorator: Google::Apis::ContentV2_1::LiaOnDisplayToOrderSettings::Representation
|
|
|
|
|
|
|
|
property :pos_data_provider, as: 'posDataProvider', class: Google::Apis::ContentV2_1::LiaPosDataProvider, decorator: Google::Apis::ContentV2_1::LiaPosDataProvider::Representation
|
|
|
|
|
|
|
|
property :store_pickup_active, as: 'storePickupActive'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaInventorySettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :inventory_verification_contact_email, as: 'inventoryVerificationContactEmail'
|
|
|
|
property :inventory_verification_contact_name, as: 'inventoryVerificationContactName'
|
|
|
|
property :inventory_verification_contact_status, as: 'inventoryVerificationContactStatus'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaOnDisplayToOrderSettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :shipping_cost_policy_url, as: 'shippingCostPolicyUrl'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaPosDataProvider
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :pos_data_provider_id, :numeric_string => true, as: 'posDataProviderId'
|
|
|
|
property :pos_external_account_id, as: 'posExternalAccountId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiaSettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
collection :country_settings, as: 'countrySettings', class: Google::Apis::ContentV2_1::LiaCountrySettings, decorator: Google::Apis::ContentV2_1::LiaCountrySettings::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::LiasettingsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::LiasettingsCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :contact_email, as: 'contactEmail'
|
|
|
|
property :contact_name, as: 'contactName'
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :gmb_email, as: 'gmbEmail'
|
|
|
|
property :lia_settings, as: 'liaSettings', class: Google::Apis::ContentV2_1::LiaSettings, decorator: Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :pos_data_provider_id, :numeric_string => true, as: 'posDataProviderId'
|
|
|
|
property :pos_external_account_id, as: 'posExternalAccountId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::LiasettingsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::LiasettingsCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2_1::GmbAccounts, decorator: Google::Apis::ContentV2_1::GmbAccounts::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :lia_settings, as: 'liaSettings', class: Google::Apis::ContentV2_1::LiaSettings, decorator: Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
|
|
|
|
|
|
collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2_1::PosDataProviders, decorator: Google::Apis::ContentV2_1::PosDataProviders::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsGetAccessibleGmbAccountsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
collection :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2_1::GmbAccountsGmbAccount, decorator: Google::Apis::ContentV2_1::GmbAccountsGmbAccount::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsListPosDataProvidersResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2_1::PosDataProviders, decorator: Google::Apis::ContentV2_1::PosDataProviders::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::LiaSettings, decorator: Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsRequestGmbAccessResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsRequestInventoryVerificationResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsSetInventoryVerificationContactResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LiasettingsSetPosDataProviderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-02-01 00:37:54 +00:00
|
|
|
class LinkService
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :service, as: 'service'
|
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LinkedAccount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :linked_account_id, as: 'linkedAccountId'
|
|
|
|
collection :services, as: 'services', class: Google::Apis::ContentV2_1::LinkService, decorator: Google::Apis::ContentV2_1::LinkService::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class ListAccountLabelsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :account_labels, as: 'accountLabels', class: Google::Apis::ContentV2_1::AccountLabel, decorator: Google::Apis::ContentV2_1::AccountLabel::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCssesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :csses, as: 'csses', class: Google::Apis::ContentV2_1::Css, decorator: Google::Apis::ContentV2_1::Css::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1531)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-17 02:08:41,840 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-17 02:08:41,870 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.50.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-17T10:09:04.390574 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.390639 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.391807 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.391826 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.392363 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.392378 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395178 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395210 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395789 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395806 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.435042 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.435091 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.444697 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.444739 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.449228 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.449257 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.459785 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.459817 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466093 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466121 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466721 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466737 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.468533 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.468557 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471043 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471067 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471634 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471649 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.474140 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.474164 #240] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-17 02:09:12,162 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/7e06f273-92b4-427a-ba27-5b49afa0b082/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-17 10:24:04 +00:00
|
|
|
class ListRegionsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :regions, as: 'regions', class: Google::Apis::ContentV2_1::Region, decorator: Google::Apis::ContentV2_1::Region::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class ListRepricingRulesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :repricing_rules, as: 'repricingRules', class: Google::Apis::ContentV2_1::RepricingRule, decorator: Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-04-13 16:49:10 +00:00
|
|
|
class LocalInventory
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :availability, as: 'availability'
|
|
|
|
property :instore_product_location, as: 'instoreProductLocation'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :pickup_method, as: 'pickupMethod'
|
|
|
|
property :pickup_sla, as: 'pickupSla'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :local_inventory, as: 'localInventory', class: Google::Apis::ContentV2_1::LocalInventory, decorator: Google::Apis::ContentV2_1::LocalInventory::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalinventoryCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class LocationIdSet
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :location_ids, as: 'locationIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LoyaltyPoints
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :points_value, :numeric_string => true, as: 'pointsValue'
|
|
|
|
property :ratio, as: 'ratio'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MerchantOrderReturn
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
property :order_return_id, as: 'orderReturnId'
|
|
|
|
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2_1::MerchantOrderReturnItem::Representation
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
property :return_pricing_info, as: 'returnPricingInfo', class: Google::Apis::ContentV2_1::ReturnPricingInfo, decorator: Google::Apis::ContentV2_1::ReturnPricingInfo::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2_1::ReturnShipment, decorator: Google::Apis::ContentV2_1::ReturnShipment::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MerchantOrderReturnItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2_1::CustomerReturnReason, decorator: Google::Apis::ContentV2_1::CustomerReturnReason::Representation
|
|
|
|
|
|
|
|
property :item_id, as: 'itemId'
|
2020-05-07 20:07:42 +00:00
|
|
|
property :merchant_rejection_reason, as: 'merchantRejectionReason', class: Google::Apis::ContentV2_1::MerchantRejectionReason, decorator: Google::Apis::ContentV2_1::MerchantRejectionReason::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2_1::RefundReason, decorator: Google::Apis::ContentV2_1::RefundReason::Representation
|
|
|
|
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::OrderLineItemProduct, decorator: Google::Apis::ContentV2_1::OrderLineItemProduct::Representation
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
property :refundable_amount, as: 'refundableAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :return_item_id, as: 'returnItemId'
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :return_shipment_ids, as: 'returnShipmentIds'
|
2020-05-07 20:07:42 +00:00
|
|
|
property :shipment_group_id, as: 'shipmentGroupId'
|
|
|
|
property :shipment_unit_id, as: 'shipmentUnitId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :state, as: 'state'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class MerchantRejectionReason
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason_code, as: 'reasonCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MinimumOrderValueTable
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :store_code_set_with_movs, as: 'storeCodeSetWithMovs', class: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MinimumOrderValueTableStoreCodeSetWithMov
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :store_codes, as: 'storeCodes'
|
|
|
|
property :value, as: 'value', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MonetaryAmount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Order
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :acknowledged, as: 'acknowledged'
|
2020-06-06 00:38:16 +00:00
|
|
|
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderOrderAnnotation, decorator: Google::Apis::ContentV2_1::OrderOrderAnnotation::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2_1::OrderAddress, decorator: Google::Apis::ContentV2_1::OrderAddress::Representation
|
|
|
|
|
|
|
|
property :customer, as: 'customer', class: Google::Apis::ContentV2_1::OrderCustomer, decorator: Google::Apis::ContentV2_1::OrderCustomer::Representation
|
|
|
|
|
|
|
|
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2_1::OrderDeliveryDetails, decorator: Google::Apis::ContentV2_1::OrderDeliveryDetails::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderLineItem, decorator: Google::Apis::ContentV2_1::OrderLineItem::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :net_price_amount, as: 'netPriceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :net_tax_amount, as: 'netTaxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
|
|
|
property :payment_status, as: 'paymentStatus'
|
2019-09-11 00:38:11 +00:00
|
|
|
property :pickup_details, as: 'pickupDetails', class: Google::Apis::ContentV2_1::OrderPickupDetails, decorator: Google::Apis::ContentV2_1::OrderPickupDetails::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :placed_date, as: 'placedDate'
|
|
|
|
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::OrderPromotion, decorator: Google::Apis::ContentV2_1::OrderPromotion::Representation
|
|
|
|
|
|
|
|
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2_1::OrderRefund, decorator: Google::Apis::ContentV2_1::OrderRefund::Representation
|
|
|
|
|
|
|
|
collection :shipments, as: 'shipments', class: Google::Apis::ContentV2_1::OrderShipment, decorator: Google::Apis::ContentV2_1::OrderShipment::Representation
|
|
|
|
|
|
|
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :status, as: 'status'
|
2019-01-10 00:36:17 +00:00
|
|
|
property :tax_collector, as: 'taxCollector'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :full_address, as: 'fullAddress'
|
|
|
|
property :is_post_office_box, as: 'isPostOfficeBox'
|
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :recipient_name, as: 'recipientName'
|
|
|
|
property :region, as: 'region'
|
|
|
|
collection :street_address, as: 'streetAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCancellation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderCustomer
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :full_name, as: 'fullName'
|
2019-08-08 00:38:23 +00:00
|
|
|
property :invoice_receiving_email, as: 'invoiceReceivingEmail'
|
|
|
|
property :loyalty_info, as: 'loyaltyInfo', class: Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo, decorator: Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-08 00:38:23 +00:00
|
|
|
class OrderCustomerLoyaltyInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :loyalty_number, as: 'loyaltyNumber'
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderCustomerMarketingRightsInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
|
|
|
|
property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
|
|
|
|
property :marketing_email_address, as: 'marketingEmailAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderDeliveryDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::OrderAddress, decorator: Google::Apis::ContentV2_1::OrderAddress::Representation
|
|
|
|
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2019-06-13 00:38:06 +00:00
|
|
|
collection :adjustments, as: 'adjustments', class: Google::Apis::ContentV2_1::OrderLineItemAdjustment, decorator: Google::Apis::ContentV2_1::OrderLineItemAdjustment::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation::Representation
|
|
|
|
|
|
|
|
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2_1::OrderCancellation, decorator: Google::Apis::ContentV2_1::OrderCancellation::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::OrderLineItemProduct, decorator: Google::Apis::ContentV2_1::OrderLineItemProduct::Representation
|
|
|
|
|
|
|
|
property :quantity_canceled, as: 'quantityCanceled'
|
|
|
|
property :quantity_delivered, as: 'quantityDelivered'
|
|
|
|
property :quantity_ordered, as: 'quantityOrdered'
|
|
|
|
property :quantity_pending, as: 'quantityPending'
|
2019-09-11 00:38:11 +00:00
|
|
|
property :quantity_ready_for_pickup, as: 'quantityReadyForPickup'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :quantity_returned, as: 'quantityReturned'
|
|
|
|
property :quantity_shipped, as: 'quantityShipped'
|
2019-08-14 00:38:24 +00:00
|
|
|
property :quantity_undeliverable, as: 'quantityUndeliverable'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2_1::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2_1::OrderLineItemReturnInfo::Representation
|
|
|
|
|
|
|
|
collection :returns, as: 'returns', class: Google::Apis::ContentV2_1::OrderReturn, decorator: Google::Apis::ContentV2_1::OrderReturn::Representation
|
|
|
|
|
|
|
|
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetails::Representation
|
|
|
|
|
|
|
|
property :tax, as: 'tax', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-06-13 00:38:06 +00:00
|
|
|
class OrderLineItemAdjustment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :price_adjustment, as: 'priceAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :tax_adjustment, as: 'taxAdjustment', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderLineItemProduct
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :brand, as: 'brand'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
collection :fees, as: 'fees', class: Google::Apis::ContentV2_1::OrderLineItemProductFee, decorator: Google::Apis::ContentV2_1::OrderLineItemProductFee::Representation
|
|
|
|
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :shown_image, as: 'shownImage'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :title, as: 'title'
|
|
|
|
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductFee
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemProductVariantAttribute
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :dimension, as: 'dimension'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemReturnInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :days_to_return, as: 'daysToReturn'
|
|
|
|
property :is_returnable, as: 'isReturnable'
|
|
|
|
property :policy_url, as: 'policyUrl'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :deliver_by_date, as: 'deliverByDate'
|
|
|
|
property :method_prop, as: 'method', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod::Representation
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
property :pickup_promise_in_minutes, as: 'pickupPromiseInMinutes'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :ship_by_date, as: 'shipByDate'
|
2019-09-11 00:38:11 +00:00
|
|
|
property :type, as: 'type'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderLineItemShippingDetailsMethod
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :max_days_in_transit, as: 'maxDaysInTransit'
|
|
|
|
property :method_name, as: 'methodName'
|
|
|
|
property :min_days_in_transit, as: 'minDaysInTransit'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderMerchantProvidedAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrderOrderAnnotation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-09-11 00:38:11 +00:00
|
|
|
class OrderPickupDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::OrderAddress, decorator: Google::Apis::ContentV2_1::OrderAddress::Representation
|
|
|
|
|
|
|
|
collection :collectors, as: 'collectors', class: Google::Apis::ContentV2_1::OrderPickupDetailsCollector, decorator: Google::Apis::ContentV2_1::OrderPickupDetailsCollector::Representation
|
|
|
|
|
|
|
|
property :location_id, as: 'locationId'
|
2020-06-06 00:38:16 +00:00
|
|
|
property :pickup_type, as: 'pickupType'
|
2019-09-11 00:38:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPickupDetailsCollector
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderPromotion
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :applicable_items, as: 'applicableItems', class: Google::Apis::ContentV2_1::OrderPromotionItem, decorator: Google::Apis::ContentV2_1::OrderPromotionItem::Representation
|
|
|
|
|
|
|
|
collection :applied_items, as: 'appliedItems', class: Google::Apis::ContentV2_1::OrderPromotionItem, decorator: Google::Apis::ContentV2_1::OrderPromotionItem::Representation
|
|
|
|
|
2019-10-10 18:08:35 +00:00
|
|
|
property :end_time, as: 'endTime'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :funder, as: 'funder'
|
|
|
|
property :merchant_promotion_id, as: 'merchantPromotionId'
|
2019-01-25 00:37:03 +00:00
|
|
|
property :price_value, as: 'priceValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
|
|
|
property :short_title, as: 'shortTitle'
|
2019-10-10 18:08:35 +00:00
|
|
|
property :start_time, as: 'startTime'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :subtype, as: 'subtype'
|
|
|
|
property :tax_value, as: 'taxValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderPromotionItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
2019-10-10 18:08:35 +00:00
|
|
|
property :offer_id, as: 'offerId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderRefund
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReportDisbursement
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :disbursement_creation_date, as: 'disbursementCreationDate'
|
|
|
|
property :disbursement_date, as: 'disbursementDate'
|
|
|
|
property :disbursement_id, as: 'disbursementId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReportTransaction
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :disbursement_creation_date, as: 'disbursementCreationDate'
|
|
|
|
property :disbursement_date, as: 'disbursementDate'
|
|
|
|
property :disbursement_id, as: 'disbursementId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :order_id, as: 'orderId'
|
2019-01-10 00:36:17 +00:00
|
|
|
property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2_1::ProductAmount, decorator: Google::Apis::ContentV2_1::ProductAmount::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
|
|
|
property :transaction_date, as: 'transactionDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderReturn
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actor, as: 'actor'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
property :delivery_date, as: 'deliveryDate'
|
|
|
|
property :id, as: 'id'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment::Representation
|
|
|
|
|
2020-06-05 00:39:06 +00:00
|
|
|
property :scheduled_delivery_details, as: 'scheduledDeliveryDetails', class: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails, decorator: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails::Representation
|
|
|
|
|
2019-08-08 00:38:23 +00:00
|
|
|
property :shipment_group_id, as: 'shipmentGroupId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :status, as: 'status'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderShipmentLineItemShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-05 00:39:06 +00:00
|
|
|
class OrderShipmentScheduledDeliveryDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_phone_number, as: 'carrierPhoneNumber'
|
|
|
|
property :scheduled_date, as: 'scheduledDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class OrderTrackingSignal
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :customer_shipping_fee, as: 'customerShippingFee', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
|
|
|
|
|
|
|
property :delivery_postal_code, as: 'deliveryPostalCode'
|
|
|
|
property :delivery_region_code, as: 'deliveryRegionCode'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails, decorator: Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :order_created_time, as: 'orderCreatedTime', class: Google::Apis::ContentV2_1::DateTime, decorator: Google::Apis::ContentV2_1::DateTime::Representation
|
|
|
|
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
property :order_tracking_signal_id, :numeric_string => true, as: 'orderTrackingSignalId'
|
|
|
|
collection :shipment_line_item_mapping, as: 'shipmentLineItemMapping', class: Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping, decorator: Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping::Representation
|
|
|
|
|
|
|
|
collection :shipping_info, as: 'shippingInfo', class: Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo, decorator: Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalLineItemDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalShipmentLineItemMapping
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderTrackingSignalShippingInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :actual_delivery_time, as: 'actualDeliveryTime', class: Google::Apis::ContentV2_1::DateTime, decorator: Google::Apis::ContentV2_1::DateTime::Representation
|
|
|
|
|
|
|
|
property :carrier_name, as: 'carrierName'
|
|
|
|
property :carrier_service_name, as: 'carrierServiceName'
|
|
|
|
property :earliest_delivery_promise_time, as: 'earliestDeliveryPromiseTime', class: Google::Apis::ContentV2_1::DateTime, decorator: Google::Apis::ContentV2_1::DateTime::Representation
|
|
|
|
|
|
|
|
property :latest_delivery_promise_time, as: 'latestDeliveryPromiseTime', class: Google::Apis::ContentV2_1::DateTime, decorator: Google::Apis::ContentV2_1::DateTime::Representation
|
|
|
|
|
|
|
|
property :origin_postal_code, as: 'originPostalCode'
|
|
|
|
property :origin_region_code, as: 'originRegionCode'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :shipped_time, as: 'shippedTime', class: Google::Apis::ContentV2_1::DateTime, decorator: Google::Apis::ContentV2_1::DateTime::Representation
|
|
|
|
|
|
|
|
property :shipping_status, as: 'shippingStatus'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :invoice_id, as: 'invoiceId'
|
|
|
|
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2_1::InvoiceSummary, decorator: Google::Apis::ContentV2_1::InvoiceSummary::Representation
|
|
|
|
|
|
|
|
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :shipment_group_id, as: 'shipmentGroupId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateRefundInvoiceRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :invoice_id, as: 'invoiceId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :refund_only_option, as: 'refundOnlyOption', class: Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption, decorator: Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption::Representation
|
|
|
|
|
|
|
|
property :return_option, as: 'returnOption', class: Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption, decorator: Google::Apis::ContentV2_1::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption::Representation
|
|
|
|
|
|
|
|
collection :shipment_invoices, as: 'shipmentInvoices', class: Google::Apis::ContentV2_1::ShipmentInvoice, decorator: Google::Apis::ContentV2_1::ShipmentInvoice::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreportsListDisbursementsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :disbursements, as: 'disbursements', class: Google::Apis::ContentV2_1::OrderReportDisbursement, decorator: Google::Apis::ContentV2_1::OrderReportDisbursement::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreportsListTransactionsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :transactions, as: 'transactions', class: Google::Apis::ContentV2_1::OrderReportTransaction, decorator: Google::Apis::ContentV2_1::OrderReportTransaction::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class OrderreturnsAcknowledgeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsAcknowledgeResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-10-08 00:39:03 +00:00
|
|
|
class OrderreturnsCreateOrderReturnRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderreturnsLineItem, decorator: Google::Apis::ContentV2_1::OrderreturnsLineItem::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
property :return_method_type, as: 'returnMethodType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsCreateOrderReturnResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order_return, as: 'orderReturn', class: Google::Apis::ContentV2_1::MerchantOrderReturn, decorator: Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrderreturnsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::MerchantOrderReturn, decorator: Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class OrderreturnsPartialRefund
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsProcessRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :full_charge_return_shipping_cost, as: 'fullChargeReturnShippingCost'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :refund_shipping_fee, as: 'refundShippingFee', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
|
|
|
|
|
|
|
|
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2_1::OrderreturnsReturnItem, decorator: Google::Apis::ContentV2_1::OrderreturnsReturnItem::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsProcessResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsRefundOperation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :full_refund, as: 'fullRefund'
|
|
|
|
property :partial_refund, as: 'partialRefund', class: Google::Apis::ContentV2_1::OrderreturnsPartialRefund, decorator: Google::Apis::ContentV2_1::OrderreturnsPartialRefund::Representation
|
|
|
|
|
2020-09-14 23:21:28 +00:00
|
|
|
property :payment_type, as: 'paymentType'
|
2020-05-07 20:07:42 +00:00
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
property :return_refund_reason, as: 'returnRefundReason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsRejectOperation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrderreturnsReturnItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :refund, as: 'refund', class: Google::Apis::ContentV2_1::OrderreturnsRefundOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRefundOperation::Representation
|
|
|
|
|
|
|
|
property :reject, as: 'reject', class: Google::Apis::ContentV2_1::OrderreturnsRejectOperation, decorator: Google::Apis::ContentV2_1::OrderreturnsRejectOperation::Representation
|
|
|
|
|
|
|
|
property :return_item_id, as: 'returnItemId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersAcknowledgeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAcknowledgeResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersAdvanceTestOrderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelTestOrderByCustomerRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCancelTestOrderByCustomerResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :template_name, as: 'templateName'
|
|
|
|
property :test_order, as: 'testOrder', class: Google::Apis::ContentV2_1::TestOrder, decorator: Google::Apis::ContentV2_1::TestOrder::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestOrderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order_id, as: 'orderId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestReturnRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :items, as: 'items', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCreateTestReturnResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :return_id, as: 'returnId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrdersCustomBatchRequestEntryRefundItemItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :full_refund, as: 'fullRefund'
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersCustomBatchRequestEntryRefundItemShipping
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :full_refund, as: 'fullRefund'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetByMerchantOrderIdResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :order, as: 'order', class: Google::Apis::ContentV2_1::Order, decorator: Google::Apis::ContentV2_1::Order::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersGetTestOrderTemplateResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :template, as: 'template', class: Google::Apis::ContentV2_1::TestOrder, decorator: Google::Apis::ContentV2_1::TestOrder::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersInStoreRefundLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersInStoreRefundLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Order, decorator: Google::Apis::ContentV2_1::Order::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-06 00:38:16 +00:00
|
|
|
class OrdersRefundItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :items, as: 'items', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemItem, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemItem::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
property :shipping, as: 'shipping', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemShipping, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemShipping::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundOrderRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :full_refund, as: 'fullRefund'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRefundOrderResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class OrdersRejectReturnLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersRejectReturnLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnRefundLineItemRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :quantity, as: 'quantity'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
property :reason_text, as: 'reasonText'
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersReturnRefundLineItemResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersSetLineItemMetadataRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation, decorator: Google::Apis::ContentV2_1::OrderMerchantProvidedAnnotation::Representation
|
|
|
|
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersSetLineItemMetadataResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment::Representation
|
|
|
|
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :shipment_group_id, as: 'shipmentGroupId'
|
|
|
|
collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersShipLineItemsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateLineItemShippingDetailsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :deliver_by_date, as: 'deliverByDate'
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :ship_by_date, as: 'shipByDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateMerchantOrderIdResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :delivery_date, as: 'deliveryDate'
|
2020-06-06 00:38:16 +00:00
|
|
|
property :last_pickup_date, as: 'lastPickupDate'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :operation_id, as: 'operationId'
|
2020-06-06 00:38:16 +00:00
|
|
|
property :ready_pickup_date, as: 'readyPickupDate'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :tracking_id, as: 'trackingId'
|
2020-06-06 00:38:16 +00:00
|
|
|
property :undelivered_date, as: 'undeliveredDate'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class OrdersUpdateShipmentResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :execution_status, as: 'executionStatus'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-01-18 00:37:34 +00:00
|
|
|
class PickupCarrierService
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_name, as: 'carrierName'
|
|
|
|
property :service_name, as: 'serviceName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PickupServicesPickupService
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_name, as: 'carrierName'
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :service_name, as: 'serviceName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class PosCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::PosCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::PosCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :inventory, as: 'inventory', class: Google::Apis::ContentV2_1::PosInventory, decorator: Google::Apis::ContentV2_1::PosInventory::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :sale, as: 'sale', class: Google::Apis::ContentV2_1::PosSale, decorator: Google::Apis::ContentV2_1::PosSale::Representation
|
|
|
|
|
|
|
|
property :store, as: 'store', class: Google::Apis::ContentV2_1::PosStore, decorator: Google::Apis::ContentV2_1::PosStore::Representation
|
|
|
|
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_merchant_id, :numeric_string => true, as: 'targetMerchantId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::PosCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::PosCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :inventory, as: 'inventory', class: Google::Apis::ContentV2_1::PosInventory, decorator: Google::Apis::ContentV2_1::PosInventory::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :sale, as: 'sale', class: Google::Apis::ContentV2_1::PosSale, decorator: Google::Apis::ContentV2_1::PosSale::Representation
|
|
|
|
|
|
|
|
property :store, as: 'store', class: Google::Apis::ContentV2_1::PosStore, decorator: Google::Apis::ContentV2_1::PosStore::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosDataProviders
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider, decorator: Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosDataProvidersPosDataProvider
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
property :provider_id, :numeric_string => true, as: 'providerId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventory
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventoryRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosInventoryResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::PosStore, decorator: Google::Apis::ContentV2_1::PosStore::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSale
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :sale_id, as: 'saleId'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSaleRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :sale_id, as: 'saleId'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosSaleResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :item_id, as: 'itemId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :quantity, :numeric_string => true, as: 'quantity'
|
|
|
|
property :sale_id, as: 'saleId'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :timestamp, as: 'timestamp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PosStore
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :store_address, as: 'storeAddress'
|
|
|
|
property :store_code, as: 'storeCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PostalCodeGroup
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2_1::PostalCodeRange, decorator: Google::Apis::ContentV2_1::PostalCodeRange::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class PostalCodeRange
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :postal_code_range_begin, as: 'postalCodeRangeBegin'
|
|
|
|
property :postal_code_range_end, as: 'postalCodeRangeEnd'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Price
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class PriceAmount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Product
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :additional_image_links, as: 'additionalImageLinks'
|
|
|
|
property :ads_grouping, as: 'adsGrouping'
|
|
|
|
collection :ads_labels, as: 'adsLabels'
|
|
|
|
property :ads_redirect, as: 'adsRedirect'
|
|
|
|
property :adult, as: 'adult'
|
|
|
|
property :age_group, as: 'ageGroup'
|
|
|
|
property :availability, as: 'availability'
|
|
|
|
property :availability_date, as: 'availabilityDate'
|
|
|
|
property :brand, as: 'brand'
|
2020-06-20 00:38:16 +00:00
|
|
|
property :canonical_link, as: 'canonicalLink'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :channel, as: 'channel'
|
|
|
|
property :color, as: 'color'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
|
|
|
property :cost_of_goods_sold, as: 'costOfGoodsSold', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2_1::CustomAttribute, decorator: Google::Apis::ContentV2_1::CustomAttribute::Representation
|
|
|
|
|
|
|
|
property :custom_label0, as: 'customLabel0'
|
|
|
|
property :custom_label1, as: 'customLabel1'
|
|
|
|
property :custom_label2, as: 'customLabel2'
|
|
|
|
property :custom_label3, as: 'customLabel3'
|
|
|
|
property :custom_label4, as: 'customLabel4'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :display_ads_id, as: 'displayAdsId'
|
|
|
|
property :display_ads_link, as: 'displayAdsLink'
|
|
|
|
collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
|
|
|
|
property :display_ads_title, as: 'displayAdsTitle'
|
|
|
|
property :display_ads_value, as: 'displayAdsValue'
|
|
|
|
property :energy_efficiency_class, as: 'energyEfficiencyClass'
|
|
|
|
collection :excluded_destinations, as: 'excludedDestinations'
|
|
|
|
property :expiration_date, as: 'expirationDate'
|
|
|
|
property :gender, as: 'gender'
|
|
|
|
property :google_product_category, as: 'googleProductCategory'
|
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :identifier_exists, as: 'identifierExists'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
collection :included_destinations, as: 'includedDestinations'
|
|
|
|
property :installment, as: 'installment', class: Google::Apis::ContentV2_1::Installment, decorator: Google::Apis::ContentV2_1::Installment::Representation
|
|
|
|
|
|
|
|
property :is_bundle, as: 'isBundle'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :link, as: 'link'
|
|
|
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2_1::LoyaltyPoints, decorator: Google::Apis::ContentV2_1::LoyaltyPoints::Representation
|
|
|
|
|
|
|
|
property :material, as: 'material'
|
|
|
|
property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass'
|
|
|
|
property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
|
|
|
|
property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass'
|
|
|
|
property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
|
|
|
|
property :mobile_link, as: 'mobileLink'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :multipack, :numeric_string => true, as: 'multipack'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :pattern, as: 'pattern'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
2020-06-20 00:38:16 +00:00
|
|
|
collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
|
|
|
|
|
|
|
|
collection :product_highlights, as: 'productHighlights'
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :product_types, as: 'productTypes'
|
|
|
|
collection :promotion_ids, as: 'promotionIds'
|
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
|
|
|
property :sell_on_google_quantity, :numeric_string => true, as: 'sellOnGoogleQuantity'
|
|
|
|
collection :shipping, as: 'shipping', class: Google::Apis::ContentV2_1::ProductShipping, decorator: Google::Apis::ContentV2_1::ProductShipping::Representation
|
|
|
|
|
|
|
|
property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2_1::ProductShippingDimension, decorator: Google::Apis::ContentV2_1::ProductShippingDimension::Representation
|
|
|
|
|
|
|
|
property :shipping_label, as: 'shippingLabel'
|
|
|
|
property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2_1::ProductShippingDimension, decorator: Google::Apis::ContentV2_1::ProductShippingDimension::Representation
|
|
|
|
|
|
|
|
property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2_1::ProductShippingWeight, decorator: Google::Apis::ContentV2_1::ProductShippingWeight::Representation
|
|
|
|
|
|
|
|
property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2_1::ProductShippingDimension, decorator: Google::Apis::ContentV2_1::ProductShippingDimension::Representation
|
|
|
|
|
2020-08-27 00:39:26 +00:00
|
|
|
collection :shopping_ads_excluded_countries, as: 'shoppingAdsExcludedCountries'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :size_system, as: 'sizeSystem'
|
|
|
|
property :size_type, as: 'sizeType'
|
|
|
|
collection :sizes, as: 'sizes'
|
|
|
|
property :source, as: 'source'
|
2020-06-20 00:38:16 +00:00
|
|
|
property :subscription_cost, as: 'subscriptionCost', class: Google::Apis::ContentV2_1::ProductSubscriptionCost, decorator: Google::Apis::ContentV2_1::ProductSubscriptionCost::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :target_country, as: 'targetCountry'
|
2019-04-25 00:37:02 +00:00
|
|
|
property :tax_category, as: 'taxCategory'
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2_1::ProductTax, decorator: Google::Apis::ContentV2_1::ProductTax::Representation
|
|
|
|
|
|
|
|
property :title, as: 'title'
|
2019-04-25 00:37:02 +00:00
|
|
|
property :transit_time_label, as: 'transitTimeLabel'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure::Representation
|
|
|
|
|
|
|
|
property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingMeasure::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-01-10 00:36:17 +00:00
|
|
|
class ProductAmount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :price_amount, as: 'priceAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :remitted_tax_amount, as: 'remittedTaxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-20 00:38:16 +00:00
|
|
|
class ProductProductDetail
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :attribute_name, as: 'attributeName'
|
|
|
|
property :attribute_value, as: 'attributeValue'
|
|
|
|
property :section_name, as: 'sectionName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ProductShipping
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_group_name, as: 'locationGroupName'
|
|
|
|
property :location_id, :numeric_string => true, as: 'locationId'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :service, as: 'service'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingDimension
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductShippingWeight
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatus
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creation_date, as: 'creationDate'
|
|
|
|
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2_1::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2_1::ProductStatusDestinationStatus::Representation
|
|
|
|
|
|
|
|
property :google_expiration_date, as: 'googleExpirationDate'
|
|
|
|
collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::ContentV2_1::ProductStatusItemLevelIssue, decorator: Google::Apis::ContentV2_1::ProductStatusItemLevelIssue::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :last_update_date, as: 'lastUpdateDate'
|
|
|
|
property :link, as: 'link'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusDestinationStatus
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-08-27 00:39:26 +00:00
|
|
|
collection :approved_countries, as: 'approvedCountries'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :destination, as: 'destination'
|
2020-08-27 00:39:26 +00:00
|
|
|
collection :disapproved_countries, as: 'disapprovedCountries'
|
|
|
|
collection :pending_countries, as: 'pendingCountries'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :status, as: 'status'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductStatusItemLevelIssue
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-08-27 00:39:26 +00:00
|
|
|
collection :applicable_countries, as: 'applicableCountries'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :attribute_name, as: 'attributeName'
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :destination, as: 'destination'
|
|
|
|
property :detail, as: 'detail'
|
|
|
|
property :documentation, as: 'documentation'
|
|
|
|
property :resolution, as: 'resolution'
|
|
|
|
property :servability, as: 'servability'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-20 00:38:16 +00:00
|
|
|
class ProductSubscriptionCost
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :period, as: 'period'
|
|
|
|
property :period_length, :numeric_string => true, as: 'periodLength'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ProductTax
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :location_id, :numeric_string => true, as: 'locationId'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :rate, as: 'rate'
|
|
|
|
property :region, as: 'region'
|
|
|
|
property :tax_ship, as: 'taxShip'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingBaseMeasure
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, :numeric_string => true, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductUnitPricingMeasure
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ProductsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ProductsCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
2019-07-04 00:37:48 +00:00
|
|
|
property :feed_id, :numeric_string => true, as: 'feedId'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::Product, decorator: Google::Apis::ContentV2_1::Product::Representation
|
|
|
|
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ProductsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ProductsCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::Product, decorator: Google::Apis::ContentV2_1::Product::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Product, decorator: Google::Apis::ContentV2_1::Product::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
collection :destinations, as: 'destinations'
|
|
|
|
property :include_attributes, as: 'includeAttributes'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :product_status, as: 'productStatus', class: Google::Apis::ContentV2_1::ProductStatus, decorator: Google::Apis::ContentV2_1::ProductStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProductstatusesListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ProductStatus, decorator: Google::Apis::ContentV2_1::ProductStatus::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-03-08 00:37:56 +00:00
|
|
|
class PubsubNotificationSettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cloud_topic_name, as: 'cloudTopicName'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :registered_events, as: 'registeredEvents'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class RateGroup
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :applicable_shipping_labels, as: 'applicableShippingLabels'
|
|
|
|
collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2_1::CarrierRate, decorator: Google::Apis::ContentV2_1::CarrierRate::Representation
|
|
|
|
|
|
|
|
property :main_table, as: 'mainTable', class: Google::Apis::ContentV2_1::Table, decorator: Google::Apis::ContentV2_1::Table::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :single_value, as: 'singleValue', class: Google::Apis::ContentV2_1::Value, decorator: Google::Apis::ContentV2_1::Value::Representation
|
|
|
|
|
|
|
|
collection :subtables, as: 'subtables', class: Google::Apis::ContentV2_1::Table, decorator: Google::Apis::ContentV2_1::Table::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RefundReason
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :reason_code, as: 'reasonCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1531)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-17 02:08:41,840 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-17 02:08:41,870 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.50.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-17T10:09:04.390574 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.390639 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.391807 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.391826 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.392363 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.392378 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395178 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395210 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.395789 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.395806 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.435042 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.435091 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.444697 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.444739 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.449228 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.449257 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.459785 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.459817 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466093 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466121 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.466721 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.466737 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.468533 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.468557 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471043 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471067 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.471634 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.471649 #240] WARN -- : Changed to 'method_prop'
W, [2020-11-17T10:09:04.474140 #240] WARN -- : Found reserved property 'method'
W, [2020-11-17T10:09:04.474164 #240] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-17 02:09:12,162 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/7e06f273-92b4-427a-ba27-5b49afa0b082/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-17 10:24:04 +00:00
|
|
|
class Region
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :geotarget_area, as: 'geotargetArea', class: Google::Apis::ContentV2_1::RegionGeoTargetArea, decorator: Google::Apis::ContentV2_1::RegionGeoTargetArea::Representation
|
|
|
|
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :postal_code_area, as: 'postalCodeArea', class: Google::Apis::ContentV2_1::RegionPostalCodeArea, decorator: Google::Apis::ContentV2_1::RegionPostalCodeArea::Representation
|
|
|
|
|
|
|
|
property :region_id, as: 'regionId'
|
|
|
|
property :regional_inventory_eligible, as: 'regionalInventoryEligible'
|
|
|
|
property :shipping_eligible, as: 'shippingEligible'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionGeoTargetArea
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :geotarget_criteria_ids, as: 'geotargetCriteriaIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionPostalCodeArea
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :postal_codes, as: 'postalCodes', class: Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange, decorator: Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange::Representation
|
|
|
|
|
|
|
|
property :region_code, as: 'regionCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionPostalCodeAreaPostalCodeRange
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :begin, as: 'begin'
|
|
|
|
property :end, as: 'end'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class RegionalInventory
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :availability, as: 'availability'
|
|
|
|
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2_1::CustomAttribute, decorator: Google::Apis::ContentV2_1::CustomAttribute::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :region_id, as: 'regionId'
|
|
|
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
property :regional_inventory, as: 'regionalInventory', class: Google::Apis::ContentV2_1::RegionalInventory, decorator: Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RegionalinventoryCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :regional_inventory, as: 'regionalInventory', class: Google::Apis::ContentV2_1::RegionalInventory, decorator: Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
class RepricingRule
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country_code, as: 'countryCode'
|
|
|
|
property :effective_time_period, as: 'effectiveTimePeriod', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTime::Representation
|
|
|
|
|
|
|
|
property :eligible_offer_matcher, as: 'eligibleOfferMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher::Representation
|
|
|
|
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :paused, as: 'paused'
|
|
|
|
property :restriction, as: 'restriction', class: Google::Apis::ContentV2_1::RepricingRuleRestriction, decorator: Google::Apis::ContentV2_1::RepricingRuleRestriction::Representation
|
|
|
|
|
|
|
|
property :rule_id, as: 'ruleId'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEffectiveTime
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :fixed_time_periods, as: 'fixedTimePeriods', class: Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod, decorator: Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_time, as: 'endTime'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEligibleOfferMatcher
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :brand_matcher, as: 'brandMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
|
|
|
|
|
|
|
property :item_group_id_matcher, as: 'itemGroupIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
|
|
|
|
|
|
|
property :matcher_option, as: 'matcherOption'
|
|
|
|
property :offer_id_matcher, as: 'offerIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1660)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-12-08 02:08:14,831 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-12-08 02:08:14,863 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.51.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-12-08T10:08:37.542194 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.542262 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.543550 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.543576 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.544176 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.544195 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.546977 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.547010 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.547613 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.547630 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.551075 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.551114 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.553248 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.553280 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.557686 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.557726 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.568335 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.568382 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.574793 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.574837 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.575456 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.575472 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.577269 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.577300 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.579881 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.579909 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.580495 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.580511 #240] WARN -- : Changed to 'method_prop'
W, [2020-12-08T10:08:37.583161 #240] WARN -- : Found reserved property 'method'
W, [2020-12-08T10:08:37.583191 #240] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
identical google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-12-08 02:08:45,350 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/35e86c3e-290b-4047-a5db-b00e23fed8ba/targets
- [ ] To automatically regenerate this PR, check this box.
2020-12-08 10:22:06 +00:00
|
|
|
property :skip_when_on_promotion, as: 'skipWhenOnPromotion'
|
feat: Automated regeneration of content v2.1 client (#1292)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-10-28 02:08:18,241 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-10-28 02:08:18,272 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.7
Installing tzinfo 1.2.7
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.47.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.0512
Installing mime-types-data 3.2020.0512
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.9.4
Installing rspec-support 3.9.4
Fetching rspec-core 3.9.3
Installing rspec-core 3.9.3
Fetching rspec-expectations 3.9.3
Installing rspec-expectations 3.9.3
Fetching rspec-mocks 3.9.1
Installing rspec-mocks 3.9.1
Fetching rspec 3.9.0
Installing rspec 3.9.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.19.2
Installing parallel 1.19.2
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-10-28T09:08:41.554973 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.555039 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556202 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556223 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.556769 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.556783 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.559419 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.559451 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.560019 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.560035 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.562884 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.562984 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.564940 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.564966 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.569046 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.569072 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.577749 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.577789 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.583741 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.583780 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.584370 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.584388 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.585566 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.585586 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588063 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588091 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.588641 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.588655 #241] WARN -- : Changed to 'method_prop'
W, [2020-10-28T09:08:41.591101 #241] WARN -- : Found reserved property 'method'
W, [2020-10-28T09:08:41.591125 #241] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-10-28 02:08:48,962 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/fc014795-ecad-4bb9-a08f-f26793ec33cc/targets
- [ ] To automatically regenerate this PR, check this box.
2020-10-28 19:14:02 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :str_attributes, as: 'strAttributes'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleRestriction
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :floor, as: 'floor', class: Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary, decorator: Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary::Representation
|
|
|
|
|
|
|
|
property :use_auto_pricing_min_price, as: 'useAutoPricingMinPrice'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class RepricingRuleRestrictionBoundary
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :percentage_delta, as: 'percentageDelta'
|
|
|
|
property :price_delta, as: 'priceDelta'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-14 00:38:24 +00:00
|
|
|
class ReturnAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::ReturnAddressAddress, decorator: Google::Apis::ContentV2_1::ReturnAddressAddress::Representation
|
|
|
|
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :return_address_id, as: 'returnAddressId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnAddressAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :recipient_name, as: 'recipientName'
|
|
|
|
property :region, as: 'region'
|
|
|
|
collection :street_address, as: 'streetAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :label, as: 'label'
|
|
|
|
property :name, as: 'name'
|
|
|
|
collection :non_free_return_reasons, as: 'nonFreeReturnReasons'
|
|
|
|
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
|
|
|
|
|
|
|
property :return_policy_id, as: 'returnPolicyId'
|
|
|
|
collection :seasonal_overrides, as: 'seasonalOverrides', class: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride, decorator: Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicyPolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :last_return_date, as: 'lastReturnDate'
|
|
|
|
property :number_of_days, :numeric_string => true, as: 'numberOfDays'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnPolicySeasonalOverride
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_date, as: 'endDate'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :policy, as: 'policy', class: Google::Apis::ContentV2_1::ReturnPolicyPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicyPolicy::Representation
|
|
|
|
|
|
|
|
property :start_date, as: 'startDate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class ReturnPricingInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :charge_return_shipping_fee, as: 'chargeReturnShippingFee'
|
|
|
|
property :max_return_shipping_fee, as: 'maxReturnShippingFee', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :refundable_items_total_amount, as: 'refundableItemsTotalAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :refundable_shipping_amount, as: 'refundableShippingAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
property :total_refunded_amount, as: 'totalRefundedAmount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ReturnShipment
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :creation_date, as: 'creationDate'
|
2019-02-20 02:14:27 +00:00
|
|
|
property :delivery_date, as: 'deliveryDate'
|
2018-12-06 00:36:26 +00:00
|
|
|
property :return_method_type, as: 'returnMethodType'
|
|
|
|
property :shipment_id, as: 'shipmentId'
|
|
|
|
collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2_1::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2_1::ShipmentTrackingInfo::Representation
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
property :shipping_date, as: 'shippingDate'
|
|
|
|
property :state, as: 'state'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-08-14 00:38:24 +00:00
|
|
|
class ReturnaddressCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
|
|
|
|
|
|
property :return_address_id, as: 'returnAddressId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :return_address, as: 'returnAddress', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnaddressListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnAddress, decorator: Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
|
|
|
|
|
|
property :return_policy_id, as: 'returnPolicyId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :return_policy, as: 'returnPolicy', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ReturnpolicyListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ReturnPolicy, decorator: Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class Row
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :cells, as: 'cells', class: Google::Apis::ContentV2_1::Value, decorator: Google::Apis::ContentV2_1::Value::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Service
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :active, as: 'active'
|
|
|
|
property :currency, as: 'currency'
|
|
|
|
property :delivery_country, as: 'deliveryCountry'
|
|
|
|
property :delivery_time, as: 'deliveryTime', class: Google::Apis::ContentV2_1::DeliveryTime, decorator: Google::Apis::ContentV2_1::DeliveryTime::Representation
|
|
|
|
|
|
|
|
property :eligibility, as: 'eligibility'
|
|
|
|
property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
property :minimum_order_value_table, as: 'minimumOrderValueTable', class: Google::Apis::ContentV2_1::MinimumOrderValueTable, decorator: Google::Apis::ContentV2_1::MinimumOrderValueTable::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :name, as: 'name'
|
2020-01-18 00:37:34 +00:00
|
|
|
property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2_1::PickupCarrierService, decorator: Google::Apis::ContentV2_1::PickupCarrierService::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :rate_groups, as: 'rateGroups', class: Google::Apis::ContentV2_1::RateGroup, decorator: Google::Apis::ContentV2_1::RateGroup::Representation
|
|
|
|
|
2020-01-18 00:37:34 +00:00
|
|
|
property :shipment_type, as: 'shipmentType'
|
2018-12-06 00:36:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
class SettlementReport
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :end_date, as: 'endDate'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :previous_balance, as: 'previousBalance', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :settlement_id, as: 'settlementId'
|
|
|
|
property :start_date, as: 'startDate'
|
|
|
|
property :transfer_amount, as: 'transferAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :transfer_date, as: 'transferDate'
|
|
|
|
collection :transfer_ids, as: 'transferIds'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransaction
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::SettlementTransactionAmount, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmount::Representation
|
|
|
|
|
|
|
|
property :identifiers, as: 'identifiers', class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers, decorator: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :transaction, as: 'transaction', class: Google::Apis::ContentV2_1::SettlementTransactionTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransactionTransaction::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionAmount
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :commission, as: 'commission', class: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission, decorator: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission::Representation
|
|
|
|
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionAmountCommission
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :category, as: 'category'
|
|
|
|
property :rate, as: 'rate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionIdentifiers
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :adjustment_id, as: 'adjustmentId'
|
|
|
|
property :merchant_order_id, as: 'merchantOrderId'
|
2020-05-21 00:38:31 +00:00
|
|
|
property :order_item_id, as: 'orderItemId'
|
2020-05-07 20:07:42 +00:00
|
|
|
property :settlement_entry_id, as: 'settlementEntryId'
|
|
|
|
collection :shipment_ids, as: 'shipmentIds'
|
|
|
|
property :transaction_id, as: 'transactionId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementTransactionTransaction
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :post_date, as: 'postDate'
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementreportsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementReport, decorator: Google::Apis::ContentV2_1::SettlementReport::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SettlementtransactionsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::SettlementTransaction, decorator: Google::Apis::ContentV2_1::SettlementTransaction::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ShipmentInvoice
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2_1::InvoiceSummary, decorator: Google::Apis::ContentV2_1::InvoiceSummary::Representation
|
|
|
|
|
|
|
|
collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice::Representation
|
|
|
|
|
|
|
|
property :shipment_group_id, as: 'shipmentGroupId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShipmentInvoiceLineItemInvoice
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :line_item_id, as: 'lineItemId'
|
|
|
|
property :product_id, as: 'productId'
|
|
|
|
collection :shipment_unit_ids, as: 'shipmentUnitIds'
|
|
|
|
property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2_1::UnitInvoice, decorator: Google::Apis::ContentV2_1::UnitInvoice::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShipmentTrackingInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier, as: 'carrier'
|
|
|
|
property :tracking_number, as: 'trackingNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingSettings
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
collection :postal_code_groups, as: 'postalCodeGroups', class: Google::Apis::ContentV2_1::PostalCodeGroup, decorator: Google::Apis::ContentV2_1::PostalCodeGroup::Representation
|
|
|
|
|
|
|
|
collection :services, as: 'services', class: Google::Apis::ContentV2_1::Service, decorator: Google::Apis::ContentV2_1::Service::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequestEntry::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchRequestEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, :numeric_string => true, as: 'accountId'
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
|
|
|
property :method_prop, as: 'method'
|
|
|
|
property :shipping_settings, as: 'shippingSettings', class: Google::Apis::ContentV2_1::ShippingSettings, decorator: Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :entries, as: 'entries', class: Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponseEntry::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsCustomBatchResponseEntry
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :batch_id, as: 'batchId'
|
|
|
|
property :errors, as: 'errors', class: Google::Apis::ContentV2_1::Errors, decorator: Google::Apis::ContentV2_1::Errors::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :shipping_settings, as: 'shippingSettings', class: Google::Apis::ContentV2_1::ShippingSettings, decorator: Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsGetSupportedCarriersResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :carriers, as: 'carriers', class: Google::Apis::ContentV2_1::CarriersCarrier, decorator: Google::Apis::ContentV2_1::CarriersCarrier::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ShippingsettingsGetSupportedHolidaysResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :holidays, as: 'holidays', class: Google::Apis::ContentV2_1::HolidaysHoliday, decorator: Google::Apis::ContentV2_1::HolidaysHoliday::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-01-18 00:37:34 +00:00
|
|
|
class ShippingsettingsGetSupportedPickupServicesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :pickup_services, as: 'pickupServices', class: Google::Apis::ContentV2_1::PickupServicesPickupService, decorator: Google::Apis::ContentV2_1::PickupServicesPickupService::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class ShippingsettingsListResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::ShippingSettings, decorator: Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Table
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :column_headers, as: 'columnHeaders', class: Google::Apis::ContentV2_1::Headers, decorator: Google::Apis::ContentV2_1::Headers::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :row_headers, as: 'rowHeaders', class: Google::Apis::ContentV2_1::Headers, decorator: Google::Apis::ContentV2_1::Headers::Representation
|
|
|
|
|
|
|
|
collection :rows, as: 'rows', class: Google::Apis::ContentV2_1::Row, decorator: Google::Apis::ContentV2_1::Row::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrder
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2020-06-27 00:38:20 +00:00
|
|
|
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2_1::TestOrderDeliveryDetails, decorator: Google::Apis::ContentV2_1::TestOrderDeliveryDetails::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :enable_orderinvoices, as: 'enableOrderinvoices'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::TestOrderLineItem, decorator: Google::Apis::ContentV2_1::TestOrderLineItem::Representation
|
|
|
|
|
|
|
|
property :notification_mode, as: 'notificationMode'
|
2020-06-27 00:38:20 +00:00
|
|
|
property :pickup_details, as: 'pickupDetails', class: Google::Apis::ContentV2_1::TestOrderPickupDetails, decorator: Google::Apis::ContentV2_1::TestOrderPickupDetails::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :predefined_billing_address, as: 'predefinedBillingAddress'
|
|
|
|
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
2019-03-06 00:37:19 +00:00
|
|
|
property :predefined_email, as: 'predefinedEmail'
|
2019-09-11 00:38:11 +00:00
|
|
|
property :predefined_pickup_details, as: 'predefinedPickupDetails'
|
2018-12-06 00:36:26 +00:00
|
|
|
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::OrderPromotion, decorator: Google::Apis::ContentV2_1::OrderPromotion::Representation
|
|
|
|
|
|
|
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :shipping_option, as: 'shippingOption'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-27 00:38:20 +00:00
|
|
|
class TestOrderAddress
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :country, as: 'country'
|
|
|
|
collection :full_address, as: 'fullAddress'
|
|
|
|
property :is_post_office_box, as: 'isPostOfficeBox'
|
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :recipient_name, as: 'recipientName'
|
|
|
|
property :region, as: 'region'
|
|
|
|
collection :street_address, as: 'streetAddress'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderDeliveryDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :address, as: 'address', class: Google::Apis::ContentV2_1::TestOrderAddress, decorator: Google::Apis::ContentV2_1::TestOrderAddress::Representation
|
|
|
|
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class TestOrderLineItem
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :product, as: 'product', class: Google::Apis::ContentV2_1::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2_1::TestOrderLineItemProduct::Representation
|
|
|
|
|
|
|
|
property :quantity_ordered, as: 'quantityOrdered'
|
|
|
|
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2_1::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2_1::OrderLineItemReturnInfo::Representation
|
|
|
|
|
|
|
|
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetails::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderLineItemProduct
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :brand, as: 'brand'
|
|
|
|
property :condition, as: 'condition'
|
|
|
|
property :content_language, as: 'contentLanguage'
|
2019-06-06 00:40:37 +00:00
|
|
|
collection :fees, as: 'fees', class: Google::Apis::ContentV2_1::OrderLineItemProductFee, decorator: Google::Apis::ContentV2_1::OrderLineItemProductFee::Representation
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
property :gtin, as: 'gtin'
|
|
|
|
property :image_link, as: 'imageLink'
|
|
|
|
property :item_group_id, as: 'itemGroupId'
|
|
|
|
property :mpn, as: 'mpn'
|
|
|
|
property :offer_id, as: 'offerId'
|
|
|
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :target_country, as: 'targetCountry'
|
|
|
|
property :title, as: 'title'
|
|
|
|
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-27 00:38:20 +00:00
|
|
|
class TestOrderPickupDetails
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :location_code, as: 'locationCode'
|
|
|
|
property :pickup_location_address, as: 'pickupLocationAddress', class: Google::Apis::ContentV2_1::TestOrderAddress, decorator: Google::Apis::ContentV2_1::TestOrderAddress::Representation
|
|
|
|
|
|
|
|
property :pickup_location_type, as: 'pickupLocationType'
|
|
|
|
collection :pickup_persons, as: 'pickupPersons', class: Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson, decorator: Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TestOrderPickupDetailsPickupPerson
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of content v2.1 client (#1452)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-11-10 02:08:13,039 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-content-v2.1
nothing to commit, working tree clean
2020-11-10 02:08:13,070 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth content v2.1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=content.v2.1 --names-out=/workspace/api_names_out.yaml
Loading content, version v2.1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/content.v2.1.json
W, [2020-11-10T10:08:38.394593 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.394659 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.395884 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.395910 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.396483 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.396499 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399179 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399210 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.399803 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.399819 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.403060 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.403087 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.405010 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.405033 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.409316 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.409343 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.419829 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.419862 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426272 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426312 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.426929 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.426946 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.428167 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.428186 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.430682 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.430706 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.431271 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.431285 #242] WARN -- : Changed to 'method_prop'
W, [2020-11-10T10:08:38.433854 #242] WARN -- : Found reserved property 'method'
W, [2020-11-10T10:08:38.433879 #242] WARN -- : Changed to 'method_prop'
conflict google/apis/content_v2_1.rb
<is/content_v2_1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/content_v2_1.rb
conflict google/apis/content_v2_1/service.rb
force google/apis/content_v2_1/service.rb
conflict google/apis/content_v2_1/classes.rb
force google/apis/content_v2_1/classes.rb
conflict google/apis/content_v2_1/representations.rb
force google/apis/content_v2_1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-11-10 02:08:45,986 synthtool [DEBUG] > Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/content_v2_1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/bcc4dc3c-f04b-44c0-b838-d4409e56bd5b/targets
- [ ] To automatically regenerate this PR, check this box.
2020-11-10 10:22:04 +00:00
|
|
|
class TimeZone
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :version, as: 'version'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-02-20 02:14:27 +00:00
|
|
|
class TransitTable
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :postal_code_group_names, as: 'postalCodeGroupNames'
|
|
|
|
collection :rows, as: 'rows', class: Google::Apis::ContentV2_1::TransitTableTransitTimeRow, decorator: Google::Apis::ContentV2_1::TransitTableTransitTimeRow::Representation
|
|
|
|
|
|
|
|
collection :transit_time_labels, as: 'transitTimeLabels'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TransitTableTransitTimeRow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :values, as: 'values', class: Google::Apis::ContentV2_1::TransitTableTransitTimeRowTransitTimeValue, decorator: Google::Apis::ContentV2_1::TransitTableTransitTimeRowTransitTimeValue::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class TransitTableTransitTimeRowTransitTimeValue
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
|
|
|
|
property :min_transit_time_in_days, as: 'minTransitTimeInDays'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-12-06 00:36:26 +00:00
|
|
|
class UnitInvoice
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :additional_charges, as: 'additionalCharges', class: Google::Apis::ContentV2_1::UnitInvoiceAdditionalCharge, decorator: Google::Apis::ContentV2_1::UnitInvoiceAdditionalCharge::Representation
|
|
|
|
|
2019-01-25 00:37:03 +00:00
|
|
|
property :unit_price, as: 'unitPrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
2018-12-06 00:36:26 +00:00
|
|
|
|
|
|
|
collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2_1::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2_1::UnitInvoiceTaxLine::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UnitInvoiceAdditionalCharge
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :additional_charge_amount, as: 'additionalChargeAmount', class: Google::Apis::ContentV2_1::Amount, decorator: Google::Apis::ContentV2_1::Amount::Representation
|
|
|
|
|
|
|
|
property :type, as: 'type'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UnitInvoiceTaxLine
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :tax_name, as: 'taxName'
|
|
|
|
property :tax_type, as: 'taxType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Value
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :carrier_rate_name, as: 'carrierRateName'
|
|
|
|
property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
|
|
|
|
|
|
property :no_shipping, as: 'noShipping'
|
|
|
|
property :price_percentage, as: 'pricePercentage'
|
|
|
|
property :subtable_name, as: 'subtableName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Weight
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :unit, as: 'unit'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|