google-api-ruby-client/generated/google/apis/androidpublisher_v2/representations.rb

834 lines
31 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AndroidpublisherV2
class Apk
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ApkBinary
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ApkListing
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListApkListingsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ApksAddExternallyHostedRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ApksAddExternallyHostedResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListApksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class AppDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class AppEdit
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-05-25 16:16:15 +00:00
class Comment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-10-20 20:15:24 +00:00
class DeobfuscationFile
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeobfuscationFilesUploadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-05-25 16:16:15 +00:00
class DeveloperComment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-01-13 23:04:35 +00:00
class DeviceMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class ExpansionFile
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UploadExpansionFilesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ExternallyHostedApk
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ExternallyHostedApkUsesPermission
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Image
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-01-20 20:41:43 +00:00
class DeleteAllImagesResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UploadImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InAppProduct
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InAppProductListing
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListInAppProductsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Listing
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListListingsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class MonthDay
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class PageInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Price
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ProductPurchase
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-01-14 18:49:46 +00:00
class Prorate
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-14 18:49:46 +00:00
end
2016-05-25 16:16:15 +00:00
class Review
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReviewReplyResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReviewsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReviewsReplyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReviewsReplyResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class Season
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class SubscriptionDeferralInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class SubscriptionPurchase
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class DeferSubscriptionPurchasesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class DeferSubscriptionPurchasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Testers
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-05-25 16:16:15 +00:00
class Timestamp
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class TokenPagination
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Track
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListTracksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-05-25 16:16:15 +00:00
class UserComment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-01-13 23:04:35 +00:00
class VoidedPurchase
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VoidedPurchasesListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class Apk
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV2::ApkBinary, decorator: Google::Apis::AndroidpublisherV2::ApkBinary::Representation
property :version_code, as: 'versionCode'
end
end
class ApkBinary
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :sha1, as: 'sha1'
Autogenerated update (2017-08-25) Add: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - cloudtrace_v2 - clouduseraccounts_vm_alpha - consumersurveys_v2 - dlp_v2beta1 - oslogin_v1alpha - playcustomapp_v1 - playmoviespartner_v1 - safebrowsing_v4 - spectrum_v1explorer - speech_v1 - streetviewpublish_v1 - vault_v1 - videointelligence_v1beta1 Update: - acceleratedmobilepageurl_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_4 - adsense_v1_4 - adsensehost_v4_1 - analytics_v3 - analyticsreporting_v4 - androidenterprise_v1 - androidpublisher_v2 - appengine_v1 - appsactivity_v1 - appstate_v1 - bigquery_v2 - calendar_v3 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudfunctions_v1 - cloudkms_v1 - cloudmonitoring_v2beta2 - cloudresourcemanager_v1 - compute_beta - compute_v1 - container_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - datastore_v1 - deploymentmanager_v2 - dfareporting_v2_8 - dns_v1 - doubleclicksearch_v2 - drive_v3 - firebasedynamiclinks_v1 - firebaserules_v1 - fitness_v1 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - gmail_v1 - iam_v1 - identitytoolkit_v3 - language_v1 - logging_v2 - manufacturers_v1 - ml_v1 - monitoring_v3 - oauth2_v2 - partners_v2 - people_v1 - plus_domains_v1 - plus_v1 - proximitybeacon_v1beta1 - pubsub_v1 - runtimeconfig_v1 - script_v1 - searchconsole_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - sheets_v4 - slides_v1 - sourcerepo_v1 - spanner_v1 - sqladmin_v1beta4 - storage_v1 - storagetransfer_v1 - toolresults_v1beta3 - vision_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_partner_v1 - youtubereporting_v1
2017-08-25 19:54:22 +00:00
property :sha256, as: 'sha256'
2015-06-23 23:05:46 +00:00
end
end
class ApkListing
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :language, as: 'language'
property :recent_changes, as: 'recentChanges'
end
end
class ListApkListingsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV2::ApkListing, decorator: Google::Apis::AndroidpublisherV2::ApkListing::Representation
end
end
class ApksAddExternallyHostedRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV2::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV2::ExternallyHostedApk::Representation
end
end
class ApksAddExternallyHostedResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV2::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV2::ExternallyHostedApk::Representation
end
end
class ListApksResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :apks, as: 'apks', class: Google::Apis::AndroidpublisherV2::Apk, decorator: Google::Apis::AndroidpublisherV2::Apk::Representation
property :kind, as: 'kind'
end
end
class AppDetails
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :contact_email, as: 'contactEmail'
property :contact_phone, as: 'contactPhone'
property :contact_website, as: 'contactWebsite'
property :default_language, as: 'defaultLanguage'
end
end
class AppEdit
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :expiry_time_seconds, as: 'expiryTimeSeconds'
property :id, as: 'id'
end
end
2016-05-25 16:16:15 +00:00
class Comment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :developer_comment, as: 'developerComment', class: Google::Apis::AndroidpublisherV2::DeveloperComment, decorator: Google::Apis::AndroidpublisherV2::DeveloperComment::Representation
property :user_comment, as: 'userComment', class: Google::Apis::AndroidpublisherV2::UserComment, decorator: Google::Apis::AndroidpublisherV2::UserComment::Representation
end
end
2016-10-20 20:15:24 +00:00
class DeobfuscationFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :symbol_type, as: 'symbolType'
end
end
class DeobfuscationFilesUploadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV2::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV2::DeobfuscationFile::Representation
end
end
2016-05-25 16:16:15 +00:00
class DeveloperComment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
property :text, as: 'text'
end
end
2017-01-13 23:04:35 +00:00
class DeviceMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cpu_make, as: 'cpuMake'
property :cpu_model, as: 'cpuModel'
property :device_class, as: 'deviceClass'
property :gl_es_version, as: 'glEsVersion'
property :manufacturer, as: 'manufacturer'
property :native_platform, as: 'nativePlatform'
property :product_name, as: 'productName'
property :ram_mb, as: 'ramMb'
property :screen_density_dpi, as: 'screenDensityDpi'
property :screen_height_px, as: 'screenHeightPx'
property :screen_width_px, as: 'screenWidthPx'
end
end
2015-06-23 23:05:46 +00:00
class ExpansionFile
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :file_size, :numeric_string => true, as: 'fileSize'
2015-06-23 23:05:46 +00:00
property :references_version, as: 'referencesVersion'
end
end
class UploadExpansionFilesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :expansion_file, as: 'expansionFile', class: Google::Apis::AndroidpublisherV2::ExpansionFile, decorator: Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
end
end
class ExternallyHostedApk
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :application_label, as: 'applicationLabel'
collection :certificate_base64s, as: 'certificateBase64s'
property :externally_hosted_url, as: 'externallyHostedUrl'
property :file_sha1_base64, as: 'fileSha1Base64'
property :file_sha256_base64, as: 'fileSha256Base64'
2017-04-03 20:18:48 +00:00
property :file_size, :numeric_string => true, as: 'fileSize'
2015-06-23 23:05:46 +00:00
property :icon_base64, as: 'iconBase64'
property :maximum_sdk, as: 'maximumSdk'
property :minimum_sdk, as: 'minimumSdk'
collection :native_codes, as: 'nativeCodes'
property :package_name, as: 'packageName'
collection :uses_features, as: 'usesFeatures'
collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV2::ExternallyHostedApkUsesPermission, decorator: Google::Apis::AndroidpublisherV2::ExternallyHostedApkUsesPermission::Representation
property :version_code, as: 'versionCode'
property :version_name, as: 'versionName'
end
end
class ExternallyHostedApkUsesPermission
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :max_sdk_version, as: 'maxSdkVersion'
property :name, as: 'name'
end
end
class Image
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :sha1, as: 'sha1'
property :url, as: 'url'
end
end
2016-01-20 20:41:43 +00:00
class DeleteAllImagesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :deleted, as: 'deleted', class: Google::Apis::AndroidpublisherV2::Image, decorator: Google::Apis::AndroidpublisherV2::Image::Representation
end
end
class ListImagesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :images, as: 'images', class: Google::Apis::AndroidpublisherV2::Image, decorator: Google::Apis::AndroidpublisherV2::Image::Representation
end
end
class UploadImagesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image', class: Google::Apis::AndroidpublisherV2::Image, decorator: Google::Apis::AndroidpublisherV2::Image::Representation
end
end
class InAppProduct
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :default_language, as: 'defaultLanguage'
property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV2::InAppProductListing, decorator: Google::Apis::AndroidpublisherV2::InAppProductListing::Representation
property :package_name, as: 'packageName'
hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
property :purchase_type, as: 'purchaseType'
property :season, as: 'season', class: Google::Apis::AndroidpublisherV2::Season, decorator: Google::Apis::AndroidpublisherV2::Season::Representation
property :sku, as: 'sku'
property :status, as: 'status'
property :subscription_period, as: 'subscriptionPeriod'
property :trial_period, as: 'trialPeriod'
end
end
class InAppProductListing
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :title, as: 'title'
end
end
class ListInAppProductsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV2::InAppProduct, decorator: Google::Apis::AndroidpublisherV2::InAppProduct::Representation
property :kind, as: 'kind'
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
end
end
class Listing
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :full_description, as: 'fullDescription'
property :language, as: 'language'
property :short_description, as: 'shortDescription'
property :title, as: 'title'
property :video, as: 'video'
end
end
class ListListingsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV2::Listing, decorator: Google::Apis::AndroidpublisherV2::Listing::Representation
end
end
class MonthDay
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :month, as: 'month'
end
end
class PageInfo
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :result_per_page, as: 'resultPerPage'
property :start_index, as: 'startIndex'
property :total_results, as: 'totalResults'
end
end
class Price
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :currency, as: 'currency'
property :price_micros, as: 'priceMicros'
end
end
class ProductPurchase
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :consumption_state, as: 'consumptionState'
property :developer_payload, as: 'developerPayload'
property :kind, as: 'kind'
Autogenerated update (2017-08-25) Add: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - cloudtrace_v2 - clouduseraccounts_vm_alpha - consumersurveys_v2 - dlp_v2beta1 - oslogin_v1alpha - playcustomapp_v1 - playmoviespartner_v1 - safebrowsing_v4 - spectrum_v1explorer - speech_v1 - streetviewpublish_v1 - vault_v1 - videointelligence_v1beta1 Update: - acceleratedmobilepageurl_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_4 - adsense_v1_4 - adsensehost_v4_1 - analytics_v3 - analyticsreporting_v4 - androidenterprise_v1 - androidpublisher_v2 - appengine_v1 - appsactivity_v1 - appstate_v1 - bigquery_v2 - calendar_v3 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudfunctions_v1 - cloudkms_v1 - cloudmonitoring_v2beta2 - cloudresourcemanager_v1 - compute_beta - compute_v1 - container_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - datastore_v1 - deploymentmanager_v2 - dfareporting_v2_8 - dns_v1 - doubleclicksearch_v2 - drive_v3 - firebasedynamiclinks_v1 - firebaserules_v1 - fitness_v1 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - gmail_v1 - iam_v1 - identitytoolkit_v3 - language_v1 - logging_v2 - manufacturers_v1 - ml_v1 - monitoring_v3 - oauth2_v2 - partners_v2 - people_v1 - plus_domains_v1 - plus_v1 - proximitybeacon_v1beta1 - pubsub_v1 - runtimeconfig_v1 - script_v1 - searchconsole_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - sheets_v4 - slides_v1 - sourcerepo_v1 - spanner_v1 - sqladmin_v1beta4 - storage_v1 - storagetransfer_v1 - toolresults_v1beta3 - vision_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_partner_v1 - youtubereporting_v1
2017-08-25 19:54:22 +00:00
property :order_id, as: 'orderId'
2015-06-23 23:05:46 +00:00
property :purchase_state, as: 'purchaseState'
2017-04-03 20:18:48 +00:00
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
property :purchase_type, as: 'purchaseType'
2015-06-23 23:05:46 +00:00
end
end
2016-01-14 18:49:46 +00:00
class Prorate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
end
end
2016-05-25 16:16:15 +00:00
class Review
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :author_name, as: 'authorName'
collection :comments, as: 'comments', class: Google::Apis::AndroidpublisherV2::Comment, decorator: Google::Apis::AndroidpublisherV2::Comment::Representation
property :review_id, as: 'reviewId'
end
end
class ReviewReplyResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :last_edited, as: 'lastEdited', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
property :reply_text, as: 'replyText'
end
end
class ReviewsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
collection :reviews, as: 'reviews', class: Google::Apis::AndroidpublisherV2::Review, decorator: Google::Apis::AndroidpublisherV2::Review::Representation
property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
end
end
class ReviewsReplyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :reply_text, as: 'replyText'
end
end
class ReviewsReplyResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :result, as: 'result', class: Google::Apis::AndroidpublisherV2::ReviewReplyResult, decorator: Google::Apis::AndroidpublisherV2::ReviewReplyResult::Representation
end
end
2015-06-23 23:05:46 +00:00
class Season
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
2016-01-14 18:49:46 +00:00
collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation
2015-06-23 23:05:46 +00:00
property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
end
end
class SubscriptionDeferralInfo
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :desired_expiry_time_millis, :numeric_string => true, as: 'desiredExpiryTimeMillis'
property :expected_expiry_time_millis, :numeric_string => true, as: 'expectedExpiryTimeMillis'
2015-06-23 23:05:46 +00:00
end
end
class SubscriptionPurchase
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_renewing, as: 'autoRenewing'
property :cancel_reason, as: 'cancelReason'
property :country_code, as: 'countryCode'
property :developer_payload, as: 'developerPayload'
property :email_address, as: 'emailAddress'
2017-04-03 20:18:48 +00:00
property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis'
property :family_name, as: 'familyName'
property :given_name, as: 'givenName'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
property :linked_purchase_token, as: 'linkedPurchaseToken'
Autogenerated update (2017-08-25) Add: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - cloudtrace_v2 - clouduseraccounts_vm_alpha - consumersurveys_v2 - dlp_v2beta1 - oslogin_v1alpha - playcustomapp_v1 - playmoviespartner_v1 - safebrowsing_v4 - spectrum_v1explorer - speech_v1 - streetviewpublish_v1 - vault_v1 - videointelligence_v1beta1 Update: - acceleratedmobilepageurl_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_4 - adsense_v1_4 - adsensehost_v4_1 - analytics_v3 - analyticsreporting_v4 - androidenterprise_v1 - androidpublisher_v2 - appengine_v1 - appsactivity_v1 - appstate_v1 - bigquery_v2 - calendar_v3 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudfunctions_v1 - cloudkms_v1 - cloudmonitoring_v2beta2 - cloudresourcemanager_v1 - compute_beta - compute_v1 - container_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - datastore_v1 - deploymentmanager_v2 - dfareporting_v2_8 - dns_v1 - doubleclicksearch_v2 - drive_v3 - firebasedynamiclinks_v1 - firebaserules_v1 - fitness_v1 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - gmail_v1 - iam_v1 - identitytoolkit_v3 - language_v1 - logging_v2 - manufacturers_v1 - ml_v1 - monitoring_v3 - oauth2_v2 - partners_v2 - people_v1 - plus_domains_v1 - plus_v1 - proximitybeacon_v1beta1 - pubsub_v1 - runtimeconfig_v1 - script_v1 - searchconsole_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - sheets_v4 - slides_v1 - sourcerepo_v1 - spanner_v1 - sqladmin_v1beta4 - storage_v1 - storagetransfer_v1 - toolresults_v1beta3 - vision_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_partner_v1 - youtubereporting_v1
2017-08-25 19:54:22 +00:00
property :order_id, as: 'orderId'
property :payment_state, as: 'paymentState'
2017-04-03 20:18:48 +00:00
property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
property :price_currency_code, as: 'priceCurrencyCode'
property :profile_id, as: 'profileId'
property :profile_name, as: 'profileName'
property :purchase_type, as: 'purchaseType'
2017-04-03 20:18:48 +00:00
property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis'
2015-06-23 23:05:46 +00:00
end
end
class DeferSubscriptionPurchasesRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :deferral_info, as: 'deferralInfo', class: Google::Apis::AndroidpublisherV2::SubscriptionDeferralInfo, decorator: Google::Apis::AndroidpublisherV2::SubscriptionDeferralInfo::Representation
end
end
class DeferSubscriptionPurchasesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :new_expiry_time_millis, :numeric_string => true, as: 'newExpiryTimeMillis'
2015-06-23 23:05:46 +00:00
end
end
class Testers
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :google_groups, as: 'googleGroups'
collection :google_plus_communities, as: 'googlePlusCommunities'
end
end
2016-05-25 16:16:15 +00:00
class Timestamp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :nanos, as: 'nanos'
2017-04-03 20:18:48 +00:00
property :seconds, :numeric_string => true, as: 'seconds'
2016-05-25 16:16:15 +00:00
end
end
2015-06-23 23:05:46 +00:00
class TokenPagination
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
property :previous_page_token, as: 'previousPageToken'
end
end
class Track
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :track, as: 'track'
property :user_fraction, as: 'userFraction'
collection :version_codes, as: 'versionCodes'
end
end
class ListTracksResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :tracks, as: 'tracks', class: Google::Apis::AndroidpublisherV2::Track, decorator: Google::Apis::AndroidpublisherV2::Track::Representation
end
end
2016-05-25 16:16:15 +00:00
class UserComment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_os_version, as: 'androidOsVersion'
property :app_version_code, as: 'appVersionCode'
property :app_version_name, as: 'appVersionName'
property :device, as: 'device'
2017-01-13 23:04:35 +00:00
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV2::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV2::DeviceMetadata::Representation
2016-05-25 16:16:15 +00:00
property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
2017-01-13 23:04:35 +00:00
property :original_text, as: 'originalText'
2016-05-25 16:16:15 +00:00
property :reviewer_language, as: 'reviewerLanguage'
property :star_rating, as: 'starRating'
property :text, as: 'text'
2017-01-13 23:04:35 +00:00
property :thumbs_down_count, as: 'thumbsDownCount'
property :thumbs_up_count, as: 'thumbsUpCount'
end
end
class VoidedPurchase
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
2017-04-03 20:18:48 +00:00
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
2017-01-13 23:04:35 +00:00
property :purchase_token, as: 'purchaseToken'
2017-04-03 20:18:48 +00:00
property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis'
2017-01-13 23:04:35 +00:00
end
end
class VoidedPurchasesListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV2::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV2::VoidedPurchase::Representation
2016-05-25 16:16:15 +00:00
end
end
2015-06-23 23:05:46 +00:00
end
end
end