1288 lines
53 KiB
Ruby
1288 lines
53 KiB
Ruby
# 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 RetailV2alpha
|
|
|
|
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 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 GoogleCloudRetailV2ImportProductsResponse
|
|
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 GoogleCloudRetailV2PurgeMetadata
|
|
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 GoogleCloudRetailV2RejoinUserEventsResponse
|
|
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 GoogleCloudRetailV2alphaBigQuerySource
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaCatalog
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaCustomAttribute
|
|
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 GoogleCloudRetailV2alphaGcsSource
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaImage
|
|
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 GoogleCloudRetailV2alphaImportProductsRequest
|
|
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 GoogleCloudRetailV2alphaImportUserEventsRequest
|
|
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 GoogleCloudRetailV2alphaListCatalogsResponse
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictRequest
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictResponse
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictResponsePredictionResult
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPriceInfo
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProduct
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductDetail
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductInlineSource
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductInputConfig
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductLevelConfig
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPurchaseTransaction
|
|
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 GoogleCloudRetailV2alphaPurgeUserEventsRequest
|
|
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 GoogleCloudRetailV2alphaRejoinUserEventsRequest
|
|
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 GoogleCloudRetailV2alphaUserEvent
|
|
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 GoogleCloudRetailV2alphaUserEventInlineSource
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaUserEventInputConfig
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaUserInfo
|
|
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::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext::Representation
|
|
|
|
property :report_location, as: 'reportLocation', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingSourceLocation, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingSourceLocation::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailLoggingErrorLog
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :context, as: 'context', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingErrorContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingErrorContext::Representation
|
|
|
|
property :import_payload, as: 'importPayload', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingImportErrorContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingImportErrorContext::Representation
|
|
|
|
property :message, as: 'message'
|
|
hash :request_payload, as: 'requestPayload'
|
|
hash :response_payload, as: 'responsePayload'
|
|
property :service_context, as: 'serviceContext', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext::Representation
|
|
|
|
property :status, as: 'status', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::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 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 GoogleCloudRetailV2ImportProductsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2ImportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig::Representation
|
|
|
|
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2UserEventImportSummary, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2UserEventImportSummary::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2PurgeMetadata
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
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 GoogleCloudRetailV2RejoinUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
|
|
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 GoogleCloudRetailV2alphaBigQuerySource
|
|
# @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 GoogleCloudRetailV2alphaCatalog
|
|
# @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::RetailV2alpha::GoogleCloudRetailV2alphaProductLevelConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductLevelConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaCustomAttribute
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :numbers, as: 'numbers'
|
|
collection :text, as: 'text'
|
|
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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaExportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaGcsSource
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :data_schema, as: 'dataSchema'
|
|
collection :input_uris, as: 'inputUris'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaImage
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :height, as: 'height'
|
|
property :uri, as: 'uri'
|
|
property :width, as: 'width'
|
|
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 GoogleCloudRetailV2alphaImportProductsRequest
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
|
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInputConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInputConfig::Representation
|
|
|
|
property :update_mask, as: 'updateMask'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaImportProductsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaImportUserEventsRequest
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
|
|
|
|
property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInputConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInputConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaImportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
|
|
|
|
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventImportSummary::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaListCatalogsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :catalogs, as: 'catalogs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalog, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalog::Representation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictRequest
|
|
# @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::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
|
|
|
|
property :validate_only, as: 'validateOnly'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :attribution_token, as: 'attributionToken'
|
|
collection :missing_ids, as: 'missingIds'
|
|
collection :results, as: 'results', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictResponsePredictionResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictResponsePredictionResult::Representation
|
|
|
|
property :validate_only, as: 'validateOnly'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPredictResponsePredictionResult
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :id, as: 'id'
|
|
hash :metadata, as: 'metadata'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPriceInfo
|
|
# @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 GoogleCloudRetailV2alphaProduct
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::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::RetailV2alpha::GoogleCloudRetailV2alphaImage, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImage::Representation
|
|
|
|
property :name, as: 'name'
|
|
property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPriceInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPriceInfo::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 GoogleCloudRetailV2alphaProductDetail
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
|
|
|
|
property :quantity, as: 'quantity'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductInlineSource
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :products, as: 'products', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductInputConfig
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource::Representation
|
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource::Representation
|
|
|
|
property :product_inline_source, as: 'productInlineSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInlineSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInlineSource::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaProductLevelConfig
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :ingestion_product_type, as: 'ingestionProductType'
|
|
property :merchant_center_product_id_field, as: 'merchantCenterProductIdField'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPurchaseTransaction
|
|
# @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 GoogleCloudRetailV2alphaPurgeMetadata
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaPurgeUserEventsRequest
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :filter, as: 'filter'
|
|
property :force, as: 'force'
|
|
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 GoogleCloudRetailV2alphaRejoinUserEventsRequest
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :user_event_rejoin_scope, as: 'userEventRejoinScope'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaRejoinUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaUserEvent
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::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::RetailV2alpha::GoogleCloudRetailV2alphaProductDetail, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductDetail::Representation
|
|
|
|
property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPurchaseTransaction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPurchaseTransaction::Representation
|
|
|
|
property :referrer_uri, as: 'referrerUri'
|
|
property :search_query, as: 'searchQuery'
|
|
property :uri, as: 'uri'
|
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
|
|
|
|
property :visitor_id, as: 'visitorId'
|
|
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 GoogleCloudRetailV2alphaUserEventInlineSource
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :user_events, as: 'userEvents', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaUserEventInputConfig
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource::Representation
|
|
|
|
property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource::Representation
|
|
|
|
property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInlineSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInlineSource::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2alphaUserInfo
|
|
# @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 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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2betaExportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2betaImportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig::Representation
|
|
|
|
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainExportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2mainExportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleCloudRetailV2mainImportUserEventsResponse
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
|
|
|
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig::Representation
|
|
|
|
property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleLongrunningOperation, decorator: Google::Apis::RetailV2alpha::GoogleLongrunningOperation::Representation
|
|
|
|
end
|
|
end
|
|
|
|
class GoogleLongrunningOperation
|
|
# @private
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
property :done, as: 'done'
|
|
property :error, as: 'error', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::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
|