google-api-ruby-client/generated/google-apis-retail_v2/lib/google/apis/retail_v2/representations.rb

1288 lines
52 KiB
Ruby
Raw Normal View History

feat: Automated regeneration of retail v2 client (#2263) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-01-09 03:16:31,252 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-retail-v2 nothing to commit, working tree clean 2021-01-09 03:16:31,322 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 retail v2 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 retail v2 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.7 Installing i18n 1.8.7 Fetching minitest 5.14.3 Installing minitest 5.14.3 Fetching tzinfo 2.0.4 Installing tzinfo 2.0.4 Fetching zeitwerk 2.4.2 Installing zeitwerk 2.4.2 Fetching activesupport 6.1.1 Installing activesupport 6.1.1 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.5.1 Installing json 2.5.1 with native extensions Fetching docile 1.3.4 Installing docile 1.3.4 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 rexml 3.2.4 Installing rexml 3.2.4 Fetching crack 0.4.5 Installing crack 0.4.5 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 faraday-net_http 1.0.0 Installing faraday-net_http 1.0.0 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.3.0 Installing faraday 1.3.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 google-apis-core 0.2.0 Installing google-apis-core 0.2.0 Fetching google-apis-discovery_v1 0.1.0 Installing google-apis-discovery_v1 0.1.0 Using google-apis-generator 0.1.1 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.1 Installing rspec-support 3.10.1 Fetching rspec-core 3.10.1 Installing rspec-core 3.10.1 Fetching rspec-expectations 3.10.1 Installing rspec-expectations 3.10.1 Fetching rspec-mocks 3.10.1 Installing rspec-mocks 3.10.1 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.26 Installing yard 0.9.26 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.1 Installing redcarpet 3.5.1 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.11.0 Installing ruby-progressbar 1.11.0 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! 25 Gemfile dependencies, 81 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 /workspace/generated --api=retail.v2 --names=/workspace/api_names.yaml --names-out=/workspace/api_names_out.yaml --spot-check Loading retail, version v2 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/retail.v2.json create google-apis-retail_v2/.rspec create google-apis-retail_v2/.yardopts create google-apis-retail_v2/Gemfile create google-apis-retail_v2/google-apis-retail_v2.gemspec create google-apis-retail_v2/LICENSE.md create google-apis-retail_v2/OVERVIEW.md create google-apis-retail_v2/Rakefile create google-apis-retail_v2/lib/google-apis-retail_v2.rb create google-apis-retail_v2/lib/google/apis/retail_v2.rb create google-apis-retail_v2/lib/google/apis/retail_v2/classes.rb create google-apis-retail_v2/lib/google/apis/retail_v2/representations.rb create google-apis-retail_v2/lib/google/apis/retail_v2/service.rb create google-apis-retail_v2/spec/generated_spec.rb create google-apis-retail_v2/lib/google/apis/retail_v2/gem_version.rb create google-apis-retail_v2/CHANGELOG.md 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 13.0.3 Installing rake 13.0.3 Using public_suffix 4.0.6 Using addressable 2.7.0 Using bundler 2.1.4 Using declarative 0.0.20 Using declarative-option 0.1.0 Using diff-lcs 1.4.4 Using faraday-net_http 1.0.0 Using multipart-post 2.1.1 Using ruby2_keywords 0.0.2 Using faraday 1.3.0 Using jwt 2.2.2 Using memoist 0.16.2 Using multi_json 1.15.0 Fetching os 1.1.1 Installing os 1.1.1 Using signet 0.14.0 Using googleauth 0.14.0 Using httpclient 2.8.3 Using mini_mime 1.0.2 Using uber 0.1.0 Using representable 3.0.4 Using retriable 3.1.2 Using rexml 3.2.4 Using google-apis-core 0.2.0 Using google-apis-retail_v2 0.1.0 from source at `.` Using opencensus 0.5.0 Using redcarpet 3.5.1 Using rspec-support 3.10.1 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.1 Using rspec 3.10.0 Using yard 0.9.26 Bundle complete! 8 Gemfile dependencies, 33 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /root/.rbenv/versions/2.6.6/bin/ruby -I/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/lib:/root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-support-3.10.1/lib /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Google::Apis::RetailV2 should load Finished in 0.32127 seconds (files took 0.11116 seconds to load) 1 example, 0 failures Files: 4 Modules: 3 ( 1 undocumented) Classes: 84 ( 0 undocumented) Constants: 5 ( 0 undocumented) Attributes: 115 ( 0 undocumented) Methods: 185 ( 0 undocumented) 99.74% documented google-apis-retail_v2 0.1.0 built to pkg/google-apis-retail_v2-0.1.0.gem. conflict /workspace/api_names_out.yaml Overwrite /workspace/api_names_out.yaml? (enter "h" for help) [Ynaqdhm] a force /workspace/api_names_out.yaml 2021-01-09 03:17:06,394 synthtool [DEBUG] > Wrote metadata to generated/google-apis-retail_v2/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google-apis-retail_v2/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/2fec3e68-c8da-44a7-8bac-3218258fd2a0/targets - [ ] To automatically regenerate this PR, check this box.
2021-01-09 11:30:03 +00:00
# Copyright 2020 Google LLC
#
# 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 RetailV2
class GoogleApiHttpBody
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingErrorContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingErrorLog
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingHttpRequestContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingImportErrorContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingServiceContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailLoggingSourceLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2BigQuerySource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2Catalog
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2CustomAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2GcsSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2Image
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportProductsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportUserEventsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ImportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ListCatalogsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PredictRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PredictResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PredictResponsePredictionResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PriceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2Product
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ProductDetail
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ProductInlineSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ProductInputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2ProductLevelConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PurchaseTransaction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PurgeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PurgeUserEventsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2PurgeUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2RejoinUserEventsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2RejoinUserEventsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2RejoinUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2UserEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2UserEventImportSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2UserEventInlineSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2UserEventInputConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2UserInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaExportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaExportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaExportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaExportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaImportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaImportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaImportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaImportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaPurgeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaPurgeUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaRejoinUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2alphaUserEventImportSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaExportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaExportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaExportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaExportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaImportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaImportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaImportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaImportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaPurgeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaPurgeUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaRejoinUserEventsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaRejoinUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2betaUserEventImportSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainExportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainExportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainExportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainExportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainImportErrorsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainImportMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainImportProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainImportUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainPurgeMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainPurgeUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainRejoinUserEventsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainRejoinUserEventsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudRetailV2mainUserEventImportSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningOperation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleProtobufEmpty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleRpcStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleApiHttpBody
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content_type, as: 'contentType'
property :data, :base64 => true, as: 'data'
collection :extensions, as: 'extensions'
end
end
class GoogleCloudRetailLoggingErrorContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :http_request, as: 'httpRequest', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingHttpRequestContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingHttpRequestContext::Representation
property :report_location, as: 'reportLocation', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingSourceLocation, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingSourceLocation::Representation
end
end
class GoogleCloudRetailLoggingErrorLog
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :context, as: 'context', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingErrorContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingErrorContext::Representation
property :import_payload, as: 'importPayload', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingImportErrorContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingImportErrorContext::Representation
property :message, as: 'message'
hash :request_payload, as: 'requestPayload'
hash :response_payload, as: 'responsePayload'
property :service_context, as: 'serviceContext', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingServiceContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingServiceContext::Representation
property :status, as: 'status', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
end
end
class GoogleCloudRetailLoggingHttpRequestContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :response_status_code, as: 'responseStatusCode'
end
end
class GoogleCloudRetailLoggingImportErrorContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :catalog_item, as: 'catalogItem'
property :gcs_path, as: 'gcsPath'
property :line_number, as: 'lineNumber'
property :operation_name, as: 'operationName'
property :product, as: 'product'
property :user_event, as: 'userEvent'
end
end
class GoogleCloudRetailLoggingServiceContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service'
end
end
class GoogleCloudRetailLoggingSourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :function_name, as: 'functionName'
end
end
class GoogleCloudRetailV2BigQuerySource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_schema, as: 'dataSchema'
property :dataset_id, as: 'datasetId'
property :gcs_staging_dir, as: 'gcsStagingDir'
property :project_id, as: 'projectId'
property :table_id, as: 'tableId'
end
end
class GoogleCloudRetailV2Catalog
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :name, as: 'name'
property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductLevelConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductLevelConfig::Representation
end
end
class GoogleCloudRetailV2CustomAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :numbers, as: 'numbers'
collection :text, as: 'text'
end
end
class GoogleCloudRetailV2GcsSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data_schema, as: 'dataSchema'
collection :input_uris, as: 'inputUris'
end
end
class GoogleCloudRetailV2Image
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :height, as: 'height'
property :uri, as: 'uri'
property :width, as: 'width'
end
end
class GoogleCloudRetailV2ImportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2ImportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :failure_count, :numeric_string => true, as: 'failureCount'
property :success_count, :numeric_string => true, as: 'successCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2ImportProductsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig::Representation
property :update_mask, as: 'updateMask'
end
end
class GoogleCloudRetailV2ImportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2ImportUserEventsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInputConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInputConfig::Representation
end
end
class GoogleCloudRetailV2ImportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventImportSummary::Representation
end
end
class GoogleCloudRetailV2ListCatalogsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :catalogs, as: 'catalogs', class: Google::Apis::RetailV2::GoogleCloudRetailV2Catalog, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Catalog::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudRetailV2PredictRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filter, as: 'filter'
hash :labels, as: 'labels'
property :page_size, as: 'pageSize'
property :page_token, as: 'pageToken'
hash :params, as: 'params'
property :user_event, as: 'userEvent', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent::Representation
property :validate_only, as: 'validateOnly'
end
end
class GoogleCloudRetailV2PredictResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attribution_token, as: 'attributionToken'
collection :missing_ids, as: 'missingIds'
collection :results, as: 'results', class: Google::Apis::RetailV2::GoogleCloudRetailV2PredictResponsePredictionResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PredictResponsePredictionResult::Representation
property :validate_only, as: 'validateOnly'
end
end
class GoogleCloudRetailV2PredictResponsePredictionResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :metadata, as: 'metadata'
end
end
class GoogleCloudRetailV2PriceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cost, as: 'cost'
property :currency_code, as: 'currencyCode'
property :original_price, as: 'originalPrice'
property :price, as: 'price'
end
end
class GoogleCloudRetailV2Product
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
property :availability, as: 'availability'
property :available_quantity, as: 'availableQuantity'
property :available_time, as: 'availableTime'
collection :categories, as: 'categories'
property :description, as: 'description'
property :id, as: 'id'
collection :images, as: 'images', class: Google::Apis::RetailV2::GoogleCloudRetailV2Image, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Image::Representation
property :name, as: 'name'
property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo::Representation
property :primary_product_id, as: 'primaryProductId'
collection :tags, as: 'tags'
property :title, as: 'title'
property :type, as: 'type'
property :uri, as: 'uri'
end
end
class GoogleCloudRetailV2ProductDetail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :product, as: 'product', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
property :quantity, as: 'quantity'
end
end
class GoogleCloudRetailV2ProductInlineSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :products, as: 'products', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
end
end
class GoogleCloudRetailV2ProductInputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource::Representation
property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource::Representation
property :product_inline_source, as: 'productInlineSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInlineSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInlineSource::Representation
end
end
class GoogleCloudRetailV2ProductLevelConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ingestion_product_type, as: 'ingestionProductType'
property :merchant_center_product_id_field, as: 'merchantCenterProductIdField'
end
end
class GoogleCloudRetailV2PurchaseTransaction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cost, as: 'cost'
property :currency_code, as: 'currencyCode'
property :id, as: 'id'
property :revenue, as: 'revenue'
property :tax, as: 'tax'
end
end
class GoogleCloudRetailV2PurgeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2PurgeUserEventsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filter, as: 'filter'
property :force, as: 'force'
end
end
class GoogleCloudRetailV2PurgeUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
end
end
class GoogleCloudRetailV2RejoinUserEventsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2RejoinUserEventsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :user_event_rejoin_scope, as: 'userEventRejoinScope'
end
end
class GoogleCloudRetailV2RejoinUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
end
end
class GoogleCloudRetailV2UserEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
property :attribution_token, as: 'attributionToken'
property :cart_id, as: 'cartId'
property :event_time, as: 'eventTime'
property :event_type, as: 'eventType'
collection :experiment_ids, as: 'experimentIds'
collection :page_categories, as: 'pageCategories'
property :page_view_id, as: 'pageViewId'
collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail::Representation
property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction::Representation
property :referrer_uri, as: 'referrerUri'
property :search_query, as: 'searchQuery'
property :uri, as: 'uri'
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
property :visitor_id, as: 'visitorId'
end
end
class GoogleCloudRetailV2UserEventImportSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
end
end
class GoogleCloudRetailV2UserEventInlineSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :user_events, as: 'userEvents', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent::Representation
end
end
class GoogleCloudRetailV2UserEventInputConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource::Representation
property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource::Representation
property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource::Representation
end
end
class GoogleCloudRetailV2UserInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :direct_user_request, as: 'directUserRequest'
property :ip_address, as: 'ipAddress'
property :user_agent, as: 'userAgent'
property :user_id, as: 'userId'
end
end
class GoogleCloudRetailV2alphaExportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2alphaExportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2alphaExportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2alphaExportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2alphaImportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2alphaImportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :failure_count, :numeric_string => true, as: 'failureCount'
property :success_count, :numeric_string => true, as: 'successCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2alphaImportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2alphaImportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaUserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaUserEventImportSummary::Representation
end
end
class GoogleCloudRetailV2alphaPurgeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2alphaPurgeUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
end
end
class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2alphaRejoinUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
end
end
class GoogleCloudRetailV2alphaUserEventImportSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
end
end
class GoogleCloudRetailV2betaExportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2betaExportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2betaExportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2betaExportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2betaImportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2betaImportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :failure_count, :numeric_string => true, as: 'failureCount'
property :success_count, :numeric_string => true, as: 'successCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2betaImportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2betaImportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig::Representation
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaUserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaUserEventImportSummary::Representation
end
end
class GoogleCloudRetailV2betaPurgeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2betaPurgeUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
end
end
class GoogleCloudRetailV2betaRejoinUserEventsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2betaRejoinUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
end
end
class GoogleCloudRetailV2betaUserEventImportSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
end
end
class GoogleCloudRetailV2mainExportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2mainExportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2mainExportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2mainExportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2mainImportErrorsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_prefix, as: 'gcsPrefix'
end
end
class GoogleCloudRetailV2mainImportMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :failure_count, :numeric_string => true, as: 'failureCount'
property :success_count, :numeric_string => true, as: 'successCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudRetailV2mainImportProductsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig::Representation
end
end
class GoogleCloudRetailV2mainImportUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig::Representation
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainUserEventImportSummary::Representation
end
end
class GoogleCloudRetailV2mainPurgeMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2mainPurgeUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
end
end
class GoogleCloudRetailV2mainRejoinUserEventsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudRetailV2mainRejoinUserEventsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
end
end
class GoogleCloudRetailV2mainUserEventImportSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::RetailV2::GoogleLongrunningOperation, decorator: Google::Apis::RetailV2::GoogleLongrunningOperation::Representation
end
end
class GoogleLongrunningOperation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class GoogleProtobufEmpty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleRpcStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
end
end
end