google-apis-androidpublisher_v3-0.96.0/0000755000004100000410000000000015142404021020001 5ustar www-datawww-datagoogle-apis-androidpublisher_v3-0.96.0/OVERVIEW.md0000644000004100000410000001403415142404021021573 0ustar www-datawww-data# Simple REST client for version V3 of the Google Play Android Developer API This is a simple client library for version V3 of the Google Play Android Developer API. It provides: * A client object that connects to the HTTP/JSON REST endpoint for the service. * Ruby objects for data structures related to the service. * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts. * Control of retry, pagination, and timeouts. Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information. ## Getting started ### Before you begin There are a few setup steps you need to complete before you can use this library: 1. If you don't already have a Google account, [sign up](https://www.google.com/accounts). 2. If you have never created a Google APIs Console project, read about [Managing Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and create a project in the [Google API Console](https://console.cloud.google.com/). 3. Most APIs need to be enabled for your project. [Enable it](https://console.cloud.google.com/apis/library/androidpublisher.googleapis.com) in the console. ### Installation Add this line to your application's Gemfile: ```ruby gem 'google-apis-androidpublisher_v3', '~> 0.1' ``` And then execute: ``` $ bundle ``` Or install it yourself as: ``` $ gem install google-apis-androidpublisher_v3 ``` ### Creating a client object Once the gem is installed, you can load the client code and instantiate a client. ```ruby # Load the client require "google/apis/androidpublisher_v3" # Create a client object client = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new # Authenticate calls client.authorization = # ... use the googleauth gem to create credentials ``` See the class reference docs for information on the methods you can call from a client. ## Documentation More detailed descriptions of the Google simple REST clients are available in two documents. * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging. * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables. (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Androidpublisher service in particular.) For reference information on specific calls in the Google Play Android Developer API, see the {Google::Apis::AndroidpublisherV3::AndroidPublisherService class reference docs}. ## Which client should I use? Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**. This library, `google-apis-androidpublisher_v3`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-_`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward. Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients. Gem names for modern clients are often of the form `google-cloud-`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud--`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended. **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure. The [product documentation](https://developers.google.com/android-publisher) may provide guidance regarding the preferred client library to use. ## Supported Ruby versions This library is supported on Ruby 3.1+. Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule. ## License This library is licensed under Apache 2.0. Full license text is available in the {file:LICENSE.md LICENSE}. ## Support Please [report bugs at the project on Github](https://github.com/google/google-api-ruby-client/issues). Don't hesitate to [ask questions](http://stackoverflow.com/questions/tagged/google-api-ruby-client) about the client or APIs on [StackOverflow](http://stackoverflow.com). google-apis-androidpublisher_v3-0.96.0/lib/0000755000004100000410000000000015142404021020547 5ustar www-datawww-datagoogle-apis-androidpublisher_v3-0.96.0/lib/google/0000755000004100000410000000000015142404021022023 5ustar www-datawww-datagoogle-apis-androidpublisher_v3-0.96.0/lib/google/apis/0000755000004100000410000000000015142404021022757 5ustar www-datawww-datagoogle-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3/0000755000004100000410000000000015142404021026725 5ustar www-datawww-datagoogle-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3/gem_version.rb0000644000004100000410000000166215142404021031574 0ustar www-datawww-data# 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. module Google module Apis module AndroidpublisherV3 # Version of the google-apis-androidpublisher_v3 gem GEM_VERSION = "0.96.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from REVISION = "20260204" end end end google-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3/service.rb0000644000004100000410000130373315142404021030724 0ustar www-datawww-data# 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 '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 AndroidpublisherV3 # Google Play Android Developer API # # Lets Android application developers access their Google Play accounts. At a # high level, the expected workflow is to "insert" an Edit, make changes as # necessary, and then "commit" it. # # @example # require 'google/apis/androidpublisher_v3' # # Androidpublisher = Google::Apis::AndroidpublisherV3 # Alias the module # service = Androidpublisher::AndroidPublisherService.new # # @see https://developers.google.com/android-publisher class AndroidPublisherService < Google::Apis::Core::BaseService DEFAULT_ENDPOINT_TEMPLATE = "https://androidpublisher.$UNIVERSE_DOMAIN$/" # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-androidpublisher_v3', client_version: Google::Apis::AndroidpublisherV3::GEM_VERSION) @batch_path = 'batch' end # Writes the Safety Labels declaration of an app. # @param [String] package_name # Required. Package name of the app. # @param [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest] safety_labels_update_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def data_application_safety(package_name, safety_labels_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/dataSafety', options) command.request_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest::Representation command.request_object = safety_labels_update_request_object command.response_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new device tier config for an app. # @param [String] package_name # Package name of the app. # @param [Google::Apis::AndroidpublisherV3::DeviceTierConfig] device_tier_config_object # @param [Boolean] allow_unknown_devices # Whether the service should accept device IDs that are unknown to Play's device # catalog. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_application_device_tier_config(package_name, device_tier_config_object = nil, allow_unknown_devices: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation command.request_object = device_tier_config_object command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig command.params['packageName'] = package_name unless package_name.nil? command.query['allowUnknownDevices'] = allow_unknown_devices unless allow_unknown_devices.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Returns a particular device tier config. # @param [String] package_name # Package name of the app. # @param [Fixnum] device_tier_config_id # Required. Id of an existing device tier config. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_application_device_tier_config(package_name, device_tier_config_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig command.params['packageName'] = package_name unless package_name.nil? command.params['deviceTierConfigId'] = device_tier_config_id unless device_tier_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Returns created device tier configs, ordered by descending creation time. # @param [String] package_name # Package name of the app. # @param [Fixnum] page_size # The maximum number of device tier configs to return. The service may return # fewer than this value. If unspecified, at most 10 device tier configs will be # returned. The maximum value for this field is 100; values above 100 will be # coerced to 100. Device tier configs will be ordered by descending creation # time. # @param [String] page_token # A page token, received from a previous `ListDeviceTierConfigs` call. Provide # this to retrieve the subsequent page. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_application_device_tier_configs(package_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Incrementally update targeting for a recovery action. Note that only the # criteria selected during the creation of recovery action can be expanded. # @param [String] package_name # Required. Package name of the app for which recovery action is to be updated. # @param [Fixnum] app_recovery_id # Required. ID corresponding to the app recovery action. # @param [Google::Apis::AndroidpublisherV3::AddTargetingRequest] add_targeting_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AddTargetingResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AddTargetingResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_apprecovery_targeting(package_name, app_recovery_id, add_targeting_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting', options) command.request_representation = Google::Apis::AndroidpublisherV3::AddTargetingRequest::Representation command.request_object = add_targeting_request_object command.response_representation = Google::Apis::AndroidpublisherV3::AddTargetingResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::AddTargetingResponse command.params['packageName'] = package_name unless package_name.nil? command.params['appRecoveryId'] = app_recovery_id unless app_recovery_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Cancel an already executing app recovery action. Note that this action changes # status of the recovery action to CANCELED. # @param [String] package_name # Required. Package name of the app for which recovery action cancellation is # requested. # @param [Fixnum] app_recovery_id # Required. ID corresponding to the app recovery action. # @param [Google::Apis::AndroidpublisherV3::CancelAppRecoveryRequest] cancel_app_recovery_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::CancelAppRecoveryResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::CancelAppRecoveryResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_apprecovery_app_recovery(package_name, app_recovery_id, cancel_app_recovery_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel', options) command.request_representation = Google::Apis::AndroidpublisherV3::CancelAppRecoveryRequest::Representation command.request_object = cancel_app_recovery_request_object command.response_representation = Google::Apis::AndroidpublisherV3::CancelAppRecoveryResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::CancelAppRecoveryResponse command.params['packageName'] = package_name unless package_name.nil? command.params['appRecoveryId'] = app_recovery_id unless app_recovery_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Create an app recovery action with recovery status as DRAFT. Note that this # action does not execute the recovery action. # @param [String] package_name # Required. Package name of the app on which recovery action is performed. # @param [Google::Apis::AndroidpublisherV3::CreateDraftAppRecoveryRequest] create_draft_app_recovery_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppRecoveryAction] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppRecoveryAction] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_apprecovery_draft_app_recovery(package_name, create_draft_app_recovery_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/appRecoveries', options) command.request_representation = Google::Apis::AndroidpublisherV3::CreateDraftAppRecoveryRequest::Representation command.request_object = create_draft_app_recovery_request_object command.response_representation = Google::Apis::AndroidpublisherV3::AppRecoveryAction::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppRecoveryAction command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deploy an already created app recovery action with recovery status DRAFT. Note # that this action activates the recovery action for all targeted users and # changes its status to ACTIVE. # @param [String] package_name # Required. Package name of the app for which recovery action is deployed. # @param [Fixnum] app_recovery_id # Required. ID corresponding to the app recovery action to deploy. # @param [Google::Apis::AndroidpublisherV3::DeployAppRecoveryRequest] deploy_app_recovery_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::DeployAppRecoveryResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::DeployAppRecoveryResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deploy_apprecovery_app_recovery(package_name, app_recovery_id, deploy_app_recovery_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeployAppRecoveryRequest::Representation command.request_object = deploy_app_recovery_request_object command.response_representation = Google::Apis::AndroidpublisherV3::DeployAppRecoveryResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::DeployAppRecoveryResponse command.params['packageName'] = package_name unless package_name.nil? command.params['appRecoveryId'] = app_recovery_id unless app_recovery_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # List all app recovery action resources associated with a particular package # name and app version. # @param [String] package_name # Required. Package name of the app for which list of recovery actions is # requested. # @param [Fixnum] version_code # Required. Version code targeted by the list of recovery actions. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListAppRecoveriesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListAppRecoveriesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_apprecoveries(package_name, version_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/appRecoveries', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListAppRecoveriesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListAppRecoveriesResponse command.params['packageName'] = package_name unless package_name.nil? command.query['versionCode'] = version_code unless version_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Commits an app edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Boolean] changes_not_sent_for_review # When a rejection happens, the parameter will make sure that the changes in # this edit won't be reviewed until they are explicitly sent for review from # within the Google Play Console UI. These changes will be added to any other # changes that are not yet sent for review. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppEdit] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppEdit] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def commit_edit(package_name, edit_id, changes_not_sent_for_review: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:commit', options) command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppEdit command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['changesNotSentForReview'] = changes_not_sent_for_review unless changes_not_sent_for_review.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes an app edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets an app edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppEdit] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppEdit] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppEdit command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new edit for an app. # @param [String] package_name # Package name of the app. # @param [Google::Apis::AndroidpublisherV3::AppEdit] app_edit_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppEdit] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppEdit] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits', options) command.request_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation command.request_object = app_edit_object command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppEdit command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Validates an app edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppEdit] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppEdit] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:validate', options) command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppEdit command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new APK without uploading the APK itself to Google Play, instead # hosting the APK at a specified URL. This function is only available to # organizations using Managed Play whose application is configured to restrict # distribution to the organizations. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest] apks_add_externally_hosted_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def addexternallyhosted_edit_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted', options) command.request_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest::Representation command.request_object = apks_add_externally_hosted_request_object command.response_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all current APKs of the app and edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ApksListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ApksListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_edit_apks(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options) command.response_representation = Google::Apis::AndroidpublisherV3::ApksListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ApksListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads an APK and adds to the current edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Apk] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Apk] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def upload_edit_apk(package_name, edit_id, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::Apk::Representation command.response_class = Google::Apis::AndroidpublisherV3::Apk command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all current Android App Bundles of the app and edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BundlesListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BundlesListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options) command.response_representation = Google::Apis::AndroidpublisherV3::BundlesListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BundlesListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads a new Android App Bundle to this edit. If you are using the Google API # client libraries, please increase the timeout of the http request before # calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts # and Errors](https://developers.google.com/api-client-library/java/google-api- # java-client/errors) for an example in java. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Boolean] ack_bundle_installation_warning # Deprecated. The installation warning has been removed, it's not necessary to # set this field anymore. # @param [String] device_tier_config_id # Device tier config (DTC) to be used for generating deliverables (APKs). # Contains id of the DTC or "LATEST" for last uploaded DTC. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Bundle] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Bundle] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, device_tier_config_id: nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::Bundle::Representation command.response_class = Google::Apis::AndroidpublisherV3::Bundle command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.nil? command.query['deviceTierConfigId'] = device_tier_config_id unless device_tier_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets country availability. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # The track to read from. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::TrackCountryAvailability] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::TrackCountryAvailability] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_countryavailability(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}', options) command.response_representation = Google::Apis::AndroidpublisherV3::TrackCountryAvailability::Representation command.response_class = Google::Apis::AndroidpublisherV3::TrackCountryAvailability command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads a new deobfuscation file and attaches to the specified APK. # @param [String] package_name # Unique identifier for the Android app. # @param [String] edit_id # Unique identifier for this edit. # @param [Fixnum] apk_version_code # The version code of the APK whose Deobfuscation File is being uploaded. # @param [String] deobfuscation_file_type # The type of the deobfuscation file. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::DeobfuscationFilesUploadResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::DeobfuscationFilesUploadResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::DeobfuscationFilesUploadResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::DeobfuscationFilesUploadResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets details of an app. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppDetails] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppDetails] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_detail(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options) command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppDetails command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches details of an app. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Google::Apis::AndroidpublisherV3::AppDetails] app_details_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppDetails] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppDetails] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options) command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation command.request_object = app_details_object command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppDetails command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates details of an app. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Google::Apis::AndroidpublisherV3::AppDetails] app_details_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::AppDetails] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::AppDetails] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options) command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation command.request_object = app_details_object command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV3::AppDetails command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Fetches the expansion file configuration for the specified APK. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Fixnum] apk_version_code # The version code of the APK whose expansion file configuration is being read # or modified. # @param [String] expansion_file_type # The file type of the file configuration which is being read or modified. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExpansionFile] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExpansionFile] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches the APK's expansion file configuration to reference another APK's # expansion file. To add a new expansion file use the Upload method. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Fixnum] apk_version_code # The version code of the APK whose expansion file configuration is being read # or modified. # @param [String] expansion_file_type # The file type of the expansion file configuration which is being updated. # @param [Google::Apis::AndroidpublisherV3::ExpansionFile] expansion_file_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExpansionFile] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExpansionFile] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options) command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation command.request_object = expansion_file_object command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates the APK's expansion file configuration to reference another APK's # expansion file. To add a new expansion file use the Upload method. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Fixnum] apk_version_code # The version code of the APK whose expansion file configuration is being read # or modified. # @param [String] expansion_file_type # The file type of the file configuration which is being read or modified. # @param [Google::Apis::AndroidpublisherV3::ExpansionFile] expansion_file_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExpansionFile] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExpansionFile] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options) command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation command.request_object = expansion_file_object command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads a new expansion file and attaches to the specified APK. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [Fixnum] apk_version_code # The version code of the APK whose expansion file configuration is being read # or modified. # @param [String] expansion_file_type # The file type of the expansion file configuration which is being updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExpansionFilesUploadResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExpansionFilesUploadResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def upload_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFilesUploadResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFilesUploadResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes the image (specified by id) from the edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # @param [String] image_type # Type of the Image. # @param [String] image_id # Unique identifier an image within the set of images attached to this edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_edit_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.params['imageType'] = image_type unless image_type.nil? command.params['imageId'] = image_id unless image_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes all images for the specified language and image type. Returns an empty # response if no images are found. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). Providing a language that is not supported by the App is a # no-op. # @param [String] image_type # Type of the Image. Providing an image type that refers to no images is a no-op. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deleteall_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.params['imageType'] = image_type unless image_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all images. The response may be empty. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). There must be a store listing for the specified language. # @param [String] image_type # Type of the Image. Providing an image type that refers to no images will # return an empty response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ImagesListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ImagesListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_edit_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ImagesListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ImagesListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.params['imageType'] = image_type unless image_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads an image of the specified language and image type, and adds to the # edit. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). Providing a language that is not supported by the App is a # no-op. # @param [String] image_type # Type of the Image. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ImagesUploadResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ImagesUploadResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def upload_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::ImagesUploadResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ImagesUploadResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.params['imageType'] = image_type unless image_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes a localized store listing. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes all store listings. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deleteall_edit_listing(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings', options) command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets a localized store listing. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Listing] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Listing] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV3::Listing command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all localized store listings. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListingsListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListingsListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_edit_listings(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListingsListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListingsListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches a localized store listing. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # @param [Google::Apis::AndroidpublisherV3::Listing] listing_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Listing] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Listing] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV3::Listing command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates or updates a localized store listing. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] language # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # @param [Google::Apis::AndroidpublisherV3::Listing] listing_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Listing] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Listing] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV3::Listing command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets testers. Note: Testers resource does not support email lists. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # The track to read from. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Testers] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Testers] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_tester(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV3::Testers command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches testers. Note: Testers resource does not support email lists. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # The track to update. # @param [Google::Apis::AndroidpublisherV3::Testers] testers_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Testers] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Testers] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation command.request_object = testers_object command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV3::Testers command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates testers. Note: Testers resource does not support email lists. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # The track to update. # @param [Google::Apis::AndroidpublisherV3::Testers] testers_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Testers] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Testers] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation command.request_object = testers_object command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV3::Testers command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new track. # @param [String] package_name # Required. Package name of the app. # @param [String] edit_id # Required. Identifier of the edit. # @param [Google::Apis::AndroidpublisherV3::TrackConfig] track_config_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Track] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Track] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_edit_track(package_name, edit_id, track_config_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks', options) command.request_representation = Google::Apis::AndroidpublisherV3::TrackConfig::Representation command.request_object = track_config_object command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.response_class = Google::Apis::AndroidpublisherV3::Track command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets a track. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # Identifier of the track. [More on track name](https://developers.google.com/ # android-publisher/tracks#ff-track-name) # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Track] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Track] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_edit_track(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.response_class = Google::Apis::AndroidpublisherV3::Track command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all tracks. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::TracksListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::TracksListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_edit_tracks(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks', options) command.response_representation = Google::Apis::AndroidpublisherV3::TracksListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::TracksListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches a track. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # Identifier of the track. [More on track name](https://developers.google.com/ # android-publisher/tracks#ff-track-name) # @param [Google::Apis::AndroidpublisherV3::Track] track_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Track] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Track] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.request_object = track_object command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.response_class = Google::Apis::AndroidpublisherV3::Track command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a track. # @param [String] package_name # Package name of the app. # @param [String] edit_id # Identifier of the edit. # @param [String] track # Identifier of the track. [More on track name](https://developers.google.com/ # android-publisher/tracks#ff-track-name) # @param [Google::Apis::AndroidpublisherV3::Track] track_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Track] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Track] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.request_object = track_object command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation command.response_class = Google::Apis::AndroidpublisherV3::Track command.params['packageName'] = package_name unless package_name.nil? command.params['editId'] = edit_id unless edit_id.nil? command.params['track'] = track unless track.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new external transaction. # @param [String] parent # Required. The parent resource where this external transaction will be created. # Format: applications/`package_name` # @param [Google::Apis::AndroidpublisherV3::ExternalTransaction] external_transaction_object # @param [String] external_transaction_id # Required. The id to use for the external transaction. Must be unique across # all other transactions for the app. This value should be 1-63 characters and # valid characters are /a-zA-Z0-9_-/. Do not use this field to store any # Personally Identifiable Information (PII) such as emails. Attempting to store # PII in this field may result in requests being blocked. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExternalTransaction] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExternalTransaction] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def createexternaltransaction_externaltransaction(parent, external_transaction_object = nil, external_transaction_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/{+parent}/externalTransactions', options) command.request_representation = Google::Apis::AndroidpublisherV3::ExternalTransaction::Representation command.request_object = external_transaction_object command.response_representation = Google::Apis::AndroidpublisherV3::ExternalTransaction::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExternalTransaction command.params['parent'] = parent unless parent.nil? command.query['externalTransactionId'] = external_transaction_id unless external_transaction_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets an existing external transaction. # @param [String] name # Required. The name of the external transaction to retrieve. Format: # applications/`package_name`/externalTransactions/`external_transaction` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExternalTransaction] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExternalTransaction] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def getexternaltransaction_externaltransaction(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/{+name}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ExternalTransaction::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExternalTransaction command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Refunds or partially refunds an existing external transaction. # @param [String] name # Required. The name of the external transaction that will be refunded. Format: # applications/`package_name`/externalTransactions/`external_transaction` # @param [Google::Apis::AndroidpublisherV3::RefundExternalTransactionRequest] refund_external_transaction_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ExternalTransaction] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ExternalTransaction] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def refundexternaltransaction_externaltransaction(name, refund_external_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/{+name}:refund', options) command.request_representation = Google::Apis::AndroidpublisherV3::RefundExternalTransactionRequest::Representation command.request_object = refund_external_transaction_request_object command.response_representation = Google::Apis::AndroidpublisherV3::ExternalTransaction::Representation command.response_class = Google::Apis::AndroidpublisherV3::ExternalTransaction command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Downloads a single signed APK generated from an app bundle. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # Version code of the app bundle. # @param [String] download_id # Download ID, which uniquely identifies the APK to download. Can be obtained # from the response of `generatedapks.list` method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] download_dest # IO stream or filename to receive content download # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def download_generatedapk(package_name, version_code, download_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options) else command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options) command.download_dest = download_dest end command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.params['downloadId'] = download_id unless download_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Returns download metadata for all APKs that were generated from a given app # bundle. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # Version code of the app bundle. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_generatedapks(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}', options) command.response_representation = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Grant access for a user to the given package. # @param [String] parent # Required. The user which needs permission. Format: developers/`developer`/ # users/`user` # @param [Google::Apis::AndroidpublisherV3::Grant] grant_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Grant] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Grant] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_grant(parent, grant_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/{+parent}/grants', options) command.request_representation = Google::Apis::AndroidpublisherV3::Grant::Representation command.request_object = grant_object command.response_representation = Google::Apis::AndroidpublisherV3::Grant::Representation command.response_class = Google::Apis::AndroidpublisherV3::Grant command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Removes all access for the user to the given package or developer account. # @param [String] name # Required. The name of the grant to delete. Format: developers/`developer`/ # users/`email`/grants/`package_name` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_grant(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/{+name}', options) command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates access for the user to the given package. # @param [String] name # Required. Resource name for this grant, following the pattern "developers/` # developer`/users/`email`/grants/`package_name`". If this grant is for a draft # app, the app ID will be used in this resource name instead of the package name. # @param [Google::Apis::AndroidpublisherV3::Grant] grant_object # @param [String] update_mask # Optional. The list of fields to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Grant] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Grant] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_grant(name, grant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/{+name}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Grant::Representation command.request_object = grant_object command.response_representation = Google::Apis::AndroidpublisherV3::Grant::Representation command.response_class = Google::Apis::AndroidpublisherV3::Grant command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes in-app products (managed products or subscriptions). Set the # latencyTolerance field on nested requests to # PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update # throughput. This method should not be used to delete subscriptions. See [this # article](https://android-developers.googleblog.com/2023/06/changes-to-google- # play-developer-api-june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [Google::Apis::AndroidpublisherV3::InappproductsBatchDeleteRequest] inappproducts_batch_delete_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_inappproduct_delete(package_name, inappproducts_batch_delete_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete', options) command.request_representation = Google::Apis::AndroidpublisherV3::InappproductsBatchDeleteRequest::Representation command.request_object = inappproducts_batch_delete_request_object command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads multiple in-app products, which can be managed products or subscriptions. # This method should not be used to retrieve subscriptions. See [this article]( # https://android-developers.googleblog.com/2023/06/changes-to-google-play- # developer-api-june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [Array, String] sku # Unique identifier for the in-app products. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InappproductsBatchGetResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InappproductsBatchGetResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_inappproduct_get(package_name, sku: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/inappproducts:batchGet', options) command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsBatchGetResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::InappproductsBatchGetResponse command.params['packageName'] = package_name unless package_name.nil? command.query['sku'] = sku unless sku.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates or inserts one or more in-app products (managed products or # subscriptions). Set the latencyTolerance field on nested requests to # PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update # throughput. This method should no longer be used to update subscriptions. See [ # this article](https://android-developers.googleblog.com/2023/06/changes-to- # google-play-developer-api-june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateRequest] inappproducts_batch_update_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_inappproduct_update(package_name, inappproducts_batch_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate', options) command.request_representation = Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateRequest::Representation command.request_object = inappproducts_batch_update_request_object command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateResponse command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes an in-app product (a managed product or a subscription). This method # should no longer be used to delete subscriptions. See [this article](https:// # android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api- # june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [String] sku # Unique identifier for the in-app product. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_inappproduct(package_name, sku, latency_tolerance: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['sku'] = sku unless sku.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets an in-app product, which can be a managed product or a subscription. This # method should no longer be used to retrieve subscriptions. See [this article]( # https://android-developers.googleblog.com/2023/06/changes-to-google-play- # developer-api-june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [String] sku # Unique identifier for the in-app product. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InAppProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InAppProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_inappproduct(package_name, sku, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options) command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct command.params['packageName'] = package_name unless package_name.nil? command.params['sku'] = sku unless sku.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates an in-app product (a managed product or a subscription). This method # should no longer be used to create subscriptions. See [this article](https:// # android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api- # june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object # @param [Boolean] auto_convert_missing_prices # If true the prices for all regions targeted by the parent app that don't have # a price specified for this in-app product will be auto converted to the target # currency based on the default price. Defaults to false. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InAppProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InAppProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_inappproduct(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/inappproducts', options) command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct command.params['packageName'] = package_name unless package_name.nil? command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all in-app products - both managed products and subscriptions. If an app # has a large number of in-app products, the response may be paginated. In this # case the response field `tokenPagination.nextPageToken` will be set and the # caller should provide its value as a `token` request parameter to retrieve the # next page. This method should no longer be used to retrieve subscriptions. See # [this article](https://android-developers.googleblog.com/2023/06/changes-to- # google-play-developer-api-june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [Fixnum] max_results # Deprecated and ignored. The page size is determined by the server. # @param [Fixnum] start_index # Deprecated and ignored. Set the `token` parameter to retrieve the next page. # @param [String] token # Pagination token. If empty, list starts at the first product. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InappproductsListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InappproductsListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_inappproducts(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/inappproducts', options) command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::InappproductsListResponse command.params['packageName'] = package_name unless package_name.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['startIndex'] = start_index unless start_index.nil? command.query['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Patches an in-app product (a managed product or a subscription). This method # should no longer be used to update subscriptions. See [this article](https:// # android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api- # june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [String] sku # Unique identifier for the in-app product. # @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object # @param [Boolean] auto_convert_missing_prices # If true the prices for all regions targeted by the parent app that don't have # a price specified for this in-app product will be auto converted to the target # currency based on the default price. Defaults to false. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InAppProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InAppProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, latency_tolerance: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options) command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct command.params['packageName'] = package_name unless package_name.nil? command.params['sku'] = sku unless sku.nil? command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates an in-app product (a managed product or a subscription). This method # should no longer be used to update subscriptions. See [this article](https:// # android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api- # june-2023.html) for more information. # @param [String] package_name # Package name of the app. # @param [String] sku # Unique identifier for the in-app product. # @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object # @param [Boolean] allow_missing # If set to true, and the in-app product with the given package_name and sku # doesn't exist, the in-app product will be created. # @param [Boolean] auto_convert_missing_prices # If true the prices for all regions targeted by the parent app that don't have # a price specified for this in-app product will be auto converted to the target # currency based on the default price. Defaults to false. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InAppProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InAppProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_inappproduct(package_name, sku, in_app_product_object = nil, allow_missing: nil, auto_convert_missing_prices: nil, latency_tolerance: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options) command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct command.params['packageName'] = package_name unless package_name.nil? command.params['sku'] = sku unless sku.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads an APK to internal app sharing. If you are using the Google API client # libraries, please increase the timeout of the http request before calling this # endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors]( # https://developers.google.com/api-client-library/java/google-api-java-client/ # errors) for an example in java. # @param [String] package_name # Package name of the app. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Uploads an app bundle to internal app sharing. If you are using the Google API # client libraries, please increase the timeout of the http request before # calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts # and Errors](https://developers.google.com/api-client-library/java/google-api- # java-client/errors) for an example in java. # @param [String] package_name # Package name of the app. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] upload_source # IO stream or filename containing content to upload # @param [String] content_type # Content type of the uploaded content. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle', options) else command = make_upload_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle', options) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Calculates the region prices, using today's exchange rate and country-specific # pricing patterns, based on the price in the request for a set of regions. # @param [String] package_name # Required. The app package name. # @param [Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest] convert_region_prices_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def convert_monetization_region_prices(package_name, convert_region_prices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices', options) command.request_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest::Representation command.request_object = convert_region_prices_request_object command.response_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes one or more one-time products. # @param [String] package_name # Required. The parent app (package name) for which the one-time products should # be deleted. Must be equal to the package_name field on all the OneTimeProduct # resources. # @param [Google::Apis::AndroidpublisherV3::BatchDeleteOneTimeProductsRequest] batch_delete_one_time_products_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_onetimeproduct_delete_one_time_products(package_name, batch_delete_one_time_products_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchDeleteOneTimeProductsRequest::Representation command.request_object = batch_delete_one_time_products_request_object command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads one or more one-time products. # @param [String] package_name # Required. The parent app (package name) for which the products should be # retrieved. Must be equal to the package_name field on all requests. # @param [Array, String] product_ids # Required. A list of up to 100 product IDs to retrieve. All IDs must be # different. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_onetimeproduct_get(package_name, product_ids: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet', options) command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['productIds'] = product_ids unless product_ids.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates or updates one or more one-time products. # @param [String] package_name # Required. The parent app (package name) for which the one-time products should # be updated. Must be equal to the package_name field on all the OneTimeProduct # resources. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsRequest] batch_update_one_time_products_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_onetimeproduct_update_one_time_products(package_name, batch_update_one_time_products_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsRequest::Representation command.request_object = batch_update_one_time_products_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes a one-time product. # @param [String] package_name # Required. The parent app (package name) of the one-time product to delete. # @param [String] product_id # Required. The one-time product ID of the one-time product to delete. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_monetization_onetimeproduct(package_name, product_id, latency_tolerance: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads a single one-time product. # @param [String] package_name # Required. The parent app (package name) of the product to retrieve. # @param [String] product_id # Required. The product ID of the product to retrieve. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::OneTimeProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::OneTimeProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_monetization_onetimeproduct(package_name, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::OneTimeProduct command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all one-time products under a given app. # @param [String] package_name # Required. The parent app (package name) for which the one-time product should # be read. # @param [Fixnum] page_size # Optional. The maximum number of one-time product to return. The service may # return fewer than this value. If unspecified, at most 50 one-time products # will be returned. The maximum value is 1000; values above 1000 will be coerced # to 1000. # @param [String] page_token # Optional. A page token, received from a previous `ListOneTimeProducts` call. # Provide this to retrieve the subsequent page. When paginating, all other # parameters provided to `ListOneTimeProducts` must match the call that provided # the page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListOneTimeProductsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListOneTimeProductsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_monetization_onetimeproducts(package_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListOneTimeProductsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListOneTimeProductsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates or updates a one-time product. # @param [String] package_name # Required. Immutable. Package name of the parent app. # @param [String] product_id # Required. Immutable. Unique product ID of the product. Unique within the # parent app. Product IDs must start with a number or lowercase letter, and can # contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (. # ). # @param [Google::Apis::AndroidpublisherV3::OneTimeProduct] one_time_product_object # @param [Boolean] allow_missing # Optional. If set to true, and the one-time product with the given package_name # and product_id doesn't exist, the one-time product will be created. If a new # one-time product is created, update_mask is ignored. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product upsert. # Defaults to latency-sensitive. # @param [String] regions_version_version # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # @param [String] update_mask # Required. The list of fields to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::OneTimeProduct] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::OneTimeProduct] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_monetization_onetimeproduct(package_name, product_id, one_time_product_object = nil, allow_missing: nil, latency_tolerance: nil, regions_version_version: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}', options) command.request_representation = Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation command.request_object = one_time_product_object command.response_representation = Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation command.response_class = Google::Apis::AndroidpublisherV3::OneTimeProduct command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['regionsVersion.version'] = regions_version_version unless regions_version_version.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes purchase options across one or multiple one-time products. By default # this operation will fail if there are any existing offers under the deleted # purchase options. Use the force parameter to override the default behavior. # @param [String] package_name # Required. The parent app (package name) of the purchase options to delete. # @param [String] product_id # Required. The product ID of the parent one-time product, if all purchase # options to delete belong to the same one-time product. If this batch delete # spans multiple one-time products, set this field to "-". # @param [Google::Apis::AndroidpublisherV3::BatchDeletePurchaseOptionsRequest] batch_delete_purchase_options_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_delete_purchase_options(package_name, product_id, batch_delete_purchase_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchDeletePurchaseOptionsRequest::Representation command.request_object = batch_delete_purchase_options_request_object command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Activates or deactivates purchase options across one or multiple one-time # products. # @param [String] package_name # Required. The parent app (package name) of the updated purchase options. # @param [String] product_id # Required. The product ID of the parent one-time product, if all updated # purchase options belong to the same one-time product. If this batch update # spans multiple one-time products, set this field to "-". # @param [Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesRequest] batch_update_purchase_option_states_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_onetimeproduct_purchase_option_update_states(package_name, product_id, batch_update_purchase_option_states_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesRequest::Representation command.request_object = batch_update_purchase_option_states_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdatePurchaseOptionStatesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Activates a one-time product offer. # @param [String] package_name # Required. The parent app (package name) of the offer to activate. # @param [String] product_id # Required. The parent one-time product (ID) of the offer to activate. # @param [String] purchase_option_id # Required. The parent purchase option (ID) of the offer to activate. # @param [String] offer_id # Required. The offer ID of the offer to activate. # @param [Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest] activate_one_time_product_offer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def activate_one_time_product_offer(package_name, product_id, purchase_option_id, offer_id, activate_one_time_product_offer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate', options) command.request_representation = Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest::Representation command.request_object = activate_one_time_product_offer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::OneTimeProductOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes one or more one-time product offers. # @param [String] package_name # Required. The parent app (package name) of the offers to delete. Must be equal # to the package_name field on all the OneTimeProductOffer resources. # @param [String] product_id # Required. The product ID of the parent one-time product, if all offers to # delete belong to the same product. If this request spans multiple one-time # products, set this field to "-". # @param [String] purchase_option_id # Required. The parent purchase option (ID) for which the offers should be # deleted. May be specified as '-' to update offers from multiple purchase # options. # @param [Google::Apis::AndroidpublisherV3::BatchDeleteOneTimeProductOffersRequest] batch_delete_one_time_product_offers_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_delete_one_time_product_offers(package_name, product_id, purchase_option_id, batch_delete_one_time_product_offers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchDeleteOneTimeProductOffersRequest::Representation command.request_object = batch_delete_one_time_product_offers_request_object command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads one or more one-time product offers. # @param [String] package_name # Required. The parent app (package name) of the updated offers. Must be equal # to the package_name field on all the updated OneTimeProductOffer resources. # @param [String] product_id # Required. The product ID of the parent one-time product, if all updated offers # belong to the same product. If this request spans multiple one-time products, # set this field to "-". # @param [String] purchase_option_id # Required. The parent purchase option (ID) for which the offers should be # updated. May be specified as '-' to update offers from multiple purchase # options. # @param [Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersRequest] batch_get_one_time_product_offers_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_get_one_time_product_offers(package_name, product_id, purchase_option_id, batch_get_one_time_product_offers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersRequest::Representation command.request_object = batch_get_one_time_product_offers_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchGetOneTimeProductOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates or updates one or more one-time product offers. # @param [String] package_name # Required. The parent app (package name) of the updated offers. Must be equal # to the package_name field on all the updated OneTimeProductOffer resources. # @param [String] product_id # Required. The product ID of the parent one-time product, if all updated offers # belong to the same product. If this request spans multiple one-time products, # set this field to "-". # @param [String] purchase_option_id # Required. The parent purchase option (ID) for which the offers should be # updated. May be specified as '-' to update offers from multiple purchase # options. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersRequest] batch_update_one_time_product_offers_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_update_one_time_product_offers(package_name, product_id, purchase_option_id, batch_update_one_time_product_offers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersRequest::Representation command.request_object = batch_update_one_time_product_offers_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a batch of one-time product offer states. # @param [String] package_name # Required. The parent app (package name) of the updated one-time product offers. # @param [String] product_id # Required. The product ID of the parent one-time product, if all updated offers # belong to the same one-time product. If this batch update spans multiple one- # time products, set this field to "-". # @param [String] purchase_option_id # Required. The purchase option ID of the parent purchase option, if all updated # offers belong to the same purchase option. If this batch update spans multiple # purchase options, set this field to "-". # @param [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesRequest] batch_update_one_time_product_offer_states_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_onetimeproduct_purchase_option_offer_update_states(package_name, product_id, purchase_option_id, batch_update_one_time_product_offer_states_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesRequest::Representation command.request_object = batch_update_one_time_product_offer_states_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Cancels a one-time product offer. # @param [String] package_name # Required. The parent app (package name) of the offer to cancel. # @param [String] product_id # Required. The parent one-time product (ID) of the offer to cancel. # @param [String] purchase_option_id # Required. The parent purchase option (ID) of the offer to cancel. # @param [String] offer_id # Required. The offer ID of the offer to cancel. # @param [Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest] cancel_one_time_product_offer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_one_time_product_offer(package_name, product_id, purchase_option_id, offer_id, cancel_one_time_product_offer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel', options) command.request_representation = Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest::Representation command.request_object = cancel_one_time_product_offer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::OneTimeProductOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deactivates a one-time product offer. # @param [String] package_name # Required. The parent app (package name) of the offer to deactivate. # @param [String] product_id # Required. The parent one-time product (ID) of the offer to deactivate. # @param [String] purchase_option_id # Required. The parent purchase option (ID) of the offer to deactivate. # @param [String] offer_id # Required. The offer ID of the offer to deactivate. # @param [Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest] deactivate_one_time_product_offer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deactivate_one_time_product_offer(package_name, product_id, purchase_option_id, offer_id, deactivate_one_time_product_offer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest::Representation command.request_object = deactivate_one_time_product_offer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::OneTimeProductOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all offers under a given app, product, or purchase option. # @param [String] package_name # Required. The parent app (package name) for which the offers should be read. # @param [String] product_id # Required. The parent one-time product (ID) for which the offers should be read. # May be specified as '-' to read all offers under an app. # @param [String] purchase_option_id # Required. The parent purchase option (ID) for which the offers should be read. # May be specified as '-' to read all offers under a one-time product or an app. # Must be specified as '-' if product_id is specified as '-'. # @param [Fixnum] page_size # Optional. The maximum number of offers to return. The service may return fewer # than this value. If unspecified, at most 50 offers will be returned. The # maximum value is 1000; values above 1000 will be coerced to 1000. # @param [String] page_token # Optional. A page token, received from a previous `ListOneTimeProductsOffers` # call. Provide this to retrieve the subsequent page. When paginating, # product_id, package_name and purchase_option_id provided to ` # ListOneTimeProductsOffersRequest` must match the call that provided the page # token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListOneTimeProductOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListOneTimeProductOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_monetization_onetimeproduct_purchase_option_offers(package_name, product_id, purchase_option_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListOneTimeProductOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListOneTimeProductOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['purchaseOptionId'] = purchase_option_id unless purchase_option_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deprecated: subscription archiving is not supported. # @param [String] package_name # Required. The parent app (package name) of the app of the subscription to # delete. # @param [String] product_id # Required. The unique product ID of the subscription to delete. # @param [Google::Apis::AndroidpublisherV3::ArchiveSubscriptionRequest] archive_subscription_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def archive_subscription(package_name, product_id, archive_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive', options) command.request_representation = Google::Apis::AndroidpublisherV3::ArchiveSubscriptionRequest::Representation command.request_object = archive_subscription_request_object command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads one or more subscriptions. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # retrieved. Must be equal to the package_name field on all the requests. # @param [Array, String] product_ids # Required. A list of up to 100 subscription product IDs to retrieve. All the # IDs must be different. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetSubscriptionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchGetSubscriptionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_subscription_get(package_name, product_ids: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/subscriptions:batchGet', options) command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetSubscriptionsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchGetSubscriptionsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['productIds'] = product_ids unless product_ids.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a batch of subscriptions. Set the latencyTolerance field on nested # requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve # maximum update throughput. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # updated. Must be equal to the package_name field on all the Subscription # resources. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsRequest] batch_update_subscriptions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_update_subscriptions(package_name, batch_update_subscriptions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsRequest::Representation command.request_object = batch_update_subscriptions_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new subscription. Newly added base plans will remain in draft state # until activated. # @param [String] package_name # Required. The parent app (package name) for which the subscription should be # created. Must be equal to the package_name field on the Subscription resource. # @param [Google::Apis::AndroidpublisherV3::Subscription] subscription_object # @param [String] product_id # Required. The ID to use for the subscription. For the requirements on this # format, see the documentation of the product_id field on the Subscription # resource. # @param [String] regions_version_version # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_monetization_subscription(package_name, subscription_object = nil, product_id: nil, regions_version_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions', options) command.request_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.request_object = subscription_object command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.query['productId'] = product_id unless product_id.nil? command.query['regionsVersion.version'] = regions_version_version unless regions_version_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes a subscription. A subscription can only be deleted if it has never had # a base plan published. # @param [String] package_name # Required. The parent app (package name) of the app of the subscription to # delete. # @param [String] product_id # Required. The unique product ID of the subscription to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_monetization_subscription(package_name, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads a single subscription. # @param [String] package_name # Required. The parent app (package name) of the subscription to get. # @param [String] product_id # Required. The unique product ID of the subscription to get. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_monetization_subscription(package_name, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all subscriptions under a given app. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # read. # @param [Fixnum] page_size # The maximum number of subscriptions to return. The service may return fewer # than this value. If unspecified, at most 50 subscriptions will be returned. # The maximum value is 1000; values above 1000 will be coerced to 1000. # @param [String] page_token # A page token, received from a previous `ListSubscriptions` call. Provide this # to retrieve the subsequent page. When paginating, all other parameters # provided to `ListSubscriptions` must match the call that provided the page # token. # @param [Boolean] show_archived # Deprecated: subscription archiving is not supported. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListSubscriptionsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListSubscriptionsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_monetization_subscriptions(package_name, page_size: nil, page_token: nil, show_archived: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/subscriptions', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListSubscriptionsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListSubscriptionsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['showArchived'] = show_archived unless show_archived.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates an existing subscription. # @param [String] package_name # Immutable. Package name of the parent app. # @param [String] product_id # Immutable. Unique product ID of the product. Unique within the parent app. # Product IDs must be composed of lower-case letters (a-z), numbers (0-9), # underscores (_) and dots (.). It must start with a lower-case letter or number, # and be between 1 and 40 (inclusive) characters in length. # @param [Google::Apis::AndroidpublisherV3::Subscription] subscription_object # @param [Boolean] allow_missing # Optional. If set to true, and the subscription with the given package_name and # product_id doesn't exist, the subscription will be created. If a new # subscription is created, update_mask is ignored. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] regions_version_version # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # @param [String] update_mask # Required. The list of fields to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_monetization_subscription(package_name, product_id, subscription_object = nil, allow_missing: nil, latency_tolerance: nil, regions_version_version: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}', options) command.request_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.request_object = subscription_object command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['regionsVersion.version'] = regions_version_version unless regions_version_version.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Activates a base plan. Once activated, base plans will be available to new # subscribers. # @param [String] package_name # Required. The parent app (package name) of the base plan to activate. # @param [String] product_id # Required. The parent subscription (ID) of the base plan to activate. # @param [String] base_plan_id # Required. The unique base plan ID of the base plan to activate. # @param [Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest] activate_base_plan_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def activate_base_plan(package_name, product_id, base_plan_id, activate_base_plan_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate', options) command.request_representation = Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest::Representation command.request_object = activate_base_plan_request_object command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance # field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT # to achieve maximum update throughput. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # created or updated. Must be equal to the package_name field on all the # Subscription resources. # @param [String] product_id # Required. The product ID of the parent subscription, if all updated offers # belong to the same subscription. If this batch update spans multiple # subscriptions, set this field to "-". Must be set. # @param [Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesRequest] batch_migrate_base_plan_prices_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_subscription_base_plan_migrate_prices(package_name, product_id, batch_migrate_base_plan_prices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesRequest::Representation command.request_object = batch_migrate_base_plan_prices_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchMigrateBasePlanPricesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Activates or deactivates base plans across one or multiple subscriptions. Set # the latencyTolerance field on nested requests to # PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update # throughput. # @param [String] package_name # Required. The parent app (package name) of the updated base plans. # @param [String] product_id # Required. The product ID of the parent subscription, if all updated base plans # belong to the same subscription. If this batch update spans multiple # subscriptions, set this field to "-". Must be set. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesRequest] batch_update_base_plan_states_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_subscription_base_plan_update_states(package_name, product_id, batch_update_base_plan_states_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesRequest::Representation command.request_object = batch_update_base_plan_states_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateBasePlanStatesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deactivates a base plan. Once deactivated, the base plan will become # unavailable to new subscribers, but existing subscribers will maintain their # subscription # @param [String] package_name # Required. The parent app (package name) of the base plan to deactivate. # @param [String] product_id # Required. The parent subscription (ID) of the base plan to deactivate. # @param [String] base_plan_id # Required. The unique base plan ID of the base plan to deactivate. # @param [Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest] deactivate_base_plan_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Subscription] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Subscription] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deactivate_base_plan(package_name, product_id, base_plan_id, deactivate_base_plan_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest::Representation command.request_object = deactivate_base_plan_request_object command.response_representation = Google::Apis::AndroidpublisherV3::Subscription::Representation command.response_class = Google::Apis::AndroidpublisherV3::Subscription command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes a base plan. Can only be done for draft base plans. This action is # irreversible. # @param [String] package_name # Required. The parent app (package name) of the base plan to delete. # @param [String] product_id # Required. The parent subscription (ID) of the base plan to delete. # @param [String] base_plan_id # Required. The unique offer ID of the base plan to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_monetization_subscription_base_plan(package_name, product_id, base_plan_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Migrates subscribers from one or more legacy price cohorts to the current # price. Requests result in Google Play notifying affected subscribers. Only up # to 250 simultaneous legacy price cohorts are supported. # @param [String] package_name # Required. Package name of the parent app. Must be equal to the package_name # field on the Subscription resource. # @param [String] product_id # Required. The ID of the subscription to update. Must be equal to the # product_id field on the Subscription resource. # @param [String] base_plan_id # Required. The unique base plan ID of the base plan to update prices on. # @param [Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest] migrate_base_plan_prices_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def migrate_monetization_subscription_base_plan_prices(package_name, product_id, base_plan_id, migrate_base_plan_prices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices', options) command.request_representation = Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest::Representation command.request_object = migrate_base_plan_prices_request_object command.response_representation = Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Activates a subscription offer. Once activated, subscription offers will be # available to new subscribers. # @param [String] package_name # Required. The parent app (package name) of the offer to activate. # @param [String] product_id # Required. The parent subscription (ID) of the offer to activate. # @param [String] base_plan_id # Required. The parent base plan (ID) of the offer to activate. # @param [String] offer_id # Required. The unique offer ID of the offer to activate. # @param [Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest] activate_subscription_offer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def activate_subscription_offer(package_name, product_id, base_plan_id, offer_id, activate_subscription_offer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate', options) command.request_representation = Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest::Representation command.request_object = activate_subscription_offer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads one or more subscription offers. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # created or updated. Must be equal to the package_name field on all the # requests. # @param [String] product_id # Required. The product ID of the parent subscription, if all updated offers # belong to the same subscription. If this request spans multiple subscriptions, # set this field to "-". Must be set. # @param [String] base_plan_id # Required. The parent base plan (ID) for which the offers should be read. May # be specified as '-' to read offers from multiple base plans. # @param [Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersRequest] batch_get_subscription_offers_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_get_subscription_offers(package_name, product_id, base_plan_id, batch_get_subscription_offers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersRequest::Representation command.request_object = batch_get_subscription_offers_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchGetSubscriptionOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a batch of subscription offers. Set the latencyTolerance field on # nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to # achieve maximum update throughput. # @param [String] package_name # Required. The parent app (package name) of the updated subscription offers. # Must be equal to the package_name field on all the updated SubscriptionOffer # resources. # @param [String] product_id # Required. The product ID of the parent subscription, if all updated offers # belong to the same subscription. If this request spans multiple subscriptions, # set this field to "-". Must be set. # @param [String] base_plan_id # Required. The parent base plan (ID) for which the offers should be updated. # May be specified as '-' to update offers from multiple base plans. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersRequest] batch_update_subscription_offers_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_update_subscription_offers(package_name, product_id, base_plan_id, batch_update_subscription_offers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersRequest::Representation command.request_object = batch_update_subscription_offers_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates a batch of subscription offer states. Set the latencyTolerance field # on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to # achieve maximum update throughput. # @param [String] package_name # Required. The parent app (package name) of the updated subscription offers. # Must be equal to the package_name field on all the updated SubscriptionOffer # resources. # @param [String] product_id # Required. The product ID of the parent subscription, if all updated offers # belong to the same subscription. If this request spans multiple subscriptions, # set this field to "-". Must be set. # @param [String] base_plan_id # Required. The parent base plan (ID) for which the offers should be updated. # May be specified as '-' to update offers from multiple base plans. # @param [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesRequest] batch_update_subscription_offer_states_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batch_monetization_subscription_base_plan_offer_update_states(package_name, product_id, base_plan_id, batch_update_subscription_offer_states_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates', options) command.request_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesRequest::Representation command.request_object = batch_update_subscription_offer_states_request_object command.response_representation = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchUpdateSubscriptionOfferStatesResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates a new subscription offer. Only auto-renewing base plans can have # subscription offers. The offer state will be DRAFT until it is activated. # @param [String] package_name # Required. The parent app (package name) for which the offer should be created. # Must be equal to the package_name field on the Subscription resource. # @param [String] product_id # Required. The parent subscription (ID) for which the offer should be created. # Must be equal to the product_id field on the SubscriptionOffer resource. # @param [String] base_plan_id # Required. The parent base plan (ID) for which the offer should be created. # Must be equal to the base_plan_id field on the SubscriptionOffer resource. # @param [Google::Apis::AndroidpublisherV3::SubscriptionOffer] subscription_offer_object # @param [String] offer_id # Required. The ID to use for the offer. For the requirements on this format, # see the documentation of the offer_id field on the SubscriptionOffer resource. # @param [String] regions_version_version # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_monetization_subscription_base_plan_offer(package_name, product_id, base_plan_id, subscription_offer_object = nil, offer_id: nil, regions_version_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers', options) command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.request_object = subscription_offer_object command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['offerId'] = offer_id unless offer_id.nil? command.query['regionsVersion.version'] = regions_version_version unless regions_version_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deactivates a subscription offer. Once deactivated, existing subscribers will # maintain their subscription, but the offer will become unavailable to new # subscribers. # @param [String] package_name # Required. The parent app (package name) of the offer to deactivate. # @param [String] product_id # Required. The parent subscription (ID) of the offer to deactivate. # @param [String] base_plan_id # Required. The parent base plan (ID) of the offer to deactivate. # @param [String] offer_id # Required. The unique offer ID of the offer to deactivate. # @param [Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest] deactivate_subscription_offer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deactivate_subscription_offer(package_name, product_id, base_plan_id, offer_id, deactivate_subscription_offer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest::Representation command.request_object = deactivate_subscription_offer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deletes a subscription offer. Can only be done for draft offers. This action # is irreversible. # @param [String] package_name # Required. The parent app (package name) of the offer to delete. # @param [String] product_id # Required. The parent subscription (ID) of the offer to delete. # @param [String] base_plan_id # Required. The parent base plan (ID) of the offer to delete. # @param [String] offer_id # Required. The unique offer ID of the offer to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_monetization_subscription_base_plan_offer(package_name, product_id, base_plan_id, offer_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}', options) command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Reads a single offer # @param [String] package_name # Required. The parent app (package name) of the offer to get. # @param [String] product_id # Required. The parent subscription (ID) of the offer to get. # @param [String] base_plan_id # Required. The parent base plan (ID) of the offer to get. # @param [String] offer_id # Required. The unique offer ID of the offer to get. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_monetization_subscription_base_plan_offer(package_name, product_id, base_plan_id, offer_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all offers under a given subscription. # @param [String] package_name # Required. The parent app (package name) for which the subscriptions should be # read. # @param [String] product_id # Required. The parent subscription (ID) for which the offers should be read. # May be specified as '-' to read all offers under an app. # @param [String] base_plan_id # Required. The parent base plan (ID) for which the offers should be read. May # be specified as '-' to read all offers under a subscription or an app. Must be # specified as '-' if product_id is specified as '-'. # @param [Fixnum] page_size # The maximum number of subscriptions to return. The service may return fewer # than this value. If unspecified, at most 50 subscriptions will be returned. # The maximum value is 1000; values above 1000 will be coerced to 1000. # @param [String] page_token # A page token, received from a previous `ListSubscriptionsOffers` call. Provide # this to retrieve the subsequent page. When paginating, all other parameters # provided to `ListSubscriptionOffers` must match the call that provided the # page token. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListSubscriptionOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListSubscriptionOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_monetization_subscription_base_plan_offers(package_name, product_id, base_plan_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListSubscriptionOffersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListSubscriptionOffersResponse command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates an existing subscription offer. # @param [String] package_name # Required. Immutable. The package name of the app the parent subscription # belongs to. # @param [String] product_id # Required. Immutable. The ID of the parent subscription this offer belongs to. # @param [String] base_plan_id # Required. Immutable. The ID of the base plan to which this offer is an # extension. # @param [String] offer_id # Required. Immutable. Unique ID of this subscription offer. Must be unique # within the base plan. # @param [Google::Apis::AndroidpublisherV3::SubscriptionOffer] subscription_offer_object # @param [Boolean] allow_missing # Optional. If set to true, and the subscription offer with the given # package_name, product_id, base_plan_id and offer_id doesn't exist, an offer # will be created. If a new offer is created, update_mask is ignored. # @param [String] latency_tolerance # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # @param [String] regions_version_version # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # @param [String] update_mask # Required. The list of fields to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionOffer] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_monetization_subscription_base_plan_offer(package_name, product_id, base_plan_id, offer_id, subscription_offer_object = nil, allow_missing: nil, latency_tolerance: nil, regions_version_version: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}', options) command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.request_object = subscription_offer_object command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionOffer command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['basePlanId'] = base_plan_id unless base_plan_id.nil? command.params['offerId'] = offer_id unless offer_id.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['latencyTolerance'] = latency_tolerance unless latency_tolerance.nil? command.query['regionsVersion.version'] = regions_version_version unless regions_version_version.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Get order details for a list of orders. # @param [String] package_name # Required. The package name of the application for which this subscription or # in-app item was purchased (for example, 'com.some.thing'). # @param [Array, String] order_ids # Required. The list of order IDs to retrieve order details for. There must be # between 1 and 1000 (inclusive) order IDs per request. If any order ID is not # found or does not match the provided package, the entire request will fail # with an error. The order IDs must be distinct. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def batchget_order(package_name, order_ids: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders:batchGet', options) command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse command.params['packageName'] = package_name unless package_name.nil? command.query['orderIds'] = order_ids unless order_ids.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Get order details for a single order. # @param [String] package_name # Required. The package name of the application for which this subscription or # in-app item was purchased (for example, 'com.some.thing'). # @param [String] order_id # Required. The order ID provided to the user when the subscription or in-app # order was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Order] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Order] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_order(package_name, order_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders/{orderId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Order::Representation command.response_class = Google::Apis::AndroidpublisherV3::Order command.params['packageName'] = package_name unless package_name.nil? command.params['orderId'] = order_id unless order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Refunds a user's subscription or in-app purchase order. Orders older than 3 # years cannot be refunded. # @param [String] package_name # The package name of the application for which this subscription or in-app item # was purchased (for example, 'com.some.thing'). # @param [String] order_id # The order ID provided to the user when the subscription or in-app order was # purchased. # @param [Boolean] revoke # Whether to revoke the purchased item. If set to true, access to the # subscription or in-app item will be terminated immediately. If the item is a # recurring subscription, all future payments will also be terminated. Consumed # in-app items need to be handled by developer's app. (optional). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund', options) command.params['packageName'] = package_name unless package_name.nil? command.params['orderId'] = order_id unless order_id.nil? command.query['revoke'] = revoke unless revoke.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Acknowledges a purchase of an inapp item. # @param [String] package_name # The package name of the application the inapp product was sold in (for example, # 'com.some.thing'). # @param [String] product_id # The inapp product SKU (for example, 'com.some.thing.inapp1'). # @param [String] token # The token provided to the user's device when the inapp product was purchased. # @param [Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest] product_purchases_acknowledge_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def acknowledge_purchase_product(package_name, product_id, token, product_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options) command.request_representation = Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest::Representation command.request_object = product_purchases_acknowledge_request_object command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Consumes a purchase for an inapp item. # @param [String] package_name # The package name of the application the inapp product was sold in (for example, # 'com.some.thing'). # @param [String] product_id # The inapp product SKU (for example, 'com.some.thing.inapp1'). # @param [String] token # The token provided to the user's device when the inapp product was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def consume_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume', options) command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Checks the purchase and consumption status of an inapp item. # @param [String] package_name # The package name of the application the inapp product was sold in (for example, # 'com.some.thing'). # @param [String] product_id # The inapp product SKU (for example, 'com.some.thing.inapp1'). # @param [String] token # The token provided to the user's device when the inapp product was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ProductPurchase] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ProductPurchase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchase::Representation command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchase command.params['packageName'] = package_name unless package_name.nil? command.params['productId'] = product_id unless product_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Checks the purchase and consumption status of an inapp item. # @param [String] package_name # The package name of the application the inapp product was sold in (for example, # 'com.some.thing'). # @param [String] token # The token provided to the user's device when the inapp product was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ProductPurchaseV2] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ProductPurchaseV2] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def getproductpurchasev2_purchase_productsv2(package_name, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}', options) command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchaseV2::Representation command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchaseV2 command.params['packageName'] = package_name unless package_name.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Acknowledges a subscription purchase. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # Note: Since May 21, 2025, subscription_id is not required, and not recommended # for subscription with add-ons. The purchased subscription ID (for example, ' # monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def acknowledge_purchase_subscription(package_name, subscription_id, token, subscription_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options) command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest::Representation command.request_object = subscription_purchases_acknowledge_request_object command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Cancels a user's subscription purchase. The subscription remains valid until # its expiration time. Newer version is available at purchases.subscriptionsv2. # cancel for better client library support. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # Note: Since May 21, 2025, subscription_id is not required, and not recommended # for subscription with add-ons. The purchased subscription ID (for example, ' # monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options) command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Defers a user's subscription purchase until a specified future expiration time. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # The purchased subscription ID (for example, 'monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest] subscription_purchases_defer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def defer_purchase_subscription(package_name, subscription_id, token, subscription_purchases_defer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options) command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest::Representation command.request_object = subscription_purchases_defer_request_object command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's # subscription purchase is valid and returns its expiry time. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # The purchased subscription ID (for example, 'monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionPurchase] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionPurchase] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options) command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchase::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchase command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, # but the subscription remains valid until its expiration time and it will # continue to recur. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # "The purchased subscription ID (for example, 'monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options) command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and # immediately revokes a user's subscription purchase. Access to the subscription # will be terminated immediately and it will stop recurring. # @param [String] package_name # The package name of the application for which this subscription was purchased ( # for example, 'com.some.thing'). # @param [String] subscription_id # The purchased subscription ID (for example, 'monthly001'). # @param [String] token # The token provided to the user's device when the subscription was purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options) command.params['packageName'] = package_name unless package_name.nil? command.params['subscriptionId'] = subscription_id unless subscription_id.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Cancel a subscription purchase for the user. # @param [String] package_name # Required. The package of the application for which this subscription was # purchased (for example, 'com.some.thing'). # @param [String] token # Required. The token provided to the user's device when the subscription was # purchased. # @param [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseRequest] cancel_subscription_purchase_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_subscriptionsv2_subscription_purchase(package_name, token, cancel_subscription_purchase_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel', options) command.request_representation = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseRequest::Representation command.request_object = cancel_subscription_purchase_request_object command.response_representation = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse command.params['packageName'] = package_name unless package_name.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Defers the renewal of a subscription. # @param [String] package_name # Required. The package of the application for which this subscription was # purchased (for example, 'com.some.thing'). # @param [String] token # Required. The token provided to the user's device when the subscription was # purchased. # @param [Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseRequest] defer_subscription_purchase_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def defer_subscriptionsv2_subscription_purchase(package_name, token, defer_subscription_purchase_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer', options) command.request_representation = Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseRequest::Representation command.request_object = defer_subscription_purchase_request_object command.response_representation = Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseResponse command.params['packageName'] = package_name unless package_name.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Get metadata about a subscription # @param [String] package_name # The package of the application for which this subscription was purchased (for # example, 'com.some.thing'). # @param [String] token # Required. The token provided to the user's device when the subscription was # purchased. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SubscriptionPurchaseV2] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SubscriptionPurchaseV2] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_purchase_subscriptionsv2(package_name, token, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}', options) command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchaseV2::Representation command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchaseV2 command.params['packageName'] = package_name unless package_name.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Revoke a subscription purchase for the user. # @param [String] package_name # Required. The package of the application for which this subscription was # purchased (for example, 'com.some.thing'). # @param [String] token # Required. The token provided to the user's device when the subscription was # purchased. # @param [Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseRequest] revoke_subscription_purchase_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def revoke_subscriptionsv2_subscription_purchase(package_name, token, revoke_subscription_purchase_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:revoke', options) command.request_representation = Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseRequest::Representation command.request_object = revoke_subscription_purchase_request_object command.response_representation = Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseResponse command.params['packageName'] = package_name unless package_name.nil? command.params['token'] = token unless token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists the purchases that were canceled, refunded or charged-back. # @param [String] package_name # The package name of the application for which voided purchases need to be # returned (for example, 'com.some.thing'). # @param [Fixnum] end_time # The time, in milliseconds since the Epoch, of the newest voided purchase that # you want to see in the response. The value of this parameter cannot be greater # than the current time and is ignored if a pagination token is set. Default # value is current time. Note: This filter is applied on the time at which the # record is seen as voided by our systems and not the actual voided time # returned in the response. # @param [Boolean] include_quantity_based_partial_refund # Optional. Whether to include voided purchases of quantity-based partial # refunds, which are applicable only to multi-quantity purchases. If true, # additional voided purchases may be returned with voidedQuantity that indicates # the refund quantity of a quantity-based partial refund. The default value is # false. # @param [Fixnum] max_results # Defines how many results the list operation should return. The default number # depends on the resource collection. # @param [Fixnum] start_index # Defines the index of the first element to return. This can only be used if # indexed paging is enabled. # @param [Fixnum] start_time # The time, in milliseconds since the Epoch, of the oldest voided purchase that # you want to see in the response. The value of this parameter cannot be older # than 30 days and is ignored if a pagination token is set. Default value is # current time minus 30 days. Note: This filter is applied on the time at which # the record is seen as voided by our systems and not the actual voided time # returned in the response. # @param [String] token # Defines the token of the page to return, usually taken from TokenPagination. # This can only be used if token paging is enabled. # @param [Fixnum] type # The type of voided purchases that you want to see in the response. Possible # values are: 0. Only voided in-app product purchases will be returned in the # response. This is the default value. 1. Both voided in-app purchases and # voided subscription purchases will be returned in the response. Note: Before # requesting to receive voided subscription purchases, you must switch to use # orderId in the response which uniquely identifies one-time purchases and # subscriptions. Otherwise, you will receive multiple subscription orders with # the same PurchaseToken, because subscription renewal orders share the same # PurchaseToken. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_purchase_voidedpurchases(package_name, end_time: nil, include_quantity_based_partial_refund: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases', options) command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse command.params['packageName'] = package_name unless package_name.nil? command.query['endTime'] = end_time unless end_time.nil? command.query['includeQuantityBasedPartialRefund'] = include_quantity_based_partial_refund unless include_quantity_based_partial_refund.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['startIndex'] = start_index unless start_index.nil? command.query['startTime'] = start_time unless start_time.nil? command.query['token'] = token unless token.nil? command.query['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Gets a single review. # @param [String] package_name # Package name of the app. # @param [String] review_id # Unique identifier for a review. # @param [String] translation_language # Language localization code. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Review] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Review] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/reviews/{reviewId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Review::Representation command.response_class = Google::Apis::AndroidpublisherV3::Review command.params['packageName'] = package_name unless package_name.nil? command.params['reviewId'] = review_id unless review_id.nil? command.query['translationLanguage'] = translation_language unless translation_language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all reviews. # @param [String] package_name # Package name of the app. # @param [Fixnum] max_results # How many results the list operation should return. # @param [Fixnum] start_index # The index of the first element to return. # @param [String] token # Pagination token. If empty, list starts at the first review. # @param [String] translation_language # Language localization code. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ReviewsListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ReviewsListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/reviews', options) command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ReviewsListResponse command.params['packageName'] = package_name unless package_name.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['startIndex'] = start_index unless start_index.nil? command.query['token'] = token unless token.nil? command.query['translationLanguage'] = translation_language unless translation_language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Replies to a single review, or updates an existing reply. # @param [String] package_name # Package name of the app. # @param [String] review_id # Unique identifier for a review. # @param [Google::Apis::AndroidpublisherV3::ReviewsReplyRequest] reviews_reply_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ReviewsReplyResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ReviewsReplyResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply', options) command.request_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyRequest::Representation command.request_object = reviews_reply_request_object command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ReviewsReplyResponse command.params['packageName'] = package_name unless package_name.nil? command.params['reviewId'] = review_id unless review_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Creates an APK which is suitable for inclusion in a system image from an # already uploaded Android App Bundle. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # The version code of the App Bundle. # @param [Google::Apis::AndroidpublisherV3::Variant] variant_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Variant] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_systemapk_variant(package_name, version_code, variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options) command.request_representation = Google::Apis::AndroidpublisherV3::Variant::Representation command.request_object = variant_object command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation command.response_class = Google::Apis::AndroidpublisherV3::Variant command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Downloads a previously created system APK which is suitable for inclusion in a # system image. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # The version code of the App Bundle. # @param [Fixnum] variant_id # The ID of a previously created system APK variant. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [IO, String] download_dest # IO stream or filename to receive content download # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def download_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options) else command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options) command.download_dest = download_dest end command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Returns a previously created system APK variant. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # The version code of the App Bundle. # @param [Fixnum] variant_id # The ID of a previously created system APK variant. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::Variant] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}', options) command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation command.response_class = Google::Apis::AndroidpublisherV3::Variant command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Returns the list of previously created system APK variants. # @param [String] package_name # Package name of the app. # @param [Fixnum] version_code # The version code of the App Bundle. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::SystemApksListResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::SystemApksListResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_systemapk_variants(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options) command.response_representation = Google::Apis::AndroidpublisherV3::SystemApksListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::SystemApksListResponse command.params['packageName'] = package_name unless package_name.nil? command.params['versionCode'] = version_code unless version_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Grant access for a user to the given developer account. # @param [String] parent # Required. The developer account to add the user to. Format: developers/` # developer` # @param [Google::Apis::AndroidpublisherV3::User] user_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::User] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::User] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_user(parent, user_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'androidpublisher/v3/{+parent}/users', options) command.request_representation = Google::Apis::AndroidpublisherV3::User::Representation command.request_object = user_object command.response_representation = Google::Apis::AndroidpublisherV3::User::Representation command.response_class = Google::Apis::AndroidpublisherV3::User command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Removes all access for the user to the given developer account. # @param [String] name # Required. The name of the user to delete. Format: developers/`developer`/users/ # `email` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [NilClass] No result returned for this method # @yieldparam err [StandardError] error object if request failed # # @return [void] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_user(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'androidpublisher/v3/{+name}', options) command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists all users with access to a developer account. # @param [String] parent # Required. The developer account to fetch users from. Format: developers/` # developer` # @param [Fixnum] page_size # The maximum number of results to return. This must be set to -1 to disable # pagination. # @param [String] page_token # A token received from a previous call to this method, in order to retrieve # further results. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::ListUsersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::ListUsersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_users(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'androidpublisher/v3/{+parent}/users', options) command.response_representation = Google::Apis::AndroidpublisherV3::ListUsersResponse::Representation command.response_class = Google::Apis::AndroidpublisherV3::ListUsersResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Updates access for the user to the developer account. # @param [String] name # Required. Resource name for this user, following the pattern "developers/` # developer`/users/`email`". # @param [Google::Apis::AndroidpublisherV3::User] user_object # @param [String] update_mask # Optional. The list of fields to be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied # @yieldparam result [Google::Apis::AndroidpublisherV3::User] parsed result object # @yieldparam err [StandardError] error object if request failed # # @return [Google::Apis::AndroidpublisherV3::User] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_user(name, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'androidpublisher/v3/{+name}', options) command.request_representation = Google::Apis::AndroidpublisherV3::User::Representation command.request_object = user_object command.response_representation = Google::Apis::AndroidpublisherV3::User::Representation command.response_class = Google::Apis::AndroidpublisherV3::User command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? end end end end end google-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3/classes.rb0000644000004100000410000153164215142404021030723 0ustar www-datawww-data# 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 AndroidpublisherV3 # Represents an Abi. class Abi include Google::Apis::Core::Hashable # Alias for an abi. # Corresponds to the JSON property `alias` # @return [String] attr_accessor :alias def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alias = args[:alias] if args.key?(:alias) end end # Targeting based on Abi. class AbiTargeting include Google::Apis::Core::Hashable # Targeting of other sibling directories that were in the Bundle. For main # splits this is targeting of other main splits. # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # Value of an abi. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # Represents a targeting rule of the form: User never had `scope` before. class AcquisitionTargetingRule include Google::Apis::Core::Hashable # Defines the scope of subscriptions which a targeting rule can match to target # offers to users based on past or current entitlement. # Corresponds to the JSON property `scope` # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScope] attr_accessor :scope def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @scope = args[:scope] if args.key?(:scope) end end # Request message for ActivateBasePlan. class ActivateBasePlanRequest include Google::Apis::Core::Hashable # Required. The unique base plan ID of the base plan to activate. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the base plan to activate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent subscription (ID) of the base plan to activate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # Request message for ActivateOneTimeProductOffer. class ActivateOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this update. Defaults # to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The offer ID of the offer to activate. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to activate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the offer to activate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The parent purchase option (ID) of the offer to activate. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for UpdatePurchaseOptionState. class ActivatePurchaseOptionRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the purchase option to activate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the purchase option to activate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The purchase option ID of the purchase option to activate. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for ActivateSubscriptionOffer. class ActivateSubscriptionOfferRequest include Google::Apis::Core::Hashable # Required. The parent base plan (ID) of the offer to activate. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The unique offer ID of the offer to activate. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to activate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent subscription (ID) of the offer to activate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # Request message for AddTargeting. class AddTargetingRequest include Google::Apis::Core::Hashable # Update type for targeting. Note it is always a subset Targeting. # Corresponds to the JSON property `targetingUpdate` # @return [Google::Apis::AndroidpublisherV3::TargetingUpdate] attr_accessor :targeting_update def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @targeting_update = args[:targeting_update] if args.key?(:targeting_update) end end # Response message for AddTargeting. class AddTargetingResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Object representation to describe all set of users. class AllUsers include Google::Apis::Core::Hashable # Required. Set to true if all set of users are needed. # Corresponds to the JSON property `isAllUsersRequested` # @return [Boolean] attr_accessor :is_all_users_requested alias_method :is_all_users_requested?, :is_all_users_requested def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @is_all_users_requested = args[:is_all_users_requested] if args.key?(:is_all_users_requested) end end # Android api level targeting data for app recovery action targeting. class AndroidSdks include Google::Apis::Core::Hashable # Android api levels of devices targeted by recovery action. See https:// # developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels for # different api levels in android. # Corresponds to the JSON property `sdkLevels` # @return [Array] attr_accessor :sdk_levels def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @sdk_levels = args[:sdk_levels] if args.key?(:sdk_levels) end end # Information about an APK. The resource for ApksService. class Apk include Google::Apis::Core::Hashable # Represents the binary payload of an APK. # Corresponds to the JSON property `binary` # @return [Google::Apis::AndroidpublisherV3::ApkBinary] attr_accessor :binary # The version code of the APK, as specified in the manifest file. # Corresponds to the JSON property `versionCode` # @return [Fixnum] attr_accessor :version_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @binary = args[:binary] if args.key?(:binary) @version_code = args[:version_code] if args.key?(:version_code) end end # Represents the binary payload of an APK. class ApkBinary include Google::Apis::Core::Hashable # A sha1 hash of the APK payload, encoded as a hex string and matching the # output of the sha1sum command. # Corresponds to the JSON property `sha1` # @return [String] attr_accessor :sha1 # A sha256 hash of the APK payload, encoded as a hex string and matching the # output of the sha256sum command. # Corresponds to the JSON property `sha256` # @return [String] attr_accessor :sha256 def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @sha1 = args[:sha1] if args.key?(:sha1) @sha256 = args[:sha256] if args.key?(:sha256) end end # Description of the created apks. class ApkDescription include Google::Apis::Core::Hashable # Holds data specific to Split APKs. # Corresponds to the JSON property `assetSliceMetadata` # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata] attr_accessor :asset_slice_metadata # Holds data specific to Split APKs. # Corresponds to the JSON property `instantApkMetadata` # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata] attr_accessor :instant_apk_metadata # Path of the Apk, will be in the following format: .apk where DownloadId is the # ID used to download the apk using GeneratedApks.Download API. # Corresponds to the JSON property `path` # @return [String] attr_accessor :path # Holds data specific to Split APKs. # Corresponds to the JSON property `splitApkMetadata` # @return [Google::Apis::AndroidpublisherV3::SplitApkMetadata] attr_accessor :split_apk_metadata # Holds data specific to Standalone APKs. # Corresponds to the JSON property `standaloneApkMetadata` # @return [Google::Apis::AndroidpublisherV3::StandaloneApkMetadata] attr_accessor :standalone_apk_metadata # Represents a set of apk-level targetings. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::ApkTargeting] attr_accessor :targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @asset_slice_metadata = args[:asset_slice_metadata] if args.key?(:asset_slice_metadata) @instant_apk_metadata = args[:instant_apk_metadata] if args.key?(:instant_apk_metadata) @path = args[:path] if args.key?(:path) @split_apk_metadata = args[:split_apk_metadata] if args.key?(:split_apk_metadata) @standalone_apk_metadata = args[:standalone_apk_metadata] if args.key?(:standalone_apk_metadata) @targeting = args[:targeting] if args.key?(:targeting) end end # A set of apks representing a module. class ApkSet include Google::Apis::Core::Hashable # Description of the generated apks. # Corresponds to the JSON property `apkDescription` # @return [Array] attr_accessor :apk_description # Metadata of a module. # Corresponds to the JSON property `moduleMetadata` # @return [Google::Apis::AndroidpublisherV3::ModuleMetadata] attr_accessor :module_metadata def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @apk_description = args[:apk_description] if args.key?(:apk_description) @module_metadata = args[:module_metadata] if args.key?(:module_metadata) end end # Represents a set of apk-level targetings. class ApkTargeting include Google::Apis::Core::Hashable # Targeting based on Abi. # Corresponds to the JSON property `abiTargeting` # @return [Google::Apis::AndroidpublisherV3::AbiTargeting] attr_accessor :abi_targeting # Targeting based on language. # Corresponds to the JSON property `languageTargeting` # @return [Google::Apis::AndroidpublisherV3::LanguageTargeting] attr_accessor :language_targeting # Targeting based on multiple abis. # Corresponds to the JSON property `multiAbiTargeting` # @return [Google::Apis::AndroidpublisherV3::MultiAbiTargeting] attr_accessor :multi_abi_targeting # Targeting based on screen density. # Corresponds to the JSON property `screenDensityTargeting` # @return [Google::Apis::AndroidpublisherV3::ScreenDensityTargeting] attr_accessor :screen_density_targeting # Targeting based on sdk version. # Corresponds to the JSON property `sdkVersionTargeting` # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting] attr_accessor :sdk_version_targeting # Targeting by a texture compression format. # Corresponds to the JSON property `textureCompressionFormatTargeting` # @return [Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting] attr_accessor :texture_compression_format_targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @abi_targeting = args[:abi_targeting] if args.key?(:abi_targeting) @language_targeting = args[:language_targeting] if args.key?(:language_targeting) @multi_abi_targeting = args[:multi_abi_targeting] if args.key?(:multi_abi_targeting) @screen_density_targeting = args[:screen_density_targeting] if args.key?(:screen_density_targeting) @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting) @texture_compression_format_targeting = args[:texture_compression_format_targeting] if args.key?(:texture_compression_format_targeting) end end # Request to create a new externally hosted APK. class ApksAddExternallyHostedRequest include Google::Apis::Core::Hashable # Defines an APK available for this application that is hosted externally and # not uploaded to Google Play. This function is only available to organizations # using Managed Play whose application is configured to restrict distribution to # the organizations. # Corresponds to the JSON property `externallyHostedApk` # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk] attr_accessor :externally_hosted_apk def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk) end end # Response for creating a new externally hosted APK. class ApksAddExternallyHostedResponse include Google::Apis::Core::Hashable # Defines an APK available for this application that is hosted externally and # not uploaded to Google Play. This function is only available to organizations # using Managed Play whose application is configured to restrict distribution to # the organizations. # Corresponds to the JSON property `externallyHostedApk` # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk] attr_accessor :externally_hosted_apk def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk) end end # Response listing all APKs. class ApksListResponse include Google::Apis::Core::Hashable # All APKs. # Corresponds to the JSON property `apks` # @return [Array] attr_accessor :apks # The kind of this response ("androidpublisher#apksListResponse"). # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @apks = args[:apks] if args.key?(:apks) @kind = args[:kind] if args.key?(:kind) end end # The app details. The resource for DetailsService. class AppDetails include Google::Apis::Core::Hashable # The user-visible support email for this app. # Corresponds to the JSON property `contactEmail` # @return [String] attr_accessor :contact_email # The user-visible support telephone number for this app. # Corresponds to the JSON property `contactPhone` # @return [String] attr_accessor :contact_phone # The user-visible website for this app. # Corresponds to the JSON property `contactWebsite` # @return [String] attr_accessor :contact_website # Default language code, in BCP 47 format (eg "en-US"). # Corresponds to the JSON property `defaultLanguage` # @return [String] attr_accessor :default_language def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @contact_email = args[:contact_email] if args.key?(:contact_email) @contact_phone = args[:contact_phone] if args.key?(:contact_phone) @contact_website = args[:contact_website] if args.key?(:contact_website) @default_language = args[:default_language] if args.key?(:default_language) end end # An app edit. The resource for EditsService. class AppEdit include Google::Apis::Core::Hashable # Output only. The time (as seconds since Epoch) at which the edit will expire # and will be no longer valid for use. # Corresponds to the JSON property `expiryTimeSeconds` # @return [String] attr_accessor :expiry_time_seconds # Output only. Identifier of the edit. Can be used in subsequent API calls. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expiry_time_seconds = args[:expiry_time_seconds] if args.key?(:expiry_time_seconds) @id = args[:id] if args.key?(:id) end end # Information about an app recovery action. class AppRecoveryAction include Google::Apis::Core::Hashable # ID corresponding to the app recovery action. # Corresponds to the JSON property `appRecoveryId` # @return [Fixnum] attr_accessor :app_recovery_id # Timestamp of when the app recovery action is canceled by the developer. Only # set if the recovery action has been canceled. # Corresponds to the JSON property `cancelTime` # @return [String] attr_accessor :cancel_time # Timestamp of when the app recovery action is created by the developer. It is # always set after creation of the recovery action. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time # Timestamp of when the app recovery action is deployed to the users. Only set # if the recovery action has been deployed. # Corresponds to the JSON property `deployTime` # @return [String] attr_accessor :deploy_time # Timestamp of when the developer last updated recovery action. In case the # action is cancelled, it corresponds to cancellation time. It is always set # after creation of the recovery action. # Corresponds to the JSON property `lastUpdateTime` # @return [String] attr_accessor :last_update_time # Data related to Remote In-App Update action such as recovered user count, # affected user count etc. # Corresponds to the JSON property `remoteInAppUpdateData` # @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData] attr_accessor :remote_in_app_update_data # The status of the recovery action. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status # Targeting details for a recovery action such as regions, android sdk levels, # app versions etc. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::Targeting] attr_accessor :targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @app_recovery_id = args[:app_recovery_id] if args.key?(:app_recovery_id) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @create_time = args[:create_time] if args.key?(:create_time) @deploy_time = args[:deploy_time] if args.key?(:deploy_time) @last_update_time = args[:last_update_time] if args.key?(:last_update_time) @remote_in_app_update_data = args[:remote_in_app_update_data] if args.key?(:remote_in_app_update_data) @status = args[:status] if args.key?(:status) @targeting = args[:targeting] if args.key?(:targeting) end end # Data format for a list of app versions. class AppVersionList include Google::Apis::Core::Hashable # List of app version codes. # Corresponds to the JSON property `versionCodes` # @return [Array] attr_accessor :version_codes def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @version_codes = args[:version_codes] if args.key?(:version_codes) end end # Data format for a continuous range of app versions. class AppVersionRange include Google::Apis::Core::Hashable # Highest app version in the range, inclusive. # Corresponds to the JSON property `versionCodeEnd` # @return [Fixnum] attr_accessor :version_code_end # Lowest app version in the range, inclusive. # Corresponds to the JSON property `versionCodeStart` # @return [Fixnum] attr_accessor :version_code_start def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @version_code_end = args[:version_code_end] if args.key?(:version_code_end) @version_code_start = args[:version_code_start] if args.key?(:version_code_start) end end # Deprecated: subscription archiving is not supported. class ArchiveSubscriptionRequest include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Metadata of an asset module. class AssetModuleMetadata include Google::Apis::Core::Hashable # Indicates the delivery type for persistent install. # Corresponds to the JSON property `deliveryType` # @return [String] attr_accessor :delivery_type # Module name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @delivery_type = args[:delivery_type] if args.key?(:delivery_type) @name = args[:name] if args.key?(:name) end end # Set of asset slices belonging to a single asset module. class AssetSliceSet include Google::Apis::Core::Hashable # Asset slices. # Corresponds to the JSON property `apkDescription` # @return [Array] attr_accessor :apk_description # Metadata of an asset module. # Corresponds to the JSON property `assetModuleMetadata` # @return [Google::Apis::AndroidpublisherV3::AssetModuleMetadata] attr_accessor :asset_module_metadata def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @apk_description = args[:apk_description] if args.key?(:apk_description) @asset_module_metadata = args[:asset_module_metadata] if args.key?(:asset_module_metadata) end end # Represents a base plan that automatically renews at the end of its # subscription period. class AutoRenewingBasePlanType include Google::Apis::Core::Hashable # Optional. Custom account hold period of the subscription, specified in ISO # 8601 format. Acceptable values must be in days and between P0D and P60D. An # empty field represents a recommended account hold, calculated as 60 days minus # grace period. The sum of gracePeriodDuration and accountHoldDuration must be # between P30D and P60D days, inclusive. # Corresponds to the JSON property `accountHoldDuration` # @return [String] attr_accessor :account_hold_duration # Required. Immutable. Subscription period, specified in ISO 8601 format. For a # list of acceptable billing periods, refer to the help center. The duration is # immutable after the base plan is created. # Corresponds to the JSON property `billingPeriodDuration` # @return [String] attr_accessor :billing_period_duration # Grace period of the subscription, specified in ISO 8601 format. Acceptable # values must be in days and between P0D and the lesser of 30D and base plan # billing period. If not specified, a default value will be used based on the # billing period. The sum of gracePeriodDuration and accountHoldDuration must be # between P30D and P60D days, inclusive. # Corresponds to the JSON property `gracePeriodDuration` # @return [String] attr_accessor :grace_period_duration # Whether the renewing base plan is backward compatible. The backward compatible # base plan is returned by the Google Play Billing Library deprecated method # querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy # compatible for a given subscription. # Corresponds to the JSON property `legacyCompatible` # @return [Boolean] attr_accessor :legacy_compatible alias_method :legacy_compatible?, :legacy_compatible # Subscription offer id which is legacy compatible. The backward compatible # subscription offer is returned by the Google Play Billing Library deprecated # method querySkuDetailsAsync(). Only one subscription offer can be marked as # legacy compatible for a given renewing base plan. To have no Subscription # offer as legacy compatible set this field as empty string. # Corresponds to the JSON property `legacyCompatibleSubscriptionOfferId` # @return [String] attr_accessor :legacy_compatible_subscription_offer_id # The proration mode for the base plan determines what happens when a user # switches to this plan from another base plan. If unspecified, defaults to # CHARGE_ON_NEXT_BILLING_DATE. # Corresponds to the JSON property `prorationMode` # @return [String] attr_accessor :proration_mode # Whether users should be able to resubscribe to this base plan in Google Play # surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. # Corresponds to the JSON property `resubscribeState` # @return [String] attr_accessor :resubscribe_state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @account_hold_duration = args[:account_hold_duration] if args.key?(:account_hold_duration) @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration) @grace_period_duration = args[:grace_period_duration] if args.key?(:grace_period_duration) @legacy_compatible = args[:legacy_compatible] if args.key?(:legacy_compatible) @legacy_compatible_subscription_offer_id = args[:legacy_compatible_subscription_offer_id] if args.key?(:legacy_compatible_subscription_offer_id) @proration_mode = args[:proration_mode] if args.key?(:proration_mode) @resubscribe_state = args[:resubscribe_state] if args.key?(:resubscribe_state) end end # Information related to an auto renewing plan. class AutoRenewingPlan include Google::Apis::Core::Hashable # If the subscription is currently set to auto-renew, e.g. the user has not # canceled the subscription # Corresponds to the JSON property `autoRenewEnabled` # @return [Boolean] attr_accessor :auto_renew_enabled alias_method :auto_renew_enabled?, :auto_renew_enabled # Information to a installment plan. # Corresponds to the JSON property `installmentDetails` # @return [Google::Apis::AndroidpublisherV3::InstallmentPlan] attr_accessor :installment_details # Price change related information of a subscription item. # Corresponds to the JSON property `priceChangeDetails` # @return [Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails] attr_accessor :price_change_details # Information related to a price step-up that requires user consent. # Corresponds to the JSON property `priceStepUpConsentDetails` # @return [Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails] attr_accessor :price_step_up_consent_details # Represents an amount of money with its currency type. # Corresponds to the JSON property `recurringPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :recurring_price def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled) @installment_details = args[:installment_details] if args.key?(:installment_details) @price_change_details = args[:price_change_details] if args.key?(:price_change_details) @price_step_up_consent_details = args[:price_step_up_consent_details] if args.key?(:price_step_up_consent_details) @recurring_price = args[:recurring_price] if args.key?(:recurring_price) end end # Details of a base price pricing phase. class BaseDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # A single base plan for a subscription. class BasePlan include Google::Apis::Core::Hashable # Represents a base plan that automatically renews at the end of its # subscription period. # Corresponds to the JSON property `autoRenewingBasePlanType` # @return [Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType] attr_accessor :auto_renewing_base_plan_type # Required. Immutable. The unique identifier of this base plan. Must be unique # within the subscription, and conform with RFC-1034. That is, this ID can only # contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at # most 63 characters. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Represents an installments base plan where a user commits to a specified # number of payments. # Corresponds to the JSON property `installmentsBasePlanType` # @return [Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType] attr_accessor :installments_base_plan_type # List of up to 20 custom tags specified for this base plan, and returned to the # app through the billing library. Subscription offers for this base plan will # also receive these offer tags in the billing library. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # Pricing information for any new locations Play may launch in. # Corresponds to the JSON property `otherRegionsConfig` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig] attr_accessor :other_regions_config # Represents a base plan that does not automatically renew at the end of the # base plan, and must be manually renewed by the user. # Corresponds to the JSON property `prepaidBasePlanType` # @return [Google::Apis::AndroidpublisherV3::PrepaidBasePlanType] attr_accessor :prepaid_base_plan_type # Region-specific information for this base plan. # Corresponds to the JSON property `regionalConfigs` # @return [Array] attr_accessor :regional_configs # Output only. The state of the base plan, i.e. whether it's active. Draft and # inactive base plans can be activated or deleted. Active base plans can be made # inactive. Inactive base plans can be canceled. This field cannot be changed by # updating the resource. Use the dedicated endpoints instead. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @auto_renewing_base_plan_type = args[:auto_renewing_base_plan_type] if args.key?(:auto_renewing_base_plan_type) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @installments_base_plan_type = args[:installments_base_plan_type] if args.key?(:installments_base_plan_type) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @other_regions_config = args[:other_regions_config] if args.key?(:other_regions_config) @prepaid_base_plan_type = args[:prepaid_base_plan_type] if args.key?(:prepaid_base_plan_type) @regional_configs = args[:regional_configs] if args.key?(:regional_configs) @state = args[:state] if args.key?(:state) end end # Details about base price offer phase. class BasePriceOfferPhase include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Request message for BatchDeleteOneTimeProductOffers. class BatchDeleteOneTimeProductOffersRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # correspond to different offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Request message for BatchDeleteOneTimeProduct. class BatchDeleteOneTimeProductsRequest include Google::Apis::Core::Hashable # Required. A list of delete requests of up to 100 elements. All requests must # delete different one-time products. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Request message for BatchDeletePurchaseOption. class BatchDeletePurchaseOptionsRequest include Google::Apis::Core::Hashable # Required. A list of delete requests of up to 100 elements. All requests must # delete purchase options from different one-time products. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Request message for the BatchGetOneTimeProductOffers endpoint. class BatchGetOneTimeProductOffersRequest include Google::Apis::Core::Hashable # Required. A list of get requests of up to 100 elements. All requests must # retrieve different offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for the BatchGetOneTimeProductOffers endpoint. class BatchGetOneTimeProductOffersResponse include Google::Apis::Core::Hashable # The list of updated one-time product offers, in the same order as the request. # Corresponds to the JSON property `oneTimeProductOffers` # @return [Array] attr_accessor :one_time_product_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_product_offers = args[:one_time_product_offers] if args.key?(:one_time_product_offers) end end # Response message for the BatchGetOneTimeProducts endpoint. class BatchGetOneTimeProductsResponse include Google::Apis::Core::Hashable # The list of requested one-time products, in the same order as the request. # Corresponds to the JSON property `oneTimeProducts` # @return [Array] attr_accessor :one_time_products def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_products = args[:one_time_products] if args.key?(:one_time_products) end end # Response for the orders.batchGet API. class BatchGetOrdersResponse include Google::Apis::Core::Hashable # Details for the requested order IDs. # Corresponds to the JSON property `orders` # @return [Array] attr_accessor :orders def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @orders = args[:orders] if args.key?(:orders) end end # Request message for BatchGetSubscriptionOffers endpoint. class BatchGetSubscriptionOffersRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # update different subscriptions. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchGetSubscriptionOffers endpoint. class BatchGetSubscriptionOffersResponse include Google::Apis::Core::Hashable # # Corresponds to the JSON property `subscriptionOffers` # @return [Array] attr_accessor :subscription_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers) end end # Response message for BatchGetSubscriptions endpoint. class BatchGetSubscriptionsResponse include Google::Apis::Core::Hashable # The list of requested subscriptions, in the same order as the request. # Corresponds to the JSON property `subscriptions` # @return [Array] attr_accessor :subscriptions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end end # Request message for BatchMigrateBasePlanPrices. class BatchMigrateBasePlanPricesRequest include Google::Apis::Core::Hashable # Required. Up to 100 price migration requests. All requests must update # different base plans. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchMigrateBasePlanPrices. class BatchMigrateBasePlanPricesResponse include Google::Apis::Core::Hashable # Contains one response per requested price migration, in the same order as the # request. # Corresponds to the JSON property `responses` # @return [Array] attr_accessor :responses def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @responses = args[:responses] if args.key?(:responses) end end # Request message for BatchUpdateBasePlanStates. class BatchUpdateBasePlanStatesRequest include Google::Apis::Core::Hashable # Required. The update request list of up to 100 elements. All requests must # update different base plans. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateBasePlanStates. class BatchUpdateBasePlanStatesResponse include Google::Apis::Core::Hashable # The list of updated subscriptions. This list will match the requests one to # one, in the same order. # Corresponds to the JSON property `subscriptions` # @return [Array] attr_accessor :subscriptions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end end # Request message for BatchUpdateOneTimeProductOfferStates. class BatchUpdateOneTimeProductOfferStatesRequest include Google::Apis::Core::Hashable # Required. The update request list of up to 100 elements. All requests must # update different offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateOneTimeProductOfferStates. class BatchUpdateOneTimeProductOfferStatesResponse include Google::Apis::Core::Hashable # The updated one-time product offers list, in the same order as the request. # Corresponds to the JSON property `oneTimeProductOffers` # @return [Array] attr_accessor :one_time_product_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_product_offers = args[:one_time_product_offers] if args.key?(:one_time_product_offers) end end # Request message for BatchUpdateOneTimeProductOffers. class BatchUpdateOneTimeProductOffersRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # update different offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateOneTimeProductOffers. class BatchUpdateOneTimeProductOffersResponse include Google::Apis::Core::Hashable # The list of updated one-time product offers, in the same order as the request. # Corresponds to the JSON property `oneTimeProductOffers` # @return [Array] attr_accessor :one_time_product_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_product_offers = args[:one_time_product_offers] if args.key?(:one_time_product_offers) end end # Request message for BatchUpdateOneTimeProduct. class BatchUpdateOneTimeProductsRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # update different one-time products. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateOneTimeProduct. class BatchUpdateOneTimeProductsResponse include Google::Apis::Core::Hashable # The list of updated one-time products list, in the same order as the request. # Corresponds to the JSON property `oneTimeProducts` # @return [Array] attr_accessor :one_time_products def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_products = args[:one_time_products] if args.key?(:one_time_products) end end # Request message for BatchUpdatePurchaseOptionStates. class BatchUpdatePurchaseOptionStatesRequest include Google::Apis::Core::Hashable # Required. The update request list of up to 100 elements. All requests must # update different purchase options. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdatePurchaseOptionStates. class BatchUpdatePurchaseOptionStatesResponse include Google::Apis::Core::Hashable # The list of updated one-time products. This list will match the requests one # to one, in the same order. # Corresponds to the JSON property `oneTimeProducts` # @return [Array] attr_accessor :one_time_products def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_products = args[:one_time_products] if args.key?(:one_time_products) end end # Request message for BatchUpdateSubscriptionOfferStates. class BatchUpdateSubscriptionOfferStatesRequest include Google::Apis::Core::Hashable # Required. The update request list of up to 100 elements. All requests must # update different offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateSubscriptionOfferStates. class BatchUpdateSubscriptionOfferStatesResponse include Google::Apis::Core::Hashable # The updated subscription offers list. # Corresponds to the JSON property `subscriptionOffers` # @return [Array] attr_accessor :subscription_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers) end end # Request message for BatchUpdateSubscriptionOffers. class BatchUpdateSubscriptionOffersRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # update different subscription offers. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateSubscriptionOffers. class BatchUpdateSubscriptionOffersResponse include Google::Apis::Core::Hashable # The updated subscription offers list. # Corresponds to the JSON property `subscriptionOffers` # @return [Array] attr_accessor :subscription_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers) end end # Request message for BatchUpdateSubscription. class BatchUpdateSubscriptionsRequest include Google::Apis::Core::Hashable # Required. A list of update requests of up to 100 elements. All requests must # update different subscriptions. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchUpdateSubscription. class BatchUpdateSubscriptionsResponse include Google::Apis::Core::Hashable # The updated subscriptions list. # Corresponds to the JSON property `subscriptions` # @return [Array] attr_accessor :subscriptions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end end # Information about an app bundle. The resource for BundlesService. class Bundle include Google::Apis::Core::Hashable # A sha1 hash of the upload payload, encoded as a hex string and matching the # output of the sha1sum command. # Corresponds to the JSON property `sha1` # @return [String] attr_accessor :sha1 # A sha256 hash of the upload payload, encoded as a hex string and matching the # output of the sha256sum command. # Corresponds to the JSON property `sha256` # @return [String] attr_accessor :sha256 # The version code of the Android App Bundle, as specified in the Android App # Bundle's base module APK manifest file. # Corresponds to the JSON property `versionCode` # @return [Fixnum] attr_accessor :version_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @sha1 = args[:sha1] if args.key?(:sha1) @sha256 = args[:sha256] if args.key?(:sha256) @version_code = args[:version_code] if args.key?(:version_code) end end # Response listing all app bundles. class BundlesListResponse include Google::Apis::Core::Hashable # All app bundles. # Corresponds to the JSON property `bundles` # @return [Array] attr_accessor :bundles # The kind of this response ("androidpublisher#bundlesListResponse"). # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @bundles = args[:bundles] if args.key?(:bundles) @kind = args[:kind] if args.key?(:kind) end end # Address information for the customer, for use in tax computation. class BuyerAddress include Google::Apis::Core::Hashable # Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes). # Corresponds to the JSON property `buyerCountry` # @return [String] attr_accessor :buyer_country # Postal code of an address. When Google is the Merchant of Record for the order, # this information is not included. # Corresponds to the JSON property `buyerPostcode` # @return [String] attr_accessor :buyer_postcode # Top-level administrative subdivision of the buyer address country. When Google # is the Merchant of Record for the order, this information is not included. # Corresponds to the JSON property `buyerState` # @return [String] attr_accessor :buyer_state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @buyer_country = args[:buyer_country] if args.key?(:buyer_country) @buyer_postcode = args[:buyer_postcode] if args.key?(:buyer_postcode) @buyer_state = args[:buyer_state] if args.key?(:buyer_state) end end # Request message for CancelAppRecovery. class CancelAppRecoveryRequest include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Response message for CancelAppRecovery. class CancelAppRecoveryResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Request message for CancelOneTimeProductOffer. class CancelOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this update. Defaults # to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The offer ID of the offer to cancel. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to cancel. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the offer to cancel. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The parent purchase option (ID) of the offer to cancel. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request for the purchases.subscriptionsv2.cancel API. class CancelSubscriptionPurchaseRequest include Google::Apis::Core::Hashable # Cancellation context of the purchases.subscriptionsv2.cancel API. # Corresponds to the JSON property `cancellationContext` # @return [Google::Apis::AndroidpublisherV3::CancellationContext] attr_accessor :cancellation_context def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cancellation_context = args[:cancellation_context] if args.key?(:cancellation_context) end end # Response for the purchases.subscriptionsv2.cancel API. class CancelSubscriptionPurchaseResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Result of the cancel survey when the subscription was canceled by the user. class CancelSurveyResult include Google::Apis::Core::Hashable # The reason the user selected in the cancel survey. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason # Only set for CANCEL_SURVEY_REASON_OTHERS. This is the user's freeform response # to the survey. # Corresponds to the JSON property `reasonUserInput` # @return [String] attr_accessor :reason_user_input def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @reason = args[:reason] if args.key?(:reason) @reason_user_input = args[:reason_user_input] if args.key?(:reason_user_input) end end # Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or # SUBSCRIPTION_STATE_EXPIRED state. class CanceledStateContext include Google::Apis::Core::Hashable # Information specific to cancellations initiated by developers. # Corresponds to the JSON property `developerInitiatedCancellation` # @return [Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation] attr_accessor :developer_initiated_cancellation # Information specific to cancellations caused by subscription replacement. # Corresponds to the JSON property `replacementCancellation` # @return [Google::Apis::AndroidpublisherV3::ReplacementCancellation] attr_accessor :replacement_cancellation # Information specific to cancellations initiated by Google system. # Corresponds to the JSON property `systemInitiatedCancellation` # @return [Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation] attr_accessor :system_initiated_cancellation # Information specific to cancellations initiated by users. # Corresponds to the JSON property `userInitiatedCancellation` # @return [Google::Apis::AndroidpublisherV3::UserInitiatedCancellation] attr_accessor :user_initiated_cancellation def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @developer_initiated_cancellation = args[:developer_initiated_cancellation] if args.key?(:developer_initiated_cancellation) @replacement_cancellation = args[:replacement_cancellation] if args.key?(:replacement_cancellation) @system_initiated_cancellation = args[:system_initiated_cancellation] if args.key?(:system_initiated_cancellation) @user_initiated_cancellation = args[:user_initiated_cancellation] if args.key?(:user_initiated_cancellation) end end # Cancellation context of the purchases.subscriptionsv2.cancel API. class CancellationContext include Google::Apis::Core::Hashable # Required. The type of cancellation for the purchased subscription. # Corresponds to the JSON property `cancellationType` # @return [String] attr_accessor :cancellation_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cancellation_type = args[:cancellation_type] if args.key?(:cancellation_type) end end # Details of when the order was canceled. class CancellationEvent include Google::Apis::Core::Hashable # The time when the order was canceled. # Corresponds to the JSON property `eventTime` # @return [String] attr_accessor :event_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) end end # An entry of conversation between user and developer. class Comment include Google::Apis::Core::Hashable # Developer entry from conversation between user and developer. # Corresponds to the JSON property `developerComment` # @return [Google::Apis::AndroidpublisherV3::DeveloperComment] attr_accessor :developer_comment # User entry from conversation between user and developer. # Corresponds to the JSON property `userComment` # @return [Google::Apis::AndroidpublisherV3::UserComment] attr_accessor :user_comment def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @developer_comment = args[:developer_comment] if args.key?(:developer_comment) @user_comment = args[:user_comment] if args.key?(:user_comment) end end # Request message for ConvertRegionPrices. class ConvertRegionPricesRequest include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `price` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :price # Optional. Product tax category code in context. Product tax category # determines the transaction tax rates applied to the product that will be # factored into the price calculation. If not set, tax rates for the default # product tax category will be used. Refer to the [Help Center article](https:// # support.google.com/googleplay/android-developer/answer/16408159) for more # information. # Corresponds to the JSON property `productTaxCategoryCode` # @return [String] attr_accessor :product_tax_category_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @price = args[:price] if args.key?(:price) @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code) end end # Response message for ConvertRegionPrices. class ConvertRegionPricesResponse include Google::Apis::Core::Hashable # Converted other regions prices. # Corresponds to the JSON property `convertedOtherRegionsPrice` # @return [Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice] attr_accessor :converted_other_regions_price # Map from region code to converted region price. # Corresponds to the JSON property `convertedRegionPrices` # @return [Hash] attr_accessor :converted_region_prices # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :region_version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @converted_other_regions_price = args[:converted_other_regions_price] if args.key?(:converted_other_regions_price) @converted_region_prices = args[:converted_region_prices] if args.key?(:converted_region_prices) @region_version = args[:region_version] if args.key?(:region_version) end end # Converted other regions prices. class ConvertedOtherRegionsPrice include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `eurPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :eur_price # Represents an amount of money with its currency type. # Corresponds to the JSON property `usdPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :usd_price def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eur_price = args[:eur_price] if args.key?(:eur_price) @usd_price = args[:usd_price] if args.key?(:usd_price) end end # A converted region price. class ConvertedRegionPrice include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `price` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :price # The region code of the region. # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # Represents an amount of money with its currency type. # Corresponds to the JSON property `taxAmount` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :tax_amount def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @price = args[:price] if args.key?(:price) @region_code = args[:region_code] if args.key?(:region_code) @tax_amount = args[:tax_amount] if args.key?(:tax_amount) end end # Country targeting specification. class CountryTargeting include Google::Apis::Core::Hashable # Countries to target, specified as two letter [CLDR codes](https://unicode.org/ # cldr/charts/latest/supplemental/territory_containment_un_m_49.html). # Corresponds to the JSON property `countries` # @return [Array] attr_accessor :countries # Include "rest of world" as well as explicitly targeted countries. # Corresponds to the JSON property `includeRestOfWorld` # @return [Boolean] attr_accessor :include_rest_of_world alias_method :include_rest_of_world?, :include_rest_of_world def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @countries = args[:countries] if args.key?(:countries) @include_rest_of_world = args[:include_rest_of_world] if args.key?(:include_rest_of_world) end end # Request message for CreateDraftAppRecovery. class CreateDraftAppRecoveryRequest include Google::Apis::Core::Hashable # Object representation for Remote in-app update action type. # Corresponds to the JSON property `remoteInAppUpdate` # @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdate] attr_accessor :remote_in_app_update # Targeting details for a recovery action such as regions, android sdk levels, # app versions etc. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::Targeting] attr_accessor :targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @remote_in_app_update = args[:remote_in_app_update] if args.key?(:remote_in_app_update) @targeting = args[:targeting] if args.key?(:targeting) end end # Request message for DeactivateBasePlan. class DeactivateBasePlanRequest include Google::Apis::Core::Hashable # Required. The unique base plan ID of the base plan to deactivate. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the base plan to deactivate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent subscription (ID) of the base plan to deactivate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # Request message for DeactivateOneTimeProductOffer. class DeactivateOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this update. Defaults # to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The offer ID of the offer to deactivate. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to deactivate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the offer to deactivate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The parent purchase option (ID) of the offer to deactivate. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for UpdatePurchaseOptionState. class DeactivatePurchaseOptionRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the purchase option to deactivate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the purchase option to # deactivate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The purchase option ID of the purchase option to deactivate. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for DeactivateSubscriptionOffer. class DeactivateSubscriptionOfferRequest include Google::Apis::Core::Hashable # Required. The parent base plan (ID) of the offer to deactivate. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The unique offer ID of the offer to deactivate. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to deactivate. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent subscription (ID) of the offer to deactivate. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # Request for the v2 purchases.subscriptions.defer API. class DeferSubscriptionPurchaseRequest include Google::Apis::Core::Hashable # Deferral context of the purchases.subscriptionsv2.defer API. # Corresponds to the JSON property `deferralContext` # @return [Google::Apis::AndroidpublisherV3::DeferralContext] attr_accessor :deferral_context def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @deferral_context = args[:deferral_context] if args.key?(:deferral_context) end end # Response for the v2 purchases.subscriptions.defer API. class DeferSubscriptionPurchaseResponse include Google::Apis::Core::Hashable # The new expiry time for each subscription items. # Corresponds to the JSON property `itemExpiryTimeDetails` # @return [Array] attr_accessor :item_expiry_time_details def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @item_expiry_time_details = args[:item_expiry_time_details] if args.key?(:item_expiry_time_details) end end # Deferral context of the purchases.subscriptionsv2.defer API. class DeferralContext include Google::Apis::Core::Hashable # Required. The duration by which all subscription items should be deferred. # Corresponds to the JSON property `deferDuration` # @return [String] attr_accessor :defer_duration # Required. The API will fail if the etag does not match the latest etag for # this subscription. The etag is retrieved from purchases.subscriptionsv2.get: # https://developers.google.com/android-publisher/api-ref/rest/v3/purchases. # subscriptionsv2/get # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag # If set to "true", the request is a dry run to validate the effect of Defer, # the subscription would not be impacted. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only alias_method :validate_only?, :validate_only def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @defer_duration = args[:defer_duration] if args.key?(:defer_duration) @etag = args[:etag] if args.key?(:etag) @validate_only = args[:validate_only] if args.key?(:validate_only) end end # Information related to deferred item replacement. class DeferredItemRemoval include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Information related to deferred item replacement. class DeferredItemReplacement include Google::Apis::Core::Hashable # The product_id going to replace the existing product_id. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @product_id = args[:product_id] if args.key?(:product_id) end end # Request message for deleting an one-time product offer. class DeleteOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The unique offer ID of the offer to delete. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to delete. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the offer to delete. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The parent purchase option (ID) of the offer to delete. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for deleting a one-time product. class DeleteOneTimeProductRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the one-time product to delete. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The one-time product ID of the one-time product to delete. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # Request message for deleting a purchase option. class DeletePurchaseOptionRequest include Google::Apis::Core::Hashable # Optional. This field has no effect for purchase options with no offers under # them. For purchase options with associated offers: * If `force` is set to # false (default), an error will be returned. * If `force` is set to true, any # associated offers under the purchase option will be deleted. # Corresponds to the JSON property `force` # @return [Boolean] attr_accessor :force alias_method :force?, :force # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. The parent app (package name) of the purchase option to delete. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the purchase option to delete. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The purchase option ID of the purchase option to delete. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @force = args[:force] if args.key?(:force) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Represents a deobfuscation file. class DeobfuscationFile include Google::Apis::Core::Hashable # The type of the deobfuscation file. # Corresponds to the JSON property `symbolType` # @return [String] attr_accessor :symbol_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @symbol_type = args[:symbol_type] if args.key?(:symbol_type) end end # Responses for the upload. class DeobfuscationFilesUploadResponse include Google::Apis::Core::Hashable # Represents a deobfuscation file. # Corresponds to the JSON property `deobfuscationFile` # @return [Google::Apis::AndroidpublisherV3::DeobfuscationFile] attr_accessor :deobfuscation_file def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file) end end # Request message for DeployAppRecovery. class DeployAppRecoveryRequest include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Response message for DeployAppRecovery. class DeployAppRecoveryResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Developer entry from conversation between user and developer. class DeveloperComment include Google::Apis::Core::Hashable # A Timestamp represents a point in time independent of any time zone or local # calendar, encoded as a count of seconds and fractions of seconds at nanosecond # resolution. The count is relative to an epoch at UTC midnight on January 1, # 1970. # Corresponds to the JSON property `lastModified` # @return [Google::Apis::AndroidpublisherV3::Timestamp] attr_accessor :last_modified # The content of the comment, i.e. reply body. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @last_modified = args[:last_modified] if args.key?(:last_modified) @text = args[:text] if args.key?(:text) end end # Information specific to cancellations initiated by developers. class DeveloperInitiatedCancellation include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Represents a device feature. class DeviceFeature include Google::Apis::Core::Hashable # Name of the feature. # Corresponds to the JSON property `featureName` # @return [String] attr_accessor :feature_name # The feature version specified by android:glEsVersion or android:version in in # the AndroidManifest. # Corresponds to the JSON property `featureVersion` # @return [Fixnum] attr_accessor :feature_version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @feature_name = args[:feature_name] if args.key?(:feature_name) @feature_version = args[:feature_version] if args.key?(:feature_version) end end # Targeting for a device feature. class DeviceFeatureTargeting include Google::Apis::Core::Hashable # Represents a device feature. # Corresponds to the JSON property `requiredFeature` # @return [Google::Apis::AndroidpublisherV3::DeviceFeature] attr_accessor :required_feature def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @required_feature = args[:required_feature] if args.key?(:required_feature) end end # A group of devices. A group is defined by a set of device selectors. A device # belongs to the group if it matches any selector (logical OR). class DeviceGroup include Google::Apis::Core::Hashable # Device selectors for this group. A device matching any of the selectors is # included in this group. # Corresponds to the JSON property `deviceSelectors` # @return [Array] attr_accessor :device_selectors # The name of the group. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_selectors = args[:device_selectors] if args.key?(:device_selectors) @name = args[:name] if args.key?(:name) end end # Identifier of a device. class DeviceId include Google::Apis::Core::Hashable # Value of Build.BRAND. # Corresponds to the JSON property `buildBrand` # @return [String] attr_accessor :build_brand # Value of Build.DEVICE. # Corresponds to the JSON property `buildDevice` # @return [String] attr_accessor :build_device def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @build_brand = args[:build_brand] if args.key?(:build_brand) @build_device = args[:build_device] if args.key?(:build_device) end end # Characteristics of the user's device. class DeviceMetadata include Google::Apis::Core::Hashable # Device CPU make, e.g. "Qualcomm" # Corresponds to the JSON property `cpuMake` # @return [String] attr_accessor :cpu_make # Device CPU model, e.g. "MSM8974" # Corresponds to the JSON property `cpuModel` # @return [String] attr_accessor :cpu_model # Device class (e.g. tablet) # Corresponds to the JSON property `deviceClass` # @return [String] attr_accessor :device_class # OpenGL version # Corresponds to the JSON property `glEsVersion` # @return [Fixnum] attr_accessor :gl_es_version # Device manufacturer (e.g. Motorola) # Corresponds to the JSON property `manufacturer` # @return [String] attr_accessor :manufacturer # Comma separated list of native platforms (e.g. "arm", "arm7") # Corresponds to the JSON property `nativePlatform` # @return [String] attr_accessor :native_platform # Device model name (e.g. Droid) # Corresponds to the JSON property `productName` # @return [String] attr_accessor :product_name # Device RAM in Megabytes, e.g. "2048" # Corresponds to the JSON property `ramMb` # @return [Fixnum] attr_accessor :ram_mb # Screen density in DPI # Corresponds to the JSON property `screenDensityDpi` # @return [Fixnum] attr_accessor :screen_density_dpi # Screen height in pixels # Corresponds to the JSON property `screenHeightPx` # @return [Fixnum] attr_accessor :screen_height_px # Screen width in pixels # Corresponds to the JSON property `screenWidthPx` # @return [Fixnum] attr_accessor :screen_width_px def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cpu_make = args[:cpu_make] if args.key?(:cpu_make) @cpu_model = args[:cpu_model] if args.key?(:cpu_model) @device_class = args[:device_class] if args.key?(:device_class) @gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version) @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @native_platform = args[:native_platform] if args.key?(:native_platform) @product_name = args[:product_name] if args.key?(:product_name) @ram_mb = args[:ram_mb] if args.key?(:ram_mb) @screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi) @screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px) @screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px) end end # Conditions about a device's RAM capabilities. class DeviceRam include Google::Apis::Core::Hashable # Maximum RAM in bytes (bound excluded). # Corresponds to the JSON property `maxBytes` # @return [Fixnum] attr_accessor :max_bytes # Minimum RAM in bytes (bound included). # Corresponds to the JSON property `minBytes` # @return [Fixnum] attr_accessor :min_bytes def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @max_bytes = args[:max_bytes] if args.key?(:max_bytes) @min_bytes = args[:min_bytes] if args.key?(:min_bytes) end end # Selector for a device group. A selector consists of a set of conditions on the # device that should all match (logical AND) to determine a device group # eligibility. For instance, if a selector specifies RAM conditions, device # model inclusion and device model exclusion, a device is considered to match if: # device matches RAM conditions AND device matches one of the included device # models AND device doesn't match excluded device models class DeviceSelector include Google::Apis::Core::Hashable # Conditions about a device's RAM capabilities. # Corresponds to the JSON property `deviceRam` # @return [Google::Apis::AndroidpublisherV3::DeviceRam] attr_accessor :device_ram # Device models excluded by this selector, even if they match all other # conditions. # Corresponds to the JSON property `excludedDeviceIds` # @return [Array] attr_accessor :excluded_device_ids # A device that has any of these system features is excluded by this selector, # even if it matches all other conditions. # Corresponds to the JSON property `forbiddenSystemFeatures` # @return [Array] attr_accessor :forbidden_system_features # Device models included by this selector. # Corresponds to the JSON property `includedDeviceIds` # @return [Array] attr_accessor :included_device_ids # A device needs to have all these system features to be included by the # selector. # Corresponds to the JSON property `requiredSystemFeatures` # @return [Array] attr_accessor :required_system_features # Optional. The SoCs included by this selector. Only works for Android S+ # devices. # Corresponds to the JSON property `systemOnChips` # @return [Array] attr_accessor :system_on_chips def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_ram = args[:device_ram] if args.key?(:device_ram) @excluded_device_ids = args[:excluded_device_ids] if args.key?(:excluded_device_ids) @forbidden_system_features = args[:forbidden_system_features] if args.key?(:forbidden_system_features) @included_device_ids = args[:included_device_ids] if args.key?(:included_device_ids) @required_system_features = args[:required_system_features] if args.key?(:required_system_features) @system_on_chips = args[:system_on_chips] if args.key?(:system_on_chips) end end # The device spec used to generate a system APK. class DeviceSpec include Google::Apis::Core::Hashable # Screen dpi. # Corresponds to the JSON property `screenDensity` # @return [Fixnum] attr_accessor :screen_density # Supported ABI architectures in the order of preference. The values should be # the string as reported by the platform, e.g. "armeabi-v7a", "x86_64". # Corresponds to the JSON property `supportedAbis` # @return [Array] attr_accessor :supported_abis # All installed locales represented as BCP-47 strings, e.g. "en-US". # Corresponds to the JSON property `supportedLocales` # @return [Array] attr_accessor :supported_locales def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @screen_density = args[:screen_density] if args.key?(:screen_density) @supported_abis = args[:supported_abis] if args.key?(:supported_abis) @supported_locales = args[:supported_locales] if args.key?(:supported_locales) end end # A single device tier. Devices matching any of the device groups in # device_group_names are considered to match the tier. class DeviceTier include Google::Apis::Core::Hashable # Groups of devices included in this tier. These groups must be defined # explicitly under device_groups in this configuration. # Corresponds to the JSON property `deviceGroupNames` # @return [Array] attr_accessor :device_group_names # The priority level of the tier. Tiers are evaluated in descending order of # level: the highest level tier has the highest priority. The highest tier # matching a given device is selected for that device. You should use a # contiguous range of levels for your tiers in a tier set; tier levels in a tier # set must be unique. For instance, if your tier set has 4 tiers (including the # global fallback), you should define tiers 1, 2 and 3 in this configuration. # Note: tier 0 is implicitly defined as a global fallback and selected for # devices that don't match any of the tiers explicitly defined here. You mustn't # define level 0 explicitly in this configuration. # Corresponds to the JSON property `level` # @return [Fixnum] attr_accessor :level def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_group_names = args[:device_group_names] if args.key?(:device_group_names) @level = args[:level] if args.key?(:level) end end # Configuration describing device targeting criteria for the content of an app. class DeviceTierConfig include Google::Apis::Core::Hashable # Definition of device groups for the app. # Corresponds to the JSON property `deviceGroups` # @return [Array] attr_accessor :device_groups # Output only. The device tier config ID. # Corresponds to the JSON property `deviceTierConfigId` # @return [Fixnum] attr_accessor :device_tier_config_id # A set of device tiers. A tier set determines what variation of app content # gets served to a specific device, for device-targeted content. You should # assign a priority level to each tier, which determines the ordering by which # they are evaluated by Play. See the documentation of DeviceTier.level for more # details. # Corresponds to the JSON property `deviceTierSet` # @return [Google::Apis::AndroidpublisherV3::DeviceTierSet] attr_accessor :device_tier_set # Definition of user country sets for the app. # Corresponds to the JSON property `userCountrySets` # @return [Array] attr_accessor :user_country_sets def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_groups = args[:device_groups] if args.key?(:device_groups) @device_tier_config_id = args[:device_tier_config_id] if args.key?(:device_tier_config_id) @device_tier_set = args[:device_tier_set] if args.key?(:device_tier_set) @user_country_sets = args[:user_country_sets] if args.key?(:user_country_sets) end end # A set of device tiers. A tier set determines what variation of app content # gets served to a specific device, for device-targeted content. You should # assign a priority level to each tier, which determines the ordering by which # they are evaluated by Play. See the documentation of DeviceTier.level for more # details. class DeviceTierSet include Google::Apis::Core::Hashable # Device tiers belonging to the set. # Corresponds to the JSON property `deviceTiers` # @return [Array] attr_accessor :device_tiers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_tiers = args[:device_tiers] if args.key?(:device_tiers) end end # An expansion file. The resource for ExpansionFilesService. class ExpansionFile include Google::Apis::Core::Hashable # If set, this field indicates that this APK has an expansion file uploaded to # it: this APK does not reference another APK's expansion file. The field's # value is the size of the uploaded expansion file in bytes. # Corresponds to the JSON property `fileSize` # @return [Fixnum] attr_accessor :file_size # If set, this APK's expansion file references another APK's expansion file. The # file_size field will not be set. # Corresponds to the JSON property `referencesVersion` # @return [Fixnum] attr_accessor :references_version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @file_size = args[:file_size] if args.key?(:file_size) @references_version = args[:references_version] if args.key?(:references_version) end end # Response for uploading an expansion file. class ExpansionFilesUploadResponse include Google::Apis::Core::Hashable # An expansion file. The resource for ExpansionFilesService. # Corresponds to the JSON property `expansionFile` # @return [Google::Apis::AndroidpublisherV3::ExpansionFile] attr_accessor :expansion_file def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expansion_file = args[:expansion_file] if args.key?(:expansion_file) end end # User account identifier in the third-party service. class ExternalAccountIdentifiers include Google::Apis::Core::Hashable # User account identifier in the third-party service. Only present if account # linking happened as part of the subscription purchase flow. # Corresponds to the JSON property `externalAccountId` # @return [String] attr_accessor :external_account_id # An obfuscated version of the id that is uniquely associated with the user's # account in your app. Present for the following purchases: * If account linking # happened as part of the subscription purchase flow. * It was specified using # https://developer.android.com/reference/com/android/billingclient/api/ # BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalAccountId` # @return [String] attr_accessor :obfuscated_external_account_id # An obfuscated version of the id that is uniquely associated with the user's # profile in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedprofileid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalProfileId` # @return [String] attr_accessor :obfuscated_external_profile_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @external_account_id = args[:external_account_id] if args.key?(:external_account_id) @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id) @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id) end end # User account identifier in your app. class ExternalAccountIds include Google::Apis::Core::Hashable # Optional. Specifies an optional obfuscated string that is uniquely associated # with the purchaser's user account in your app. If you pass this value, Google # Play can use it to detect irregular activity. Do not use this field to store # any Personally Identifiable Information (PII) such as emails in cleartext. # Attempting to store PII in this field will result in purchases being blocked. # Google Play recommends that you use either encryption or a one-way hash to # generate an obfuscated identifier to send to Google Play. This identifier is # limited to 64 characters. This field can only be set for resubscription # purchases. See https://developer.android.com/reference/com/android/ # billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid to set this # field for purchases made using the standard in-app billing flow. # Corresponds to the JSON property `obfuscatedAccountId` # @return [String] attr_accessor :obfuscated_account_id # Optional. Specifies an optional obfuscated string that is uniquely associated # with the purchaser's user profile in your app. If you pass this value, Google # Play can use it to detect irregular activity. Do not use this field to store # any Personally Identifiable Information (PII) such as emails in cleartext. # Attempting to store PII in this field will result in purchases being blocked. # Google Play recommends that you use either encryption or a one-way hash to # generate an obfuscated identifier to send to Google Play. This identifier is # limited to 64 characters. This field can only be set for resubscription # purchases. See https://developer.android.com/reference/com/android/ # billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid to set this # field for purchases made using the standard in-app billing flow. # Corresponds to the JSON property `obfuscatedProfileId` # @return [String] attr_accessor :obfuscated_profile_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @obfuscated_account_id = args[:obfuscated_account_id] if args.key?(:obfuscated_account_id) @obfuscated_profile_id = args[:obfuscated_profile_id] if args.key?(:obfuscated_profile_id) end end # Reporting details unique to the external offers program. class ExternalOfferDetails include Google::Apis::Core::Hashable # Optional. The external transaction id associated with the app download event # through an external link. Required when reporting transactions made in # externally installed apps. # Corresponds to the JSON property `appDownloadEventExternalTransactionId` # @return [String] attr_accessor :app_download_event_external_transaction_id # Optional. The category of the downloaded app though this transaction. This # must match the category provided in Play Console during the external app # verification process. Only required for app downloads. # Corresponds to the JSON property `installedAppCategory` # @return [String] attr_accessor :installed_app_category # Optional. The package name of the app downloaded through this transaction. # Required when link_type is LINK_TO_APP_DOWNLOAD. # Corresponds to the JSON property `installedAppPackage` # @return [String] attr_accessor :installed_app_package # Optional. The type of content being reported by this transaction. Required # when reporting app downloads or purchased digital content offers made in app # installed through Google Play. # Corresponds to the JSON property `linkType` # @return [String] attr_accessor :link_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @app_download_event_external_transaction_id = args[:app_download_event_external_transaction_id] if args.key?(:app_download_event_external_transaction_id) @installed_app_category = args[:installed_app_category] if args.key?(:installed_app_category) @installed_app_package = args[:installed_app_package] if args.key?(:installed_app_package) @link_type = args[:link_type] if args.key?(:link_type) end end # Details of an external subscription. class ExternalSubscription include Google::Apis::Core::Hashable # Required. The type of the external subscription. # Corresponds to the JSON property `subscriptionType` # @return [String] attr_accessor :subscription_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @subscription_type = args[:subscription_type] if args.key?(:subscription_type) end end # The details of an external transaction. class ExternalTransaction include Google::Apis::Core::Hashable # Output only. The time when this transaction was created. This is the time when # Google was notified of the transaction. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `currentPreTaxAmount` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :current_pre_tax_amount # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `currentTaxAmount` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :current_tax_amount # Reporting details unique to the external offers program. # Corresponds to the JSON property `externalOfferDetails` # @return [Google::Apis::AndroidpublisherV3::ExternalOfferDetails] attr_accessor :external_offer_details # Output only. The id of this transaction. All transaction ids under the same # package name must be unique. Set when creating the external transaction. # Corresponds to the JSON property `externalTransactionId` # @return [String] attr_accessor :external_transaction_id # Represents a one-time transaction. # Corresponds to the JSON property `oneTimeTransaction` # @return [Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction] attr_accessor :one_time_transaction # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `originalPreTaxAmount` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :original_pre_tax_amount # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `originalTaxAmount` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :original_tax_amount # Output only. The resource name of the external transaction. The package name # of the application the inapp products were sold (for example, 'com.some.app'). # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Represents a transaction that is part of a recurring series of payments. This # can be a subscription or a one-time product with multiple payments (such as # preorder). # Corresponds to the JSON property `recurringTransaction` # @return [Google::Apis::AndroidpublisherV3::RecurringExternalTransaction] attr_accessor :recurring_transaction # Represents a transaction performed using a test account. These transactions # will not be charged by Google. # Corresponds to the JSON property `testPurchase` # @return [Google::Apis::AndroidpublisherV3::ExternalTransactionTestPurchase] attr_accessor :test_purchase # Optional. The transaction program code, used to help determine service fee for # eligible apps participating in partner programs. Developers participating in # the Play Media Experience Program (https://play.google.com/console/about/ # programs/mediaprogram/) must provide the program code when reporting # alternative billing transactions. If you are an eligible developer, please # contact your BDM for more information on how to set this field. Note: this # field can not be used for external offers transactions. # Corresponds to the JSON property `transactionProgramCode` # @return [Fixnum] attr_accessor :transaction_program_code # Output only. The current state of the transaction. # Corresponds to the JSON property `transactionState` # @return [String] attr_accessor :transaction_state # Required. The time when the transaction was completed. # Corresponds to the JSON property `transactionTime` # @return [String] attr_accessor :transaction_time # User's address for the external transaction. # Corresponds to the JSON property `userTaxAddress` # @return [Google::Apis::AndroidpublisherV3::ExternalTransactionAddress] attr_accessor :user_tax_address def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @current_pre_tax_amount = args[:current_pre_tax_amount] if args.key?(:current_pre_tax_amount) @current_tax_amount = args[:current_tax_amount] if args.key?(:current_tax_amount) @external_offer_details = args[:external_offer_details] if args.key?(:external_offer_details) @external_transaction_id = args[:external_transaction_id] if args.key?(:external_transaction_id) @one_time_transaction = args[:one_time_transaction] if args.key?(:one_time_transaction) @original_pre_tax_amount = args[:original_pre_tax_amount] if args.key?(:original_pre_tax_amount) @original_tax_amount = args[:original_tax_amount] if args.key?(:original_tax_amount) @package_name = args[:package_name] if args.key?(:package_name) @recurring_transaction = args[:recurring_transaction] if args.key?(:recurring_transaction) @test_purchase = args[:test_purchase] if args.key?(:test_purchase) @transaction_program_code = args[:transaction_program_code] if args.key?(:transaction_program_code) @transaction_state = args[:transaction_state] if args.key?(:transaction_state) @transaction_time = args[:transaction_time] if args.key?(:transaction_time) @user_tax_address = args[:user_tax_address] if args.key?(:user_tax_address) end end # User's address for the external transaction. class ExternalTransactionAddress include Google::Apis::Core::Hashable # Optional. Top-level administrative subdivision of the country/region. Only # required for transactions in India. Valid values are "ANDAMAN AND NICOBAR # ISLANDS", "ANDHRA PRADESH", "ARUNACHAL PRADESH", "ASSAM", "BIHAR", "CHANDIGARH" # , "CHHATTISGARH", "DADRA AND NAGAR HAVELI", "DADRA AND NAGAR HAVELI AND DAMAN # AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT", "HARYANA", "HIMACHAL # PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", "KARNATAKA", "KERALA", "LADAKH", " # LAKSHADWEEP", "MADHYA PRADESH", "MAHARASHTRA", "MANIPUR", "MEGHALAYA", " # MIZORAM", "NAGALAND", "ODISHA", "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM", # "TAMIL NADU", "TELANGANA", "TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and " # WEST BENGAL". # Corresponds to the JSON property `administrativeArea` # @return [String] attr_accessor :administrative_area # Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes). # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @administrative_area = args[:administrative_area] if args.key?(:administrative_area) @region_code = args[:region_code] if args.key?(:region_code) end end # Represents a transaction performed using a test account. These transactions # will not be charged by Google. class ExternalTransactionTestPurchase include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Defines an APK available for this application that is hosted externally and # not uploaded to Google Play. This function is only available to organizations # using Managed Play whose application is configured to restrict distribution to # the organizations. class ExternallyHostedApk include Google::Apis::Core::Hashable # The application label. # Corresponds to the JSON property `applicationLabel` # @return [String] attr_accessor :application_label # A certificate (or array of certificates if a certificate-chain is used) used # to sign this APK, represented as a base64 encoded byte array. # Corresponds to the JSON property `certificateBase64s` # @return [Array] attr_accessor :certificate_base64s # The URL at which the APK is hosted. This must be an https URL. # Corresponds to the JSON property `externallyHostedUrl` # @return [String] attr_accessor :externally_hosted_url # The sha1 checksum of this APK, represented as a base64 encoded byte array. # Corresponds to the JSON property `fileSha1Base64` # @return [String] attr_accessor :file_sha1_base64 # The sha256 checksum of this APK, represented as a base64 encoded byte array. # Corresponds to the JSON property `fileSha256Base64` # @return [String] attr_accessor :file_sha256_base64 # The file size in bytes of this APK. # Corresponds to the JSON property `fileSize` # @return [Fixnum] attr_accessor :file_size # The icon image from the APK, as a base64 encoded byte array. # Corresponds to the JSON property `iconBase64` # @return [String] attr_accessor :icon_base64 # The maximum SDK supported by this APK (optional). # Corresponds to the JSON property `maximumSdk` # @return [Fixnum] attr_accessor :maximum_sdk # The minimum SDK targeted by this APK. # Corresponds to the JSON property `minimumSdk` # @return [Fixnum] attr_accessor :minimum_sdk # The native code environments supported by this APK (optional). # Corresponds to the JSON property `nativeCodes` # @return [Array] attr_accessor :native_codes # The package name. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # The features required by this APK (optional). # Corresponds to the JSON property `usesFeatures` # @return [Array] attr_accessor :uses_features # The permissions requested by this APK. # Corresponds to the JSON property `usesPermissions` # @return [Array] attr_accessor :uses_permissions # The version code of this APK. # Corresponds to the JSON property `versionCode` # @return [Fixnum] attr_accessor :version_code # The version name of this APK. # Corresponds to the JSON property `versionName` # @return [String] attr_accessor :version_name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @application_label = args[:application_label] if args.key?(:application_label) @certificate_base64s = args[:certificate_base64s] if args.key?(:certificate_base64s) @externally_hosted_url = args[:externally_hosted_url] if args.key?(:externally_hosted_url) @file_sha1_base64 = args[:file_sha1_base64] if args.key?(:file_sha1_base64) @file_sha256_base64 = args[:file_sha256_base64] if args.key?(:file_sha256_base64) @file_size = args[:file_size] if args.key?(:file_size) @icon_base64 = args[:icon_base64] if args.key?(:icon_base64) @maximum_sdk = args[:maximum_sdk] if args.key?(:maximum_sdk) @minimum_sdk = args[:minimum_sdk] if args.key?(:minimum_sdk) @native_codes = args[:native_codes] if args.key?(:native_codes) @package_name = args[:package_name] if args.key?(:package_name) @uses_features = args[:uses_features] if args.key?(:uses_features) @uses_permissions = args[:uses_permissions] if args.key?(:uses_permissions) @version_code = args[:version_code] if args.key?(:version_code) @version_name = args[:version_name] if args.key?(:version_name) end end # Details of a free trial pricing phase. class FreeTrialDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Details about free trial offer phase. class FreeTrialOfferPhase include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # A full refund of the remaining amount of a transaction. class FullRefund include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Response to list generated APKs. class GeneratedApksListResponse include Google::Apis::Core::Hashable # All generated APKs, grouped by the APK signing key. # Corresponds to the JSON property `generatedApks` # @return [Array] attr_accessor :generated_apks def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @generated_apks = args[:generated_apks] if args.key?(:generated_apks) end end # Download metadata for split, standalone and universal APKs, as well as asset # pack slices, signed with a given key. class GeneratedApksPerSigningKey include Google::Apis::Core::Hashable # SHA256 hash of the APK signing public key certificate. # Corresponds to the JSON property `certificateSha256Hash` # @return [String] attr_accessor :certificate_sha256_hash # List of asset pack slices which will be served for this app bundle, signed # with a key corresponding to certificate_sha256_hash. # Corresponds to the JSON property `generatedAssetPackSlices` # @return [Array] attr_accessor :generated_asset_pack_slices # Generated recovery apks for recovery actions signed with a key corresponding # to certificate_sha256_hash. This includes all generated recovery APKs, also # those in draft or cancelled state. This field is not set if no recovery # actions were created for this signing key. # Corresponds to the JSON property `generatedRecoveryModules` # @return [Array] attr_accessor :generated_recovery_modules # List of generated split APKs, signed with a key corresponding to # certificate_sha256_hash. # Corresponds to the JSON property `generatedSplitApks` # @return [Array] attr_accessor :generated_split_apks # List of generated standalone APKs, signed with a key corresponding to # certificate_sha256_hash. # Corresponds to the JSON property `generatedStandaloneApks` # @return [Array] attr_accessor :generated_standalone_apks # Download metadata for a universal APK. # Corresponds to the JSON property `generatedUniversalApk` # @return [Google::Apis::AndroidpublisherV3::GeneratedUniversalApk] attr_accessor :generated_universal_apk # Targeting information about the generated apks. # Corresponds to the JSON property `targetingInfo` # @return [Google::Apis::AndroidpublisherV3::TargetingInfo] attr_accessor :targeting_info def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @certificate_sha256_hash = args[:certificate_sha256_hash] if args.key?(:certificate_sha256_hash) @generated_asset_pack_slices = args[:generated_asset_pack_slices] if args.key?(:generated_asset_pack_slices) @generated_recovery_modules = args[:generated_recovery_modules] if args.key?(:generated_recovery_modules) @generated_split_apks = args[:generated_split_apks] if args.key?(:generated_split_apks) @generated_standalone_apks = args[:generated_standalone_apks] if args.key?(:generated_standalone_apks) @generated_universal_apk = args[:generated_universal_apk] if args.key?(:generated_universal_apk) @targeting_info = args[:targeting_info] if args.key?(:targeting_info) end end # Download metadata for an asset pack slice. class GeneratedAssetPackSlice include Google::Apis::Core::Hashable # Download ID, which uniquely identifies the APK to download. Should be supplied # to `generatedapks.download` method. # Corresponds to the JSON property `downloadId` # @return [String] attr_accessor :download_id # Name of the module that this asset slice belongs to. # Corresponds to the JSON property `moduleName` # @return [String] attr_accessor :module_name # Asset slice ID. # Corresponds to the JSON property `sliceId` # @return [String] attr_accessor :slice_id # Asset module version. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @module_name = args[:module_name] if args.key?(:module_name) @slice_id = args[:slice_id] if args.key?(:slice_id) @version = args[:version] if args.key?(:version) end end # Download metadata for an app recovery module. class GeneratedRecoveryApk include Google::Apis::Core::Hashable # Download ID, which uniquely identifies the APK to download. Should be supplied # to `generatedapks.download` method. # Corresponds to the JSON property `downloadId` # @return [String] attr_accessor :download_id # Name of the module which recovery apk belongs to. # Corresponds to the JSON property `moduleName` # @return [String] attr_accessor :module_name # ID of the recovery action. # Corresponds to the JSON property `recoveryId` # @return [Fixnum] attr_accessor :recovery_id # The status of the recovery action corresponding to the recovery apk. # Corresponds to the JSON property `recoveryStatus` # @return [String] attr_accessor :recovery_status def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @module_name = args[:module_name] if args.key?(:module_name) @recovery_id = args[:recovery_id] if args.key?(:recovery_id) @recovery_status = args[:recovery_status] if args.key?(:recovery_status) end end # Download metadata for a split APK. class GeneratedSplitApk include Google::Apis::Core::Hashable # Download ID, which uniquely identifies the APK to download. Should be supplied # to `generatedapks.download` method. # Corresponds to the JSON property `downloadId` # @return [String] attr_accessor :download_id # Name of the module that this APK belongs to. # Corresponds to the JSON property `moduleName` # @return [String] attr_accessor :module_name # Split ID. Empty for the main split of the base module. # Corresponds to the JSON property `splitId` # @return [String] attr_accessor :split_id # ID of the generated variant. # Corresponds to the JSON property `variantId` # @return [Fixnum] attr_accessor :variant_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @module_name = args[:module_name] if args.key?(:module_name) @split_id = args[:split_id] if args.key?(:split_id) @variant_id = args[:variant_id] if args.key?(:variant_id) end end # Download metadata for a standalone APK. class GeneratedStandaloneApk include Google::Apis::Core::Hashable # Download ID, which uniquely identifies the APK to download. Should be supplied # to `generatedapks.download` method. # Corresponds to the JSON property `downloadId` # @return [String] attr_accessor :download_id # ID of the generated variant. # Corresponds to the JSON property `variantId` # @return [Fixnum] attr_accessor :variant_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @variant_id = args[:variant_id] if args.key?(:variant_id) end end # Download metadata for a universal APK. class GeneratedUniversalApk include Google::Apis::Core::Hashable # Download ID, which uniquely identifies the APK to download. Should be supplied # to `generatedapks.download` method. # Corresponds to the JSON property `downloadId` # @return [String] attr_accessor :download_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) end end # Request message for GetOneTimeProductOffers. class GetOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Required. The unique offer ID of the offer to get. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to get. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent one-time product (ID) of the offer to get. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The parent purchase option (ID) of the offer to get. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end end # Request message for GetSubscriptionOffer. class GetSubscriptionOfferRequest include Google::Apis::Core::Hashable # Required. The parent base plan (ID) of the offer to get. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Required. The unique offer ID of the offer to get. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Required. The parent app (package name) of the offer to get. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The parent subscription (ID) of the offer to get. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) end end # An access grant resource. class Grant include Google::Apis::Core::Hashable # The permissions granted to the user for this app. # Corresponds to the JSON property `appLevelPermissions` # @return [Array] attr_accessor :app_level_permissions # Required. Resource name for this grant, following the pattern "developers/` # developer`/users/`email`/grants/`package_name`". If this grant is for a draft # app, the app ID will be used in this resource name instead of the package name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Immutable. The package name of the app. This will be empty for draft apps. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @app_level_permissions = args[:app_level_permissions] if args.key?(:app_level_permissions) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) end end # An uploaded image. The resource for ImagesService. class Image include Google::Apis::Core::Hashable # A unique id representing this image. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id # A sha1 hash of the image. # Corresponds to the JSON property `sha1` # @return [String] attr_accessor :sha1 # A sha256 hash of the image. # Corresponds to the JSON property `sha256` # @return [String] attr_accessor :sha256 # A URL that will serve a preview of the image. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @id = args[:id] if args.key?(:id) @sha1 = args[:sha1] if args.key?(:sha1) @sha256 = args[:sha256] if args.key?(:sha256) @url = args[:url] if args.key?(:url) end end # Response for deleting all images. class ImagesDeleteAllResponse include Google::Apis::Core::Hashable # The deleted images. # Corresponds to the JSON property `deleted` # @return [Array] attr_accessor :deleted def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @deleted = args[:deleted] if args.key?(:deleted) end end # Response listing all images. class ImagesListResponse include Google::Apis::Core::Hashable # All listed Images. # Corresponds to the JSON property `images` # @return [Array] attr_accessor :images def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @images = args[:images] if args.key?(:images) end end # Response for uploading an image. class ImagesUploadResponse include Google::Apis::Core::Hashable # An uploaded image. The resource for ImagesService. # Corresponds to the JSON property `image` # @return [Google::Apis::AndroidpublisherV3::Image] attr_accessor :image def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @image = args[:image] if args.key?(:image) end end # An in-app product. The resource for InappproductsService. class InAppProduct include Google::Apis::Core::Hashable # Default language of the localized data, as defined by BCP-47. e.g. "en-US". # Corresponds to the JSON property `defaultLanguage` # @return [String] attr_accessor :default_language # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `defaultPrice` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :default_price # Grace period of the subscription, specified in ISO 8601 format. Allows # developers to give their subscribers a grace period when the payment for the # new recurrence period is declined. Acceptable values are P0D (zero days), P3D ( # three days), P7D (seven days), P14D (14 days), and P30D (30 days). # Corresponds to the JSON property `gracePeriod` # @return [String] attr_accessor :grace_period # List of localized title and description data. Map key is the language of the # localized data, as defined by BCP-47, e.g. "en-US". # Corresponds to the JSON property `listings` # @return [Hash] attr_accessor :listings # Details about taxation and legal compliance for managed products. # Corresponds to the JSON property `managedProductTaxesAndComplianceSettings` # @return [Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings] attr_accessor :managed_product_taxes_and_compliance_settings # Package name of the parent app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Prices per buyer region. None of these can be zero, as in-app products are # never free. Map key is region code, as defined by ISO 3166-2. # Corresponds to the JSON property `prices` # @return [Hash] attr_accessor :prices # The type of the product, e.g. a recurring subscription. # Corresponds to the JSON property `purchaseType` # @return [String] attr_accessor :purchase_type # Stock-keeping-unit (SKU) of the product, unique within an app. # Corresponds to the JSON property `sku` # @return [String] attr_accessor :sku # The status of the product, e.g. whether it's active. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status # Subscription period, specified in ISO 8601 format. Acceptable values are P1W ( # one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one # year). # Corresponds to the JSON property `subscriptionPeriod` # @return [String] attr_accessor :subscription_period # Details about taxation, Google Play policy, and legal compliance for # subscription products. # Corresponds to the JSON property `subscriptionTaxesAndComplianceSettings` # @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings] attr_accessor :subscription_taxes_and_compliance_settings # Trial period, specified in ISO 8601 format. Acceptable values are anything # between P7D (seven days) and P999D (999 days). # Corresponds to the JSON property `trialPeriod` # @return [String] attr_accessor :trial_period def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @default_language = args[:default_language] if args.key?(:default_language) @default_price = args[:default_price] if args.key?(:default_price) @grace_period = args[:grace_period] if args.key?(:grace_period) @listings = args[:listings] if args.key?(:listings) @managed_product_taxes_and_compliance_settings = args[:managed_product_taxes_and_compliance_settings] if args.key?(:managed_product_taxes_and_compliance_settings) @package_name = args[:package_name] if args.key?(:package_name) @prices = args[:prices] if args.key?(:prices) @purchase_type = args[:purchase_type] if args.key?(:purchase_type) @sku = args[:sku] if args.key?(:sku) @status = args[:status] if args.key?(:status) @subscription_period = args[:subscription_period] if args.key?(:subscription_period) @subscription_taxes_and_compliance_settings = args[:subscription_taxes_and_compliance_settings] if args.key?(:subscription_taxes_and_compliance_settings) @trial_period = args[:trial_period] if args.key?(:trial_period) end end # Store listing of a single in-app product. class InAppProductListing include Google::Apis::Core::Hashable # Localized entitlement benefits for a subscription. # Corresponds to the JSON property `benefits` # @return [Array] attr_accessor :benefits # Description for the store listing. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Title for the store listing. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @benefits = args[:benefits] if args.key?(:benefits) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end end # Request to delete multiple in-app products. class InappproductsBatchDeleteRequest include Google::Apis::Core::Hashable # Individual delete requests. At least one request is required. Can contain up # to 100 requests. All requests must correspond to different in-app products. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response message for BatchGetSubscriptions endpoint. class InappproductsBatchGetResponse include Google::Apis::Core::Hashable # The list of requested in-app products, in the same order as the request. # Corresponds to the JSON property `inappproduct` # @return [Array] attr_accessor :inappproduct def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @inappproduct = args[:inappproduct] if args.key?(:inappproduct) end end # Request to update or insert one or more in-app products. class InappproductsBatchUpdateRequest include Google::Apis::Core::Hashable # Required. Individual update requests. At least one request is required. Can # contain up to 100 requests. All requests must correspond to different in-app # products. # Corresponds to the JSON property `requests` # @return [Array] attr_accessor :requests def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @requests = args[:requests] if args.key?(:requests) end end # Response for a batch in-app product update. class InappproductsBatchUpdateResponse include Google::Apis::Core::Hashable # The updated or inserted in-app products. # Corresponds to the JSON property `inappproducts` # @return [Array] attr_accessor :inappproducts def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @inappproducts = args[:inappproducts] if args.key?(:inappproducts) end end # Request to delete an in-app product. class InappproductsDeleteRequest include Google::Apis::Core::Hashable # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Package name of the app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Unique identifier for the in-app product. # Corresponds to the JSON property `sku` # @return [String] attr_accessor :sku def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @sku = args[:sku] if args.key?(:sku) end end # Response listing all in-app products. class InappproductsListResponse include Google::Apis::Core::Hashable # All in-app products. # Corresponds to the JSON property `inappproduct` # @return [Array] attr_accessor :inappproduct # The kind of this response ("androidpublisher#inappproductsListResponse"). # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Information about the current page. List operations that supports paging # return only one "page" of results. This protocol buffer message describes the # page that has been returned. # Corresponds to the JSON property `pageInfo` # @return [Google::Apis::AndroidpublisherV3::PageInfo] attr_accessor :page_info # Pagination information returned by a List operation when token pagination is # enabled. List operations that supports paging return only one "page" of # results. This protocol buffer message describes the page that has been # returned. When using token pagination, clients should use the next/previous # token to get another page of the result. The presence or absence of next/ # previous token indicates whether a next/previous page is available and # provides a mean of accessing this page. ListRequest.page_token should be set # to either next_page_token or previous_page_token to access another page. # Corresponds to the JSON property `tokenPagination` # @return [Google::Apis::AndroidpublisherV3::TokenPagination] attr_accessor :token_pagination def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @inappproduct = args[:inappproduct] if args.key?(:inappproduct) @kind = args[:kind] if args.key?(:kind) @page_info = args[:page_info] if args.key?(:page_info) @token_pagination = args[:token_pagination] if args.key?(:token_pagination) end end # Request to update an in-app product. class InappproductsUpdateRequest include Google::Apis::Core::Hashable # If set to true, and the in-app product with the given package_name and sku # doesn't exist, the in-app product will be created. # Corresponds to the JSON property `allowMissing` # @return [Boolean] attr_accessor :allow_missing alias_method :allow_missing?, :allow_missing # If true the prices for all regions targeted by the parent app that don't have # a price specified for this in-app product will be auto converted to the target # currency based on the default price. Defaults to false. # Corresponds to the JSON property `autoConvertMissingPrices` # @return [Boolean] attr_accessor :auto_convert_missing_prices alias_method :auto_convert_missing_prices?, :auto_convert_missing_prices # An in-app product. The resource for InappproductsService. # Corresponds to the JSON property `inappproduct` # @return [Google::Apis::AndroidpublisherV3::InAppProduct] attr_accessor :inappproduct # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Package name of the app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Unique identifier for the in-app product. # Corresponds to the JSON property `sku` # @return [String] attr_accessor :sku def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @auto_convert_missing_prices = args[:auto_convert_missing_prices] if args.key?(:auto_convert_missing_prices) @inappproduct = args[:inappproduct] if args.key?(:inappproduct) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @sku = args[:sku] if args.key?(:sku) end end # Information to a installment plan. class InstallmentPlan include Google::Apis::Core::Hashable # Total number of payments the user is initially committed for. # Corresponds to the JSON property `initialCommittedPaymentsCount` # @return [Fixnum] attr_accessor :initial_committed_payments_count # This is an indicator of whether there is a pending cancellation on the virtual # installment plan. The cancellation will happen only after the user finished # all committed payments. # Corresponds to the JSON property `pendingCancellation` # @return [Google::Apis::AndroidpublisherV3::PendingCancellation] attr_accessor :pending_cancellation # Total number of committed payments remaining to be paid for in this renewal # cycle. # Corresponds to the JSON property `remainingCommittedPaymentsCount` # @return [Fixnum] attr_accessor :remaining_committed_payments_count # Total number of payments the user will be committed for after each commitment # period. Empty means the installment plan will fall back to a normal auto-renew # subscription after initial commitment. # Corresponds to the JSON property `subsequentCommittedPaymentsCount` # @return [Fixnum] attr_accessor :subsequent_committed_payments_count def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @initial_committed_payments_count = args[:initial_committed_payments_count] if args.key?(:initial_committed_payments_count) @pending_cancellation = args[:pending_cancellation] if args.key?(:pending_cancellation) @remaining_committed_payments_count = args[:remaining_committed_payments_count] if args.key?(:remaining_committed_payments_count) @subsequent_committed_payments_count = args[:subsequent_committed_payments_count] if args.key?(:subsequent_committed_payments_count) end end # Represents an installments base plan where a user commits to a specified # number of payments. class InstallmentsBasePlanType include Google::Apis::Core::Hashable # Optional. Custom account hold period of the subscription, specified in ISO # 8601 format. Acceptable values must be in days and between P0D and P60D. An # empty field represents a recommended account hold, calculated as 60 days minus # grace period. The sum of gracePeriodDuration and accountHoldDuration must be # between P30D and P60D days, inclusive. # Corresponds to the JSON property `accountHoldDuration` # @return [String] attr_accessor :account_hold_duration # Required. Immutable. Subscription period, specified in ISO 8601 format. For a # list of acceptable billing periods, refer to the help center. The duration is # immutable after the base plan is created. # Corresponds to the JSON property `billingPeriodDuration` # @return [String] attr_accessor :billing_period_duration # Required. Immutable. The number of payments the user is committed to. It is # immutable after the base plan is created. # Corresponds to the JSON property `committedPaymentsCount` # @return [Fixnum] attr_accessor :committed_payments_count # Grace period of the subscription, specified in ISO 8601 format. Acceptable # values must be in days and between P0D and the lesser of 30D and base plan # billing period. If not specified, a default value will be used based on the # billing period. The sum of gracePeriodDuration and accountHoldDuration must be # between P30D and P60D days, inclusive. # Corresponds to the JSON property `gracePeriodDuration` # @return [String] attr_accessor :grace_period_duration # The proration mode for the base plan determines what happens when a user # switches to this plan from another base plan. If unspecified, defaults to # CHARGE_ON_NEXT_BILLING_DATE. # Corresponds to the JSON property `prorationMode` # @return [String] attr_accessor :proration_mode # Required. Immutable. Installments base plan renewal type. Determines the # behavior at the end of the initial commitment. The renewal type is immutable # after the base plan is created. # Corresponds to the JSON property `renewalType` # @return [String] attr_accessor :renewal_type # Whether users should be able to resubscribe to this base plan in Google Play # surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. # Corresponds to the JSON property `resubscribeState` # @return [String] attr_accessor :resubscribe_state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @account_hold_duration = args[:account_hold_duration] if args.key?(:account_hold_duration) @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration) @committed_payments_count = args[:committed_payments_count] if args.key?(:committed_payments_count) @grace_period_duration = args[:grace_period_duration] if args.key?(:grace_period_duration) @proration_mode = args[:proration_mode] if args.key?(:proration_mode) @renewal_type = args[:renewal_type] if args.key?(:renewal_type) @resubscribe_state = args[:resubscribe_state] if args.key?(:resubscribe_state) end end # An artifact resource which gets created when uploading an APK or Android App # Bundle through internal app sharing. class InternalAppSharingArtifact include Google::Apis::Core::Hashable # The sha256 fingerprint of the certificate used to sign the generated artifact. # Corresponds to the JSON property `certificateFingerprint` # @return [String] attr_accessor :certificate_fingerprint # The download URL generated for the uploaded artifact. Users that are # authorized to download can follow the link to the Play Store app to install it. # Corresponds to the JSON property `downloadUrl` # @return [String] attr_accessor :download_url # The sha256 hash of the artifact represented as a lowercase hexadecimal number, # matching the output of the sha256sum command. # Corresponds to the JSON property `sha256` # @return [String] attr_accessor :sha256 def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @certificate_fingerprint = args[:certificate_fingerprint] if args.key?(:certificate_fingerprint) @download_url = args[:download_url] if args.key?(:download_url) @sha256 = args[:sha256] if args.key?(:sha256) end end # Details of an introductory price pricing phase. class IntroductoryPriceDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Contains the introductory price information for a subscription. class IntroductoryPriceInfo include Google::Apis::Core::Hashable # Introductory price of the subscription, not including tax. The currency is the # same as price_currency_code. Price is expressed in micro-units, where 1,000, # 000 micro-units represents one unit of the currency. For example, if the # subscription price is €1.99, price_amount_micros is 1990000. # Corresponds to the JSON property `introductoryPriceAmountMicros` # @return [Fixnum] attr_accessor :introductory_price_amount_micros # ISO 4217 currency code for the introductory subscription price. For example, # if the price is specified in British pounds sterling, price_currency_code is " # GBP". # Corresponds to the JSON property `introductoryPriceCurrencyCode` # @return [String] attr_accessor :introductory_price_currency_code # The number of billing period to offer introductory pricing. # Corresponds to the JSON property `introductoryPriceCycles` # @return [Fixnum] attr_accessor :introductory_price_cycles # Introductory price period, specified in ISO 8601 format. Common values are ( # but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months), # "P6M" (six months), and "P1Y" (one year). # Corresponds to the JSON property `introductoryPricePeriod` # @return [String] attr_accessor :introductory_price_period def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @introductory_price_amount_micros = args[:introductory_price_amount_micros] if args.key?(:introductory_price_amount_micros) @introductory_price_currency_code = args[:introductory_price_currency_code] if args.key?(:introductory_price_currency_code) @introductory_price_cycles = args[:introductory_price_cycles] if args.key?(:introductory_price_cycles) @introductory_price_period = args[:introductory_price_period] if args.key?(:introductory_price_period) end end # Details about introductory price offer phase. class IntroductoryPriceOfferPhase include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Expiry time details of a subscription item. class ItemExpiryTimeDetails include Google::Apis::Core::Hashable # The new expiry time for this subscription item. # Corresponds to the JSON property `expiryTime` # @return [String] attr_accessor :expiry_time # The product ID of the subscription item (for example, 'premium_plan'). # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expiry_time = args[:expiry_time] if args.key?(:expiry_time) @product_id = args[:product_id] if args.key?(:product_id) end end # Details about a subscription line item that is being replaced. class ItemReplacement include Google::Apis::Core::Hashable # The base plan ID of the subscription line item being replaced. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # The offer ID of the subscription line item being replaced, if applicable. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # The product ID of the subscription line item being replaced. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # The replacement mode applied during the purchase. # Corresponds to the JSON property `replacementMode` # @return [String] attr_accessor :replacement_mode def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @product_id = args[:product_id] if args.key?(:product_id) @replacement_mode = args[:replacement_mode] if args.key?(:replacement_mode) end end # Targeting based on language. class LanguageTargeting include Google::Apis::Core::Hashable # Alternative languages. # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # ISO-639: 2 or 3 letter language code. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # Details of a line item. class LineItem include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `listingPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :listing_price # Details of a one-time purchase. # Corresponds to the JSON property `oneTimePurchaseDetails` # @return [Google::Apis::AndroidpublisherV3::OneTimePurchaseDetails] attr_accessor :one_time_purchase_details # Details of a paid app purchase. # Corresponds to the JSON property `paidAppDetails` # @return [Google::Apis::AndroidpublisherV3::PaidAppDetails] attr_accessor :paid_app_details # The purchased product ID or in-app SKU (for example, 'monthly001' or 'com.some. # thing.inapp1'). # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Developer-specified name of the product. Displayed in buyer's locale. Example: # coins, monthly subscription, etc. # Corresponds to the JSON property `productTitle` # @return [String] attr_accessor :product_title # Details of a subscription purchase. # Corresponds to the JSON property `subscriptionDetails` # @return [Google::Apis::AndroidpublisherV3::SubscriptionDetails] attr_accessor :subscription_details # Represents an amount of money with its currency type. # Corresponds to the JSON property `tax` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :tax # Represents an amount of money with its currency type. # Corresponds to the JSON property `total` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :total def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @listing_price = args[:listing_price] if args.key?(:listing_price) @one_time_purchase_details = args[:one_time_purchase_details] if args.key?(:one_time_purchase_details) @paid_app_details = args[:paid_app_details] if args.key?(:paid_app_details) @product_id = args[:product_id] if args.key?(:product_id) @product_title = args[:product_title] if args.key?(:product_title) @subscription_details = args[:subscription_details] if args.key?(:subscription_details) @tax = args[:tax] if args.key?(:tax) @total = args[:total] if args.key?(:total) end end # Response message for ListAppRecoveries. -- api-linter: core::0158::response- # next-page-token-field=disabled class ListAppRecoveriesResponse include Google::Apis::Core::Hashable # List of recovery actions associated with the requested package name. # Corresponds to the JSON property `recoveryActions` # @return [Array] attr_accessor :recovery_actions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @recovery_actions = args[:recovery_actions] if args.key?(:recovery_actions) end end # Response listing existing device tier configs. class ListDeviceTierConfigsResponse include Google::Apis::Core::Hashable # Device tier configs created by the developer. # Corresponds to the JSON property `deviceTierConfigs` # @return [Array] attr_accessor :device_tier_configs # A token, which can be sent as `page_token` to retrieve the next page. If this # field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_tier_configs = args[:device_tier_configs] if args.key?(:device_tier_configs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end # Response message for ListOneTimeProductOffers. class ListOneTimeProductOffersResponse include Google::Apis::Core::Hashable # A token, which can be sent as `page_token` to retrieve the next page. If this # field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The one_time_product offers from the specified request. # Corresponds to the JSON property `oneTimeProductOffers` # @return [Array] attr_accessor :one_time_product_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @one_time_product_offers = args[:one_time_product_offers] if args.key?(:one_time_product_offers) end end # Response message for ListOneTimeProducts. class ListOneTimeProductsResponse include Google::Apis::Core::Hashable # A token, which can be sent as `page_token` to retrieve the next page. If this # field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The one-time products from the specified app. # Corresponds to the JSON property `oneTimeProducts` # @return [Array] attr_accessor :one_time_products def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @one_time_products = args[:one_time_products] if args.key?(:one_time_products) end end # Response message for ListSubscriptionOffers. class ListSubscriptionOffersResponse include Google::Apis::Core::Hashable # A token, which can be sent as `page_token` to retrieve the next page. If this # field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The subscription offers from the specified subscription. # Corresponds to the JSON property `subscriptionOffers` # @return [Array] attr_accessor :subscription_offers def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers) end end # Response message for ListSubscriptions. class ListSubscriptionsResponse include Google::Apis::Core::Hashable # A token, which can be sent as `page_token` to retrieve the next page. If this # field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The subscriptions from the specified app. # Corresponds to the JSON property `subscriptions` # @return [Array] attr_accessor :subscriptions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end end # A response containing one or more users with access to an account. class ListUsersResponse include Google::Apis::Core::Hashable # A token to pass to subsequent calls in order to retrieve subsequent results. # This will not be set if there are no more results to return. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # The resulting users. # Corresponds to the JSON property `users` # @return [Array] attr_accessor :users def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @users = args[:users] if args.key?(:users) end end # A localized store listing. The resource for ListingsService. class Listing include Google::Apis::Core::Hashable # Full description of the app. # Corresponds to the JSON property `fullDescription` # @return [String] attr_accessor :full_description # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # Corresponds to the JSON property `language` # @return [String] attr_accessor :language # Short description of the app. # Corresponds to the JSON property `shortDescription` # @return [String] attr_accessor :short_description # Localized title of the app. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title # URL of a promotional YouTube video for the app. # Corresponds to the JSON property `video` # @return [String] attr_accessor :video def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @full_description = args[:full_description] if args.key?(:full_description) @language = args[:language] if args.key?(:language) @short_description = args[:short_description] if args.key?(:short_description) @title = args[:title] if args.key?(:title) @video = args[:video] if args.key?(:video) end end # Response listing all localized listings. class ListingsListResponse include Google::Apis::Core::Hashable # The kind of this response ("androidpublisher#listingsListResponse"). # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # All localized listings. # Corresponds to the JSON property `listings` # @return [Array] attr_accessor :listings def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @kind = args[:kind] if args.key?(:kind) @listings = args[:listings] if args.key?(:listings) end end # Localized text in given language. class LocalizedText include Google::Apis::Core::Hashable # Language localization code (a BCP-47 language tag; for example, "de-AT" for # Austrian German). # Corresponds to the JSON property `language` # @return [String] attr_accessor :language # The text in the given language. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @language = args[:language] if args.key?(:language) @text = args[:text] if args.key?(:text) end end # Details about taxation and legal compliance for managed products. class ManagedProductTaxAndComplianceSettings include Google::Apis::Core::Hashable # Digital content or service classification for products distributed to users in # the European Economic Area (EEA). The withdrawal regime under EEA consumer # laws depends on this classification. Refer to the [Help Center article](https:/ # /support.google.com/googleplay/android-developer/answer/10463498) for more # information. # Corresponds to the JSON property `eeaWithdrawalRightType` # @return [String] attr_accessor :eea_withdrawal_right_type # Whether this in-app product is declared as a product representing a tokenized # digital asset. # Corresponds to the JSON property `isTokenizedDigitalAsset` # @return [Boolean] attr_accessor :is_tokenized_digital_asset alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset # Product tax category code to assign to the in-app product. Product tax # category determines the transaction tax rates applied to the product. Refer to # the [Help Center article](https://support.google.com/googleplay/android- # developer/answer/16408159) for more information. # Corresponds to the JSON property `productTaxCategoryCode` # @return [String] attr_accessor :product_tax_category_code # Regional age rating information. Currently this field is only supported for # region code `US`. # Corresponds to the JSON property `regionalProductAgeRatingInfos` # @return [Array] attr_accessor :regional_product_age_rating_infos # A mapping from region code to tax rate details. The keys are region codes as # defined by Unicode's "CLDR". # Corresponds to the JSON property `taxRateInfoByRegionCode` # @return [Hash] attr_accessor :tax_rate_info_by_region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type) @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset) @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code) @regional_product_age_rating_infos = args[:regional_product_age_rating_infos] if args.key?(:regional_product_age_rating_infos) @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code) end end # Request message for MigrateBasePlanPrices. class MigrateBasePlanPricesRequest include Google::Apis::Core::Hashable # Required. The unique base plan ID of the base plan to update prices on. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # Required. Package name of the parent app. Must be equal to the package_name # field on the Subscription resource. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The ID of the subscription to update. Must be equal to the # product_id field on the Subscription resource. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The regional prices to update. # Corresponds to the JSON property `regionalPriceMigrations` # @return [Array] attr_accessor :regional_price_migrations # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @regional_price_migrations = args[:regional_price_migrations] if args.key?(:regional_price_migrations) @regions_version = args[:regions_version] if args.key?(:regions_version) end end # Response message for MigrateBasePlanPrices. class MigrateBasePlanPricesResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Metadata of a module. class ModuleMetadata include Google::Apis::Core::Hashable # Indicates the delivery type (e.g. on-demand) of the module. # Corresponds to the JSON property `deliveryType` # @return [String] attr_accessor :delivery_type # Names of the modules that this module directly depends on. Each module # implicitly depends on the base module. # Corresponds to the JSON property `dependencies` # @return [Array] attr_accessor :dependencies # Indicates the type of this feature module. # Corresponds to the JSON property `moduleType` # @return [String] attr_accessor :module_type # Module name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Targeting on the module level. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::ModuleTargeting] attr_accessor :targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @delivery_type = args[:delivery_type] if args.key?(:delivery_type) @dependencies = args[:dependencies] if args.key?(:dependencies) @module_type = args[:module_type] if args.key?(:module_type) @name = args[:name] if args.key?(:name) @targeting = args[:targeting] if args.key?(:targeting) end end # Targeting on the module level. class ModuleTargeting include Google::Apis::Core::Hashable # Targeting for device features. # Corresponds to the JSON property `deviceFeatureTargeting` # @return [Array] attr_accessor :device_feature_targeting # Targeting based on sdk version. # Corresponds to the JSON property `sdkVersionTargeting` # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting] attr_accessor :sdk_version_targeting # Describes an inclusive/exclusive list of country codes that module targets. # Corresponds to the JSON property `userCountriesTargeting` # @return [Google::Apis::AndroidpublisherV3::UserCountriesTargeting] attr_accessor :user_countries_targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_feature_targeting = args[:device_feature_targeting] if args.key?(:device_feature_targeting) @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting) @user_countries_targeting = args[:user_countries_targeting] if args.key?(:user_countries_targeting) end end # Represents an amount of money with its currency type. class Money include Google::Apis::Core::Hashable # The three-letter currency code defined in ISO 4217. # Corresponds to the JSON property `currencyCode` # @return [String] attr_accessor :currency_code # Number of nano (10^-9) units of the amount. The value must be between -999,999, # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be # positive or zero. If `units` is zero, `nanos` can be positive, zero, or # negative. If `units` is negative, `nanos` must be negative or zero. For # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. # Corresponds to the JSON property `nanos` # @return [Fixnum] attr_accessor :nanos # The whole units of the amount. For example if `currencyCode` is `"USD"`, then # 1 unit is one US dollar. # Corresponds to the JSON property `units` # @return [Fixnum] attr_accessor :units def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @currency_code = args[:currency_code] if args.key?(:currency_code) @nanos = args[:nanos] if args.key?(:nanos) @units = args[:units] if args.key?(:units) end end # Represents a list of ABIs. class MultiAbi include Google::Apis::Core::Hashable # A list of targeted ABIs, as represented by the Android Platform # Corresponds to the JSON property `abi` # @return [Array] attr_accessor :abi def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @abi = args[:abi] if args.key?(:abi) end end # Targeting based on multiple abis. class MultiAbiTargeting include Google::Apis::Core::Hashable # Targeting of other sibling directories that were in the Bundle. For main # splits this is targeting of other main splits. # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # Value of a multi abi. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # Offer details information related to a purchase line item. class OfferDetails include Google::Apis::Core::Hashable # The base plan ID. Present for all base plan and offers. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # The offer ID. Only present for discounted offers. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # The latest offer tags associated with the offer. It includes tags inherited # from the base plan. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) end end # Offer phase details. class OfferPhase include Google::Apis::Core::Hashable # Details about base price offer phase. # Corresponds to the JSON property `basePrice` # @return [Google::Apis::AndroidpublisherV3::BasePriceOfferPhase] attr_accessor :base_price # Details about free trial offer phase. # Corresponds to the JSON property `freeTrial` # @return [Google::Apis::AndroidpublisherV3::FreeTrialOfferPhase] attr_accessor :free_trial # Details about introductory price offer phase. # Corresponds to the JSON property `introductoryPrice` # @return [Google::Apis::AndroidpublisherV3::IntroductoryPriceOfferPhase] attr_accessor :introductory_price # Details about proration period offer phase. # Corresponds to the JSON property `prorationPeriod` # @return [Google::Apis::AndroidpublisherV3::ProrationPeriodOfferPhase] attr_accessor :proration_period def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_price = args[:base_price] if args.key?(:base_price) @free_trial = args[:free_trial] if args.key?(:free_trial) @introductory_price = args[:introductory_price] if args.key?(:introductory_price) @proration_period = args[:proration_period] if args.key?(:proration_period) end end # Details of a pricing phase for the entitlement period funded by this order. class OfferPhaseDetails include Google::Apis::Core::Hashable # Details of a base price pricing phase. # Corresponds to the JSON property `baseDetails` # @return [Google::Apis::AndroidpublisherV3::BaseDetails] attr_accessor :base_details # Details of a free trial pricing phase. # Corresponds to the JSON property `freeTrialDetails` # @return [Google::Apis::AndroidpublisherV3::FreeTrialDetails] attr_accessor :free_trial_details # Details of an introductory price pricing phase. # Corresponds to the JSON property `introductoryPriceDetails` # @return [Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails] attr_accessor :introductory_price_details # Details of a proration period. A proration period can be a period calculated # during a plan change to cover existing entitlements (For more information, see # [Allow users to upgrade, downgrade, or change their subscription](https:// # developer.android.com/google/play/billing/subscriptions#allow-users-change), # or a prorated period to align add-on renewal dates with the base (For more # information, see [Rules applicable for items in the purchase](https:// # developer.android.com/google/play/billing/subscription-with-addons#rules-base- # addons)). # Corresponds to the JSON property `prorationPeriodDetails` # @return [Google::Apis::AndroidpublisherV3::ProrationPeriodDetails] attr_accessor :proration_period_details def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_details = args[:base_details] if args.key?(:base_details) @free_trial_details = args[:free_trial_details] if args.key?(:free_trial_details) @introductory_price_details = args[:introductory_price_details] if args.key?(:introductory_price_details) @proration_period_details = args[:proration_period_details] if args.key?(:proration_period_details) end end # Represents a custom tag specified for a product offer. class OfferTag include Google::Apis::Core::Hashable # Must conform with RFC-1034. That is, this string can only contain lower-case # letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters. # Corresponds to the JSON property `tag` # @return [String] attr_accessor :tag def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @tag = args[:tag] if args.key?(:tag) end end # A single use promotion code. class OneTimeCode include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Represents a one-time transaction. class OneTimeExternalTransaction include Google::Apis::Core::Hashable # Input only. Provided during the call to Create. Retrieved from the client when # the alternative billing flow is launched. # Corresponds to the JSON property `externalTransactionToken` # @return [String] attr_accessor :external_transaction_token def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @external_transaction_token = args[:external_transaction_token] if args.key?(:external_transaction_token) end end # A single one-time product for an app. class OneTimeProduct include Google::Apis::Core::Hashable # Required. Set of localized title and description data. Must not have duplicate # entries with the same language_code. # Corresponds to the JSON property `listings` # @return [Array] attr_accessor :listings # Optional. List of up to 20 custom tags specified for this one-time product, # and returned to the app through the billing library. Purchase options and # offers for this product will also receive these tags in the billing library. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # Required. Immutable. Package name of the parent app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. Immutable. Unique product ID of the product. Unique within the # parent app. Product IDs must start with a number or lowercase letter, and can # contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (. # ). # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The set of purchase options for this one-time product. # Corresponds to the JSON property `purchaseOptions` # @return [Array] attr_accessor :purchase_options # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # Countries where the purchase of this product is restricted to payment methods # registered in the same country. If empty, no payment location restrictions are # imposed. # Corresponds to the JSON property `restrictedPaymentCountries` # @return [Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries] attr_accessor :restricted_payment_countries # Details about taxation, Google Play policy and legal compliance for one-time # products. # Corresponds to the JSON property `taxAndComplianceSettings` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductTaxAndComplianceSettings] attr_accessor :tax_and_compliance_settings def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @listings = args[:listings] if args.key?(:listings) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_options = args[:purchase_options] if args.key?(:purchase_options) @regions_version = args[:regions_version] if args.key?(:regions_version) @restricted_payment_countries = args[:restricted_payment_countries] if args.key?(:restricted_payment_countries) @tax_and_compliance_settings = args[:tax_and_compliance_settings] if args.key?(:tax_and_compliance_settings) end end # A purchase option that can be bought. class OneTimeProductBuyPurchaseOption include Google::Apis::Core::Hashable # Optional. Whether this purchase option will be available in legacy PBL flows # that do not support one-time products model. Up to one "buy" purchase option # can be marked as backwards compatible. # Corresponds to the JSON property `legacyCompatible` # @return [Boolean] attr_accessor :legacy_compatible alias_method :legacy_compatible?, :legacy_compatible # Optional. Whether this purchase option allows multi-quantity. Multi-quantity # allows buyer to purchase more than one item in a single checkout. # Corresponds to the JSON property `multiQuantityEnabled` # @return [Boolean] attr_accessor :multi_quantity_enabled alias_method :multi_quantity_enabled?, :multi_quantity_enabled def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @legacy_compatible = args[:legacy_compatible] if args.key?(:legacy_compatible) @multi_quantity_enabled = args[:multi_quantity_enabled] if args.key?(:multi_quantity_enabled) end end # Configuration specific to discounted offers. class OneTimeProductDiscountedOffer include Google::Apis::Core::Hashable # Time when the offer will stop being available. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time # Optional. The number of times this offer can be redeemed. If unset or set to 0, # allows for unlimited offer redemptions. Otherwise must be a number between 1 # and 50 inclusive. # Corresponds to the JSON property `redemptionLimit` # @return [Fixnum] attr_accessor :redemption_limit # Time when the offer will start being available. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @redemption_limit = args[:redemption_limit] if args.key?(:redemption_limit) @start_time = args[:start_time] if args.key?(:start_time) end end # Regional store listing for a one-time product. class OneTimeProductListing include Google::Apis::Core::Hashable # Required. The description of this product in the language of this listing. The # maximum length is 200 characters. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Required. The language of this listing, as defined by BCP-47, e.g., "en-US". # Corresponds to the JSON property `languageCode` # @return [String] attr_accessor :language_code # Required. The title of this product in the language of this listing. The # maximum length is 55 characters. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @description = args[:description] if args.key?(:description) @language_code = args[:language_code] if args.key?(:language_code) @title = args[:title] if args.key?(:title) end end # A single offer for a one-time product. class OneTimeProductOffer include Google::Apis::Core::Hashable # Configuration specific to discounted offers. # Corresponds to the JSON property `discountedOffer` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer] attr_accessor :discounted_offer # Required. Immutable. The ID of this product offer. Must be unique within the # purchase option. It must start with a number or lower-case letter, and can # only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The # maximum length is 63 characters. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Optional. List of up to 20 custom tags specified for this offer, and returned # to the app through the billing library. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # Required. Immutable. The package name of the app the parent product belongs to. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Configuration specific to pre-order offers. # Corresponds to the JSON property `preOrderOffer` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductPreOrderOffer] attr_accessor :pre_order_offer # Required. Immutable. The ID of the parent product this offer belongs to. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. Immutable. The ID of the purchase option to which this offer is an # extension. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id # Set of regional pricing and availability information for this offer. Must not # have duplicate entries with the same region_code. # Corresponds to the JSON property `regionalPricingAndAvailabilityConfigs` # @return [Array] attr_accessor :regional_pricing_and_availability_configs # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # Output only. The current state of this offer. This field cannot be changed by # updating the resource. Use the dedicated endpoints instead. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @discounted_offer = args[:discounted_offer] if args.key?(:discounted_offer) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @package_name = args[:package_name] if args.key?(:package_name) @pre_order_offer = args[:pre_order_offer] if args.key?(:pre_order_offer) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) @regional_pricing_and_availability_configs = args[:regional_pricing_and_availability_configs] if args.key?(:regional_pricing_and_availability_configs) @regions_version = args[:regions_version] if args.key?(:regions_version) @state = args[:state] if args.key?(:state) end end # Options for one-time product offers without a regional price override. class OneTimeProductOfferNoPriceOverrideOptions include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Regional pricing and availability configuration for a one-time product offer. class OneTimeProductOfferRegionalPricingAndAvailabilityConfig include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `absoluteDiscount` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :absolute_discount # Required. The availability for this region. # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability # Options for one-time product offers without a regional price override. # Corresponds to the JSON property `noOverride` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductOfferNoPriceOverrideOptions] attr_accessor :no_override # Required. Region code this configuration applies to, as defined by ISO 3166-2, # e.g., "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # The fraction of the purchase option price that the user pays for this offer. # For example, if the purchase option price for this region is $12, then a 50% # discount would correspond to a price of $6. The discount must be specified as # a fraction strictly larger than 0 and strictly smaller than 1. The resulting # price will be rounded to the nearest billable unit (e.g. cents for USD). The # relative discount is considered invalid if the discounted price ends up being # smaller than the minimum price allowed in this region. # Corresponds to the JSON property `relativeDiscount` # @return [Float] attr_accessor :relative_discount def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @absolute_discount = args[:absolute_discount] if args.key?(:absolute_discount) @availability = args[:availability] if args.key?(:availability) @no_override = args[:no_override] if args.key?(:no_override) @region_code = args[:region_code] if args.key?(:region_code) @relative_discount = args[:relative_discount] if args.key?(:relative_discount) end end # Configuration specific to pre-order offers. class OneTimeProductPreOrderOffer include Google::Apis::Core::Hashable # Required. Time when the pre-order will stop being available. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time # Required. Immutable. Specifies how price changes affect pre-existing pre- # orders. # Corresponds to the JSON property `priceChangeBehavior` # @return [String] attr_accessor :price_change_behavior # Required. Time on which the product associated with the pre-order will be # released and the pre-order orders fulfilled. # Corresponds to the JSON property `releaseTime` # @return [String] attr_accessor :release_time # Required. Time when the pre-order will start being available. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @price_change_behavior = args[:price_change_behavior] if args.key?(:price_change_behavior) @release_time = args[:release_time] if args.key?(:release_time) @start_time = args[:start_time] if args.key?(:start_time) end end # A single purchase option for a one-time product. class OneTimeProductPurchaseOption include Google::Apis::Core::Hashable # A purchase option that can be bought. # Corresponds to the JSON property `buyOption` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductBuyPurchaseOption] attr_accessor :buy_option # Pricing information for any new regions Play may launch in the future. # Corresponds to the JSON property `newRegionsConfig` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionNewRegionsConfig] attr_accessor :new_regions_config # Optional. List of up to 20 custom tags specified for this purchase option, and # returned to the app through the billing library. Offers for this purchase # option will also receive these tags in the billing library. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # Required. Immutable. The unique identifier of this purchase option. Must be # unique within the one-time product. It must start with a number or lower-case # letter, and can only contain lower-case letters (a-z), numbers (0-9), and # hyphens (-). The maximum length is 63 characters. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id # Regional pricing and availability information for this purchase option. # Corresponds to the JSON property `regionalPricingAndAvailabilityConfigs` # @return [Array] attr_accessor :regional_pricing_and_availability_configs # A purchase option that can be rented. # Corresponds to the JSON property `rentOption` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductRentPurchaseOption] attr_accessor :rent_option # Output only. The state of the purchase option, i.e., whether it's active. This # field cannot be changed by updating the resource. Use the dedicated endpoints # instead. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state # Details about taxation, Google Play policy and legal compliance for one-time # product purchase options. # Corresponds to the JSON property `taxAndComplianceSettings` # @return [Google::Apis::AndroidpublisherV3::PurchaseOptionTaxAndComplianceSettings] attr_accessor :tax_and_compliance_settings def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @buy_option = args[:buy_option] if args.key?(:buy_option) @new_regions_config = args[:new_regions_config] if args.key?(:new_regions_config) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) @regional_pricing_and_availability_configs = args[:regional_pricing_and_availability_configs] if args.key?(:regional_pricing_and_availability_configs) @rent_option = args[:rent_option] if args.key?(:rent_option) @state = args[:state] if args.key?(:state) @tax_and_compliance_settings = args[:tax_and_compliance_settings] if args.key?(:tax_and_compliance_settings) end end # Pricing information for any new regions Play may launch in the future. class OneTimeProductPurchaseOptionNewRegionsConfig include Google::Apis::Core::Hashable # Required. The regional availability for the new regions config. When set to # AVAILABLE, the pricing information will be used for any new regions Play may # launch in the future. # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability # Represents an amount of money with its currency type. # Corresponds to the JSON property `eurPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :eur_price # Represents an amount of money with its currency type. # Corresponds to the JSON property `usdPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :usd_price def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @availability = args[:availability] if args.key?(:availability) @eur_price = args[:eur_price] if args.key?(:eur_price) @usd_price = args[:usd_price] if args.key?(:usd_price) end end # Regional pricing and availability configuration for a purchase option. class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig include Google::Apis::Core::Hashable # The availability of the purchase option. # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability # Represents an amount of money with its currency type. # Corresponds to the JSON property `price` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :price # Required. Region code this configuration applies to, as defined by ISO 3166-2, # e.g., "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @availability = args[:availability] if args.key?(:availability) @price = args[:price] if args.key?(:price) @region_code = args[:region_code] if args.key?(:region_code) end end # A purchase option that can be rented. class OneTimeProductRentPurchaseOption include Google::Apis::Core::Hashable # Optional. The amount of time the user has after starting consuming the # entitlement before it is revoked. Specified in ISO 8601 format. # Corresponds to the JSON property `expirationPeriod` # @return [String] attr_accessor :expiration_period # Required. The amount of time a user has the entitlement for. Starts at # purchase flow completion. Specified in ISO 8601 format. # Corresponds to the JSON property `rentalPeriod` # @return [String] attr_accessor :rental_period def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expiration_period = args[:expiration_period] if args.key?(:expiration_period) @rental_period = args[:rental_period] if args.key?(:rental_period) end end # Details about taxation, Google Play policy and legal compliance for one-time # products. class OneTimeProductTaxAndComplianceSettings include Google::Apis::Core::Hashable # Whether this one-time product is declared as a product representing a # tokenized digital asset. # Corresponds to the JSON property `isTokenizedDigitalAsset` # @return [Boolean] attr_accessor :is_tokenized_digital_asset alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset # Product tax category code to assign to the one-time product. Product tax # category determines the transaction tax rates applied to the product. Refer to # the [Help Center article](https://support.google.com/googleplay/android- # developer/answer/16408159) for more information. # Corresponds to the JSON property `productTaxCategoryCode` # @return [String] attr_accessor :product_tax_category_code # Regional age rating information. Currently this field is only supported for # region code `US`. # Corresponds to the JSON property `regionalProductAgeRatingInfos` # @return [Array] attr_accessor :regional_product_age_rating_infos # Regional tax configuration. # Corresponds to the JSON property `regionalTaxConfigs` # @return [Array] attr_accessor :regional_tax_configs def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset) @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code) @regional_product_age_rating_infos = args[:regional_product_age_rating_infos] if args.key?(:regional_product_age_rating_infos) @regional_tax_configs = args[:regional_tax_configs] if args.key?(:regional_tax_configs) end end # Details of a one-time purchase. class OneTimePurchaseDetails include Google::Apis::Core::Hashable # The offer ID of the one-time purchase offer. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # Details of a pre-order purchase. # Corresponds to the JSON property `preorderDetails` # @return [Google::Apis::AndroidpublisherV3::PreorderDetails] attr_accessor :preorder_details # ID of the purchase option. This field is set for both purchase options and # variant offers. For purchase options, this ID identifies the purchase option # itself. For variant offers, this ID refers to the associated purchase option, # and in conjunction with offer_id it identifies the variant offer. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id # The number of items purchased (for multi-quantity item purchases). # Corresponds to the JSON property `quantity` # @return [Fixnum] attr_accessor :quantity # Details of a rental purchase. # Corresponds to the JSON property `rentalDetails` # @return [Google::Apis::AndroidpublisherV3::RentalDetails] attr_accessor :rental_details def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @offer_id = args[:offer_id] if args.key?(:offer_id) @preorder_details = args[:preorder_details] if args.key?(:preorder_details) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) @quantity = args[:quantity] if args.key?(:quantity) @rental_details = args[:rental_details] if args.key?(:rental_details) end end # The Order resource encapsulates comprehensive information about a transaction # made on Google Play. It includes a variety of attributes that provide details # about the order itself, the products purchased, and the history of events # related to the order. The Orders APIs provide real-time access to your order # data within the Google Play ecosystem. You can retrieve detailed information # and metadata for both one-time and recurring orders, including transaction # details like charges, taxes, and refunds, as well as metadata such as pricing # phases for subscriptions. The Orders APIs let you automate tasks related to # order management, reducing the need for manual checks via the Play Developer # Console. The following are some of the use cases for this API: + Real-time # order data retrieval - Get order details and metadata immediately after a # purchase using an order ID. + Order update synchronization - Periodically sync # order updates to maintain an up-to-date record of order information. Note: + # The Orders API calls count towards your Play Developer API quota, which # defaults to 200K daily, and may be insufficient to sync extensive order # histories. + A maximum of 1000 orders can be retrieved per call. Using larger # page sizes is recommended to minimize quota usage. Check your quota in the # Cloud Console and request more if required. class Order include Google::Apis::Core::Hashable # Address information for the customer, for use in tax computation. # Corresponds to the JSON property `buyerAddress` # @return [Google::Apis::AndroidpublisherV3::BuyerAddress] attr_accessor :buyer_address # The time when the order was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time # Represents an amount of money with its currency type. # Corresponds to the JSON property `developerRevenueInBuyerCurrency` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :developer_revenue_in_buyer_currency # The time of the last event that occurred on the order. # Corresponds to the JSON property `lastEventTime` # @return [String] attr_accessor :last_event_time # The individual line items making up this order. # Corresponds to the JSON property `lineItems` # @return [Array] attr_accessor :line_items # Detailed information about the order at creation time. # Corresponds to the JSON property `orderDetails` # @return [Google::Apis::AndroidpublisherV3::OrderDetails] attr_accessor :order_details # Details about events which modified the order. # Corresponds to the JSON property `orderHistory` # @return [Google::Apis::AndroidpublisherV3::OrderHistory] attr_accessor :order_history # The order ID. # Corresponds to the JSON property `orderId` # @return [String] attr_accessor :order_id # Details relating to any Play Points applied to an order. # Corresponds to the JSON property `pointsDetails` # @return [Google::Apis::AndroidpublisherV3::PointsDetails] attr_accessor :points_details # The token provided to the user's device when the subscription or item was # purchased. # Corresponds to the JSON property `purchaseToken` # @return [String] attr_accessor :purchase_token # The originating sales channel of the order. # Corresponds to the JSON property `salesChannel` # @return [String] attr_accessor :sales_channel # The state of the order. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state # Represents an amount of money with its currency type. # Corresponds to the JSON property `tax` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :tax # Represents an amount of money with its currency type. # Corresponds to the JSON property `total` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :total def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @buyer_address = args[:buyer_address] if args.key?(:buyer_address) @create_time = args[:create_time] if args.key?(:create_time) @developer_revenue_in_buyer_currency = args[:developer_revenue_in_buyer_currency] if args.key?(:developer_revenue_in_buyer_currency) @last_event_time = args[:last_event_time] if args.key?(:last_event_time) @line_items = args[:line_items] if args.key?(:line_items) @order_details = args[:order_details] if args.key?(:order_details) @order_history = args[:order_history] if args.key?(:order_history) @order_id = args[:order_id] if args.key?(:order_id) @points_details = args[:points_details] if args.key?(:points_details) @purchase_token = args[:purchase_token] if args.key?(:purchase_token) @sales_channel = args[:sales_channel] if args.key?(:sales_channel) @state = args[:state] if args.key?(:state) @tax = args[:tax] if args.key?(:tax) @total = args[:total] if args.key?(:total) end end # Detailed information about the order at creation time. class OrderDetails include Google::Apis::Core::Hashable # Indicates whether the listed price was tax inclusive or not. # Corresponds to the JSON property `taxInclusive` # @return [Boolean] attr_accessor :tax_inclusive alias_method :tax_inclusive?, :tax_inclusive def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @tax_inclusive = args[:tax_inclusive] if args.key?(:tax_inclusive) end end # Details about events which modified the order. class OrderHistory include Google::Apis::Core::Hashable # Details of when the order was canceled. # Corresponds to the JSON property `cancellationEvent` # @return [Google::Apis::AndroidpublisherV3::CancellationEvent] attr_accessor :cancellation_event # Details of the partial refund events for this order. # Corresponds to the JSON property `partialRefundEvents` # @return [Array] attr_accessor :partial_refund_events # Details of when the order was processed. # Corresponds to the JSON property `processedEvent` # @return [Google::Apis::AndroidpublisherV3::ProcessedEvent] attr_accessor :processed_event # Details of when the order was fully refunded. # Corresponds to the JSON property `refundEvent` # @return [Google::Apis::AndroidpublisherV3::RefundEvent] attr_accessor :refund_event def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cancellation_event = args[:cancellation_event] if args.key?(:cancellation_event) @partial_refund_events = args[:partial_refund_events] if args.key?(:partial_refund_events) @processed_event = args[:processed_event] if args.key?(:processed_event) @refund_event = args[:refund_event] if args.key?(:refund_event) end end # Details of a recurring external transaction product which doesn't belong to # any other more specific category. class OtherRecurringProduct include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Pricing information for any new locations Play may launch in. class OtherRegionsBasePlanConfig include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `eurPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :eur_price # Whether the base plan is available for new subscribers in any new locations # Play may launch in. If not specified, this will default to false. # Corresponds to the JSON property `newSubscriberAvailability` # @return [Boolean] attr_accessor :new_subscriber_availability alias_method :new_subscriber_availability?, :new_subscriber_availability # Represents an amount of money with its currency type. # Corresponds to the JSON property `usdPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :usd_price def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eur_price = args[:eur_price] if args.key?(:eur_price) @new_subscriber_availability = args[:new_subscriber_availability] if args.key?(:new_subscriber_availability) @usd_price = args[:usd_price] if args.key?(:usd_price) end end # Configuration for any new locations Play may launch in specified on a # subscription offer. class OtherRegionsSubscriptionOfferConfig include Google::Apis::Core::Hashable # Whether the subscription offer in any new locations Play may launch in the # future. If not specified, this will default to false. # Corresponds to the JSON property `otherRegionsNewSubscriberAvailability` # @return [Boolean] attr_accessor :other_regions_new_subscriber_availability alias_method :other_regions_new_subscriber_availability?, :other_regions_new_subscriber_availability def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @other_regions_new_subscriber_availability = args[:other_regions_new_subscriber_availability] if args.key?(:other_regions_new_subscriber_availability) end end # Configuration for any new locations Play may launch in for a single offer # phase. class OtherRegionsSubscriptionOfferPhaseConfig include Google::Apis::Core::Hashable # Pricing information for any new locations Play may launch in. # Corresponds to the JSON property `absoluteDiscounts` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices] attr_accessor :absolute_discounts # Represents the free price override configuration for any new locations Play # may launch for a single offer phase. # Corresponds to the JSON property `free` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride] attr_accessor :free # Pricing information for any new locations Play may launch in. # Corresponds to the JSON property `otherRegionsPrices` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices] attr_accessor :other_regions_prices # The fraction of the base plan price prorated over the phase duration that the # user pays for this offer phase. For example, if the base plan price for this # region is $12 for a period of 1 year, then a 50% discount for a phase of a # duration of 3 months would correspond to a price of $1.50. The discount must # be specified as a fraction strictly larger than 0 and strictly smaller than 1. # The resulting price will be rounded to the nearest billable unit (e.g. cents # for USD). The relative discount is considered invalid if the discounted price # ends up being smaller than the minimum price allowed in any new locations Play # may launch in. # Corresponds to the JSON property `relativeDiscount` # @return [Float] attr_accessor :relative_discount def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @absolute_discounts = args[:absolute_discounts] if args.key?(:absolute_discounts) @free = args[:free] if args.key?(:free) @other_regions_prices = args[:other_regions_prices] if args.key?(:other_regions_prices) @relative_discount = args[:relative_discount] if args.key?(:relative_discount) end end # Represents the free price override configuration for any new locations Play # may launch for a single offer phase. class OtherRegionsSubscriptionOfferPhaseFreePriceOverride include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Pricing information for any new locations Play may launch in. class OtherRegionsSubscriptionOfferPhasePrices include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `eurPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :eur_price # Represents an amount of money with its currency type. # Corresponds to the JSON property `usdPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :usd_price def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eur_price = args[:eur_price] if args.key?(:eur_price) @usd_price = args[:usd_price] if args.key?(:usd_price) end end # Information specific to an out of app purchase. class OutOfAppPurchaseContext include Google::Apis::Core::Hashable # User account identifier in the third-party service. # Corresponds to the JSON property `expiredExternalAccountIdentifiers` # @return [Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers] attr_accessor :expired_external_account_identifiers # The purchase token of the last expired subscription. This purchase token must # only be used to help identify the user if the link between the purchaseToken # and user is stored in your database. This cannot be used to call the Google # Developer API if it has been more than 60 days since expiry. # Corresponds to the JSON property `expiredPurchaseToken` # @return [String] attr_accessor :expired_purchase_token def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expired_external_account_identifiers = args[:expired_external_account_identifiers] if args.key?(:expired_external_account_identifiers) @expired_purchase_token = args[:expired_purchase_token] if args.key?(:expired_purchase_token) end end # Information about the current page. List operations that supports paging # return only one "page" of results. This protocol buffer message describes the # page that has been returned. class PageInfo include Google::Apis::Core::Hashable # Maximum number of results returned in one page. ! The number of results # included in the API response. # Corresponds to the JSON property `resultPerPage` # @return [Fixnum] attr_accessor :result_per_page # Index of the first result returned in the current page. # Corresponds to the JSON property `startIndex` # @return [Fixnum] attr_accessor :start_index # Total number of results available on the backend ! The total number of results # in the result set. # Corresponds to the JSON property `totalResults` # @return [Fixnum] attr_accessor :total_results def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @result_per_page = args[:result_per_page] if args.key?(:result_per_page) @start_index = args[:start_index] if args.key?(:start_index) @total_results = args[:total_results] if args.key?(:total_results) end end # Details of a paid app purchase. class PaidAppDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # A partial refund of a transaction. class PartialRefund include Google::Apis::Core::Hashable # Required. A unique id distinguishing this partial refund. If the refund is # successful, subsequent refunds with the same id will fail. Must be unique # across refunds for one individual transaction. # Corresponds to the JSON property `refundId` # @return [String] attr_accessor :refund_id # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `refundPreTaxAmount` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :refund_pre_tax_amount def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @refund_id = args[:refund_id] if args.key?(:refund_id) @refund_pre_tax_amount = args[:refund_pre_tax_amount] if args.key?(:refund_pre_tax_amount) end end # Details of the partial refund events for this order. class PartialRefundEvent include Google::Apis::Core::Hashable # The time when the partial refund was created. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time # The time when the partial refund was processed. # Corresponds to the JSON property `processTime` # @return [String] attr_accessor :process_time # Details for a partial or full refund. # Corresponds to the JSON property `refundDetails` # @return [Google::Apis::AndroidpublisherV3::RefundDetails] attr_accessor :refund_details # The state of the partial refund. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @process_time = args[:process_time] if args.key?(:process_time) @refund_details = args[:refund_details] if args.key?(:refund_details) @state = args[:state] if args.key?(:state) end end # Information specific to a subscription in paused state. class PausedStateContext include Google::Apis::Core::Hashable # Time at which the subscription will be automatically resumed. # Corresponds to the JSON property `autoResumeTime` # @return [String] attr_accessor :auto_resume_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @auto_resume_time = args[:auto_resume_time] if args.key?(:auto_resume_time) end end # This is an indicator of whether there is a pending cancellation on the virtual # installment plan. The cancellation will happen only after the user finished # all committed payments. class PendingCancellation include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Details relating to any Play Points applied to an order. class PointsDetails include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `pointsCouponValue` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :points_coupon_value # The percentage rate which the Play Points promotion reduces the cost by. E.g. # for a 100 points for $2 coupon, this is 500,000. Since $2 has an estimate of # 200 points, but the actual Points required, 100, is 50% of this, and 50% in # micros is 500,000. Between 0 and 1,000,000. # Corresponds to the JSON property `pointsDiscountRateMicros` # @return [Fixnum] attr_accessor :points_discount_rate_micros # ID unique to the play points offer in use for this order. # Corresponds to the JSON property `pointsOfferId` # @return [String] attr_accessor :points_offer_id # The number of Play Points applied in this order. E.g. for a 100 points for $2 # coupon, this is 100. For coupon stacked with base offer, this is the total # points spent across both. # Corresponds to the JSON property `pointsSpent` # @return [Fixnum] attr_accessor :points_spent def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @points_coupon_value = args[:points_coupon_value] if args.key?(:points_coupon_value) @points_discount_rate_micros = args[:points_discount_rate_micros] if args.key?(:points_discount_rate_micros) @points_offer_id = args[:points_offer_id] if args.key?(:points_offer_id) @points_spent = args[:points_spent] if args.key?(:points_spent) end end # Details of a pre-order purchase. class PreorderDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Offer details information related to a preorder line item. class PreorderOfferDetails include Google::Apis::Core::Hashable # The time when a preordered item is released for a preorder purchase. # Corresponds to the JSON property `preorderReleaseTime` # @return [String] attr_accessor :preorder_release_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @preorder_release_time = args[:preorder_release_time] if args.key?(:preorder_release_time) end end # Represents a base plan that does not automatically renew at the end of the # base plan, and must be manually renewed by the user. class PrepaidBasePlanType include Google::Apis::Core::Hashable # Required. Immutable. Subscription period, specified in ISO 8601 format. For a # list of acceptable billing periods, refer to the help center. The duration is # immutable after the base plan is created. # Corresponds to the JSON property `billingPeriodDuration` # @return [String] attr_accessor :billing_period_duration # Whether users should be able to extend this prepaid base plan in Google Play # surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified. # Corresponds to the JSON property `timeExtension` # @return [String] attr_accessor :time_extension def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration) @time_extension = args[:time_extension] if args.key?(:time_extension) end end # Information related to a prepaid plan. class PrepaidPlan include Google::Apis::Core::Hashable # If present, this is the time after which top up purchases are allowed for the # prepaid plan. Will not be present for expired prepaid plans. # Corresponds to the JSON property `allowExtendAfterTime` # @return [String] attr_accessor :allow_extend_after_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_extend_after_time = args[:allow_extend_after_time] if args.key?(:allow_extend_after_time) end end # Definition of a price, i.e. currency and units. class Price include Google::Apis::Core::Hashable # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/ # money/CurrencyCode.java # Corresponds to the JSON property `currency` # @return [String] attr_accessor :currency # Price in 1/million of the currency base unit, represented as a string. # Corresponds to the JSON property `priceMicros` # @return [String] attr_accessor :price_micros def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @currency = args[:currency] if args.key?(:currency) @price_micros = args[:price_micros] if args.key?(:price_micros) end end # Information related to a price step-up that requires user consent. class PriceStepUpConsentDetails include Google::Apis::Core::Hashable # The deadline by which the user must provide consent. If consent is not # provided by this time, the subscription will be canceled. # Corresponds to the JSON property `consentDeadlineTime` # @return [String] attr_accessor :consent_deadline_time # Represents an amount of money with its currency type. # Corresponds to the JSON property `newPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :new_price # Output only. The state of the price step-up consent. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @consent_deadline_time = args[:consent_deadline_time] if args.key?(:consent_deadline_time) @new_price = args[:new_price] if args.key?(:new_price) @state = args[:state] if args.key?(:state) end end # Details of when the order was processed. class ProcessedEvent include Google::Apis::Core::Hashable # The time when the order was processed. # Corresponds to the JSON property `eventTime` # @return [String] attr_accessor :event_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) end end # Contains item-level info for a ProductPurchaseV2. class ProductLineItem include Google::Apis::Core::Hashable # The purchased product ID (for example, 'monthly001'). # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Offer details information related to a purchase line item. # Corresponds to the JSON property `productOfferDetails` # @return [Google::Apis::AndroidpublisherV3::ProductOfferDetails] attr_accessor :product_offer_details def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @product_id = args[:product_id] if args.key?(:product_id) @product_offer_details = args[:product_offer_details] if args.key?(:product_offer_details) end end # Offer details information related to a purchase line item. class ProductOfferDetails include Google::Apis::Core::Hashable # Output only. The consumption state of the purchase. # Corresponds to the JSON property `consumptionState` # @return [String] attr_accessor :consumption_state # The offer ID. Only present for offers. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # The latest offer tags associated with the offer. It includes tags inherited # from the purchase option. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # The per-transaction offer token used to make this purchase line item. # Corresponds to the JSON property `offerToken` # @return [String] attr_accessor :offer_token # Offer details information related to a preorder line item. # Corresponds to the JSON property `preorderOfferDetails` # @return [Google::Apis::AndroidpublisherV3::PreorderOfferDetails] attr_accessor :preorder_offer_details # The purchase option ID. # Corresponds to the JSON property `purchaseOptionId` # @return [String] attr_accessor :purchase_option_id # The quantity associated with the purchase of the inapp product. # Corresponds to the JSON property `quantity` # @return [Fixnum] attr_accessor :quantity # The quantity eligible for refund, i.e. quantity that hasn't been refunded. The # value reflects quantity-based partial refunds and full refunds. # Corresponds to the JSON property `refundableQuantity` # @return [Fixnum] attr_accessor :refundable_quantity # Offer details information related to a rental line item. # Corresponds to the JSON property `rentOfferDetails` # @return [Google::Apis::AndroidpublisherV3::RentOfferDetails] attr_accessor :rent_offer_details def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @consumption_state = args[:consumption_state] if args.key?(:consumption_state) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @offer_token = args[:offer_token] if args.key?(:offer_token) @preorder_offer_details = args[:preorder_offer_details] if args.key?(:preorder_offer_details) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) @quantity = args[:quantity] if args.key?(:quantity) @refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity) @rent_offer_details = args[:rent_offer_details] if args.key?(:rent_offer_details) end end # A ProductPurchase resource indicates the status of a user's inapp product # purchase. class ProductPurchase include Google::Apis::Core::Hashable # The acknowledgement state of the inapp product. Possible values are: 0. Yet to # be acknowledged 1. Acknowledged # Corresponds to the JSON property `acknowledgementState` # @return [Fixnum] attr_accessor :acknowledgement_state # The consumption state of the inapp product. Possible values are: 0. Yet to be # consumed 1. Consumed # Corresponds to the JSON property `consumptionState` # @return [Fixnum] attr_accessor :consumption_state # A developer-specified string that contains supplemental information about an # order. # Corresponds to the JSON property `developerPayload` # @return [String] attr_accessor :developer_payload # This kind represents an inappPurchase object in the androidpublisher service. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # An obfuscated version of the id that is uniquely associated with the user's # account in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedaccountid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalAccountId` # @return [String] attr_accessor :obfuscated_external_account_id # An obfuscated version of the id that is uniquely associated with the user's # profile in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedprofileid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalProfileId` # @return [String] attr_accessor :obfuscated_external_profile_id # The order id associated with the purchase of the inapp product. # Corresponds to the JSON property `orderId` # @return [String] attr_accessor :order_id # The inapp product SKU. May not be present. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # The purchase state of the order. Possible values are: 0. Purchased 1. Canceled # 2. Pending # Corresponds to the JSON property `purchaseState` # @return [Fixnum] attr_accessor :purchase_state # The time the product was purchased, in milliseconds since the epoch (Jan 1, # 1970). # Corresponds to the JSON property `purchaseTimeMillis` # @return [Fixnum] attr_accessor :purchase_time_millis # The purchase token generated to identify this purchase. May not be present. # Corresponds to the JSON property `purchaseToken` # @return [String] attr_accessor :purchase_token # The type of purchase of the inapp product. This field is only set if this # purchase was not made using the standard in-app billing flow. Possible values # are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. # purchased using a promo code). Does not include Play Points purchases. 2. # Rewarded (i.e. from watching a video ad instead of paying) # Corresponds to the JSON property `purchaseType` # @return [Fixnum] attr_accessor :purchase_type # The quantity associated with the purchase of the inapp product. If not present, # the quantity is 1. # Corresponds to the JSON property `quantity` # @return [Fixnum] attr_accessor :quantity # The quantity eligible for refund, i.e. quantity that hasn't been refunded. The # value reflects quantity-based partial refunds and full refunds. # Corresponds to the JSON property `refundableQuantity` # @return [Fixnum] attr_accessor :refundable_quantity # ISO 3166-1 alpha-2 billing region code of the user at the time the product was # granted. # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state) @consumption_state = args[:consumption_state] if args.key?(:consumption_state) @developer_payload = args[:developer_payload] if args.key?(:developer_payload) @kind = args[:kind] if args.key?(:kind) @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id) @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id) @order_id = args[:order_id] if args.key?(:order_id) @product_id = args[:product_id] if args.key?(:product_id) @purchase_state = args[:purchase_state] if args.key?(:purchase_state) @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis) @purchase_token = args[:purchase_token] if args.key?(:purchase_token) @purchase_type = args[:purchase_type] if args.key?(:purchase_type) @quantity = args[:quantity] if args.key?(:quantity) @refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity) @region_code = args[:region_code] if args.key?(:region_code) end end # A ProductPurchaseV2 resource indicates the status of a user's inapp product # purchase. class ProductPurchaseV2 include Google::Apis::Core::Hashable # Output only. The acknowledgement state of the purchase. # Corresponds to the JSON property `acknowledgementState` # @return [String] attr_accessor :acknowledgement_state # This kind represents a ProductPurchaseV2 object in the androidpublisher # service. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # An obfuscated version of the id that is uniquely associated with the user's # account in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedaccountid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalAccountId` # @return [String] attr_accessor :obfuscated_external_account_id # An obfuscated version of the id that is uniquely associated with the user's # profile in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedprofileid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalProfileId` # @return [String] attr_accessor :obfuscated_external_profile_id # The order id associated with the purchase of the inapp product. May not be set # if there is no order associated with the purchase. # Corresponds to the JSON property `orderId` # @return [String] attr_accessor :order_id # Contains item-level info for a ProductPurchaseV2. # Corresponds to the JSON property `productLineItem` # @return [Array] attr_accessor :product_line_item # The time when the purchase was successful, i.e., when the PurchaseState has # changed to PURCHASED. This field will not be present until the payment is # complete. For example, if the user initiated a pending transaction (https:// # developer.android.com/google/play/billing/integrate#pending), this field will # not be populated until the user successfully completes the steps required to # complete the transaction. # Corresponds to the JSON property `purchaseCompletionTime` # @return [String] attr_accessor :purchase_completion_time # Context about the purchase state. # Corresponds to the JSON property `purchaseStateContext` # @return [Google::Apis::AndroidpublisherV3::PurchaseStateContext] attr_accessor :purchase_state_context # ISO 3166-1 alpha-2 billing region code of the user at the time the product was # granted. # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # Context about a test purchase. # Corresponds to the JSON property `testPurchaseContext` # @return [Google::Apis::AndroidpublisherV3::TestPurchaseContext] attr_accessor :test_purchase_context def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state) @kind = args[:kind] if args.key?(:kind) @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id) @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id) @order_id = args[:order_id] if args.key?(:order_id) @product_line_item = args[:product_line_item] if args.key?(:product_line_item) @purchase_completion_time = args[:purchase_completion_time] if args.key?(:purchase_completion_time) @purchase_state_context = args[:purchase_state_context] if args.key?(:purchase_state_context) @region_code = args[:region_code] if args.key?(:region_code) @test_purchase_context = args[:test_purchase_context] if args.key?(:test_purchase_context) end end # Request for the product.purchases.acknowledge API. class ProductPurchasesAcknowledgeRequest include Google::Apis::Core::Hashable # Payload to attach to the purchase. # Corresponds to the JSON property `developerPayload` # @return [String] attr_accessor :developer_payload def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @developer_payload = args[:developer_payload] if args.key?(:developer_payload) end end # Details of a proration period. A proration period can be a period calculated # during a plan change to cover existing entitlements (For more information, see # [Allow users to upgrade, downgrade, or change their subscription](https:// # developer.android.com/google/play/billing/subscriptions#allow-users-change), # or a prorated period to align add-on renewal dates with the base (For more # information, see [Rules applicable for items in the purchase](https:// # developer.android.com/google/play/billing/subscription-with-addons#rules-base- # addons)). class ProrationPeriodDetails include Google::Apis::Core::Hashable # Represent the original offer phase from the purchased the line item if the # proration period contains any of them. For example, a proration period from # CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the # subscription offer of the new product user purchased. In this case, the # original offer phase will be set here. # Corresponds to the JSON property `originalOfferPhase` # @return [String] attr_accessor :original_offer_phase def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @original_offer_phase = args[:original_offer_phase] if args.key?(:original_offer_phase) end end # Details about proration period offer phase. class ProrationPeriodOfferPhase include Google::Apis::Core::Hashable # The original offer phase type before the proration period. Only set when the # proration period is updated from an existing offer phase. # Corresponds to the JSON property `originalOfferPhaseType` # @return [String] attr_accessor :original_offer_phase_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @original_offer_phase_type = args[:original_offer_phase_type] if args.key?(:original_offer_phase_type) end end # Details about taxation, Google Play policy and legal compliance for one-time # product purchase options. class PurchaseOptionTaxAndComplianceSettings include Google::Apis::Core::Hashable # Optional. Digital content or service classification for products distributed # to users in eligible regions. If unset, it defaults to ` # WITHDRAWAL_RIGHT_DIGITAL_CONTENT`. Refer to the [Help Center article](https:// # support.google.com/googleplay/android-developer/answer/10463498) for more # information. # Corresponds to the JSON property `withdrawalRightType` # @return [String] attr_accessor :withdrawal_right_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @withdrawal_right_type = args[:withdrawal_right_type] if args.key?(:withdrawal_right_type) end end # Context about the purchase state. class PurchaseStateContext include Google::Apis::Core::Hashable # Output only. The purchase state of the purchase. # Corresponds to the JSON property `purchaseState` # @return [String] attr_accessor :purchase_state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @purchase_state = args[:purchase_state] if args.key?(:purchase_state) end end # Represents a transaction that is part of a recurring series of payments. This # can be a subscription or a one-time product with multiple payments (such as # preorder). class RecurringExternalTransaction include Google::Apis::Core::Hashable # Details of an external subscription. # Corresponds to the JSON property `externalSubscription` # @return [Google::Apis::AndroidpublisherV3::ExternalSubscription] attr_accessor :external_subscription # Input only. Provided during the call to Create. Retrieved from the client when # the alternative billing flow is launched. Required only for the initial # purchase. # Corresponds to the JSON property `externalTransactionToken` # @return [String] attr_accessor :external_transaction_token # The external transaction id of the first transaction of this recurring series # of transactions. For example, for a subscription this would be the transaction # id of the first payment. Required when creating recurring external # transactions. # Corresponds to the JSON property `initialExternalTransactionId` # @return [String] attr_accessor :initial_external_transaction_id # Input only. Provided during the call to Create. Must only be used when # migrating a subscription from manual monthly reporting to automated reporting. # Corresponds to the JSON property `migratedTransactionProgram` # @return [String] attr_accessor :migrated_transaction_program # Details of a recurring external transaction product which doesn't belong to # any other more specific category. # Corresponds to the JSON property `otherRecurringProduct` # @return [Google::Apis::AndroidpublisherV3::OtherRecurringProduct] attr_accessor :other_recurring_product def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @external_subscription = args[:external_subscription] if args.key?(:external_subscription) @external_transaction_token = args[:external_transaction_token] if args.key?(:external_transaction_token) @initial_external_transaction_id = args[:initial_external_transaction_id] if args.key?(:initial_external_transaction_id) @migrated_transaction_program = args[:migrated_transaction_program] if args.key?(:migrated_transaction_program) @other_recurring_product = args[:other_recurring_product] if args.key?(:other_recurring_product) end end # Details for a partial or full refund. class RefundDetails include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `tax` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :tax # Represents an amount of money with its currency type. # Corresponds to the JSON property `total` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :total def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @tax = args[:tax] if args.key?(:tax) @total = args[:total] if args.key?(:total) end end # Details of when the order was fully refunded. class RefundEvent include Google::Apis::Core::Hashable # The time when the order was fully refunded. # Corresponds to the JSON property `eventTime` # @return [String] attr_accessor :event_time # Details for a partial or full refund. # Corresponds to the JSON property `refundDetails` # @return [Google::Apis::AndroidpublisherV3::RefundDetails] attr_accessor :refund_details # The reason the order was refunded. # Corresponds to the JSON property `refundReason` # @return [String] attr_accessor :refund_reason def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) @refund_details = args[:refund_details] if args.key?(:refund_details) @refund_reason = args[:refund_reason] if args.key?(:refund_reason) end end # A request to refund an existing external transaction. class RefundExternalTransactionRequest include Google::Apis::Core::Hashable # A full refund of the remaining amount of a transaction. # Corresponds to the JSON property `fullRefund` # @return [Google::Apis::AndroidpublisherV3::FullRefund] attr_accessor :full_refund # A partial refund of a transaction. # Corresponds to the JSON property `partialRefund` # @return [Google::Apis::AndroidpublisherV3::PartialRefund] attr_accessor :partial_refund # Required. The time that the transaction was refunded. # Corresponds to the JSON property `refundTime` # @return [String] attr_accessor :refund_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @full_refund = args[:full_refund] if args.key?(:full_refund) @partial_refund = args[:partial_refund] if args.key?(:partial_refund) @refund_time = args[:refund_time] if args.key?(:refund_time) end end # Configuration for a base plan specific to a region. class RegionalBasePlanConfig include Google::Apis::Core::Hashable # Whether the base plan in the specified region is available for new subscribers. # Existing subscribers will not have their subscription canceled if this value # is set to false. If not specified, this will default to false. # Corresponds to the JSON property `newSubscriberAvailability` # @return [Boolean] attr_accessor :new_subscriber_availability alias_method :new_subscriber_availability?, :new_subscriber_availability # Represents an amount of money with its currency type. # Corresponds to the JSON property `price` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :price # Required. Region code this configuration applies to, as defined by ISO 3166-2, # e.g. "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @new_subscriber_availability = args[:new_subscriber_availability] if args.key?(:new_subscriber_availability) @price = args[:price] if args.key?(:price) @region_code = args[:region_code] if args.key?(:region_code) end end # Configuration for migration of a legacy price cohort. class RegionalPriceMigrationConfig include Google::Apis::Core::Hashable # Required. Subscribers in all legacy price cohorts before this time will be # migrated to the current price. Subscribers in any newer price cohorts are # unaffected. Affected subscribers will receive one or more notifications from # Google Play about the price change. Price decreases occur at the subscriber's # next billing date. Price increases occur at the subscriber's next billing date # following a notification period that varies by region and price increase type. # Corresponds to the JSON property `oldestAllowedPriceVersionTime` # @return [String] attr_accessor :oldest_allowed_price_version_time # Optional. The requested type of price increase # Corresponds to the JSON property `priceIncreaseType` # @return [String] attr_accessor :price_increase_type # Required. Region code this configuration applies to, as defined by ISO 3166-2, # e.g. "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @oldest_allowed_price_version_time = args[:oldest_allowed_price_version_time] if args.key?(:oldest_allowed_price_version_time) @price_increase_type = args[:price_increase_type] if args.key?(:price_increase_type) @region_code = args[:region_code] if args.key?(:region_code) end end # Details about the age rating for a specific geographic region. class RegionalProductAgeRatingInfo include Google::Apis::Core::Hashable # The age rating tier of a product for the given region. # Corresponds to the JSON property `productAgeRatingTier` # @return [String] attr_accessor :product_age_rating_tier # Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @product_age_rating_tier = args[:product_age_rating_tier] if args.key?(:product_age_rating_tier) @region_code = args[:region_code] if args.key?(:region_code) end end # Configuration for a subscription offer in a single region. class RegionalSubscriptionOfferConfig include Google::Apis::Core::Hashable # Whether the subscription offer in the specified region is available for new # subscribers. Existing subscribers will not have their subscription cancelled # if this value is set to false. If not specified, this will default to false. # Corresponds to the JSON property `newSubscriberAvailability` # @return [Boolean] attr_accessor :new_subscriber_availability alias_method :new_subscriber_availability?, :new_subscriber_availability # Required. Immutable. Region code this configuration applies to, as defined by # ISO 3166-2, e.g. "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @new_subscriber_availability = args[:new_subscriber_availability] if args.key?(:new_subscriber_availability) @region_code = args[:region_code] if args.key?(:region_code) end end # Configuration for a single phase of a subscription offer in a single region. class RegionalSubscriptionOfferPhaseConfig include Google::Apis::Core::Hashable # Represents an amount of money with its currency type. # Corresponds to the JSON property `absoluteDiscount` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :absolute_discount # Represents the free price override configuration for a single phase of a # subscription offer # Corresponds to the JSON property `free` # @return [Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride] attr_accessor :free # Represents an amount of money with its currency type. # Corresponds to the JSON property `price` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :price # Required. Immutable. The region to which this config applies. # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # The fraction of the base plan price prorated over the phase duration that the # user pays for this offer phase. For example, if the base plan price for this # region is $12 for a period of 1 year, then a 50% discount for a phase of a # duration of 3 months would correspond to a price of $1.50. The discount must # be specified as a fraction strictly larger than 0 and strictly smaller than 1. # The resulting price will be rounded to the nearest billable unit (e.g. cents # for USD). The relative discount is considered invalid if the discounted price # ends up being smaller than the minimum price allowed in this region. # Corresponds to the JSON property `relativeDiscount` # @return [Float] attr_accessor :relative_discount def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @absolute_discount = args[:absolute_discount] if args.key?(:absolute_discount) @free = args[:free] if args.key?(:free) @price = args[:price] if args.key?(:price) @region_code = args[:region_code] if args.key?(:region_code) @relative_discount = args[:relative_discount] if args.key?(:relative_discount) end end # Represents the free price override configuration for a single phase of a # subscription offer class RegionalSubscriptionOfferPhaseFreePriceOverride include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Details about taxation in a given geographical region. class RegionalTaxConfig include Google::Apis::Core::Hashable # You must tell us if your app contains streaming products to correctly charge # US state and local sales tax. Field only supported in the United States. # Corresponds to the JSON property `eligibleForStreamingServiceTaxRate` # @return [Boolean] attr_accessor :eligible_for_streaming_service_tax_rate alias_method :eligible_for_streaming_service_tax_rate?, :eligible_for_streaming_service_tax_rate # Required. Region code this configuration applies to, as defined by ISO 3166-2, # e.g. "US". # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # To collect communications or amusement taxes in the United States, choose the # appropriate tax category. [Learn more](https://support.google.com/googleplay/ # android-developer/answer/10463498#streaming_tax). # Corresponds to the JSON property `streamingTaxType` # @return [String] attr_accessor :streaming_tax_type # Tax tier to specify reduced tax rate. Developers who sell digital news, # magazines, newspapers, books, or audiobooks in various regions may be eligible # for reduced tax rates. [Learn more](https://support.google.com/googleplay/ # android-developer/answer/10463498). # Corresponds to the JSON property `taxTier` # @return [String] attr_accessor :tax_tier def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eligible_for_streaming_service_tax_rate = args[:eligible_for_streaming_service_tax_rate] if args.key?(:eligible_for_streaming_service_tax_rate) @region_code = args[:region_code] if args.key?(:region_code) @streaming_tax_type = args[:streaming_tax_type] if args.key?(:streaming_tax_type) @tax_tier = args[:tax_tier] if args.key?(:tax_tier) end end # Specified details about taxation in a given geographical region. class RegionalTaxRateInfo include Google::Apis::Core::Hashable # You must tell us if your app contains streaming products to correctly charge # US state and local sales tax. Field only supported in the United States. # Corresponds to the JSON property `eligibleForStreamingServiceTaxRate` # @return [Boolean] attr_accessor :eligible_for_streaming_service_tax_rate alias_method :eligible_for_streaming_service_tax_rate?, :eligible_for_streaming_service_tax_rate # To collect communications or amusement taxes in the United States, choose the # appropriate tax category. [Learn more](https://support.google.com/googleplay/ # android-developer/answer/10463498#streaming_tax). # Corresponds to the JSON property `streamingTaxType` # @return [String] attr_accessor :streaming_tax_type # Tax tier to specify reduced tax rate. Developers who sell digital news, # magazines, newspapers, books, or audiobooks in various regions may be eligible # for reduced tax rates. [Learn more](https://support.google.com/googleplay/ # android-developer/answer/10463498). # Corresponds to the JSON property `taxTier` # @return [String] attr_accessor :tax_tier def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eligible_for_streaming_service_tax_rate = args[:eligible_for_streaming_service_tax_rate] if args.key?(:eligible_for_streaming_service_tax_rate) @streaming_tax_type = args[:streaming_tax_type] if args.key?(:streaming_tax_type) @tax_tier = args[:tax_tier] if args.key?(:tax_tier) end end # Region targeting data for app recovery action targeting. class Regions include Google::Apis::Core::Hashable # Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2 # country codes. For example, US stands for United States of America. See https:/ # /www.iso.org/iso-3166-country-codes.html for the complete list of country # codes. # Corresponds to the JSON property `regionCode` # @return [Array] attr_accessor :region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @region_code = args[:region_code] if args.key?(:region_code) end end # The version of the available regions being used for the specified resource. class RegionsVersion include Google::Apis::Core::Hashable # Required. A string representing the version of available regions being used # for the specified resource. Regional prices and latest supported version for # the resource have to be specified according to the information published in [ # this article](https://support.google.com/googleplay/android-developer/answer/ # 10532353). Each time the supported locations substantially change, the version # will be incremented. Using this field will ensure that creating and updating # the resource with an older region's version and set of regional prices and # currencies will succeed even though a new version is available. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @version = args[:version] if args.key?(:version) end end # Object representation for Remote in-app update action type. class RemoteInAppUpdate include Google::Apis::Core::Hashable # Required. Set to true if Remote In-App Update action type is needed. # Corresponds to the JSON property `isRemoteInAppUpdateRequested` # @return [Boolean] attr_accessor :is_remote_in_app_update_requested alias_method :is_remote_in_app_update_requested?, :is_remote_in_app_update_requested def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @is_remote_in_app_update_requested = args[:is_remote_in_app_update_requested] if args.key?(:is_remote_in_app_update_requested) end end # Data related to Remote In-App Update action such as recovered user count, # affected user count etc. class RemoteInAppUpdateData include Google::Apis::Core::Hashable # Data related to the recovery action at bundle level. # Corresponds to the JSON property `remoteAppUpdateDataPerBundle` # @return [Array] attr_accessor :remote_app_update_data_per_bundle def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @remote_app_update_data_per_bundle = args[:remote_app_update_data_per_bundle] if args.key?(:remote_app_update_data_per_bundle) end end # Data related to the recovery action at bundle level. class RemoteInAppUpdateDataPerBundle include Google::Apis::Core::Hashable # Total number of devices which have been rescued. # Corresponds to the JSON property `recoveredDeviceCount` # @return [Fixnum] attr_accessor :recovered_device_count # Total number of devices affected by this recovery action associated with # bundle of the app. # Corresponds to the JSON property `totalDeviceCount` # @return [Fixnum] attr_accessor :total_device_count # Version Code corresponding to the target bundle. # Corresponds to the JSON property `versionCode` # @return [Fixnum] attr_accessor :version_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @recovered_device_count = args[:recovered_device_count] if args.key?(:recovered_device_count) @total_device_count = args[:total_device_count] if args.key?(:total_device_count) @version_code = args[:version_code] if args.key?(:version_code) end end # Offer details information related to a rental line item. class RentOfferDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Details of a rental purchase. class RentalDetails include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Information specific to cancellations caused by subscription replacement. class ReplacementCancellation include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Countries where the purchase of this product is restricted to payment methods # registered in the same country. If empty, no payment location restrictions are # imposed. class RestrictedPaymentCountries include Google::Apis::Core::Hashable # Required. Region codes to impose payment restrictions on, as defined by ISO # 3166-2, e.g. "US". # Corresponds to the JSON property `regionCodes` # @return [Array] attr_accessor :region_codes def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @region_codes = args[:region_codes] if args.key?(:region_codes) end end # An Android app review. class Review include Google::Apis::Core::Hashable # The name of the user who wrote the review. # Corresponds to the JSON property `authorName` # @return [String] attr_accessor :author_name # A repeated field containing comments for the review. # Corresponds to the JSON property `comments` # @return [Array] attr_accessor :comments # Unique identifier for this review. # Corresponds to the JSON property `reviewId` # @return [String] attr_accessor :review_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @author_name = args[:author_name] if args.key?(:author_name) @comments = args[:comments] if args.key?(:comments) @review_id = args[:review_id] if args.key?(:review_id) end end # The result of replying/updating a reply to review. class ReviewReplyResult include Google::Apis::Core::Hashable # A Timestamp represents a point in time independent of any time zone or local # calendar, encoded as a count of seconds and fractions of seconds at nanosecond # resolution. The count is relative to an epoch at UTC midnight on January 1, # 1970. # Corresponds to the JSON property `lastEdited` # @return [Google::Apis::AndroidpublisherV3::Timestamp] attr_accessor :last_edited # The reply text that was applied. # Corresponds to the JSON property `replyText` # @return [String] attr_accessor :reply_text def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @last_edited = args[:last_edited] if args.key?(:last_edited) @reply_text = args[:reply_text] if args.key?(:reply_text) end end # Response listing reviews. class ReviewsListResponse include Google::Apis::Core::Hashable # Information about the current page. List operations that supports paging # return only one "page" of results. This protocol buffer message describes the # page that has been returned. # Corresponds to the JSON property `pageInfo` # @return [Google::Apis::AndroidpublisherV3::PageInfo] attr_accessor :page_info # List of reviews. # Corresponds to the JSON property `reviews` # @return [Array] attr_accessor :reviews # Pagination information returned by a List operation when token pagination is # enabled. List operations that supports paging return only one "page" of # results. This protocol buffer message describes the page that has been # returned. When using token pagination, clients should use the next/previous # token to get another page of the result. The presence or absence of next/ # previous token indicates whether a next/previous page is available and # provides a mean of accessing this page. ListRequest.page_token should be set # to either next_page_token or previous_page_token to access another page. # Corresponds to the JSON property `tokenPagination` # @return [Google::Apis::AndroidpublisherV3::TokenPagination] attr_accessor :token_pagination def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @page_info = args[:page_info] if args.key?(:page_info) @reviews = args[:reviews] if args.key?(:reviews) @token_pagination = args[:token_pagination] if args.key?(:token_pagination) end end # Request to reply to review or update existing reply. class ReviewsReplyRequest include Google::Apis::Core::Hashable # The text to set as the reply. Replies of more than approximately 350 # characters will be rejected. HTML tags will be stripped. # Corresponds to the JSON property `replyText` # @return [String] attr_accessor :reply_text def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @reply_text = args[:reply_text] if args.key?(:reply_text) end end # Response on status of replying to a review. class ReviewsReplyResponse include Google::Apis::Core::Hashable # The result of replying/updating a reply to review. # Corresponds to the JSON property `result` # @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult] attr_accessor :result def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @result = args[:result] if args.key?(:result) end end # Revocation context of the purchases.subscriptionsv2.revoke API. class RevocationContext include Google::Apis::Core::Hashable # Used to determine if the refund type in the RevocationContext is a full refund. # Corresponds to the JSON property `fullRefund` # @return [Google::Apis::AndroidpublisherV3::RevocationContextFullRefund] attr_accessor :full_refund # Used to determine what specific item to revoke in a subscription with multiple # items. # Corresponds to the JSON property `itemBasedRefund` # @return [Google::Apis::AndroidpublisherV3::RevocationContextItemBasedRefund] attr_accessor :item_based_refund # Used to determine if the refund type in the RevocationContext is a prorated # refund. # Corresponds to the JSON property `proratedRefund` # @return [Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund] attr_accessor :prorated_refund def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @full_refund = args[:full_refund] if args.key?(:full_refund) @item_based_refund = args[:item_based_refund] if args.key?(:item_based_refund) @prorated_refund = args[:prorated_refund] if args.key?(:prorated_refund) end end # Used to determine if the refund type in the RevocationContext is a full refund. class RevocationContextFullRefund include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Used to determine what specific item to revoke in a subscription with multiple # items. class RevocationContextItemBasedRefund include Google::Apis::Core::Hashable # Required. If the subscription is a subscription with add-ons, the product id # of the subscription item to revoke. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @product_id = args[:product_id] if args.key?(:product_id) end end # Used to determine if the refund type in the RevocationContext is a prorated # refund. class RevocationContextProratedRefund include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Request for the purchases.subscriptionsv2.revoke API. class RevokeSubscriptionPurchaseRequest include Google::Apis::Core::Hashable # Revocation context of the purchases.subscriptionsv2.revoke API. # Corresponds to the JSON property `revocationContext` # @return [Google::Apis::AndroidpublisherV3::RevocationContext] attr_accessor :revocation_context def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @revocation_context = args[:revocation_context] if args.key?(:revocation_context) end end # Response for the purchases.subscriptionsv2.revoke API. class RevokeSubscriptionPurchaseResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Request to update Safety Labels of an app. class SafetyLabelsUpdateRequest include Google::Apis::Core::Hashable # Required. Contents of the CSV file containing Data Safety responses. For the # format of this file, see the Help Center documentation at https://support. # google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cunderstand- # the-csv-format To download an up to date template, follow the steps at https:// # support.google.com/googleplay/android-developer/answer/10787469?#zippy=% # 2Cexport-to-a-csv-file # Corresponds to the JSON property `safetyLabels` # @return [String] attr_accessor :safety_labels def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @safety_labels = args[:safety_labels] if args.key?(:safety_labels) end end # Response for SafetyLabelsUpdate rpc. class SafetyLabelsUpdateResponse include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Represents a screen density. class ScreenDensity include Google::Apis::Core::Hashable # Alias for a screen density. # Corresponds to the JSON property `densityAlias` # @return [String] attr_accessor :density_alias # Value for density dpi. # Corresponds to the JSON property `densityDpi` # @return [Fixnum] attr_accessor :density_dpi def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @density_alias = args[:density_alias] if args.key?(:density_alias) @density_dpi = args[:density_dpi] if args.key?(:density_dpi) end end # Targeting based on screen density. class ScreenDensityTargeting include Google::Apis::Core::Hashable # Targeting of other sibling directories that were in the Bundle. For main # splits this is targeting of other main splits. # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # Value of a screen density. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # Represents an sdk version. class SdkVersion include Google::Apis::Core::Hashable # Inclusive minimum value of an sdk version. # Corresponds to the JSON property `min` # @return [Fixnum] attr_accessor :min def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @min = args[:min] if args.key?(:min) end end # Targeting based on sdk version. class SdkVersionTargeting include Google::Apis::Core::Hashable # Targeting of other sibling directories that were in the Bundle. For main # splits this is targeting of other main splits. # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # Value of an sdk version. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # The promotion applied on this item when purchased. class SignupPromotion include Google::Apis::Core::Hashable # A single use promotion code. # Corresponds to the JSON property `oneTimeCode` # @return [Google::Apis::AndroidpublisherV3::OneTimeCode] attr_accessor :one_time_code # A multiple use, predefined promotion code. # Corresponds to the JSON property `vanityCode` # @return [Google::Apis::AndroidpublisherV3::VanityCode] attr_accessor :vanity_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @one_time_code = args[:one_time_code] if args.key?(:one_time_code) @vanity_code = args[:vanity_code] if args.key?(:vanity_code) end end # Holds data specific to Split APKs. class SplitApkMetadata include Google::Apis::Core::Hashable # Indicates whether this APK is the main split of the module. # Corresponds to the JSON property `isMasterSplit` # @return [Boolean] attr_accessor :is_master_split alias_method :is_master_split?, :is_master_split # Id of the split. # Corresponds to the JSON property `splitId` # @return [String] attr_accessor :split_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @is_master_split = args[:is_master_split] if args.key?(:is_master_split) @split_id = args[:split_id] if args.key?(:split_id) end end # Variant is a group of APKs that covers a part of the device configuration # space. APKs from multiple variants are never combined on one device. class SplitApkVariant include Google::Apis::Core::Hashable # Set of APKs, one set per module. # Corresponds to the JSON property `apkSet` # @return [Array] attr_accessor :apk_set # Targeting on the level of variants. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::VariantTargeting] attr_accessor :targeting # Number of the variant, starting at 0 (unless overridden). A device will # receive APKs from the first variant that matches the device configuration, # with higher variant numbers having priority over lower variant numbers. # Corresponds to the JSON property `variantNumber` # @return [Fixnum] attr_accessor :variant_number def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @apk_set = args[:apk_set] if args.key?(:apk_set) @targeting = args[:targeting] if args.key?(:targeting) @variant_number = args[:variant_number] if args.key?(:variant_number) end end # Holds data specific to Standalone APKs. class StandaloneApkMetadata include Google::Apis::Core::Hashable # Names of the modules fused in this standalone APK. # Corresponds to the JSON property `fusedModuleName` # @return [Array] attr_accessor :fused_module_name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @fused_module_name = args[:fused_module_name] if args.key?(:fused_module_name) end end # Information associated with purchases made with 'Subscribe with Google'. class SubscribeWithGoogleInfo include Google::Apis::Core::Hashable # The email address of the user when the subscription was purchased. # Corresponds to the JSON property `emailAddress` # @return [String] attr_accessor :email_address # The family name of the user when the subscription was purchased. # Corresponds to the JSON property `familyName` # @return [String] attr_accessor :family_name # The given name of the user when the subscription was purchased. # Corresponds to the JSON property `givenName` # @return [String] attr_accessor :given_name # The Google profile id of the user when the subscription was purchased. # Corresponds to the JSON property `profileId` # @return [String] attr_accessor :profile_id # The profile name of the user when the subscription was purchased. # Corresponds to the JSON property `profileName` # @return [String] attr_accessor :profile_name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) @family_name = args[:family_name] if args.key?(:family_name) @given_name = args[:given_name] if args.key?(:given_name) @profile_id = args[:profile_id] if args.key?(:profile_id) @profile_name = args[:profile_name] if args.key?(:profile_name) end end # A single subscription for an app. class Subscription include Google::Apis::Core::Hashable # Output only. Deprecated: subscription archiving is not supported. # Corresponds to the JSON property `archived` # @return [Boolean] attr_accessor :archived alias_method :archived?, :archived # The set of base plans for this subscription. Represents the prices and # duration of the subscription if no other offers apply. # Corresponds to the JSON property `basePlans` # @return [Array] attr_accessor :base_plans # Required. List of localized listings for this subscription. Must contain at # least an entry for the default language of the parent app. # Corresponds to the JSON property `listings` # @return [Array] attr_accessor :listings # Immutable. Package name of the parent app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Immutable. Unique product ID of the product. Unique within the parent app. # Product IDs must be composed of lower-case letters (a-z), numbers (0-9), # underscores (_) and dots (.). It must start with a lower-case letter or number, # and be between 1 and 40 (inclusive) characters in length. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Countries where the purchase of this product is restricted to payment methods # registered in the same country. If empty, no payment location restrictions are # imposed. # Corresponds to the JSON property `restrictedPaymentCountries` # @return [Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries] attr_accessor :restricted_payment_countries # Details about taxation, Google Play policy, and legal compliance for # subscription products. # Corresponds to the JSON property `taxAndComplianceSettings` # @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings] attr_accessor :tax_and_compliance_settings def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @archived = args[:archived] if args.key?(:archived) @base_plans = args[:base_plans] if args.key?(:base_plans) @listings = args[:listings] if args.key?(:listings) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @restricted_payment_countries = args[:restricted_payment_countries] if args.key?(:restricted_payment_countries) @tax_and_compliance_settings = args[:tax_and_compliance_settings] if args.key?(:tax_and_compliance_settings) end end # Information provided by the user when they complete the subscription # cancellation flow (cancellation reason survey). class SubscriptionCancelSurveyResult include Google::Apis::Core::Hashable # The cancellation reason the user chose in the survey. Possible values are: 0. # Other 1. I don't use this service enough 2. Technical issues 3. Cost-related # reasons 4. I found a better app # Corresponds to the JSON property `cancelSurveyReason` # @return [Fixnum] attr_accessor :cancel_survey_reason # The customized input cancel reason from the user. Only present when # cancelReason is 0. # Corresponds to the JSON property `userInputCancelReason` # @return [String] attr_accessor :user_input_cancel_reason def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cancel_survey_reason = args[:cancel_survey_reason] if args.key?(:cancel_survey_reason) @user_input_cancel_reason = args[:user_input_cancel_reason] if args.key?(:user_input_cancel_reason) end end # A SubscriptionDeferralInfo contains the data needed to defer a subscription # purchase to a future expiry time. class SubscriptionDeferralInfo include Google::Apis::Core::Hashable # The desired next expiry time to assign to the subscription, in milliseconds # since the Epoch. The given time must be later/greater than the current expiry # time for the subscription. # Corresponds to the JSON property `desiredExpiryTimeMillis` # @return [Fixnum] attr_accessor :desired_expiry_time_millis # The expected expiry time for the subscription. If the current expiry time for # the subscription is not the value specified here, the deferral will not occur. # Corresponds to the JSON property `expectedExpiryTimeMillis` # @return [Fixnum] attr_accessor :expected_expiry_time_millis def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @desired_expiry_time_millis = args[:desired_expiry_time_millis] if args.key?(:desired_expiry_time_millis) @expected_expiry_time_millis = args[:expected_expiry_time_millis] if args.key?(:expected_expiry_time_millis) end end # Details of a subscription purchase. class SubscriptionDetails include Google::Apis::Core::Hashable # The base plan ID of the subscription. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # The offer ID for the current subscription offer. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # The pricing phase for the billing period funded by this order. Deprecated. Use # offer_phase_details instead. # Corresponds to the JSON property `offerPhase` # @return [String] attr_accessor :offer_phase # Details of a pricing phase for the entitlement period funded by this order. # Corresponds to the JSON property `offerPhaseDetails` # @return [Google::Apis::AndroidpublisherV3::OfferPhaseDetails] attr_accessor :offer_phase_details # The end of the billing period funded by this order. This is a snapshot of the # billing/service period end time at the moment the order was processed, and # should be used only for accounting. To get the current end time of the # subscription service period, use purchases.subscriptionsv2.get. # Corresponds to the JSON property `servicePeriodEndTime` # @return [String] attr_accessor :service_period_end_time # The start of the billing period funded by this order. This is a snapshot of # the billing/service period start time at the moment the order was processed, # and should be used only for accounting. # Corresponds to the JSON property `servicePeriodStartTime` # @return [String] attr_accessor :service_period_start_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_phase = args[:offer_phase] if args.key?(:offer_phase) @offer_phase_details = args[:offer_phase_details] if args.key?(:offer_phase_details) @service_period_end_time = args[:service_period_end_time] if args.key?(:service_period_end_time) @service_period_start_time = args[:service_period_start_time] if args.key?(:service_period_start_time) end end # Price change related information of a subscription item. class SubscriptionItemPriceChangeDetails include Google::Apis::Core::Hashable # The renewal time at which the price change will become effective for the user. # This is subject to change(to a future time) due to cases where the renewal # time shifts like pause. This field is only populated if the price change has # not taken effect. # Corresponds to the JSON property `expectedNewPriceChargeTime` # @return [String] attr_accessor :expected_new_price_charge_time # Represents an amount of money with its currency type. # Corresponds to the JSON property `newPrice` # @return [Google::Apis::AndroidpublisherV3::Money] attr_accessor :new_price # Price change mode specifies how the subscription item price is changing. # Corresponds to the JSON property `priceChangeMode` # @return [String] attr_accessor :price_change_mode # State the price change is currently in. # Corresponds to the JSON property `priceChangeState` # @return [String] attr_accessor :price_change_state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @expected_new_price_charge_time = args[:expected_new_price_charge_time] if args.key?(:expected_new_price_charge_time) @new_price = args[:new_price] if args.key?(:new_price) @price_change_mode = args[:price_change_mode] if args.key?(:price_change_mode) @price_change_state = args[:price_change_state] if args.key?(:price_change_state) end end # The consumer-visible metadata of a subscription. class SubscriptionListing include Google::Apis::Core::Hashable # A list of benefits shown to the user on platforms such as the Play Store and # in restoration flows in the language of this listing. Plain text. Ordered list # of at most four benefits. # Corresponds to the JSON property `benefits` # @return [Array] attr_accessor :benefits # The description of this subscription in the language of this listing. Maximum # length - 80 characters. Plain text. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Required. The language of this listing, as defined by BCP-47, e.g. "en-US". # Corresponds to the JSON property `languageCode` # @return [String] attr_accessor :language_code # Required. The title of this subscription in the language of this listing. # Plain text. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @benefits = args[:benefits] if args.key?(:benefits) @description = args[:description] if args.key?(:description) @language_code = args[:language_code] if args.key?(:language_code) @title = args[:title] if args.key?(:title) end end # A single, temporary offer class SubscriptionOffer include Google::Apis::Core::Hashable # Required. Immutable. The ID of the base plan to which this offer is an # extension. # Corresponds to the JSON property `basePlanId` # @return [String] attr_accessor :base_plan_id # Required. Immutable. Unique ID of this subscription offer. Must be unique # within the base plan. # Corresponds to the JSON property `offerId` # @return [String] attr_accessor :offer_id # List of up to 20 custom tags specified for this offer, and returned to the app # through the billing library. # Corresponds to the JSON property `offerTags` # @return [Array] attr_accessor :offer_tags # Configuration for any new locations Play may launch in specified on a # subscription offer. # Corresponds to the JSON property `otherRegionsConfig` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferConfig] attr_accessor :other_regions_config # Required. Immutable. The package name of the app the parent subscription # belongs to. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # Required. The phases of this subscription offer. Must contain at least one and # at most two entries. Users will always receive all these phases in the # specified order. # Corresponds to the JSON property `phases` # @return [Array] attr_accessor :phases # Required. Immutable. The ID of the parent subscription this offer belongs to. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # Required. The region-specific configuration of this offer. Must contain at # least one entry. # Corresponds to the JSON property `regionalConfigs` # @return [Array] attr_accessor :regional_configs # Output only. The current state of this offer. Can be changed using Activate # and Deactivate actions. NB: the base plan state supersedes this state, so an # active offer may not be available if the base plan is not active. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state # Defines the rule a user needs to satisfy to receive this offer. # Corresponds to the JSON property `targeting` # @return [Google::Apis::AndroidpublisherV3::SubscriptionOfferTargeting] attr_accessor :targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id) @offer_id = args[:offer_id] if args.key?(:offer_id) @offer_tags = args[:offer_tags] if args.key?(:offer_tags) @other_regions_config = args[:other_regions_config] if args.key?(:other_regions_config) @package_name = args[:package_name] if args.key?(:package_name) @phases = args[:phases] if args.key?(:phases) @product_id = args[:product_id] if args.key?(:product_id) @regional_configs = args[:regional_configs] if args.key?(:regional_configs) @state = args[:state] if args.key?(:state) @targeting = args[:targeting] if args.key?(:targeting) end end # A single phase of a subscription offer. class SubscriptionOfferPhase include Google::Apis::Core::Hashable # Required. The duration of a single recurrence of this phase. Specified in ISO # 8601 format. # Corresponds to the JSON property `duration` # @return [String] attr_accessor :duration # Configuration for any new locations Play may launch in for a single offer # phase. # Corresponds to the JSON property `otherRegionsConfig` # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseConfig] attr_accessor :other_regions_config # Required. The number of times this phase repeats. If this offer phase is not # free, each recurrence charges the user the price of this offer phase. # Corresponds to the JSON property `recurrenceCount` # @return [Fixnum] attr_accessor :recurrence_count # Required. The region-specific configuration of this offer phase. This list # must contain exactly one entry for each region for which the subscription # offer has a regional config. # Corresponds to the JSON property `regionalConfigs` # @return [Array] attr_accessor :regional_configs def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @duration = args[:duration] if args.key?(:duration) @other_regions_config = args[:other_regions_config] if args.key?(:other_regions_config) @recurrence_count = args[:recurrence_count] if args.key?(:recurrence_count) @regional_configs = args[:regional_configs] if args.key?(:regional_configs) end end # Defines the rule a user needs to satisfy to receive this offer. class SubscriptionOfferTargeting include Google::Apis::Core::Hashable # Represents a targeting rule of the form: User never had `scope` before. # Corresponds to the JSON property `acquisitionRule` # @return [Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule] attr_accessor :acquisition_rule # Represents a targeting rule of the form: User currently has `scope` [with # billing period `billing_period`]. # Corresponds to the JSON property `upgradeRule` # @return [Google::Apis::AndroidpublisherV3::UpgradeTargetingRule] attr_accessor :upgrade_rule def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @acquisition_rule = args[:acquisition_rule] if args.key?(:acquisition_rule) @upgrade_rule = args[:upgrade_rule] if args.key?(:upgrade_rule) end end # Contains the price change information for a subscription that can be used to # control the user journey for the price change in the app. This can be in the # form of seeking confirmation from the user or tailoring the experience for a # successful conversion. class SubscriptionPriceChange include Google::Apis::Core::Hashable # Definition of a price, i.e. currency and units. # Corresponds to the JSON property `newPrice` # @return [Google::Apis::AndroidpublisherV3::Price] attr_accessor :new_price # The current state of the price change. Possible values are: 0. Outstanding: # State for a pending price change waiting for the user to agree. In this state, # you can optionally seek confirmation from the user using the In-App API. 1. # Accepted: State for an accepted price change that the subscription will renew # with unless it's canceled. The price change takes effect on a future date when # the subscription renews. Note that the change might not occur when the # subscription is renewed next. # Corresponds to the JSON property `state` # @return [Fixnum] attr_accessor :state def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @new_price = args[:new_price] if args.key?(:new_price) @state = args[:state] if args.key?(:state) end end # A SubscriptionPurchase resource indicates the status of a user's subscription # purchase. class SubscriptionPurchase include Google::Apis::Core::Hashable # The acknowledgement state of the subscription product. Possible values are: 0. # Yet to be acknowledged 1. Acknowledged # Corresponds to the JSON property `acknowledgementState` # @return [Fixnum] attr_accessor :acknowledgement_state # Whether the subscription will automatically be renewed when it reaches its # current expiry time. # Corresponds to the JSON property `autoRenewing` # @return [Boolean] attr_accessor :auto_renewing alias_method :auto_renewing?, :auto_renewing # Time at which the subscription will be automatically resumed, in milliseconds # since the Epoch. Only present if the user has requested to pause the # subscription. # Corresponds to the JSON property `autoResumeTimeMillis` # @return [Fixnum] attr_accessor :auto_resume_time_millis # The reason why a subscription was canceled or is not auto-renewing. Possible # values are: 0. User canceled the subscription 1. Subscription was canceled by # the system, for example because of a billing problem 2. Subscription was # replaced with a new subscription 3. Subscription was canceled by the developer # Corresponds to the JSON property `cancelReason` # @return [Fixnum] attr_accessor :cancel_reason # Information provided by the user when they complete the subscription # cancellation flow (cancellation reason survey). # Corresponds to the JSON property `cancelSurveyResult` # @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult] attr_accessor :cancel_survey_result # ISO 3166-1 alpha-2 billing country/region code of the user at the time the # subscription was granted. # Corresponds to the JSON property `countryCode` # @return [String] attr_accessor :country_code # A developer-specified string that contains supplemental information about an # order. # Corresponds to the JSON property `developerPayload` # @return [String] attr_accessor :developer_payload # The email address of the user when the subscription was purchased. Only # present for purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `emailAddress` # @return [String] attr_accessor :email_address # Time at which the subscription will expire, in milliseconds since the Epoch. # Corresponds to the JSON property `expiryTimeMillis` # @return [Fixnum] attr_accessor :expiry_time_millis # User account identifier in the third-party service. Only present if account # linking happened as part of the subscription purchase flow. # Corresponds to the JSON property `externalAccountId` # @return [String] attr_accessor :external_account_id # The family name of the user when the subscription was purchased. Only present # for purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `familyName` # @return [String] attr_accessor :family_name # The given name of the user when the subscription was purchased. Only present # for purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `givenName` # @return [String] attr_accessor :given_name # Contains the introductory price information for a subscription. # Corresponds to the JSON property `introductoryPriceInfo` # @return [Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo] attr_accessor :introductory_price_info # This kind represents a subscriptionPurchase object in the androidpublisher # service. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The purchase token of the originating purchase if this subscription is one of # the following: 0. Re-signup of a canceled but non-lapsed subscription 1. # Upgrade/downgrade from a previous subscription For example, suppose a user # originally signs up and you receive purchase token X, then the user cancels # and goes through the resignup flow (before their subscription lapses) and you # receive purchase token Y, and finally the user upgrades their subscription and # you receive purchase token Z. If you call this API with purchase token Z, this # field will be set to Y. If you call this API with purchase token Y, this field # will be set to X. If you call this API with purchase token X, this field will # not be set. # Corresponds to the JSON property `linkedPurchaseToken` # @return [String] attr_accessor :linked_purchase_token # An obfuscated version of the id that is uniquely associated with the user's # account in your app. Present for the following purchases: * If account linking # happened as part of the subscription purchase flow. * It was specified using # https://developer.android.com/reference/com/android/billingclient/api/ # BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalAccountId` # @return [String] attr_accessor :obfuscated_external_account_id # An obfuscated version of the id that is uniquely associated with the user's # profile in your app. Only present if specified using https://developer.android. # com/reference/com/android/billingclient/api/BillingFlowParams.Builder# # setobfuscatedprofileid when the purchase was made. # Corresponds to the JSON property `obfuscatedExternalProfileId` # @return [String] attr_accessor :obfuscated_external_profile_id # The order id of the latest recurring order associated with the purchase of the # subscription. If the subscription was canceled because payment was declined, # this will be the order id from the payment declined order. # Corresponds to the JSON property `orderId` # @return [String] attr_accessor :order_id # The payment state of the subscription. Possible values are: 0. Payment pending # 1. Payment received 2. Free trial 3. Pending deferred upgrade/downgrade Not # present for canceled, expired subscriptions. # Corresponds to the JSON property `paymentState` # @return [Fixnum] attr_accessor :payment_state # Price of the subscription, For tax exclusive countries, the price doesn't # include tax. For tax inclusive countries, the price includes tax. Price is # expressed in micro-units, where 1,000,000 micro-units represents one unit of # the currency. For example, if the subscription price is €1.99, # price_amount_micros is 1990000. # Corresponds to the JSON property `priceAmountMicros` # @return [Fixnum] attr_accessor :price_amount_micros # Contains the price change information for a subscription that can be used to # control the user journey for the price change in the app. This can be in the # form of seeking confirmation from the user or tailoring the experience for a # successful conversion. # Corresponds to the JSON property `priceChange` # @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange] attr_accessor :price_change # ISO 4217 currency code for the subscription price. For example, if the price # is specified in British pounds sterling, price_currency_code is "GBP". # Corresponds to the JSON property `priceCurrencyCode` # @return [String] attr_accessor :price_currency_code # The Google profile id of the user when the subscription was purchased. Only # present for purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `profileId` # @return [String] attr_accessor :profile_id # The profile name of the user when the subscription was purchased. Only present # for purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `profileName` # @return [String] attr_accessor :profile_name # The promotion code applied on this purchase. This field is only set if a # vanity code promotion is applied when the subscription was purchased. # Corresponds to the JSON property `promotionCode` # @return [String] attr_accessor :promotion_code # The type of promotion applied on this purchase. This field is only set if a # promotion is applied when the subscription was purchased. Possible values are: # 0. One time code 1. Vanity code # Corresponds to the JSON property `promotionType` # @return [Fixnum] attr_accessor :promotion_type # The type of purchase of the subscription. This field is only set if this # purchase was not made using the standard in-app billing flow. Possible values # are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. # purchased using a promo code) # Corresponds to the JSON property `purchaseType` # @return [Fixnum] attr_accessor :purchase_type # Time at which the subscription was granted, in milliseconds since the Epoch. # Corresponds to the JSON property `startTimeMillis` # @return [Fixnum] attr_accessor :start_time_millis # The time at which the subscription was canceled by the user, in milliseconds # since the epoch. Only present if cancelReason is 0. # Corresponds to the JSON property `userCancellationTimeMillis` # @return [Fixnum] attr_accessor :user_cancellation_time_millis def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state) @auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing) @auto_resume_time_millis = args[:auto_resume_time_millis] if args.key?(:auto_resume_time_millis) @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason) @cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result) @country_code = args[:country_code] if args.key?(:country_code) @developer_payload = args[:developer_payload] if args.key?(:developer_payload) @email_address = args[:email_address] if args.key?(:email_address) @expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis) @external_account_id = args[:external_account_id] if args.key?(:external_account_id) @family_name = args[:family_name] if args.key?(:family_name) @given_name = args[:given_name] if args.key?(:given_name) @introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info) @kind = args[:kind] if args.key?(:kind) @linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token) @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id) @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id) @order_id = args[:order_id] if args.key?(:order_id) @payment_state = args[:payment_state] if args.key?(:payment_state) @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros) @price_change = args[:price_change] if args.key?(:price_change) @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code) @profile_id = args[:profile_id] if args.key?(:profile_id) @profile_name = args[:profile_name] if args.key?(:profile_name) @promotion_code = args[:promotion_code] if args.key?(:promotion_code) @promotion_type = args[:promotion_type] if args.key?(:promotion_type) @purchase_type = args[:purchase_type] if args.key?(:purchase_type) @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis) @user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis) end end # Item-level info for a subscription purchase. class SubscriptionPurchaseLineItem include Google::Apis::Core::Hashable # Information related to an auto renewing plan. # Corresponds to the JSON property `autoRenewingPlan` # @return [Google::Apis::AndroidpublisherV3::AutoRenewingPlan] attr_accessor :auto_renewing_plan # Information related to deferred item replacement. # Corresponds to the JSON property `deferredItemRemoval` # @return [Google::Apis::AndroidpublisherV3::DeferredItemRemoval] attr_accessor :deferred_item_removal # Information related to deferred item replacement. # Corresponds to the JSON property `deferredItemReplacement` # @return [Google::Apis::AndroidpublisherV3::DeferredItemReplacement] attr_accessor :deferred_item_replacement # Time at which the subscription expired or will expire unless the access is # extended (ex. renews). # Corresponds to the JSON property `expiryTime` # @return [String] attr_accessor :expiry_time # Details about a subscription line item that is being replaced. # Corresponds to the JSON property `itemReplacement` # @return [Google::Apis::AndroidpublisherV3::ItemReplacement] attr_accessor :item_replacement # The order id of the latest successful order associated with this item. Not # present if the item is not owned by the user yet (e.g. the item being deferred # replaced to). # Corresponds to the JSON property `latestSuccessfulOrderId` # @return [String] attr_accessor :latest_successful_order_id # Offer details information related to a purchase line item. # Corresponds to the JSON property `offerDetails` # @return [Google::Apis::AndroidpublisherV3::OfferDetails] attr_accessor :offer_details # Offer phase details. # Corresponds to the JSON property `offerPhase` # @return [Google::Apis::AndroidpublisherV3::OfferPhase] attr_accessor :offer_phase # Information related to a prepaid plan. # Corresponds to the JSON property `prepaidPlan` # @return [Google::Apis::AndroidpublisherV3::PrepaidPlan] attr_accessor :prepaid_plan # The purchased product ID (for example, 'monthly001'). # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id # The promotion applied on this item when purchased. # Corresponds to the JSON property `signupPromotion` # @return [Google::Apis::AndroidpublisherV3::SignupPromotion] attr_accessor :signup_promotion def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @auto_renewing_plan = args[:auto_renewing_plan] if args.key?(:auto_renewing_plan) @deferred_item_removal = args[:deferred_item_removal] if args.key?(:deferred_item_removal) @deferred_item_replacement = args[:deferred_item_replacement] if args.key?(:deferred_item_replacement) @expiry_time = args[:expiry_time] if args.key?(:expiry_time) @item_replacement = args[:item_replacement] if args.key?(:item_replacement) @latest_successful_order_id = args[:latest_successful_order_id] if args.key?(:latest_successful_order_id) @offer_details = args[:offer_details] if args.key?(:offer_details) @offer_phase = args[:offer_phase] if args.key?(:offer_phase) @prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan) @product_id = args[:product_id] if args.key?(:product_id) @signup_promotion = args[:signup_promotion] if args.key?(:signup_promotion) end end # Indicates the status of a user's subscription purchase. class SubscriptionPurchaseV2 include Google::Apis::Core::Hashable # The acknowledgement state of the subscription. # Corresponds to the JSON property `acknowledgementState` # @return [String] attr_accessor :acknowledgement_state # Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or # SUBSCRIPTION_STATE_EXPIRED state. # Corresponds to the JSON property `canceledStateContext` # @return [Google::Apis::AndroidpublisherV3::CanceledStateContext] attr_accessor :canceled_state_context # Entity tag representing the current state of the subscription. The developer # will provide this etag for subscription actions. This etag is always present # for auto-renewing and prepaid subscriptions. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag # User account identifier in the third-party service. # Corresponds to the JSON property `externalAccountIdentifiers` # @return [Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers] attr_accessor :external_account_identifiers # This kind represents a SubscriptionPurchaseV2 object in the androidpublisher # service. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Deprecated: Use line_items.latest_successful_order_id instead. The order id of # the latest order associated with the purchase of the subscription. For # autoRenewing subscription, this is the order id of signup order if it is not # renewed yet, or the last recurring order id (success, pending, or declined # order). For prepaid subscription, this is the order id associated with the # queried purchase token. # Corresponds to the JSON property `latestOrderId` # @return [String] attr_accessor :latest_order_id # Item-level info for a subscription purchase. The items in the same purchase # should be either all with AutoRenewingPlan or all with PrepaidPlan. # Corresponds to the JSON property `lineItems` # @return [Array] attr_accessor :line_items # The purchase token of the old subscription if this subscription is one of the # following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/ # downgrade from a previous subscription. * Convert from prepaid to auto # renewing subscription. * Convert from an auto renewing subscription to prepaid. # * Topup a prepaid subscription. # Corresponds to the JSON property `linkedPurchaseToken` # @return [String] attr_accessor :linked_purchase_token # Information specific to an out of app purchase. # Corresponds to the JSON property `outOfAppPurchaseContext` # @return [Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext] attr_accessor :out_of_app_purchase_context # Information specific to a subscription in paused state. # Corresponds to the JSON property `pausedStateContext` # @return [Google::Apis::AndroidpublisherV3::PausedStateContext] attr_accessor :paused_state_context # ISO 3166-1 alpha-2 billing country/region code of the user at the time the # subscription was granted. # Corresponds to the JSON property `regionCode` # @return [String] attr_accessor :region_code # Time at which the subscription was granted. Not set for pending subscriptions ( # subscription was created but awaiting payment during signup). # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time # Information associated with purchases made with 'Subscribe with Google'. # Corresponds to the JSON property `subscribeWithGoogleInfo` # @return [Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo] attr_accessor :subscribe_with_google_info # The current state of the subscription. # Corresponds to the JSON property `subscriptionState` # @return [String] attr_accessor :subscription_state # Whether this subscription purchase is a test purchase. # Corresponds to the JSON property `testPurchase` # @return [Google::Apis::AndroidpublisherV3::TestPurchase] attr_accessor :test_purchase def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state) @canceled_state_context = args[:canceled_state_context] if args.key?(:canceled_state_context) @etag = args[:etag] if args.key?(:etag) @external_account_identifiers = args[:external_account_identifiers] if args.key?(:external_account_identifiers) @kind = args[:kind] if args.key?(:kind) @latest_order_id = args[:latest_order_id] if args.key?(:latest_order_id) @line_items = args[:line_items] if args.key?(:line_items) @linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token) @out_of_app_purchase_context = args[:out_of_app_purchase_context] if args.key?(:out_of_app_purchase_context) @paused_state_context = args[:paused_state_context] if args.key?(:paused_state_context) @region_code = args[:region_code] if args.key?(:region_code) @start_time = args[:start_time] if args.key?(:start_time) @subscribe_with_google_info = args[:subscribe_with_google_info] if args.key?(:subscribe_with_google_info) @subscription_state = args[:subscription_state] if args.key?(:subscription_state) @test_purchase = args[:test_purchase] if args.key?(:test_purchase) end end # Request for the purchases.subscriptions.acknowledge API. class SubscriptionPurchasesAcknowledgeRequest include Google::Apis::Core::Hashable # Payload to attach to the purchase. # Corresponds to the JSON property `developerPayload` # @return [String] attr_accessor :developer_payload # User account identifier in your app. # Corresponds to the JSON property `externalAccountIds` # @return [Google::Apis::AndroidpublisherV3::ExternalAccountIds] attr_accessor :external_account_ids def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @developer_payload = args[:developer_payload] if args.key?(:developer_payload) @external_account_ids = args[:external_account_ids] if args.key?(:external_account_ids) end end # Request for the purchases.subscriptions.defer API. class SubscriptionPurchasesDeferRequest include Google::Apis::Core::Hashable # A SubscriptionDeferralInfo contains the data needed to defer a subscription # purchase to a future expiry time. # Corresponds to the JSON property `deferralInfo` # @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo] attr_accessor :deferral_info def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @deferral_info = args[:deferral_info] if args.key?(:deferral_info) end end # Response for the purchases.subscriptions.defer API. class SubscriptionPurchasesDeferResponse include Google::Apis::Core::Hashable # The new expiry time for the subscription in milliseconds since the Epoch. # Corresponds to the JSON property `newExpiryTimeMillis` # @return [Fixnum] attr_accessor :new_expiry_time_millis def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @new_expiry_time_millis = args[:new_expiry_time_millis] if args.key?(:new_expiry_time_millis) end end # Details about taxation, Google Play policy, and legal compliance for # subscription products. class SubscriptionTaxAndComplianceSettings include Google::Apis::Core::Hashable # Digital content or service classification for products distributed to users in # the European Economic Area (EEA). The withdrawal regime under EEA consumer # laws depends on this classification. Refer to the [Help Center article](https:/ # /support.google.com/googleplay/android-developer/answer/10463498) for more # information. # Corresponds to the JSON property `eeaWithdrawalRightType` # @return [String] attr_accessor :eea_withdrawal_right_type # Whether this subscription is declared as a product representing a tokenized # digital asset. # Corresponds to the JSON property `isTokenizedDigitalAsset` # @return [Boolean] attr_accessor :is_tokenized_digital_asset alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset # Product tax category code to assign to the subscription. Product tax category # determines the transaction tax rates applied to the subscription. Refer to the # [Help Center article](https://support.google.com/googleplay/android-developer/ # answer/16408159) for more information. # Corresponds to the JSON property `productTaxCategoryCode` # @return [String] attr_accessor :product_tax_category_code # Regional age rating information. Currently this field is only supported for # region code `US`. # Corresponds to the JSON property `regionalProductAgeRatingInfos` # @return [Array] attr_accessor :regional_product_age_rating_infos # A mapping from region code to tax rate details. The keys are region codes as # defined by Unicode's "CLDR". # Corresponds to the JSON property `taxRateInfoByRegionCode` # @return [Hash] attr_accessor :tax_rate_info_by_region_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type) @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset) @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code) @regional_product_age_rating_infos = args[:regional_product_age_rating_infos] if args.key?(:regional_product_age_rating_infos) @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code) end end # Options for system APKs. class SystemApkOptions include Google::Apis::Core::Hashable # Whether to use the rotated key for signing the system APK. # Corresponds to the JSON property `rotated` # @return [Boolean] attr_accessor :rotated alias_method :rotated?, :rotated # Whether system APK was generated with uncompressed dex files. # Corresponds to the JSON property `uncompressedDexFiles` # @return [Boolean] attr_accessor :uncompressed_dex_files alias_method :uncompressed_dex_files?, :uncompressed_dex_files # Whether system APK was generated with uncompressed native libraries. # Corresponds to the JSON property `uncompressedNativeLibraries` # @return [Boolean] attr_accessor :uncompressed_native_libraries alias_method :uncompressed_native_libraries?, :uncompressed_native_libraries def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @rotated = args[:rotated] if args.key?(:rotated) @uncompressed_dex_files = args[:uncompressed_dex_files] if args.key?(:uncompressed_dex_files) @uncompressed_native_libraries = args[:uncompressed_native_libraries] if args.key?(:uncompressed_native_libraries) end end # Response to list previously created system APK variants. class SystemApksListResponse include Google::Apis::Core::Hashable # All system APK variants created. # Corresponds to the JSON property `variants` # @return [Array] attr_accessor :variants def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @variants = args[:variants] if args.key?(:variants) end end # Representation of a system feature. class SystemFeature include Google::Apis::Core::Hashable # The name of the feature. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) end end # Information specific to cancellations initiated by Google system. class SystemInitiatedCancellation include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Representation of a System-on-Chip (SoC) of an Android device. Can be used to # target S+ devices. class SystemOnChip include Google::Apis::Core::Hashable # Required. The designer of the SoC, eg. "Google" Value of build property "ro. # soc.manufacturer" https://developer.android.com/reference/android/os/Build# # SOC_MANUFACTURER Required. # Corresponds to the JSON property `manufacturer` # @return [String] attr_accessor :manufacturer # Required. The model of the SoC, eg. "Tensor" Value of build property "ro.soc. # model" https://developer.android.com/reference/android/os/Build#SOC_MODEL # Required. # Corresponds to the JSON property `model` # @return [String] attr_accessor :model def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @model = args[:model] if args.key?(:model) end end # Targeting details for a recovery action such as regions, android sdk levels, # app versions etc. class Targeting include Google::Apis::Core::Hashable # Object representation to describe all set of users. # Corresponds to the JSON property `allUsers` # @return [Google::Apis::AndroidpublisherV3::AllUsers] attr_accessor :all_users # Android api level targeting data for app recovery action targeting. # Corresponds to the JSON property `androidSdks` # @return [Google::Apis::AndroidpublisherV3::AndroidSdks] attr_accessor :android_sdks # Region targeting data for app recovery action targeting. # Corresponds to the JSON property `regions` # @return [Google::Apis::AndroidpublisherV3::Regions] attr_accessor :regions # Data format for a list of app versions. # Corresponds to the JSON property `versionList` # @return [Google::Apis::AndroidpublisherV3::AppVersionList] attr_accessor :version_list # Data format for a continuous range of app versions. # Corresponds to the JSON property `versionRange` # @return [Google::Apis::AndroidpublisherV3::AppVersionRange] attr_accessor :version_range def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @all_users = args[:all_users] if args.key?(:all_users) @android_sdks = args[:android_sdks] if args.key?(:android_sdks) @regions = args[:regions] if args.key?(:regions) @version_list = args[:version_list] if args.key?(:version_list) @version_range = args[:version_range] if args.key?(:version_range) end end # Targeting information about the generated apks. class TargetingInfo include Google::Apis::Core::Hashable # List of created asset slices. # Corresponds to the JSON property `assetSliceSet` # @return [Array] attr_accessor :asset_slice_set # The package name of this app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name # List of the created variants. # Corresponds to the JSON property `variant` # @return [Array] attr_accessor :variant def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @asset_slice_set = args[:asset_slice_set] if args.key?(:asset_slice_set) @package_name = args[:package_name] if args.key?(:package_name) @variant = args[:variant] if args.key?(:variant) end end # Defines the scope of subscriptions which a targeting rule can match to target # offers to users based on past or current entitlement. class TargetingRuleScope include Google::Apis::Core::Hashable # Represents the targeting rule scope corresponding to any subscription in the # parent app. # Corresponds to the JSON property `anySubscriptionInApp` # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp] attr_accessor :any_subscription_in_app # The scope of the current targeting rule is the subscription with the specified # subscription ID. Must be a subscription within the same parent app. # Corresponds to the JSON property `specificSubscriptionInApp` # @return [String] attr_accessor :specific_subscription_in_app # Represents the targeting rule scope corresponding to the subscriptions in # which this offer is defined. # Corresponds to the JSON property `thisSubscription` # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription] attr_accessor :this_subscription def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @any_subscription_in_app = args[:any_subscription_in_app] if args.key?(:any_subscription_in_app) @specific_subscription_in_app = args[:specific_subscription_in_app] if args.key?(:specific_subscription_in_app) @this_subscription = args[:this_subscription] if args.key?(:this_subscription) end end # Represents the targeting rule scope corresponding to any subscription in the # parent app. class TargetingRuleScopeAnySubscriptionInApp include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Represents the targeting rule scope corresponding to the subscriptions in # which this offer is defined. class TargetingRuleScopeThisSubscription include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Update type for targeting. Note it is always a subset Targeting. class TargetingUpdate include Google::Apis::Core::Hashable # Object representation to describe all set of users. # Corresponds to the JSON property `allUsers` # @return [Google::Apis::AndroidpublisherV3::AllUsers] attr_accessor :all_users # Android api level targeting data for app recovery action targeting. # Corresponds to the JSON property `androidSdks` # @return [Google::Apis::AndroidpublisherV3::AndroidSdks] attr_accessor :android_sdks # Region targeting data for app recovery action targeting. # Corresponds to the JSON property `regions` # @return [Google::Apis::AndroidpublisherV3::Regions] attr_accessor :regions def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @all_users = args[:all_users] if args.key?(:all_users) @android_sdks = args[:android_sdks] if args.key?(:android_sdks) @regions = args[:regions] if args.key?(:regions) end end # Whether this subscription purchase is a test purchase. class TestPurchase include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) end end # Context about a test purchase. class TestPurchaseContext include Google::Apis::Core::Hashable # The fop type of the test purchase. # Corresponds to the JSON property `fopType` # @return [String] attr_accessor :fop_type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @fop_type = args[:fop_type] if args.key?(:fop_type) end end # The testers of an app. The resource for TestersService. Note: while it is # possible in the Play Console UI to add testers via email lists, email lists # are not supported by this resource. class Testers include Google::Apis::Core::Hashable # All testing Google Groups, as email addresses. # Corresponds to the JSON property `googleGroups` # @return [Array] attr_accessor :google_groups def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @google_groups = args[:google_groups] if args.key?(:google_groups) end end # Represents texture compression format. class TextureCompressionFormat include Google::Apis::Core::Hashable # Alias for texture compression format. # Corresponds to the JSON property `alias` # @return [String] attr_accessor :alias def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alias = args[:alias] if args.key?(:alias) end end # Targeting by a texture compression format. class TextureCompressionFormatTargeting include Google::Apis::Core::Hashable # List of alternative TCFs (TCFs targeted by the sibling splits). # Corresponds to the JSON property `alternatives` # @return [Array] attr_accessor :alternatives # The list of targeted TCFs. Should not be empty. # Corresponds to the JSON property `value` # @return [Array] attr_accessor :value def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end end # A Timestamp represents a point in time independent of any time zone or local # calendar, encoded as a count of seconds and fractions of seconds at nanosecond # resolution. The count is relative to an epoch at UTC midnight on January 1, # 1970. class Timestamp include Google::Apis::Core::Hashable # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to # 999,999,999 inclusive. # Corresponds to the JSON property `nanos` # @return [Fixnum] attr_accessor :nanos # Represents seconds of UTC time since Unix epoch. # Corresponds to the JSON property `seconds` # @return [Fixnum] attr_accessor :seconds def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @nanos = args[:nanos] if args.key?(:nanos) @seconds = args[:seconds] if args.key?(:seconds) end end # Pagination information returned by a List operation when token pagination is # enabled. List operations that supports paging return only one "page" of # results. This protocol buffer message describes the page that has been # returned. When using token pagination, clients should use the next/previous # token to get another page of the result. The presence or absence of next/ # previous token indicates whether a next/previous page is available and # provides a mean of accessing this page. ListRequest.page_token should be set # to either next_page_token or previous_page_token to access another page. class TokenPagination include Google::Apis::Core::Hashable # Tokens to pass to the standard list field 'page_token'. Whenever available, # tokens are preferred over manipulating start_index. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token # # Corresponds to the JSON property `previousPageToken` # @return [String] attr_accessor :previous_page_token def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token) end end # A track configuration. The resource for TracksService. class Track include Google::Apis::Core::Hashable # In a read request, represents all active releases in the track. In an update # request, represents desired changes. # Corresponds to the JSON property `releases` # @return [Array] attr_accessor :releases # Identifier of the track. Form factor tracks have a special prefix as an # identifier, for example `wear:production`, `automotive:production`. [More on # track name](https://developers.google.com/android-publisher/tracks#ff-track- # name) # Corresponds to the JSON property `track` # @return [String] attr_accessor :track def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @releases = args[:releases] if args.key?(:releases) @track = args[:track] if args.key?(:track) end end # Configurations of the new track. class TrackConfig include Google::Apis::Core::Hashable # Required. Form factor of the new track. Defaults to the default track. # Corresponds to the JSON property `formFactor` # @return [String] attr_accessor :form_factor # Required. Identifier of the new track. For default tracks, this field consists # of the track alias only. Form factor tracks have a special prefix as an # identifier, for example `wear:production`, `automotive:production`. This # prefix must match the value of the `form_factor` field, if it is not a default # track. [More on track name](https://developers.google.com/android-publisher/ # tracks#ff-track-name) # Corresponds to the JSON property `track` # @return [String] attr_accessor :track # Required. Type of the new track. Currently, the only supported value is # closedTesting. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @form_factor = args[:form_factor] if args.key?(:form_factor) @track = args[:track] if args.key?(:track) @type = args[:type] if args.key?(:type) end end # Resource for per-track country availability information. class TrackCountryAvailability include Google::Apis::Core::Hashable # A list of one or more countries where artifacts in this track are available. # This list includes all countries that are targeted by the track, even if only # specific carriers are targeted in that country. # Corresponds to the JSON property `countries` # @return [Array] attr_accessor :countries # Whether artifacts in this track are available to "rest of the world" countries. # Corresponds to the JSON property `restOfWorld` # @return [Boolean] attr_accessor :rest_of_world alias_method :rest_of_world?, :rest_of_world # Whether this track's availability is synced with the default production track. # See https://support.google.com/googleplay/android-developer/answer/7550024 for # more information on syncing country availability with production. Note that if # this is true, the returned "countries" and "rest_of_world" fields will reflect # the values for the default production track. # Corresponds to the JSON property `syncWithProduction` # @return [Boolean] attr_accessor :sync_with_production alias_method :sync_with_production?, :sync_with_production def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @countries = args[:countries] if args.key?(:countries) @rest_of_world = args[:rest_of_world] if args.key?(:rest_of_world) @sync_with_production = args[:sync_with_production] if args.key?(:sync_with_production) end end # A release within a track. class TrackRelease include Google::Apis::Core::Hashable # Country targeting specification. # Corresponds to the JSON property `countryTargeting` # @return [Google::Apis::AndroidpublisherV3::CountryTargeting] attr_accessor :country_targeting # In-app update priority of the release. All newly added APKs in the release # will be considered at this priority. Can take values in the range [0, 5], with # 5 the highest priority. Defaults to 0. in_app_update_priority can not be # updated once the release is rolled out. See https://developer.android.com/ # guide/playcore/in-app-updates. # Corresponds to the JSON property `inAppUpdatePriority` # @return [Fixnum] attr_accessor :in_app_update_priority # The release name. Not required to be unique. If not set, the name is generated # from the APK's version_name. If the release contains multiple APKs, the name # is generated from the date. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # A description of what is new in this release. # Corresponds to the JSON property `releaseNotes` # @return [Array] attr_accessor :release_notes # The status of the release. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status # Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can # only be set when status is "inProgress" or "halted". # Corresponds to the JSON property `userFraction` # @return [Float] attr_accessor :user_fraction # Version codes of all APKs in the release. Must include version codes to retain # from previous releases. # Corresponds to the JSON property `versionCodes` # @return [Array] attr_accessor :version_codes def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @country_targeting = args[:country_targeting] if args.key?(:country_targeting) @in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority) @name = args[:name] if args.key?(:name) @release_notes = args[:release_notes] if args.key?(:release_notes) @status = args[:status] if args.key?(:status) @user_fraction = args[:user_fraction] if args.key?(:user_fraction) @version_codes = args[:version_codes] if args.key?(:version_codes) end end # Representation of a single country where the contents of a track can be made # available. class TrackTargetedCountry include Google::Apis::Core::Hashable # The country that can be targeted, as a two-letter CLDR code. # Corresponds to the JSON property `countryCode` # @return [String] attr_accessor :country_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) end end # Response listing all tracks. class TracksListResponse include Google::Apis::Core::Hashable # The kind of this response ("androidpublisher#tracksListResponse"). # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # All tracks (including tracks with no releases). # Corresponds to the JSON property `tracks` # @return [Array] attr_accessor :tracks def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @kind = args[:kind] if args.key?(:kind) @tracks = args[:tracks] if args.key?(:tracks) end end # Request message to update the state of a subscription base plan. class UpdateBasePlanStateRequest include Google::Apis::Core::Hashable # Request message for ActivateBasePlan. # Corresponds to the JSON property `activateBasePlanRequest` # @return [Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest] attr_accessor :activate_base_plan_request # Request message for DeactivateBasePlan. # Corresponds to the JSON property `deactivateBasePlanRequest` # @return [Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest] attr_accessor :deactivate_base_plan_request def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @activate_base_plan_request = args[:activate_base_plan_request] if args.key?(:activate_base_plan_request) @deactivate_base_plan_request = args[:deactivate_base_plan_request] if args.key?(:deactivate_base_plan_request) end end # Request message for UpdateOneTimeProductOffer. class UpdateOneTimeProductOfferRequest include Google::Apis::Core::Hashable # Optional. If set to true, and the offer with the given package_name, # product_id, purchase_option_id and offer_id doesn't exist, an offer will be # created. If a new offer is created, the update_mask is ignored. # Corresponds to the JSON property `allowMissing` # @return [Boolean] attr_accessor :allow_missing alias_method :allow_missing?, :allow_missing # Optional. The latency tolerance for the propagation of this offer update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # A single offer for a one-time product. # Corresponds to the JSON property `oneTimeProductOffer` # @return [Google::Apis::AndroidpublisherV3::OneTimeProductOffer] attr_accessor :one_time_product_offer # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # Required. The list of fields to be updated. # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @one_time_product_offer = args[:one_time_product_offer] if args.key?(:one_time_product_offer) @regions_version = args[:regions_version] if args.key?(:regions_version) @update_mask = args[:update_mask] if args.key?(:update_mask) end end # Request message to update the state of a one-time product offer. class UpdateOneTimeProductOfferStateRequest include Google::Apis::Core::Hashable # Request message for ActivateOneTimeProductOffer. # Corresponds to the JSON property `activateOneTimeProductOfferRequest` # @return [Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest] attr_accessor :activate_one_time_product_offer_request # Request message for CancelOneTimeProductOffer. # Corresponds to the JSON property `cancelOneTimeProductOfferRequest` # @return [Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest] attr_accessor :cancel_one_time_product_offer_request # Request message for DeactivateOneTimeProductOffer. # Corresponds to the JSON property `deactivateOneTimeProductOfferRequest` # @return [Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest] attr_accessor :deactivate_one_time_product_offer_request def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @activate_one_time_product_offer_request = args[:activate_one_time_product_offer_request] if args.key?(:activate_one_time_product_offer_request) @cancel_one_time_product_offer_request = args[:cancel_one_time_product_offer_request] if args.key?(:cancel_one_time_product_offer_request) @deactivate_one_time_product_offer_request = args[:deactivate_one_time_product_offer_request] if args.key?(:deactivate_one_time_product_offer_request) end end # Request message for UpdateOneTimeProduct. class UpdateOneTimeProductRequest include Google::Apis::Core::Hashable # Optional. If set to true, and the one-time product with the given package_name # and product_id doesn't exist, the one-time product will be created. If a new # one-time product is created, update_mask is ignored. # Corresponds to the JSON property `allowMissing` # @return [Boolean] attr_accessor :allow_missing alias_method :allow_missing?, :allow_missing # Optional. The latency tolerance for the propagation of this product upsert. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # A single one-time product for an app. # Corresponds to the JSON property `oneTimeProduct` # @return [Google::Apis::AndroidpublisherV3::OneTimeProduct] attr_accessor :one_time_product # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # Required. The list of fields to be updated. # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @one_time_product = args[:one_time_product] if args.key?(:one_time_product) @regions_version = args[:regions_version] if args.key?(:regions_version) @update_mask = args[:update_mask] if args.key?(:update_mask) end end # Request message to update the state of a one-time product purchase option. class UpdatePurchaseOptionStateRequest include Google::Apis::Core::Hashable # Request message for UpdatePurchaseOptionState. # Corresponds to the JSON property `activatePurchaseOptionRequest` # @return [Google::Apis::AndroidpublisherV3::ActivatePurchaseOptionRequest] attr_accessor :activate_purchase_option_request # Request message for UpdatePurchaseOptionState. # Corresponds to the JSON property `deactivatePurchaseOptionRequest` # @return [Google::Apis::AndroidpublisherV3::DeactivatePurchaseOptionRequest] attr_accessor :deactivate_purchase_option_request def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @activate_purchase_option_request = args[:activate_purchase_option_request] if args.key?(:activate_purchase_option_request) @deactivate_purchase_option_request = args[:deactivate_purchase_option_request] if args.key?(:deactivate_purchase_option_request) end end # Request message for UpdateSubscriptionOffer. class UpdateSubscriptionOfferRequest include Google::Apis::Core::Hashable # Optional. If set to true, and the subscription offer with the given # package_name, product_id, base_plan_id and offer_id doesn't exist, an offer # will be created. If a new offer is created, update_mask is ignored. # Corresponds to the JSON property `allowMissing` # @return [Boolean] attr_accessor :allow_missing alias_method :allow_missing?, :allow_missing # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # A single, temporary offer # Corresponds to the JSON property `subscriptionOffer` # @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer] attr_accessor :subscription_offer # Required. The list of fields to be updated. # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @regions_version = args[:regions_version] if args.key?(:regions_version) @subscription_offer = args[:subscription_offer] if args.key?(:subscription_offer) @update_mask = args[:update_mask] if args.key?(:update_mask) end end # Request message to update the state of a subscription offer. class UpdateSubscriptionOfferStateRequest include Google::Apis::Core::Hashable # Request message for ActivateSubscriptionOffer. # Corresponds to the JSON property `activateSubscriptionOfferRequest` # @return [Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest] attr_accessor :activate_subscription_offer_request # Request message for DeactivateSubscriptionOffer. # Corresponds to the JSON property `deactivateSubscriptionOfferRequest` # @return [Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest] attr_accessor :deactivate_subscription_offer_request def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @activate_subscription_offer_request = args[:activate_subscription_offer_request] if args.key?(:activate_subscription_offer_request) @deactivate_subscription_offer_request = args[:deactivate_subscription_offer_request] if args.key?(:deactivate_subscription_offer_request) end end # Request message for UpdateSubscription. class UpdateSubscriptionRequest include Google::Apis::Core::Hashable # Optional. If set to true, and the subscription with the given package_name and # product_id doesn't exist, the subscription will be created. If a new # subscription is created, update_mask is ignored. # Corresponds to the JSON property `allowMissing` # @return [Boolean] attr_accessor :allow_missing alias_method :allow_missing?, :allow_missing # Optional. The latency tolerance for the propagation of this product update. # Defaults to latency-sensitive. # Corresponds to the JSON property `latencyTolerance` # @return [String] attr_accessor :latency_tolerance # The version of the available regions being used for the specified resource. # Corresponds to the JSON property `regionsVersion` # @return [Google::Apis::AndroidpublisherV3::RegionsVersion] attr_accessor :regions_version # A single subscription for an app. # Corresponds to the JSON property `subscription` # @return [Google::Apis::AndroidpublisherV3::Subscription] attr_accessor :subscription # Required. The list of fields to be updated. # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @regions_version = args[:regions_version] if args.key?(:regions_version) @subscription = args[:subscription] if args.key?(:subscription) @update_mask = args[:update_mask] if args.key?(:update_mask) end end # Represents a targeting rule of the form: User currently has `scope` [with # billing period `billing_period`]. class UpgradeTargetingRule include Google::Apis::Core::Hashable # The specific billing period duration, specified in ISO 8601 format, that a # user must be currently subscribed to to be eligible for this rule. If not # specified, users subscribed to any billing period are matched. # Corresponds to the JSON property `billingPeriodDuration` # @return [String] attr_accessor :billing_period_duration # Limit this offer to only once per user. If set to true, a user can never be # eligible for this offer again if they ever subscribed to this offer. # Corresponds to the JSON property `oncePerUser` # @return [Boolean] attr_accessor :once_per_user alias_method :once_per_user?, :once_per_user # Defines the scope of subscriptions which a targeting rule can match to target # offers to users based on past or current entitlement. # Corresponds to the JSON property `scope` # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScope] attr_accessor :scope def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration) @once_per_user = args[:once_per_user] if args.key?(:once_per_user) @scope = args[:scope] if args.key?(:scope) end end # A user resource. class User include Google::Apis::Core::Hashable # Output only. The state of the user's access to the Play Console. # Corresponds to the JSON property `accessState` # @return [String] attr_accessor :access_state # Permissions for the user which apply across the developer account. # Corresponds to the JSON property `developerAccountPermissions` # @return [Array] attr_accessor :developer_account_permissions # Immutable. The user's email address. # Corresponds to the JSON property `email` # @return [String] attr_accessor :email # The time at which the user's access expires, if set. When setting this value, # it must always be in the future. # Corresponds to the JSON property `expirationTime` # @return [String] attr_accessor :expiration_time # Output only. Per-app permissions for the user. # Corresponds to the JSON property `grants` # @return [Array] attr_accessor :grants # Required. Resource name for this user, following the pattern "developers/` # developer`/users/`email`". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Output only. Whether there are more permissions for the user that are not # represented here. This can happen if the caller does not have permission to # manage all apps in the account. This is also `true` if this user is the # account owner. If this field is `true`, it should be taken as a signal that # this user cannot be fully managed via the API. That is, the API caller is not # be able to manage all of the permissions this user holds, either because it # doesn't know about them or because the user is the account owner. # Corresponds to the JSON property `partial` # @return [Boolean] attr_accessor :partial alias_method :partial?, :partial def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @access_state = args[:access_state] if args.key?(:access_state) @developer_account_permissions = args[:developer_account_permissions] if args.key?(:developer_account_permissions) @email = args[:email] if args.key?(:email) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @grants = args[:grants] if args.key?(:grants) @name = args[:name] if args.key?(:name) @partial = args[:partial] if args.key?(:partial) end end # User entry from conversation between user and developer. class UserComment include Google::Apis::Core::Hashable # Integer Android SDK version of the user's device at the time the review was # written, e.g. 23 is Marshmallow. May be absent. # Corresponds to the JSON property `androidOsVersion` # @return [Fixnum] attr_accessor :android_os_version # Integer version code of the app as installed at the time the review was # written. May be absent. # Corresponds to the JSON property `appVersionCode` # @return [Fixnum] attr_accessor :app_version_code # String version name of the app as installed at the time the review was written. # May be absent. # Corresponds to the JSON property `appVersionName` # @return [String] attr_accessor :app_version_name # Codename for the reviewer's device, e.g. klte, flounder. May be absent. # Corresponds to the JSON property `device` # @return [String] attr_accessor :device # Characteristics of the user's device. # Corresponds to the JSON property `deviceMetadata` # @return [Google::Apis::AndroidpublisherV3::DeviceMetadata] attr_accessor :device_metadata # A Timestamp represents a point in time independent of any time zone or local # calendar, encoded as a count of seconds and fractions of seconds at nanosecond # resolution. The count is relative to an epoch at UTC midnight on January 1, # 1970. # Corresponds to the JSON property `lastModified` # @return [Google::Apis::AndroidpublisherV3::Timestamp] attr_accessor :last_modified # Untranslated text of the review, where the review was translated. If the # review was not translated this is left blank. # Corresponds to the JSON property `originalText` # @return [String] attr_accessor :original_text # Language code for the reviewer. This is taken from the device settings so is # not guaranteed to match the language the review is written in. May be absent. # Corresponds to the JSON property `reviewerLanguage` # @return [String] attr_accessor :reviewer_language # The star rating associated with the review, from 1 to 5. # Corresponds to the JSON property `starRating` # @return [Fixnum] attr_accessor :star_rating # The content of the comment, i.e. review body. In some cases users have been # able to write a review with separate title and body; in those cases the title # and body are concatenated and separated by a tab character. # Corresponds to the JSON property `text` # @return [String] attr_accessor :text # Number of users who have given this review a thumbs down. # Corresponds to the JSON property `thumbsDownCount` # @return [Fixnum] attr_accessor :thumbs_down_count # Number of users who have given this review a thumbs up. # Corresponds to the JSON property `thumbsUpCount` # @return [Fixnum] attr_accessor :thumbs_up_count def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @android_os_version = args[:android_os_version] if args.key?(:android_os_version) @app_version_code = args[:app_version_code] if args.key?(:app_version_code) @app_version_name = args[:app_version_name] if args.key?(:app_version_name) @device = args[:device] if args.key?(:device) @device_metadata = args[:device_metadata] if args.key?(:device_metadata) @last_modified = args[:last_modified] if args.key?(:last_modified) @original_text = args[:original_text] if args.key?(:original_text) @reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language) @star_rating = args[:star_rating] if args.key?(:star_rating) @text = args[:text] if args.key?(:text) @thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count) @thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count) end end # Describes an inclusive/exclusive list of country codes that module targets. class UserCountriesTargeting include Google::Apis::Core::Hashable # List of country codes in the two-letter CLDR territory format. # Corresponds to the JSON property `countryCodes` # @return [Array] attr_accessor :country_codes # Indicates if the list above is exclusive. # Corresponds to the JSON property `exclude` # @return [Boolean] attr_accessor :exclude alias_method :exclude?, :exclude def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @country_codes = args[:country_codes] if args.key?(:country_codes) @exclude = args[:exclude] if args.key?(:exclude) end end # A set of user countries. A country set determines what variation of app # content gets served to a specific location. class UserCountrySet include Google::Apis::Core::Hashable # List of country codes representing countries. A Country code is represented in # ISO 3166 alpha-2 format. For Example:- "IT" for Italy, "GE" for Georgia. # Corresponds to the JSON property `countryCodes` # @return [Array] attr_accessor :country_codes # Country set name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @country_codes = args[:country_codes] if args.key?(:country_codes) @name = args[:name] if args.key?(:name) end end # Information specific to cancellations initiated by users. class UserInitiatedCancellation include Google::Apis::Core::Hashable # Result of the cancel survey when the subscription was canceled by the user. # Corresponds to the JSON property `cancelSurveyResult` # @return [Google::Apis::AndroidpublisherV3::CancelSurveyResult] attr_accessor :cancel_survey_result # The time at which the subscription was canceled by the user. The user might # still have access to the subscription after this time. Use line_items. # expiry_time to determine if a user still has access. # Corresponds to the JSON property `cancelTime` # @return [String] attr_accessor :cancel_time def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) end end # A permission used by this APK. class UsesPermission include Google::Apis::Core::Hashable # Optionally, the maximum SDK version for which the permission is required. # Corresponds to the JSON property `maxSdkVersion` # @return [Fixnum] attr_accessor :max_sdk_version # The name of the permission requested. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version) @name = args[:name] if args.key?(:name) end end # A multiple use, predefined promotion code. class VanityCode include Google::Apis::Core::Hashable # The promotion code. # Corresponds to the JSON property `promotionCode` # @return [String] attr_accessor :promotion_code def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @promotion_code = args[:promotion_code] if args.key?(:promotion_code) end end # APK that is suitable for inclusion in a system image. The resource of # SystemApksService. class Variant include Google::Apis::Core::Hashable # The device spec used to generate a system APK. # Corresponds to the JSON property `deviceSpec` # @return [Google::Apis::AndroidpublisherV3::DeviceSpec] attr_accessor :device_spec # Options for system APKs. # Corresponds to the JSON property `options` # @return [Google::Apis::AndroidpublisherV3::SystemApkOptions] attr_accessor :options # Output only. The ID of a previously created system APK variant. # Corresponds to the JSON property `variantId` # @return [Fixnum] attr_accessor :variant_id def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @device_spec = args[:device_spec] if args.key?(:device_spec) @options = args[:options] if args.key?(:options) @variant_id = args[:variant_id] if args.key?(:variant_id) end end # Targeting on the level of variants. class VariantTargeting include Google::Apis::Core::Hashable # Targeting based on Abi. # Corresponds to the JSON property `abiTargeting` # @return [Google::Apis::AndroidpublisherV3::AbiTargeting] attr_accessor :abi_targeting # Targeting based on multiple abis. # Corresponds to the JSON property `multiAbiTargeting` # @return [Google::Apis::AndroidpublisherV3::MultiAbiTargeting] attr_accessor :multi_abi_targeting # Targeting based on screen density. # Corresponds to the JSON property `screenDensityTargeting` # @return [Google::Apis::AndroidpublisherV3::ScreenDensityTargeting] attr_accessor :screen_density_targeting # Targeting based on sdk version. # Corresponds to the JSON property `sdkVersionTargeting` # @return [Google::Apis::AndroidpublisherV3::SdkVersionTargeting] attr_accessor :sdk_version_targeting # Targeting by a texture compression format. # Corresponds to the JSON property `textureCompressionFormatTargeting` # @return [Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting] attr_accessor :texture_compression_format_targeting def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @abi_targeting = args[:abi_targeting] if args.key?(:abi_targeting) @multi_abi_targeting = args[:multi_abi_targeting] if args.key?(:multi_abi_targeting) @screen_density_targeting = args[:screen_density_targeting] if args.key?(:screen_density_targeting) @sdk_version_targeting = args[:sdk_version_targeting] if args.key?(:sdk_version_targeting) @texture_compression_format_targeting = args[:texture_compression_format_targeting] if args.key?(:texture_compression_format_targeting) end end # A VoidedPurchase resource indicates a purchase that was either canceled/ # refunded/charged-back. class VoidedPurchase include Google::Apis::Core::Hashable # This kind represents a voided purchase object in the androidpublisher service. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The order id which uniquely identifies a one-time purchase, subscription # purchase, or subscription renewal. # Corresponds to the JSON property `orderId` # @return [String] attr_accessor :order_id # The time at which the purchase was made, in milliseconds since the epoch (Jan # 1, 1970). # Corresponds to the JSON property `purchaseTimeMillis` # @return [Fixnum] attr_accessor :purchase_time_millis # The token which uniquely identifies a one-time purchase or subscription. To # uniquely identify subscription renewals use order_id (available starting from # version 3 of the API). # Corresponds to the JSON property `purchaseToken` # @return [String] attr_accessor :purchase_token # The voided quantity as the result of a quantity-based partial refund. Voided # purchases of quantity-based partial refunds may only be returned when # includeQuantityBasedPartialRefund is set to true. # Corresponds to the JSON property `voidedQuantity` # @return [Fixnum] attr_accessor :voided_quantity # The reason why the purchase was voided, possible values are: 0. Other 1. # Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. # Friendly_fraud 7. Chargeback 8. Unacknowledged_purchase # Corresponds to the JSON property `voidedReason` # @return [Fixnum] attr_accessor :voided_reason # The initiator of voided purchase, possible values are: 0. User 1. Developer 2. # Google # Corresponds to the JSON property `voidedSource` # @return [Fixnum] attr_accessor :voided_source # The time at which the purchase was canceled/refunded/charged-back, in # milliseconds since the epoch (Jan 1, 1970). # Corresponds to the JSON property `voidedTimeMillis` # @return [Fixnum] attr_accessor :voided_time_millis def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @kind = args[:kind] if args.key?(:kind) @order_id = args[:order_id] if args.key?(:order_id) @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis) @purchase_token = args[:purchase_token] if args.key?(:purchase_token) @voided_quantity = args[:voided_quantity] if args.key?(:voided_quantity) @voided_reason = args[:voided_reason] if args.key?(:voided_reason) @voided_source = args[:voided_source] if args.key?(:voided_source) @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis) end end # Response for the voidedpurchases.list API. class VoidedPurchasesListResponse include Google::Apis::Core::Hashable # Information about the current page. List operations that supports paging # return only one "page" of results. This protocol buffer message describes the # page that has been returned. # Corresponds to the JSON property `pageInfo` # @return [Google::Apis::AndroidpublisherV3::PageInfo] attr_accessor :page_info # Pagination information returned by a List operation when token pagination is # enabled. List operations that supports paging return only one "page" of # results. This protocol buffer message describes the page that has been # returned. When using token pagination, clients should use the next/previous # token to get another page of the result. The presence or absence of next/ # previous token indicates whether a next/previous page is available and # provides a mean of accessing this page. ListRequest.page_token should be set # to either next_page_token or previous_page_token to access another page. # Corresponds to the JSON property `tokenPagination` # @return [Google::Apis::AndroidpublisherV3::TokenPagination] attr_accessor :token_pagination # # Corresponds to the JSON property `voidedPurchases` # @return [Array] attr_accessor :voided_purchases def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @page_info = args[:page_info] if args.key?(:page_info) @token_pagination = args[:token_pagination] if args.key?(:token_pagination) @voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases) end end end end end google-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3/representations.rb0000644000004100000410000064772415142404021032523 0ustar www-datawww-data# 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 AndroidpublisherV3 class Abi class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AbiTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AcquisitionTargetingRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ActivateBasePlanRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ActivateOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ActivatePurchaseOptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ActivateSubscriptionOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AddTargetingRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AddTargetingResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AllUsers class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AndroidSdks class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Apk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApkBinary class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApkDescription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApkSet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApkTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApksAddExternallyHostedRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApksAddExternallyHostedResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApksListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppEdit class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppRecoveryAction class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppVersionList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppVersionRange class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ArchiveSubscriptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetModuleMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetSliceSet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AutoRenewingBasePlanType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AutoRenewingPlan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BaseDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BasePlan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BasePriceOfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchDeleteOneTimeProductOffersRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchDeleteOneTimeProductsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchDeletePurchaseOptionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetOneTimeProductOffersRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetOneTimeProductOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetOneTimeProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetOrdersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetSubscriptionOffersRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetSubscriptionOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchGetSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchMigrateBasePlanPricesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchMigrateBasePlanPricesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateBasePlanStatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateBasePlanStatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductOfferStatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductOfferStatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductOffersRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateOneTimeProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdatePurchaseOptionStatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdatePurchaseOptionStatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionOfferStatesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionOfferStatesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionOffersRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BatchUpdateSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Bundle class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BundlesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BuyerAddress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelAppRecoveryRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelAppRecoveryResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelSubscriptionPurchaseRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelSubscriptionPurchaseResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelSurveyResult class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CanceledStateContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancellationContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancellationEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Comment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ConvertRegionPricesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ConvertRegionPricesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ConvertedOtherRegionsPrice class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ConvertedRegionPrice class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CountryTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CreateDraftAppRecoveryRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeactivateBasePlanRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeactivateOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeactivatePurchaseOptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeactivateSubscriptionOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeferSubscriptionPurchaseRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeferSubscriptionPurchaseResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeferralContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeferredItemRemoval class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeferredItemReplacement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeleteOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeleteOneTimeProductRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeletePurchaseOptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end 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 class DeployAppRecoveryRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeployAppRecoveryResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeveloperComment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeveloperInitiatedCancellation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceFeature class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceFeatureTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceGroup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceRam class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceSelector class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceSpec class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceTier class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceTierConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DeviceTierSet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExpansionFile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExpansionFilesUploadResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalAccountIdentifiers class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalAccountIds class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalOfferDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalSubscription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalTransaction class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalTransactionAddress class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalTransactionTestPurchase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternallyHostedApk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class FreeTrialDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class FreeTrialOfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class FullRefund class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedApksListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedApksPerSigningKey class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedAssetPackSlice class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedRecoveryApk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedSplitApk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedStandaloneApk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GeneratedUniversalApk class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GetOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GetSubscriptionOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Grant class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Image class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ImagesDeleteAllResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ImagesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ImagesUploadResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InAppProduct class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InAppProductListing class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsBatchDeleteRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsBatchGetResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsBatchUpdateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsBatchUpdateResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsDeleteRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InappproductsUpdateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InstallmentPlan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InstallmentsBasePlanType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InternalAppSharingArtifact class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class IntroductoryPriceDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class IntroductoryPriceInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class IntroductoryPriceOfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ItemExpiryTimeDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ItemReplacement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LanguageTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LineItem class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListAppRecoveriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListDeviceTierConfigsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListOneTimeProductOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListOneTimeProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListSubscriptionOffersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListUsersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Listing class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListingsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LocalizedText class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ManagedProductTaxAndComplianceSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MigrateBasePlanPricesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MigrateBasePlanPricesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ModuleMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ModuleTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Money class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MultiAbi class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MultiAbiTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OfferDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OfferPhaseDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OfferTag class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeCode class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeExternalTransaction class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProduct class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductBuyPurchaseOption class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductDiscountedOffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductListing class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductOffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductOfferNoPriceOverrideOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductOfferRegionalPricingAndAvailabilityConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductPreOrderOffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductPurchaseOption class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductPurchaseOptionNewRegionsConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductRentPurchaseOption class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimeProductTaxAndComplianceSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OneTimePurchaseDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Order class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OrderDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OrderHistory class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRecurringProduct class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRegionsBasePlanConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRegionsSubscriptionOfferConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRegionsSubscriptionOfferPhaseConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRegionsSubscriptionOfferPhaseFreePriceOverride class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OtherRegionsSubscriptionOfferPhasePrices class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OutOfAppPurchaseContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PaidAppDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PartialRefund class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PartialRefundEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PausedStateContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PendingCancellation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PointsDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PreorderDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PreorderOfferDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PrepaidBasePlanType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PrepaidPlan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Price class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PriceStepUpConsentDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProcessedEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProductLineItem class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProductOfferDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProductPurchase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProductPurchaseV2 class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProductPurchasesAcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProrationPeriodDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ProrationPeriodOfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PurchaseOptionTaxAndComplianceSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PurchaseStateContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RecurringExternalTransaction class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RefundDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RefundEvent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RefundExternalTransactionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalBasePlanConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalPriceMigrationConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalProductAgeRatingInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalSubscriptionOfferConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalSubscriptionOfferPhaseConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalSubscriptionOfferPhaseFreePriceOverride class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalTaxConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalTaxRateInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Regions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionsVersion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RemoteInAppUpdate class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RemoteInAppUpdateData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RemoteInAppUpdateDataPerBundle class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RentOfferDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RentalDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReplacementCancellation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RestrictedPaymentCountries class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end 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 class RevocationContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RevocationContextFullRefund class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RevocationContextItemBasedRefund class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RevocationContextProratedRefund class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RevokeSubscriptionPurchaseRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RevokeSubscriptionPurchaseResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SafetyLabelsUpdateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SafetyLabelsUpdateResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ScreenDensity class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ScreenDensityTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SdkVersion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SdkVersionTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SignupPromotion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SplitApkMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SplitApkVariant class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class StandaloneApkMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscribeWithGoogleInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Subscription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionCancelSurveyResult class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionDeferralInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionItemPriceChangeDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionListing class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionOffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionOfferPhase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionOfferTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPriceChange class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchaseLineItem class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchaseV2 class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchasesAcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchasesDeferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionPurchasesDeferResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SubscriptionTaxAndComplianceSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SystemApkOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SystemApksListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SystemFeature class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SystemInitiatedCancellation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SystemOnChip class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Targeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetingInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetingRuleScope class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetingRuleScopeAnySubscriptionInApp class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetingRuleScopeThisSubscription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetingUpdate class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TestPurchase class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TestPurchaseContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Testers class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TextureCompressionFormat class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TextureCompressionFormatTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Timestamp class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TokenPagination class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Track class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TrackConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TrackCountryAvailability class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TrackRelease class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TrackTargetedCountry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TracksListResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateBasePlanStateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateOneTimeProductOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateOneTimeProductOfferStateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateOneTimeProductRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdatePurchaseOptionStateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateSubscriptionOfferRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateSubscriptionOfferStateRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpdateSubscriptionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpgradeTargetingRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class User class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UserComment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UserCountriesTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UserCountrySet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UserInitiatedCancellation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UsesPermission class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VanityCode class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Variant class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VariantTargeting class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end 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 class Abi # @private class Representation < Google::Apis::Core::JsonRepresentation property :alias, as: 'alias' end end class AbiTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives', class: Google::Apis::AndroidpublisherV3::Abi, decorator: Google::Apis::AndroidpublisherV3::Abi::Representation collection :value, as: 'value', class: Google::Apis::AndroidpublisherV3::Abi, decorator: Google::Apis::AndroidpublisherV3::Abi::Representation end end class AcquisitionTargetingRule # @private class Representation < Google::Apis::Core::JsonRepresentation property :scope, as: 'scope', class: Google::Apis::AndroidpublisherV3::TargetingRuleScope, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScope::Representation end end class ActivateBasePlanRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class ActivateOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class ActivatePurchaseOptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class ActivateSubscriptionOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class AddTargetingRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :targeting_update, as: 'targetingUpdate', class: Google::Apis::AndroidpublisherV3::TargetingUpdate, decorator: Google::Apis::AndroidpublisherV3::TargetingUpdate::Representation end end class AddTargetingResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class AllUsers # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_all_users_requested, as: 'isAllUsersRequested' end end class AndroidSdks # @private class Representation < Google::Apis::Core::JsonRepresentation collection :sdk_levels, as: 'sdkLevels' end end class Apk # @private class Representation < Google::Apis::Core::JsonRepresentation property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation property :version_code, as: 'versionCode' end end class ApkBinary # @private class Representation < Google::Apis::Core::JsonRepresentation property :sha1, as: 'sha1' property :sha256, as: 'sha256' end end class ApkDescription # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset_slice_metadata, as: 'assetSliceMetadata', class: Google::Apis::AndroidpublisherV3::SplitApkMetadata, decorator: Google::Apis::AndroidpublisherV3::SplitApkMetadata::Representation property :instant_apk_metadata, as: 'instantApkMetadata', class: Google::Apis::AndroidpublisherV3::SplitApkMetadata, decorator: Google::Apis::AndroidpublisherV3::SplitApkMetadata::Representation property :path, as: 'path' property :split_apk_metadata, as: 'splitApkMetadata', class: Google::Apis::AndroidpublisherV3::SplitApkMetadata, decorator: Google::Apis::AndroidpublisherV3::SplitApkMetadata::Representation property :standalone_apk_metadata, as: 'standaloneApkMetadata', class: Google::Apis::AndroidpublisherV3::StandaloneApkMetadata, decorator: Google::Apis::AndroidpublisherV3::StandaloneApkMetadata::Representation property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::ApkTargeting, decorator: Google::Apis::AndroidpublisherV3::ApkTargeting::Representation end end class ApkSet # @private class Representation < Google::Apis::Core::JsonRepresentation collection :apk_description, as: 'apkDescription', class: Google::Apis::AndroidpublisherV3::ApkDescription, decorator: Google::Apis::AndroidpublisherV3::ApkDescription::Representation property :module_metadata, as: 'moduleMetadata', class: Google::Apis::AndroidpublisherV3::ModuleMetadata, decorator: Google::Apis::AndroidpublisherV3::ModuleMetadata::Representation end end class ApkTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation property :abi_targeting, as: 'abiTargeting', class: Google::Apis::AndroidpublisherV3::AbiTargeting, decorator: Google::Apis::AndroidpublisherV3::AbiTargeting::Representation property :language_targeting, as: 'languageTargeting', class: Google::Apis::AndroidpublisherV3::LanguageTargeting, decorator: Google::Apis::AndroidpublisherV3::LanguageTargeting::Representation property :multi_abi_targeting, as: 'multiAbiTargeting', class: Google::Apis::AndroidpublisherV3::MultiAbiTargeting, decorator: Google::Apis::AndroidpublisherV3::MultiAbiTargeting::Representation property :screen_density_targeting, as: 'screenDensityTargeting', class: Google::Apis::AndroidpublisherV3::ScreenDensityTargeting, decorator: Google::Apis::AndroidpublisherV3::ScreenDensityTargeting::Representation property :sdk_version_targeting, as: 'sdkVersionTargeting', class: Google::Apis::AndroidpublisherV3::SdkVersionTargeting, decorator: Google::Apis::AndroidpublisherV3::SdkVersionTargeting::Representation property :texture_compression_format_targeting, as: 'textureCompressionFormatTargeting', class: Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting, decorator: Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting::Representation end end class ApksAddExternallyHostedRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV3::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV3::ExternallyHostedApk::Representation end end class ApksAddExternallyHostedResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV3::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV3::ExternallyHostedApk::Representation end end class ApksListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :apks, as: 'apks', class: Google::Apis::AndroidpublisherV3::Apk, decorator: Google::Apis::AndroidpublisherV3::Apk::Representation property :kind, as: 'kind' end end class AppDetails # @private 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 class Representation < Google::Apis::Core::JsonRepresentation property :expiry_time_seconds, as: 'expiryTimeSeconds' property :id, as: 'id' end end class AppRecoveryAction # @private class Representation < Google::Apis::Core::JsonRepresentation property :app_recovery_id, :numeric_string => true, as: 'appRecoveryId' property :cancel_time, as: 'cancelTime' property :create_time, as: 'createTime' property :deploy_time, as: 'deployTime' property :last_update_time, as: 'lastUpdateTime' property :remote_in_app_update_data, as: 'remoteInAppUpdateData', class: Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData, decorator: Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData::Representation property :status, as: 'status' property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::Targeting, decorator: Google::Apis::AndroidpublisherV3::Targeting::Representation end end class AppVersionList # @private class Representation < Google::Apis::Core::JsonRepresentation collection :version_codes, as: 'versionCodes' end end class AppVersionRange # @private class Representation < Google::Apis::Core::JsonRepresentation property :version_code_end, :numeric_string => true, as: 'versionCodeEnd' property :version_code_start, :numeric_string => true, as: 'versionCodeStart' end end class ArchiveSubscriptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class AssetModuleMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :delivery_type, as: 'deliveryType' property :name, as: 'name' end end class AssetSliceSet # @private class Representation < Google::Apis::Core::JsonRepresentation collection :apk_description, as: 'apkDescription', class: Google::Apis::AndroidpublisherV3::ApkDescription, decorator: Google::Apis::AndroidpublisherV3::ApkDescription::Representation property :asset_module_metadata, as: 'assetModuleMetadata', class: Google::Apis::AndroidpublisherV3::AssetModuleMetadata, decorator: Google::Apis::AndroidpublisherV3::AssetModuleMetadata::Representation end end class AutoRenewingBasePlanType # @private class Representation < Google::Apis::Core::JsonRepresentation property :account_hold_duration, as: 'accountHoldDuration' property :billing_period_duration, as: 'billingPeriodDuration' property :grace_period_duration, as: 'gracePeriodDuration' property :legacy_compatible, as: 'legacyCompatible' property :legacy_compatible_subscription_offer_id, as: 'legacyCompatibleSubscriptionOfferId' property :proration_mode, as: 'prorationMode' property :resubscribe_state, as: 'resubscribeState' end end class AutoRenewingPlan # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_renew_enabled, as: 'autoRenewEnabled' property :installment_details, as: 'installmentDetails', class: Google::Apis::AndroidpublisherV3::InstallmentPlan, decorator: Google::Apis::AndroidpublisherV3::InstallmentPlan::Representation property :price_change_details, as: 'priceChangeDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails::Representation property :price_step_up_consent_details, as: 'priceStepUpConsentDetails', class: Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails, decorator: Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails::Representation property :recurring_price, as: 'recurringPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class BaseDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class BasePlan # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_renewing_base_plan_type, as: 'autoRenewingBasePlanType', class: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType::Representation property :base_plan_id, as: 'basePlanId' property :installments_base_plan_type, as: 'installmentsBasePlanType', class: Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType, decorator: Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType::Representation collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig::Representation property :prepaid_base_plan_type, as: 'prepaidBasePlanType', class: Google::Apis::AndroidpublisherV3::PrepaidBasePlanType, decorator: Google::Apis::AndroidpublisherV3::PrepaidBasePlanType::Representation collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalBasePlanConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalBasePlanConfig::Representation property :state, as: 'state' end end class BasePriceOfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation end end class BatchDeleteOneTimeProductOffersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductOfferRequest::Representation end end class BatchDeleteOneTimeProductsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest, decorator: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest::Representation end end class BatchDeletePurchaseOptionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeletePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::DeletePurchaseOptionRequest::Representation end end class BatchGetOneTimeProductOffersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest::Representation end end class BatchGetOneTimeProductOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation end end class BatchGetOneTimeProductsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation end end class BatchGetOrdersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :orders, as: 'orders', class: Google::Apis::AndroidpublisherV3::Order, decorator: Google::Apis::AndroidpublisherV3::Order::Representation end end class BatchGetSubscriptionOffersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::GetSubscriptionOfferRequest, decorator: Google::Apis::AndroidpublisherV3::GetSubscriptionOfferRequest::Representation end end class BatchGetSubscriptionOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscription_offers, as: 'subscriptionOffers', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation end end class BatchGetSubscriptionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation end end class BatchMigrateBasePlanPricesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest::Representation end end class BatchMigrateBasePlanPricesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :responses, as: 'responses', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse::Representation end end class BatchUpdateBasePlanStatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest::Representation end end class BatchUpdateBasePlanStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation end end class BatchUpdateOneTimeProductOfferStatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferStateRequest::Representation end end class BatchUpdateOneTimeProductOfferStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation end end class BatchUpdateOneTimeProductOffersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferRequest::Representation end end class BatchUpdateOneTimeProductOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation end end class BatchUpdateOneTimeProductsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductRequest::Representation end end class BatchUpdateOneTimeProductsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation end end class BatchUpdatePurchaseOptionStatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdatePurchaseOptionStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdatePurchaseOptionStateRequest::Representation end end class BatchUpdatePurchaseOptionStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation end end class BatchUpdateSubscriptionOfferStatesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferStateRequest::Representation end end class BatchUpdateSubscriptionOfferStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscription_offers, as: 'subscriptionOffers', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation end end class BatchUpdateSubscriptionOffersRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferRequest::Representation end end class BatchUpdateSubscriptionOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscription_offers, as: 'subscriptionOffers', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation end end class BatchUpdateSubscriptionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateSubscriptionRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateSubscriptionRequest::Representation end end class BatchUpdateSubscriptionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation end end class Bundle # @private class Representation < Google::Apis::Core::JsonRepresentation property :sha1, as: 'sha1' property :sha256, as: 'sha256' property :version_code, as: 'versionCode' end end class BundlesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV3::Bundle, decorator: Google::Apis::AndroidpublisherV3::Bundle::Representation property :kind, as: 'kind' end end class BuyerAddress # @private class Representation < Google::Apis::Core::JsonRepresentation property :buyer_country, as: 'buyerCountry' property :buyer_postcode, as: 'buyerPostcode' property :buyer_state, as: 'buyerState' end end class CancelAppRecoveryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CancelAppRecoveryResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CancelOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class CancelSubscriptionPurchaseRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :cancellation_context, as: 'cancellationContext', class: Google::Apis::AndroidpublisherV3::CancellationContext, decorator: Google::Apis::AndroidpublisherV3::CancellationContext::Representation end end class CancelSubscriptionPurchaseResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CancelSurveyResult # @private class Representation < Google::Apis::Core::JsonRepresentation property :reason, as: 'reason' property :reason_user_input, as: 'reasonUserInput' end end class CanceledStateContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :developer_initiated_cancellation, as: 'developerInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation::Representation property :replacement_cancellation, as: 'replacementCancellation', class: Google::Apis::AndroidpublisherV3::ReplacementCancellation, decorator: Google::Apis::AndroidpublisherV3::ReplacementCancellation::Representation property :system_initiated_cancellation, as: 'systemInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation::Representation property :user_initiated_cancellation, as: 'userInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::UserInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::UserInitiatedCancellation::Representation end end class CancellationContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :cancellation_type, as: 'cancellationType' end end class CancellationEvent # @private class Representation < Google::Apis::Core::JsonRepresentation property :event_time, as: 'eventTime' end end class Comment # @private class Representation < Google::Apis::Core::JsonRepresentation property :developer_comment, as: 'developerComment', class: Google::Apis::AndroidpublisherV3::DeveloperComment, decorator: Google::Apis::AndroidpublisherV3::DeveloperComment::Representation property :user_comment, as: 'userComment', class: Google::Apis::AndroidpublisherV3::UserComment, decorator: Google::Apis::AndroidpublisherV3::UserComment::Representation end end class ConvertRegionPricesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :product_tax_category_code, as: 'productTaxCategoryCode' end end class ConvertRegionPricesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :converted_other_regions_price, as: 'convertedOtherRegionsPrice', class: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice::Representation hash :converted_region_prices, as: 'convertedRegionPrices', class: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice::Representation property :region_version, as: 'regionVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation end end class ConvertedOtherRegionsPrice # @private class Representation < Google::Apis::Core::JsonRepresentation property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class ConvertedRegionPrice # @private class Representation < Google::Apis::Core::JsonRepresentation property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :region_code, as: 'regionCode' property :tax_amount, as: 'taxAmount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class CountryTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :countries, as: 'countries' property :include_rest_of_world, as: 'includeRestOfWorld' end end class CreateDraftAppRecoveryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :remote_in_app_update, as: 'remoteInAppUpdate', class: Google::Apis::AndroidpublisherV3::RemoteInAppUpdate, decorator: Google::Apis::AndroidpublisherV3::RemoteInAppUpdate::Representation property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::Targeting, decorator: Google::Apis::AndroidpublisherV3::Targeting::Representation end end class DeactivateBasePlanRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class DeactivateOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class DeactivatePurchaseOptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class DeactivateSubscriptionOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class DeferSubscriptionPurchaseRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :deferral_context, as: 'deferralContext', class: Google::Apis::AndroidpublisherV3::DeferralContext, decorator: Google::Apis::AndroidpublisherV3::DeferralContext::Representation end end class DeferSubscriptionPurchaseResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :item_expiry_time_details, as: 'itemExpiryTimeDetails', class: Google::Apis::AndroidpublisherV3::ItemExpiryTimeDetails, decorator: Google::Apis::AndroidpublisherV3::ItemExpiryTimeDetails::Representation end end class DeferralContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :defer_duration, as: 'deferDuration' property :etag, as: 'etag' property :validate_only, as: 'validateOnly' end end class DeferredItemRemoval # @private class Representation < Google::Apis::Core::JsonRepresentation end end class DeferredItemReplacement # @private class Representation < Google::Apis::Core::JsonRepresentation property :product_id, as: 'productId' end end class DeleteOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class DeleteOneTimeProductRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class DeletePurchaseOptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :force, as: 'force' property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end 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::AndroidpublisherV3::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV3::DeobfuscationFile::Representation end end class DeployAppRecoveryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class DeployAppRecoveryResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class DeveloperComment # @private class Representation < Google::Apis::Core::JsonRepresentation property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::Timestamp::Representation property :text, as: 'text' end end class DeveloperInitiatedCancellation # @private class Representation < Google::Apis::Core::JsonRepresentation end end class DeviceFeature # @private class Representation < Google::Apis::Core::JsonRepresentation property :feature_name, as: 'featureName' property :feature_version, as: 'featureVersion' end end class DeviceFeatureTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation property :required_feature, as: 'requiredFeature', class: Google::Apis::AndroidpublisherV3::DeviceFeature, decorator: Google::Apis::AndroidpublisherV3::DeviceFeature::Representation end end class DeviceGroup # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_selectors, as: 'deviceSelectors', class: Google::Apis::AndroidpublisherV3::DeviceSelector, decorator: Google::Apis::AndroidpublisherV3::DeviceSelector::Representation property :name, as: 'name' end end class DeviceId # @private class Representation < Google::Apis::Core::JsonRepresentation property :build_brand, as: 'buildBrand' property :build_device, as: 'buildDevice' end end 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 class DeviceRam # @private class Representation < Google::Apis::Core::JsonRepresentation property :max_bytes, :numeric_string => true, as: 'maxBytes' property :min_bytes, :numeric_string => true, as: 'minBytes' end end class DeviceSelector # @private class Representation < Google::Apis::Core::JsonRepresentation property :device_ram, as: 'deviceRam', class: Google::Apis::AndroidpublisherV3::DeviceRam, decorator: Google::Apis::AndroidpublisherV3::DeviceRam::Representation collection :excluded_device_ids, as: 'excludedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation collection :forbidden_system_features, as: 'forbiddenSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation collection :included_device_ids, as: 'includedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation collection :required_system_features, as: 'requiredSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation collection :system_on_chips, as: 'systemOnChips', class: Google::Apis::AndroidpublisherV3::SystemOnChip, decorator: Google::Apis::AndroidpublisherV3::SystemOnChip::Representation end end class DeviceSpec # @private class Representation < Google::Apis::Core::JsonRepresentation property :screen_density, as: 'screenDensity' collection :supported_abis, as: 'supportedAbis' collection :supported_locales, as: 'supportedLocales' end end class DeviceTier # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_group_names, as: 'deviceGroupNames' property :level, as: 'level' end end class DeviceTierConfig # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_groups, as: 'deviceGroups', class: Google::Apis::AndroidpublisherV3::DeviceGroup, decorator: Google::Apis::AndroidpublisherV3::DeviceGroup::Representation property :device_tier_config_id, :numeric_string => true, as: 'deviceTierConfigId' property :device_tier_set, as: 'deviceTierSet', class: Google::Apis::AndroidpublisherV3::DeviceTierSet, decorator: Google::Apis::AndroidpublisherV3::DeviceTierSet::Representation collection :user_country_sets, as: 'userCountrySets', class: Google::Apis::AndroidpublisherV3::UserCountrySet, decorator: Google::Apis::AndroidpublisherV3::UserCountrySet::Representation end end class DeviceTierSet # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_tiers, as: 'deviceTiers', class: Google::Apis::AndroidpublisherV3::DeviceTier, decorator: Google::Apis::AndroidpublisherV3::DeviceTier::Representation end end class ExpansionFile # @private class Representation < Google::Apis::Core::JsonRepresentation property :file_size, :numeric_string => true, as: 'fileSize' property :references_version, as: 'referencesVersion' end end class ExpansionFilesUploadResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :expansion_file, as: 'expansionFile', class: Google::Apis::AndroidpublisherV3::ExpansionFile, decorator: Google::Apis::AndroidpublisherV3::ExpansionFile::Representation end end class ExternalAccountIdentifiers # @private class Representation < Google::Apis::Core::JsonRepresentation property :external_account_id, as: 'externalAccountId' property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId' property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId' end end class ExternalAccountIds # @private class Representation < Google::Apis::Core::JsonRepresentation property :obfuscated_account_id, as: 'obfuscatedAccountId' property :obfuscated_profile_id, as: 'obfuscatedProfileId' end end class ExternalOfferDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :app_download_event_external_transaction_id, as: 'appDownloadEventExternalTransactionId' property :installed_app_category, as: 'installedAppCategory' property :installed_app_package, as: 'installedAppPackage' property :link_type, as: 'linkType' end end class ExternalSubscription # @private class Representation < Google::Apis::Core::JsonRepresentation property :subscription_type, as: 'subscriptionType' end end class ExternalTransaction # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :current_pre_tax_amount, as: 'currentPreTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :current_tax_amount, as: 'currentTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :external_offer_details, as: 'externalOfferDetails', class: Google::Apis::AndroidpublisherV3::ExternalOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ExternalOfferDetails::Representation property :external_transaction_id, as: 'externalTransactionId' property :one_time_transaction, as: 'oneTimeTransaction', class: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction, decorator: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction::Representation property :original_pre_tax_amount, as: 'originalPreTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :original_tax_amount, as: 'originalTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :package_name, as: 'packageName' property :recurring_transaction, as: 'recurringTransaction', class: Google::Apis::AndroidpublisherV3::RecurringExternalTransaction, decorator: Google::Apis::AndroidpublisherV3::RecurringExternalTransaction::Representation property :test_purchase, as: 'testPurchase', class: Google::Apis::AndroidpublisherV3::ExternalTransactionTestPurchase, decorator: Google::Apis::AndroidpublisherV3::ExternalTransactionTestPurchase::Representation property :transaction_program_code, as: 'transactionProgramCode' property :transaction_state, as: 'transactionState' property :transaction_time, as: 'transactionTime' property :user_tax_address, as: 'userTaxAddress', class: Google::Apis::AndroidpublisherV3::ExternalTransactionAddress, decorator: Google::Apis::AndroidpublisherV3::ExternalTransactionAddress::Representation end end class ExternalTransactionAddress # @private class Representation < Google::Apis::Core::JsonRepresentation property :administrative_area, as: 'administrativeArea' property :region_code, as: 'regionCode' end end class ExternalTransactionTestPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ExternallyHostedApk # @private 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' property :file_size, :numeric_string => true, as: 'fileSize' 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::AndroidpublisherV3::UsesPermission, decorator: Google::Apis::AndroidpublisherV3::UsesPermission::Representation property :version_code, as: 'versionCode' property :version_name, as: 'versionName' end end class FreeTrialDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class FreeTrialOfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation end end class FullRefund # @private class Representation < Google::Apis::Core::JsonRepresentation end end class GeneratedApksListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :generated_apks, as: 'generatedApks', class: Google::Apis::AndroidpublisherV3::GeneratedApksPerSigningKey, decorator: Google::Apis::AndroidpublisherV3::GeneratedApksPerSigningKey::Representation end end class GeneratedApksPerSigningKey # @private class Representation < Google::Apis::Core::JsonRepresentation property :certificate_sha256_hash, as: 'certificateSha256Hash' collection :generated_asset_pack_slices, as: 'generatedAssetPackSlices', class: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice, decorator: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice::Representation collection :generated_recovery_modules, as: 'generatedRecoveryModules', class: Google::Apis::AndroidpublisherV3::GeneratedRecoveryApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedRecoveryApk::Representation collection :generated_split_apks, as: 'generatedSplitApks', class: Google::Apis::AndroidpublisherV3::GeneratedSplitApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedSplitApk::Representation collection :generated_standalone_apks, as: 'generatedStandaloneApks', class: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk::Representation property :generated_universal_apk, as: 'generatedUniversalApk', class: Google::Apis::AndroidpublisherV3::GeneratedUniversalApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedUniversalApk::Representation property :targeting_info, as: 'targetingInfo', class: Google::Apis::AndroidpublisherV3::TargetingInfo, decorator: Google::Apis::AndroidpublisherV3::TargetingInfo::Representation end end class GeneratedAssetPackSlice # @private class Representation < Google::Apis::Core::JsonRepresentation property :download_id, as: 'downloadId' property :module_name, as: 'moduleName' property :slice_id, as: 'sliceId' property :version, :numeric_string => true, as: 'version' end end class GeneratedRecoveryApk # @private class Representation < Google::Apis::Core::JsonRepresentation property :download_id, as: 'downloadId' property :module_name, as: 'moduleName' property :recovery_id, :numeric_string => true, as: 'recoveryId' property :recovery_status, as: 'recoveryStatus' end end class GeneratedSplitApk # @private class Representation < Google::Apis::Core::JsonRepresentation property :download_id, as: 'downloadId' property :module_name, as: 'moduleName' property :split_id, as: 'splitId' property :variant_id, as: 'variantId' end end class GeneratedStandaloneApk # @private class Representation < Google::Apis::Core::JsonRepresentation property :download_id, as: 'downloadId' property :variant_id, as: 'variantId' end end class GeneratedUniversalApk # @private class Representation < Google::Apis::Core::JsonRepresentation property :download_id, as: 'downloadId' end end class GetOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' end end class GetSubscriptionOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :offer_id, as: 'offerId' property :package_name, as: 'packageName' property :product_id, as: 'productId' end end class Grant # @private class Representation < Google::Apis::Core::JsonRepresentation collection :app_level_permissions, as: 'appLevelPermissions' property :name, as: 'name' property :package_name, as: 'packageName' end end class Image # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :sha1, as: 'sha1' property :sha256, as: 'sha256' property :url, as: 'url' end end class ImagesDeleteAllResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :deleted, as: 'deleted', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation end end class ImagesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :images, as: 'images', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation end end class ImagesUploadResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :image, as: 'image', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation end end class InAppProduct # @private class Representation < Google::Apis::Core::JsonRepresentation property :default_language, as: 'defaultLanguage' property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :grace_period, as: 'gracePeriod' hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::InAppProductListing, decorator: Google::Apis::AndroidpublisherV3::InAppProductListing::Representation property :managed_product_taxes_and_compliance_settings, as: 'managedProductTaxesAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings::Representation property :package_name, as: 'packageName' hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :purchase_type, as: 'purchaseType' property :sku, as: 'sku' property :status, as: 'status' property :subscription_period, as: 'subscriptionPeriod' property :subscription_taxes_and_compliance_settings, as: 'subscriptionTaxesAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings::Representation property :trial_period, as: 'trialPeriod' end end class InAppProductListing # @private class Representation < Google::Apis::Core::JsonRepresentation collection :benefits, as: 'benefits' property :description, as: 'description' property :title, as: 'title' end end class InappproductsBatchDeleteRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::InappproductsDeleteRequest, decorator: Google::Apis::AndroidpublisherV3::InappproductsDeleteRequest::Representation end end class InappproductsBatchGetResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV3::InAppProduct, decorator: Google::Apis::AndroidpublisherV3::InAppProduct::Representation end end class InappproductsBatchUpdateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::InappproductsUpdateRequest, decorator: Google::Apis::AndroidpublisherV3::InappproductsUpdateRequest::Representation end end class InappproductsBatchUpdateResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :inappproducts, as: 'inappproducts', class: Google::Apis::AndroidpublisherV3::InAppProduct, decorator: Google::Apis::AndroidpublisherV3::InAppProduct::Representation end end class InappproductsDeleteRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :sku, as: 'sku' end end class InappproductsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV3::InAppProduct, decorator: Google::Apis::AndroidpublisherV3::InAppProduct::Representation property :kind, as: 'kind' property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::TokenPagination::Representation end end class InappproductsUpdateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_missing, as: 'allowMissing' property :auto_convert_missing_prices, as: 'autoConvertMissingPrices' property :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV3::InAppProduct, decorator: Google::Apis::AndroidpublisherV3::InAppProduct::Representation property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :sku, as: 'sku' end end class InstallmentPlan # @private class Representation < Google::Apis::Core::JsonRepresentation property :initial_committed_payments_count, as: 'initialCommittedPaymentsCount' property :pending_cancellation, as: 'pendingCancellation', class: Google::Apis::AndroidpublisherV3::PendingCancellation, decorator: Google::Apis::AndroidpublisherV3::PendingCancellation::Representation property :remaining_committed_payments_count, as: 'remainingCommittedPaymentsCount' property :subsequent_committed_payments_count, as: 'subsequentCommittedPaymentsCount' end end class InstallmentsBasePlanType # @private class Representation < Google::Apis::Core::JsonRepresentation property :account_hold_duration, as: 'accountHoldDuration' property :billing_period_duration, as: 'billingPeriodDuration' property :committed_payments_count, as: 'committedPaymentsCount' property :grace_period_duration, as: 'gracePeriodDuration' property :proration_mode, as: 'prorationMode' property :renewal_type, as: 'renewalType' property :resubscribe_state, as: 'resubscribeState' end end class InternalAppSharingArtifact # @private class Representation < Google::Apis::Core::JsonRepresentation property :certificate_fingerprint, as: 'certificateFingerprint' property :download_url, as: 'downloadUrl' property :sha256, as: 'sha256' end end class IntroductoryPriceDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class IntroductoryPriceInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :introductory_price_amount_micros, :numeric_string => true, as: 'introductoryPriceAmountMicros' property :introductory_price_currency_code, as: 'introductoryPriceCurrencyCode' property :introductory_price_cycles, as: 'introductoryPriceCycles' property :introductory_price_period, as: 'introductoryPricePeriod' end end class IntroductoryPriceOfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ItemExpiryTimeDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :expiry_time, as: 'expiryTime' property :product_id, as: 'productId' end end class ItemReplacement # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :offer_id, as: 'offerId' property :product_id, as: 'productId' property :replacement_mode, as: 'replacementMode' end end class LanguageTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives' collection :value, as: 'value' end end class LineItem # @private class Representation < Google::Apis::Core::JsonRepresentation property :listing_price, as: 'listingPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :one_time_purchase_details, as: 'oneTimePurchaseDetails', class: Google::Apis::AndroidpublisherV3::OneTimePurchaseDetails, decorator: Google::Apis::AndroidpublisherV3::OneTimePurchaseDetails::Representation property :paid_app_details, as: 'paidAppDetails', class: Google::Apis::AndroidpublisherV3::PaidAppDetails, decorator: Google::Apis::AndroidpublisherV3::PaidAppDetails::Representation property :product_id, as: 'productId' property :product_title, as: 'productTitle' property :subscription_details, as: 'subscriptionDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionDetails::Representation property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class ListAppRecoveriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :recovery_actions, as: 'recoveryActions', class: Google::Apis::AndroidpublisherV3::AppRecoveryAction, decorator: Google::Apis::AndroidpublisherV3::AppRecoveryAction::Representation end end class ListDeviceTierConfigsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_tier_configs, as: 'deviceTierConfigs', class: Google::Apis::AndroidpublisherV3::DeviceTierConfig, decorator: Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation property :next_page_token, as: 'nextPageToken' end end class ListOneTimeProductOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation end end class ListOneTimeProductsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation end end class ListSubscriptionOffersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :subscription_offers, as: 'subscriptionOffers', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation end end class ListSubscriptionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation end end class ListUsersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :users, as: 'users', class: Google::Apis::AndroidpublisherV3::User, decorator: Google::Apis::AndroidpublisherV3::User::Representation end end class Listing # @private 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 ListingsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::Listing, decorator: Google::Apis::AndroidpublisherV3::Listing::Representation end end class LocalizedText # @private class Representation < Google::Apis::Core::JsonRepresentation property :language, as: 'language' property :text, as: 'text' end end class ManagedProductTaxAndComplianceSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType' property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset' property :product_tax_category_code, as: 'productTaxCategoryCode' collection :regional_product_age_rating_infos, as: 'regionalProductAgeRatingInfos', class: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo::Representation hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation end end class MigrateBasePlanPricesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :latency_tolerance, as: 'latencyTolerance' property :package_name, as: 'packageName' property :product_id, as: 'productId' collection :regional_price_migrations, as: 'regionalPriceMigrations', class: Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig::Representation property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation end end class MigrateBasePlanPricesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ModuleMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :delivery_type, as: 'deliveryType' collection :dependencies, as: 'dependencies' property :module_type, as: 'moduleType' property :name, as: 'name' property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::ModuleTargeting, decorator: Google::Apis::AndroidpublisherV3::ModuleTargeting::Representation end end class ModuleTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :device_feature_targeting, as: 'deviceFeatureTargeting', class: Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting, decorator: Google::Apis::AndroidpublisherV3::DeviceFeatureTargeting::Representation property :sdk_version_targeting, as: 'sdkVersionTargeting', class: Google::Apis::AndroidpublisherV3::SdkVersionTargeting, decorator: Google::Apis::AndroidpublisherV3::SdkVersionTargeting::Representation property :user_countries_targeting, as: 'userCountriesTargeting', class: Google::Apis::AndroidpublisherV3::UserCountriesTargeting, decorator: Google::Apis::AndroidpublisherV3::UserCountriesTargeting::Representation end end class Money # @private class Representation < Google::Apis::Core::JsonRepresentation property :currency_code, as: 'currencyCode' property :nanos, as: 'nanos' property :units, :numeric_string => true, as: 'units' end end class MultiAbi # @private class Representation < Google::Apis::Core::JsonRepresentation collection :abi, as: 'abi', class: Google::Apis::AndroidpublisherV3::Abi, decorator: Google::Apis::AndroidpublisherV3::Abi::Representation end end class MultiAbiTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives', class: Google::Apis::AndroidpublisherV3::MultiAbi, decorator: Google::Apis::AndroidpublisherV3::MultiAbi::Representation collection :value, as: 'value', class: Google::Apis::AndroidpublisherV3::MultiAbi, decorator: Google::Apis::AndroidpublisherV3::MultiAbi::Representation end end class OfferDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :offer_id, as: 'offerId' collection :offer_tags, as: 'offerTags' end end class OfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_price, as: 'basePrice', class: Google::Apis::AndroidpublisherV3::BasePriceOfferPhase, decorator: Google::Apis::AndroidpublisherV3::BasePriceOfferPhase::Representation property :free_trial, as: 'freeTrial', class: Google::Apis::AndroidpublisherV3::FreeTrialOfferPhase, decorator: Google::Apis::AndroidpublisherV3::FreeTrialOfferPhase::Representation property :introductory_price, as: 'introductoryPrice', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceOfferPhase, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceOfferPhase::Representation property :proration_period, as: 'prorationPeriod', class: Google::Apis::AndroidpublisherV3::ProrationPeriodOfferPhase, decorator: Google::Apis::AndroidpublisherV3::ProrationPeriodOfferPhase::Representation end end class OfferPhaseDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_details, as: 'baseDetails', class: Google::Apis::AndroidpublisherV3::BaseDetails, decorator: Google::Apis::AndroidpublisherV3::BaseDetails::Representation property :free_trial_details, as: 'freeTrialDetails', class: Google::Apis::AndroidpublisherV3::FreeTrialDetails, decorator: Google::Apis::AndroidpublisherV3::FreeTrialDetails::Representation property :introductory_price_details, as: 'introductoryPriceDetails', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails::Representation property :proration_period_details, as: 'prorationPeriodDetails', class: Google::Apis::AndroidpublisherV3::ProrationPeriodDetails, decorator: Google::Apis::AndroidpublisherV3::ProrationPeriodDetails::Representation end end class OfferTag # @private class Representation < Google::Apis::Core::JsonRepresentation property :tag, as: 'tag' end end class OneTimeCode # @private class Representation < Google::Apis::Core::JsonRepresentation end end class OneTimeExternalTransaction # @private class Representation < Google::Apis::Core::JsonRepresentation property :external_transaction_token, as: 'externalTransactionToken' end end class OneTimeProduct # @private class Representation < Google::Apis::Core::JsonRepresentation collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::OneTimeProductListing, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductListing::Representation collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation property :package_name, as: 'packageName' property :product_id, as: 'productId' collection :purchase_options, as: 'purchaseOptions', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOption::Representation property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :restricted_payment_countries, as: 'restrictedPaymentCountries', class: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries, decorator: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries::Representation property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::OneTimeProductTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductTaxAndComplianceSettings::Representation end end class OneTimeProductBuyPurchaseOption # @private class Representation < Google::Apis::Core::JsonRepresentation property :legacy_compatible, as: 'legacyCompatible' property :multi_quantity_enabled, as: 'multiQuantityEnabled' end end class OneTimeProductDiscountedOffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' property :redemption_limit, :numeric_string => true, as: 'redemptionLimit' property :start_time, as: 'startTime' end end class OneTimeProductListing # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :language_code, as: 'languageCode' property :title, as: 'title' end end class OneTimeProductOffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :discounted_offer, as: 'discountedOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer::Representation property :offer_id, as: 'offerId' collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation property :package_name, as: 'packageName' property :pre_order_offer, as: 'preOrderOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductPreOrderOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPreOrderOffer::Representation property :product_id, as: 'productId' property :purchase_option_id, as: 'purchaseOptionId' collection :regional_pricing_and_availability_configs, as: 'regionalPricingAndAvailabilityConfigs', class: Google::Apis::AndroidpublisherV3::OneTimeProductOfferRegionalPricingAndAvailabilityConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOfferRegionalPricingAndAvailabilityConfig::Representation property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :state, as: 'state' end end class OneTimeProductOfferNoPriceOverrideOptions # @private class Representation < Google::Apis::Core::JsonRepresentation end end class OneTimeProductOfferRegionalPricingAndAvailabilityConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :absolute_discount, as: 'absoluteDiscount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :availability, as: 'availability' property :no_override, as: 'noOverride', class: Google::Apis::AndroidpublisherV3::OneTimeProductOfferNoPriceOverrideOptions, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOfferNoPriceOverrideOptions::Representation property :region_code, as: 'regionCode' property :relative_discount, as: 'relativeDiscount' end end class OneTimeProductPreOrderOffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' property :price_change_behavior, as: 'priceChangeBehavior' property :release_time, as: 'releaseTime' property :start_time, as: 'startTime' end end class OneTimeProductPurchaseOption # @private class Representation < Google::Apis::Core::JsonRepresentation property :buy_option, as: 'buyOption', class: Google::Apis::AndroidpublisherV3::OneTimeProductBuyPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductBuyPurchaseOption::Representation property :new_regions_config, as: 'newRegionsConfig', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionNewRegionsConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionNewRegionsConfig::Representation collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation property :purchase_option_id, as: 'purchaseOptionId' collection :regional_pricing_and_availability_configs, as: 'regionalPricingAndAvailabilityConfigs', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig::Representation property :rent_option, as: 'rentOption', class: Google::Apis::AndroidpublisherV3::OneTimeProductRentPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductRentPurchaseOption::Representation property :state, as: 'state' property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::PurchaseOptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::PurchaseOptionTaxAndComplianceSettings::Representation end end class OneTimeProductPurchaseOptionNewRegionsConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :availability, as: 'availability' property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :availability, as: 'availability' property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :region_code, as: 'regionCode' end end class OneTimeProductRentPurchaseOption # @private class Representation < Google::Apis::Core::JsonRepresentation property :expiration_period, as: 'expirationPeriod' property :rental_period, as: 'rentalPeriod' end end class OneTimeProductTaxAndComplianceSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset' property :product_tax_category_code, as: 'productTaxCategoryCode' collection :regional_product_age_rating_infos, as: 'regionalProductAgeRatingInfos', class: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo::Representation collection :regional_tax_configs, as: 'regionalTaxConfigs', class: Google::Apis::AndroidpublisherV3::RegionalTaxConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxConfig::Representation end end class OneTimePurchaseDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :offer_id, as: 'offerId' property :preorder_details, as: 'preorderDetails', class: Google::Apis::AndroidpublisherV3::PreorderDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderDetails::Representation property :purchase_option_id, as: 'purchaseOptionId' property :quantity, as: 'quantity' property :rental_details, as: 'rentalDetails', class: Google::Apis::AndroidpublisherV3::RentalDetails, decorator: Google::Apis::AndroidpublisherV3::RentalDetails::Representation end end class Order # @private class Representation < Google::Apis::Core::JsonRepresentation property :buyer_address, as: 'buyerAddress', class: Google::Apis::AndroidpublisherV3::BuyerAddress, decorator: Google::Apis::AndroidpublisherV3::BuyerAddress::Representation property :create_time, as: 'createTime' property :developer_revenue_in_buyer_currency, as: 'developerRevenueInBuyerCurrency', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :last_event_time, as: 'lastEventTime' collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::LineItem, decorator: Google::Apis::AndroidpublisherV3::LineItem::Representation property :order_details, as: 'orderDetails', class: Google::Apis::AndroidpublisherV3::OrderDetails, decorator: Google::Apis::AndroidpublisherV3::OrderDetails::Representation property :order_history, as: 'orderHistory', class: Google::Apis::AndroidpublisherV3::OrderHistory, decorator: Google::Apis::AndroidpublisherV3::OrderHistory::Representation property :order_id, as: 'orderId' property :points_details, as: 'pointsDetails', class: Google::Apis::AndroidpublisherV3::PointsDetails, decorator: Google::Apis::AndroidpublisherV3::PointsDetails::Representation property :purchase_token, as: 'purchaseToken' property :sales_channel, as: 'salesChannel' property :state, as: 'state' property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class OrderDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :tax_inclusive, as: 'taxInclusive' end end class OrderHistory # @private class Representation < Google::Apis::Core::JsonRepresentation property :cancellation_event, as: 'cancellationEvent', class: Google::Apis::AndroidpublisherV3::CancellationEvent, decorator: Google::Apis::AndroidpublisherV3::CancellationEvent::Representation collection :partial_refund_events, as: 'partialRefundEvents', class: Google::Apis::AndroidpublisherV3::PartialRefundEvent, decorator: Google::Apis::AndroidpublisherV3::PartialRefundEvent::Representation property :processed_event, as: 'processedEvent', class: Google::Apis::AndroidpublisherV3::ProcessedEvent, decorator: Google::Apis::AndroidpublisherV3::ProcessedEvent::Representation property :refund_event, as: 'refundEvent', class: Google::Apis::AndroidpublisherV3::RefundEvent, decorator: Google::Apis::AndroidpublisherV3::RefundEvent::Representation end end class OtherRecurringProduct # @private class Representation < Google::Apis::Core::JsonRepresentation end end class OtherRegionsBasePlanConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :new_subscriber_availability, as: 'newSubscriberAvailability' property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class OtherRegionsSubscriptionOfferConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :other_regions_new_subscriber_availability, as: 'otherRegionsNewSubscriberAvailability' end end class OtherRegionsSubscriptionOfferPhaseConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :absolute_discounts, as: 'absoluteDiscounts', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation property :free, as: 'free', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride::Representation property :other_regions_prices, as: 'otherRegionsPrices', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation property :relative_discount, as: 'relativeDiscount' end end class OtherRegionsSubscriptionOfferPhaseFreePriceOverride # @private class Representation < Google::Apis::Core::JsonRepresentation end end class OtherRegionsSubscriptionOfferPhasePrices # @private class Representation < Google::Apis::Core::JsonRepresentation property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class OutOfAppPurchaseContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :expired_external_account_identifiers, as: 'expiredExternalAccountIdentifiers', class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers::Representation property :expired_purchase_token, as: 'expiredPurchaseToken' end end class PageInfo # @private 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 PaidAppDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class PartialRefund # @private class Representation < Google::Apis::Core::JsonRepresentation property :refund_id, as: 'refundId' property :refund_pre_tax_amount, as: 'refundPreTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation end end class PartialRefundEvent # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :process_time, as: 'processTime' property :refund_details, as: 'refundDetails', class: Google::Apis::AndroidpublisherV3::RefundDetails, decorator: Google::Apis::AndroidpublisherV3::RefundDetails::Representation property :state, as: 'state' end end class PausedStateContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_resume_time, as: 'autoResumeTime' end end class PendingCancellation # @private class Representation < Google::Apis::Core::JsonRepresentation end end class PointsDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :points_coupon_value, as: 'pointsCouponValue', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :points_discount_rate_micros, :numeric_string => true, as: 'pointsDiscountRateMicros' property :points_offer_id, as: 'pointsOfferId' property :points_spent, :numeric_string => true, as: 'pointsSpent' end end class PreorderDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class PreorderOfferDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :preorder_release_time, as: 'preorderReleaseTime' end end class PrepaidBasePlanType # @private class Representation < Google::Apis::Core::JsonRepresentation property :billing_period_duration, as: 'billingPeriodDuration' property :time_extension, as: 'timeExtension' end end class PrepaidPlan # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_extend_after_time, as: 'allowExtendAfterTime' end end class Price # @private class Representation < Google::Apis::Core::JsonRepresentation property :currency, as: 'currency' property :price_micros, as: 'priceMicros' end end class PriceStepUpConsentDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :consent_deadline_time, as: 'consentDeadlineTime' property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :state, as: 'state' end end class ProcessedEvent # @private class Representation < Google::Apis::Core::JsonRepresentation property :event_time, as: 'eventTime' end end class ProductLineItem # @private class Representation < Google::Apis::Core::JsonRepresentation property :product_id, as: 'productId' property :product_offer_details, as: 'productOfferDetails', class: Google::Apis::AndroidpublisherV3::ProductOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ProductOfferDetails::Representation end end class ProductOfferDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :consumption_state, as: 'consumptionState' property :offer_id, as: 'offerId' collection :offer_tags, as: 'offerTags' property :offer_token, as: 'offerToken' property :preorder_offer_details, as: 'preorderOfferDetails', class: Google::Apis::AndroidpublisherV3::PreorderOfferDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderOfferDetails::Representation property :purchase_option_id, as: 'purchaseOptionId' property :quantity, as: 'quantity' property :refundable_quantity, as: 'refundableQuantity' property :rent_offer_details, as: 'rentOfferDetails', class: Google::Apis::AndroidpublisherV3::RentOfferDetails, decorator: Google::Apis::AndroidpublisherV3::RentOfferDetails::Representation end end class ProductPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation property :acknowledgement_state, as: 'acknowledgementState' property :consumption_state, as: 'consumptionState' property :developer_payload, as: 'developerPayload' property :kind, as: 'kind' property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId' property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId' property :order_id, as: 'orderId' property :product_id, as: 'productId' property :purchase_state, as: 'purchaseState' property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' property :purchase_token, as: 'purchaseToken' property :purchase_type, as: 'purchaseType' property :quantity, as: 'quantity' property :refundable_quantity, as: 'refundableQuantity' property :region_code, as: 'regionCode' end end class ProductPurchaseV2 # @private class Representation < Google::Apis::Core::JsonRepresentation property :acknowledgement_state, as: 'acknowledgementState' property :kind, as: 'kind' property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId' property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId' property :order_id, as: 'orderId' collection :product_line_item, as: 'productLineItem', class: Google::Apis::AndroidpublisherV3::ProductLineItem, decorator: Google::Apis::AndroidpublisherV3::ProductLineItem::Representation property :purchase_completion_time, as: 'purchaseCompletionTime' property :purchase_state_context, as: 'purchaseStateContext', class: Google::Apis::AndroidpublisherV3::PurchaseStateContext, decorator: Google::Apis::AndroidpublisherV3::PurchaseStateContext::Representation property :region_code, as: 'regionCode' property :test_purchase_context, as: 'testPurchaseContext', class: Google::Apis::AndroidpublisherV3::TestPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::TestPurchaseContext::Representation end end class ProductPurchasesAcknowledgeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :developer_payload, as: 'developerPayload' end end class ProrationPeriodDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :original_offer_phase, as: 'originalOfferPhase' end end class ProrationPeriodOfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation property :original_offer_phase_type, as: 'originalOfferPhaseType' end end class PurchaseOptionTaxAndComplianceSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :withdrawal_right_type, as: 'withdrawalRightType' end end class PurchaseStateContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :purchase_state, as: 'purchaseState' end end class RecurringExternalTransaction # @private class Representation < Google::Apis::Core::JsonRepresentation property :external_subscription, as: 'externalSubscription', class: Google::Apis::AndroidpublisherV3::ExternalSubscription, decorator: Google::Apis::AndroidpublisherV3::ExternalSubscription::Representation property :external_transaction_token, as: 'externalTransactionToken' property :initial_external_transaction_id, as: 'initialExternalTransactionId' property :migrated_transaction_program, as: 'migratedTransactionProgram' property :other_recurring_product, as: 'otherRecurringProduct', class: Google::Apis::AndroidpublisherV3::OtherRecurringProduct, decorator: Google::Apis::AndroidpublisherV3::OtherRecurringProduct::Representation end end class RefundDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :total, as: 'total', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation end end class RefundEvent # @private class Representation < Google::Apis::Core::JsonRepresentation property :event_time, as: 'eventTime' property :refund_details, as: 'refundDetails', class: Google::Apis::AndroidpublisherV3::RefundDetails, decorator: Google::Apis::AndroidpublisherV3::RefundDetails::Representation property :refund_reason, as: 'refundReason' end end class RefundExternalTransactionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :full_refund, as: 'fullRefund', class: Google::Apis::AndroidpublisherV3::FullRefund, decorator: Google::Apis::AndroidpublisherV3::FullRefund::Representation property :partial_refund, as: 'partialRefund', class: Google::Apis::AndroidpublisherV3::PartialRefund, decorator: Google::Apis::AndroidpublisherV3::PartialRefund::Representation property :refund_time, as: 'refundTime' end end class RegionalBasePlanConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :new_subscriber_availability, as: 'newSubscriberAvailability' property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :region_code, as: 'regionCode' end end class RegionalPriceMigrationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :oldest_allowed_price_version_time, as: 'oldestAllowedPriceVersionTime' property :price_increase_type, as: 'priceIncreaseType' property :region_code, as: 'regionCode' end end class RegionalProductAgeRatingInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :product_age_rating_tier, as: 'productAgeRatingTier' property :region_code, as: 'regionCode' end end class RegionalSubscriptionOfferConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :new_subscriber_availability, as: 'newSubscriberAvailability' property :region_code, as: 'regionCode' end end class RegionalSubscriptionOfferPhaseConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :absolute_discount, as: 'absoluteDiscount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :free, as: 'free', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride::Representation property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :region_code, as: 'regionCode' property :relative_discount, as: 'relativeDiscount' end end class RegionalSubscriptionOfferPhaseFreePriceOverride # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RegionalTaxConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :eligible_for_streaming_service_tax_rate, as: 'eligibleForStreamingServiceTaxRate' property :region_code, as: 'regionCode' property :streaming_tax_type, as: 'streamingTaxType' property :tax_tier, as: 'taxTier' end end class RegionalTaxRateInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :eligible_for_streaming_service_tax_rate, as: 'eligibleForStreamingServiceTaxRate' property :streaming_tax_type, as: 'streamingTaxType' property :tax_tier, as: 'taxTier' end end class Regions # @private class Representation < Google::Apis::Core::JsonRepresentation collection :region_code, as: 'regionCode' end end class RegionsVersion # @private class Representation < Google::Apis::Core::JsonRepresentation property :version, as: 'version' end end class RemoteInAppUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_remote_in_app_update_requested, as: 'isRemoteInAppUpdateRequested' end end class RemoteInAppUpdateData # @private class Representation < Google::Apis::Core::JsonRepresentation collection :remote_app_update_data_per_bundle, as: 'remoteAppUpdateDataPerBundle', class: Google::Apis::AndroidpublisherV3::RemoteInAppUpdateDataPerBundle, decorator: Google::Apis::AndroidpublisherV3::RemoteInAppUpdateDataPerBundle::Representation end end class RemoteInAppUpdateDataPerBundle # @private class Representation < Google::Apis::Core::JsonRepresentation property :recovered_device_count, :numeric_string => true, as: 'recoveredDeviceCount' property :total_device_count, :numeric_string => true, as: 'totalDeviceCount' property :version_code, :numeric_string => true, as: 'versionCode' end end class RentOfferDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RentalDetails # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ReplacementCancellation # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RestrictedPaymentCountries # @private class Representation < Google::Apis::Core::JsonRepresentation collection :region_codes, as: 'regionCodes' end end class Review # @private class Representation < Google::Apis::Core::JsonRepresentation property :author_name, as: 'authorName' collection :comments, as: 'comments', class: Google::Apis::AndroidpublisherV3::Comment, decorator: Google::Apis::AndroidpublisherV3::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::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::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::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation collection :reviews, as: 'reviews', class: Google::Apis::AndroidpublisherV3::Review, decorator: Google::Apis::AndroidpublisherV3::Review::Representation property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::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::AndroidpublisherV3::ReviewReplyResult, decorator: Google::Apis::AndroidpublisherV3::ReviewReplyResult::Representation end end class RevocationContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :full_refund, as: 'fullRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextFullRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextFullRefund::Representation property :item_based_refund, as: 'itemBasedRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextItemBasedRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextItemBasedRefund::Representation property :prorated_refund, as: 'proratedRefund', class: Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund, decorator: Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund::Representation end end class RevocationContextFullRefund # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RevocationContextItemBasedRefund # @private class Representation < Google::Apis::Core::JsonRepresentation property :product_id, as: 'productId' end end class RevocationContextProratedRefund # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RevokeSubscriptionPurchaseRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :revocation_context, as: 'revocationContext', class: Google::Apis::AndroidpublisherV3::RevocationContext, decorator: Google::Apis::AndroidpublisherV3::RevocationContext::Representation end end class RevokeSubscriptionPurchaseResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class SafetyLabelsUpdateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :safety_labels, as: 'safetyLabels' end end class SafetyLabelsUpdateResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ScreenDensity # @private class Representation < Google::Apis::Core::JsonRepresentation property :density_alias, as: 'densityAlias' property :density_dpi, as: 'densityDpi' end end class ScreenDensityTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives', class: Google::Apis::AndroidpublisherV3::ScreenDensity, decorator: Google::Apis::AndroidpublisherV3::ScreenDensity::Representation collection :value, as: 'value', class: Google::Apis::AndroidpublisherV3::ScreenDensity, decorator: Google::Apis::AndroidpublisherV3::ScreenDensity::Representation end end class SdkVersion # @private class Representation < Google::Apis::Core::JsonRepresentation property :min, as: 'min' end end class SdkVersionTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives', class: Google::Apis::AndroidpublisherV3::SdkVersion, decorator: Google::Apis::AndroidpublisherV3::SdkVersion::Representation collection :value, as: 'value', class: Google::Apis::AndroidpublisherV3::SdkVersion, decorator: Google::Apis::AndroidpublisherV3::SdkVersion::Representation end end class SignupPromotion # @private class Representation < Google::Apis::Core::JsonRepresentation property :one_time_code, as: 'oneTimeCode', class: Google::Apis::AndroidpublisherV3::OneTimeCode, decorator: Google::Apis::AndroidpublisherV3::OneTimeCode::Representation property :vanity_code, as: 'vanityCode', class: Google::Apis::AndroidpublisherV3::VanityCode, decorator: Google::Apis::AndroidpublisherV3::VanityCode::Representation end end class SplitApkMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_master_split, as: 'isMasterSplit' property :split_id, as: 'splitId' end end class SplitApkVariant # @private class Representation < Google::Apis::Core::JsonRepresentation collection :apk_set, as: 'apkSet', class: Google::Apis::AndroidpublisherV3::ApkSet, decorator: Google::Apis::AndroidpublisherV3::ApkSet::Representation property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::VariantTargeting, decorator: Google::Apis::AndroidpublisherV3::VariantTargeting::Representation property :variant_number, as: 'variantNumber' end end class StandaloneApkMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation collection :fused_module_name, as: 'fusedModuleName' end end class SubscribeWithGoogleInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :email_address, as: 'emailAddress' property :family_name, as: 'familyName' property :given_name, as: 'givenName' property :profile_id, as: 'profileId' property :profile_name, as: 'profileName' end end class Subscription # @private class Representation < Google::Apis::Core::JsonRepresentation property :archived, as: 'archived' collection :base_plans, as: 'basePlans', class: Google::Apis::AndroidpublisherV3::BasePlan, decorator: Google::Apis::AndroidpublisherV3::BasePlan::Representation collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::SubscriptionListing, decorator: Google::Apis::AndroidpublisherV3::SubscriptionListing::Representation property :package_name, as: 'packageName' property :product_id, as: 'productId' property :restricted_payment_countries, as: 'restrictedPaymentCountries', class: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries, decorator: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries::Representation property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings::Representation end end class SubscriptionCancelSurveyResult # @private class Representation < Google::Apis::Core::JsonRepresentation property :cancel_survey_reason, as: 'cancelSurveyReason' property :user_input_cancel_reason, as: 'userInputCancelReason' end end class SubscriptionDeferralInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :desired_expiry_time_millis, :numeric_string => true, as: 'desiredExpiryTimeMillis' property :expected_expiry_time_millis, :numeric_string => true, as: 'expectedExpiryTimeMillis' end end class SubscriptionDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :offer_id, as: 'offerId' property :offer_phase, as: 'offerPhase' property :offer_phase_details, as: 'offerPhaseDetails', class: Google::Apis::AndroidpublisherV3::OfferPhaseDetails, decorator: Google::Apis::AndroidpublisherV3::OfferPhaseDetails::Representation property :service_period_end_time, as: 'servicePeriodEndTime' property :service_period_start_time, as: 'servicePeriodStartTime' end end class SubscriptionItemPriceChangeDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :expected_new_price_charge_time, as: 'expectedNewPriceChargeTime' property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation property :price_change_mode, as: 'priceChangeMode' property :price_change_state, as: 'priceChangeState' end end class SubscriptionListing # @private class Representation < Google::Apis::Core::JsonRepresentation collection :benefits, as: 'benefits' property :description, as: 'description' property :language_code, as: 'languageCode' property :title, as: 'title' end end class SubscriptionOffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_plan_id, as: 'basePlanId' property :offer_id, as: 'offerId' collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferConfig::Representation property :package_name, as: 'packageName' collection :phases, as: 'phases', class: Google::Apis::AndroidpublisherV3::SubscriptionOfferPhase, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOfferPhase::Representation property :product_id, as: 'productId' collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferConfig::Representation property :state, as: 'state' property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::SubscriptionOfferTargeting, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOfferTargeting::Representation end end class SubscriptionOfferPhase # @private class Representation < Google::Apis::Core::JsonRepresentation property :duration, as: 'duration' property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseConfig::Representation property :recurrence_count, as: 'recurrenceCount' collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseConfig::Representation end end class SubscriptionOfferTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation property :acquisition_rule, as: 'acquisitionRule', class: Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule, decorator: Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule::Representation property :upgrade_rule, as: 'upgradeRule', class: Google::Apis::AndroidpublisherV3::UpgradeTargetingRule, decorator: Google::Apis::AndroidpublisherV3::UpgradeTargetingRule::Representation end end class SubscriptionPriceChange # @private class Representation < Google::Apis::Core::JsonRepresentation property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :state, as: 'state' end end class SubscriptionPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation property :acknowledgement_state, as: 'acknowledgementState' property :auto_renewing, as: 'autoRenewing' property :auto_resume_time_millis, :numeric_string => true, as: 'autoResumeTimeMillis' property :cancel_reason, as: 'cancelReason' property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult::Representation property :country_code, as: 'countryCode' property :developer_payload, as: 'developerPayload' property :email_address, as: 'emailAddress' property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis' property :external_account_id, as: 'externalAccountId' property :family_name, as: 'familyName' property :given_name, as: 'givenName' property :introductory_price_info, as: 'introductoryPriceInfo', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo::Representation property :kind, as: 'kind' property :linked_purchase_token, as: 'linkedPurchaseToken' property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId' property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId' property :order_id, as: 'orderId' property :payment_state, as: 'paymentState' property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange::Representation property :price_currency_code, as: 'priceCurrencyCode' property :profile_id, as: 'profileId' property :profile_name, as: 'profileName' property :promotion_code, as: 'promotionCode' property :promotion_type, as: 'promotionType' property :purchase_type, as: 'purchaseType' property :start_time_millis, :numeric_string => true, as: 'startTimeMillis' property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis' end end class SubscriptionPurchaseLineItem # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_renewing_plan, as: 'autoRenewingPlan', class: Google::Apis::AndroidpublisherV3::AutoRenewingPlan, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingPlan::Representation property :deferred_item_removal, as: 'deferredItemRemoval', class: Google::Apis::AndroidpublisherV3::DeferredItemRemoval, decorator: Google::Apis::AndroidpublisherV3::DeferredItemRemoval::Representation property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation property :expiry_time, as: 'expiryTime' property :item_replacement, as: 'itemReplacement', class: Google::Apis::AndroidpublisherV3::ItemReplacement, decorator: Google::Apis::AndroidpublisherV3::ItemReplacement::Representation property :latest_successful_order_id, as: 'latestSuccessfulOrderId' property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation property :offer_phase, as: 'offerPhase', class: Google::Apis::AndroidpublisherV3::OfferPhase, decorator: Google::Apis::AndroidpublisherV3::OfferPhase::Representation property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation property :product_id, as: 'productId' property :signup_promotion, as: 'signupPromotion', class: Google::Apis::AndroidpublisherV3::SignupPromotion, decorator: Google::Apis::AndroidpublisherV3::SignupPromotion::Representation end end class SubscriptionPurchaseV2 # @private class Representation < Google::Apis::Core::JsonRepresentation property :acknowledgement_state, as: 'acknowledgementState' property :canceled_state_context, as: 'canceledStateContext', class: Google::Apis::AndroidpublisherV3::CanceledStateContext, decorator: Google::Apis::AndroidpublisherV3::CanceledStateContext::Representation property :etag, as: 'etag' property :external_account_identifiers, as: 'externalAccountIdentifiers', class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers::Representation property :kind, as: 'kind' property :latest_order_id, as: 'latestOrderId' collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem::Representation property :linked_purchase_token, as: 'linkedPurchaseToken' property :out_of_app_purchase_context, as: 'outOfAppPurchaseContext', class: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext::Representation property :paused_state_context, as: 'pausedStateContext', class: Google::Apis::AndroidpublisherV3::PausedStateContext, decorator: Google::Apis::AndroidpublisherV3::PausedStateContext::Representation property :region_code, as: 'regionCode' property :start_time, as: 'startTime' property :subscribe_with_google_info, as: 'subscribeWithGoogleInfo', class: Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo, decorator: Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo::Representation property :subscription_state, as: 'subscriptionState' property :test_purchase, as: 'testPurchase', class: Google::Apis::AndroidpublisherV3::TestPurchase, decorator: Google::Apis::AndroidpublisherV3::TestPurchase::Representation end end class SubscriptionPurchasesAcknowledgeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :developer_payload, as: 'developerPayload' property :external_account_ids, as: 'externalAccountIds', class: Google::Apis::AndroidpublisherV3::ExternalAccountIds, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIds::Representation end end class SubscriptionPurchasesDeferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :deferral_info, as: 'deferralInfo', class: Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo, decorator: Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo::Representation end end class SubscriptionPurchasesDeferResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :new_expiry_time_millis, :numeric_string => true, as: 'newExpiryTimeMillis' end end class SubscriptionTaxAndComplianceSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType' property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset' property :product_tax_category_code, as: 'productTaxCategoryCode' collection :regional_product_age_rating_infos, as: 'regionalProductAgeRatingInfos', class: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalProductAgeRatingInfo::Representation hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation end end class SystemApkOptions # @private class Representation < Google::Apis::Core::JsonRepresentation property :rotated, as: 'rotated' property :uncompressed_dex_files, as: 'uncompressedDexFiles' property :uncompressed_native_libraries, as: 'uncompressedNativeLibraries' end end class SystemApksListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :variants, as: 'variants', class: Google::Apis::AndroidpublisherV3::Variant, decorator: Google::Apis::AndroidpublisherV3::Variant::Representation end end class SystemFeature # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' end end class SystemInitiatedCancellation # @private class Representation < Google::Apis::Core::JsonRepresentation end end class SystemOnChip # @private class Representation < Google::Apis::Core::JsonRepresentation property :manufacturer, as: 'manufacturer' property :model, as: 'model' end end class Targeting # @private class Representation < Google::Apis::Core::JsonRepresentation property :all_users, as: 'allUsers', class: Google::Apis::AndroidpublisherV3::AllUsers, decorator: Google::Apis::AndroidpublisherV3::AllUsers::Representation property :android_sdks, as: 'androidSdks', class: Google::Apis::AndroidpublisherV3::AndroidSdks, decorator: Google::Apis::AndroidpublisherV3::AndroidSdks::Representation property :regions, as: 'regions', class: Google::Apis::AndroidpublisherV3::Regions, decorator: Google::Apis::AndroidpublisherV3::Regions::Representation property :version_list, as: 'versionList', class: Google::Apis::AndroidpublisherV3::AppVersionList, decorator: Google::Apis::AndroidpublisherV3::AppVersionList::Representation property :version_range, as: 'versionRange', class: Google::Apis::AndroidpublisherV3::AppVersionRange, decorator: Google::Apis::AndroidpublisherV3::AppVersionRange::Representation end end class TargetingInfo # @private class Representation < Google::Apis::Core::JsonRepresentation collection :asset_slice_set, as: 'assetSliceSet', class: Google::Apis::AndroidpublisherV3::AssetSliceSet, decorator: Google::Apis::AndroidpublisherV3::AssetSliceSet::Representation property :package_name, as: 'packageName' collection :variant, as: 'variant', class: Google::Apis::AndroidpublisherV3::SplitApkVariant, decorator: Google::Apis::AndroidpublisherV3::SplitApkVariant::Representation end end class TargetingRuleScope # @private class Representation < Google::Apis::Core::JsonRepresentation property :any_subscription_in_app, as: 'anySubscriptionInApp', class: Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp::Representation property :specific_subscription_in_app, as: 'specificSubscriptionInApp' property :this_subscription, as: 'thisSubscription', class: Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription::Representation end end class TargetingRuleScopeAnySubscriptionInApp # @private class Representation < Google::Apis::Core::JsonRepresentation end end class TargetingRuleScopeThisSubscription # @private class Representation < Google::Apis::Core::JsonRepresentation end end class TargetingUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation property :all_users, as: 'allUsers', class: Google::Apis::AndroidpublisherV3::AllUsers, decorator: Google::Apis::AndroidpublisherV3::AllUsers::Representation property :android_sdks, as: 'androidSdks', class: Google::Apis::AndroidpublisherV3::AndroidSdks, decorator: Google::Apis::AndroidpublisherV3::AndroidSdks::Representation property :regions, as: 'regions', class: Google::Apis::AndroidpublisherV3::Regions, decorator: Google::Apis::AndroidpublisherV3::Regions::Representation end end class TestPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation end end class TestPurchaseContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :fop_type, as: 'fopType' end end class Testers # @private class Representation < Google::Apis::Core::JsonRepresentation collection :google_groups, as: 'googleGroups' end end class TextureCompressionFormat # @private class Representation < Google::Apis::Core::JsonRepresentation property :alias, as: 'alias' end end class TextureCompressionFormatTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :alternatives, as: 'alternatives', class: Google::Apis::AndroidpublisherV3::TextureCompressionFormat, decorator: Google::Apis::AndroidpublisherV3::TextureCompressionFormat::Representation collection :value, as: 'value', class: Google::Apis::AndroidpublisherV3::TextureCompressionFormat, decorator: Google::Apis::AndroidpublisherV3::TextureCompressionFormat::Representation end end class Timestamp # @private class Representation < Google::Apis::Core::JsonRepresentation property :nanos, as: 'nanos' property :seconds, :numeric_string => true, as: 'seconds' end end class TokenPagination # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' property :previous_page_token, as: 'previousPageToken' end end class Track # @private class Representation < Google::Apis::Core::JsonRepresentation collection :releases, as: 'releases', class: Google::Apis::AndroidpublisherV3::TrackRelease, decorator: Google::Apis::AndroidpublisherV3::TrackRelease::Representation property :track, as: 'track' end end class TrackConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :form_factor, as: 'formFactor' property :track, as: 'track' property :type, as: 'type' end end class TrackCountryAvailability # @private class Representation < Google::Apis::Core::JsonRepresentation collection :countries, as: 'countries', class: Google::Apis::AndroidpublisherV3::TrackTargetedCountry, decorator: Google::Apis::AndroidpublisherV3::TrackTargetedCountry::Representation property :rest_of_world, as: 'restOfWorld' property :sync_with_production, as: 'syncWithProduction' end end class TrackRelease # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation property :in_app_update_priority, as: 'inAppUpdatePriority' property :name, as: 'name' collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation property :status, as: 'status' property :user_fraction, as: 'userFraction' collection :version_codes, as: 'versionCodes' end end class TrackTargetedCountry # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' end end class TracksListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :tracks, as: 'tracks', class: Google::Apis::AndroidpublisherV3::Track, decorator: Google::Apis::AndroidpublisherV3::Track::Representation end end class UpdateBasePlanStateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :activate_base_plan_request, as: 'activateBasePlanRequest', class: Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest, decorator: Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest::Representation property :deactivate_base_plan_request, as: 'deactivateBasePlanRequest', class: Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest::Representation end end class UpdateOneTimeProductOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_missing, as: 'allowMissing' property :latency_tolerance, as: 'latencyTolerance' property :one_time_product_offer, as: 'oneTimeProductOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :update_mask, as: 'updateMask' end end class UpdateOneTimeProductOfferStateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :activate_one_time_product_offer_request, as: 'activateOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest::Representation property :cancel_one_time_product_offer_request, as: 'cancelOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest::Representation property :deactivate_one_time_product_offer_request, as: 'deactivateOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest::Representation end end class UpdateOneTimeProductRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_missing, as: 'allowMissing' property :latency_tolerance, as: 'latencyTolerance' property :one_time_product, as: 'oneTimeProduct', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :update_mask, as: 'updateMask' end end class UpdatePurchaseOptionStateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :activate_purchase_option_request, as: 'activatePurchaseOptionRequest', class: Google::Apis::AndroidpublisherV3::ActivatePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::ActivatePurchaseOptionRequest::Representation property :deactivate_purchase_option_request, as: 'deactivatePurchaseOptionRequest', class: Google::Apis::AndroidpublisherV3::DeactivatePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivatePurchaseOptionRequest::Representation end end class UpdateSubscriptionOfferRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_missing, as: 'allowMissing' property :latency_tolerance, as: 'latencyTolerance' property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :subscription_offer, as: 'subscriptionOffer', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation property :update_mask, as: 'updateMask' end end class UpdateSubscriptionOfferStateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :activate_subscription_offer_request, as: 'activateSubscriptionOfferRequest', class: Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest, decorator: Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest::Representation property :deactivate_subscription_offer_request, as: 'deactivateSubscriptionOfferRequest', class: Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest::Representation end end class UpdateSubscriptionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_missing, as: 'allowMissing' property :latency_tolerance, as: 'latencyTolerance' property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation property :subscription, as: 'subscription', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation property :update_mask, as: 'updateMask' end end class UpgradeTargetingRule # @private class Representation < Google::Apis::Core::JsonRepresentation property :billing_period_duration, as: 'billingPeriodDuration' property :once_per_user, as: 'oncePerUser' property :scope, as: 'scope', class: Google::Apis::AndroidpublisherV3::TargetingRuleScope, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScope::Representation end end class User # @private class Representation < Google::Apis::Core::JsonRepresentation property :access_state, as: 'accessState' collection :developer_account_permissions, as: 'developerAccountPermissions' property :email, as: 'email' property :expiration_time, as: 'expirationTime' collection :grants, as: 'grants', class: Google::Apis::AndroidpublisherV3::Grant, decorator: Google::Apis::AndroidpublisherV3::Grant::Representation property :name, as: 'name' property :partial, as: 'partial' end end 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' property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV3::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV3::DeviceMetadata::Representation property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::Timestamp::Representation property :original_text, as: 'originalText' property :reviewer_language, as: 'reviewerLanguage' property :star_rating, as: 'starRating' property :text, as: 'text' property :thumbs_down_count, as: 'thumbsDownCount' property :thumbs_up_count, as: 'thumbsUpCount' end end class UserCountriesTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation collection :country_codes, as: 'countryCodes' property :exclude, as: 'exclude' end end class UserCountrySet # @private class Representation < Google::Apis::Core::JsonRepresentation collection :country_codes, as: 'countryCodes' property :name, as: 'name' end end class UserInitiatedCancellation # @private class Representation < Google::Apis::Core::JsonRepresentation property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::CancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::CancelSurveyResult::Representation property :cancel_time, as: 'cancelTime' end end class UsesPermission # @private class Representation < Google::Apis::Core::JsonRepresentation property :max_sdk_version, as: 'maxSdkVersion' property :name, as: 'name' end end class VanityCode # @private class Representation < Google::Apis::Core::JsonRepresentation property :promotion_code, as: 'promotionCode' end end class Variant # @private class Representation < Google::Apis::Core::JsonRepresentation property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation property :options, as: 'options', class: Google::Apis::AndroidpublisherV3::SystemApkOptions, decorator: Google::Apis::AndroidpublisherV3::SystemApkOptions::Representation property :variant_id, as: 'variantId' end end class VariantTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation property :abi_targeting, as: 'abiTargeting', class: Google::Apis::AndroidpublisherV3::AbiTargeting, decorator: Google::Apis::AndroidpublisherV3::AbiTargeting::Representation property :multi_abi_targeting, as: 'multiAbiTargeting', class: Google::Apis::AndroidpublisherV3::MultiAbiTargeting, decorator: Google::Apis::AndroidpublisherV3::MultiAbiTargeting::Representation property :screen_density_targeting, as: 'screenDensityTargeting', class: Google::Apis::AndroidpublisherV3::ScreenDensityTargeting, decorator: Google::Apis::AndroidpublisherV3::ScreenDensityTargeting::Representation property :sdk_version_targeting, as: 'sdkVersionTargeting', class: Google::Apis::AndroidpublisherV3::SdkVersionTargeting, decorator: Google::Apis::AndroidpublisherV3::SdkVersionTargeting::Representation property :texture_compression_format_targeting, as: 'textureCompressionFormatTargeting', class: Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting, decorator: Google::Apis::AndroidpublisherV3::TextureCompressionFormatTargeting::Representation end end class VoidedPurchase # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :order_id, as: 'orderId' property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' property :purchase_token, as: 'purchaseToken' property :voided_quantity, as: 'voidedQuantity' property :voided_reason, as: 'voidedReason' property :voided_source, as: 'voidedSource' property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis' end end class VoidedPurchasesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::TokenPagination::Representation collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV3::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV3::VoidedPurchase::Representation end end end end end google-apis-androidpublisher_v3-0.96.0/lib/google/apis/androidpublisher_v3.rb0000644000004100000410000000267615142404021027265 0ustar www-datawww-data# 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 'google/apis/androidpublisher_v3/service.rb' require 'google/apis/androidpublisher_v3/classes.rb' require 'google/apis/androidpublisher_v3/representations.rb' require 'google/apis/androidpublisher_v3/gem_version.rb' module Google module Apis # Google Play Android Developer API # # Lets Android application developers access their Google Play accounts. At a # high level, the expected workflow is to "insert" an Edit, make changes as # necessary, and then "commit" it. # # @see https://developers.google.com/android-publisher module AndroidpublisherV3 # Version of the Google Play Android Developer API this client connects to. # This is NOT the gem version. VERSION = 'V3' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' end end end google-apis-androidpublisher_v3-0.96.0/lib/google-apis-androidpublisher_v3.rb0000644000004100000410000000115215142404021027245 0ustar www-datawww-data# 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 "google/apis/androidpublisher_v3" google-apis-androidpublisher_v3-0.96.0/.yardopts0000644000004100000410000000041115142404021021643 0ustar www-datawww-data--hide-void-return --no-private --verbose --title=google-apis-androidpublisher_v3 --markup-provider=redcarpet --markup=markdown --main OVERVIEW.md lib/google/apis/androidpublisher_v3/*.rb lib/google/apis/androidpublisher_v3.rb - OVERVIEW.md CHANGELOG.md LICENSE.md google-apis-androidpublisher_v3-0.96.0/google-apis-androidpublisher_v3.gemspec0000644000004100000410000000502315142404021027520 0ustar www-datawww-data######################################################### # This file has been automatically generated by gem2tgz # ######################################################### # -*- encoding: utf-8 -*- # stub: google-apis-androidpublisher_v3 0.96.0 ruby lib Gem::Specification.new do |s| s.name = "google-apis-androidpublisher_v3".freeze s.version = "0.96.0".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.metadata = { "bug_tracker_uri" => "https://github.com/googleapis/google-api-ruby-client/issues", "changelog_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md", "documentation_uri" => "https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.96.0", "source_code_uri" => "https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Google LLC".freeze] s.date = "1980-01-02" s.description = "This is the simple REST client for Google Play Android Developer API V3. Simple REST clients are Ruby client libraries that provide access to Google services via their HTTP REST API endpoints. These libraries are generated and updated automatically based on the discovery documents published by the service, and they handle most concerns such as authentication, pagination, retry, timeouts, and logging. You can use this client to access the Google Play Android Developer API, but note that some services may provide a separate modern client that is easier to use.".freeze s.email = "googleapis-packages@google.com".freeze s.files = [".yardopts".freeze, "CHANGELOG.md".freeze, "LICENSE.md".freeze, "OVERVIEW.md".freeze, "lib/google-apis-androidpublisher_v3.rb".freeze, "lib/google/apis/androidpublisher_v3.rb".freeze, "lib/google/apis/androidpublisher_v3/classes.rb".freeze, "lib/google/apis/androidpublisher_v3/gem_version.rb".freeze, "lib/google/apis/androidpublisher_v3/representations.rb".freeze, "lib/google/apis/androidpublisher_v3/service.rb".freeze] s.homepage = "https://github.com/google/google-api-ruby-client".freeze s.licenses = ["Apache-2.0".freeze] s.required_ruby_version = Gem::Requirement.new(">= 3.1".freeze) s.rubygems_version = "3.6.9".freeze s.summary = "Simple REST client for Google Play Android Developer API V3".freeze s.specification_version = 4 s.add_runtime_dependency(%q.freeze, [">= 0.15.0".freeze, "< 2.a".freeze]) end google-apis-androidpublisher_v3-0.96.0/LICENSE.md0000644000004100000410000002636115142404021021415 0ustar www-datawww-data Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] 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. google-apis-androidpublisher_v3-0.96.0/CHANGELOG.md0000644000004100000410000002051215142404021021612 0ustar www-datawww-data# Release history for google-apis-androidpublisher_v3 ### v0.96.0 (2026-02-08) * Regenerated from discovery document revision 20260204 ### v0.95.0 (2026-02-01) * Regenerated from discovery document revision 20260129 ### v0.94.0 (2026-01-11) * Regenerated from discovery document revision 20260105 ### v0.93.0 (2025-12-21) * Regenerated from discovery document revision 20251215 ### v0.92.0 (2025-12-14) * Regenerated from discovery document revision 20251211 ### v0.91.0 (2025-12-07) * Regenerated from discovery document revision 20251203 ### v0.90.0 (2025-11-30) * Regenerated from discovery document revision 20251124 ### v0.89.0 (2025-11-23) * Regenerated from discovery document revision 20251119 ### v0.88.0 (2025-11-02) * Regenerated from discovery document revision 20251028 ### v0.87.0 (2025-09-07) * Regenerated from discovery document revision 20250904 ### v0.86.0 (2025-08-31) * Regenerated from discovery document revision 20250828 ### v0.85.0 (2025-08-10) * Regenerated from discovery document revision 20250807 ### v0.84.0 (2025-07-27) * Regenerated from discovery document revision 20250724 ### v0.83.0 (2025-07-13) * Regenerated from discovery document revision 20250710 ### v0.82.0 (2025-07-06) * Regenerated from discovery document revision 20250701 ### v0.81.0 (2025-06-01) * Regenerated from discovery document revision 20250529 * Regenerated using generator version 0.18.0 ### v0.80.0 (2025-05-21) * Regenerated from discovery document revision 20250520 ### v0.79.0 (2025-05-04) * Regenerated using generator version 0.17.0 ### v0.78.0 (2025-03-23) * Regenerated from discovery document revision 20250318 ### v0.77.0 (2025-03-02) * Regenerated from discovery document revision 20250227 * Regenerated using generator version 0.16.0 ### v0.76.0 (2025-01-05) * Regenerated from discovery document revision 20250102 ### v0.75.0 (2024-12-02) * Regenerated from discovery document revision 20241125 ### v0.74.0 (2024-10-20) * Regenerated from discovery document revision 20241016 ### v0.73.0 (2024-10-13) * Regenerated from discovery document revision 20241003 ### v0.72.0 (2024-09-22) * Regenerated from discovery document revision 20240917 ### v0.71.0 (2024-09-15) * Regenerated from discovery document revision 20240912 ### v0.70.0 (2024-08-25) * Regenerated from discovery document revision 20240821 ### v0.69.0 (2024-08-18) * Regenerated from discovery document revision 20240814 ### v0.68.0 (2024-08-11) * Regenerated from discovery document revision 20240806 * Regenerated using generator version 0.15.1 ### v0.67.0 (2024-07-25) * Regenerated from discovery document revision 20240709 ### v0.66.0 (2024-06-26) * Regenerated from discovery document revision 20240624 ### v0.65.0 (2024-06-16) * Regenerated from discovery document revision 20240610 ### v0.64.0 (2024-05-19) * Regenerated from discovery document revision 20240516 * Regenerated using generator version 0.15.0 ### v0.63.0 (2024-05-12) * Regenerated from discovery document revision 20240509 ### v0.62.0 (2024-04-21) * Regenerated from discovery document revision 20240418 ### v0.61.0 (2024-04-14) * Regenerated from discovery document revision 20240409 ### v0.60.0 (2024-03-31) * Regenerated from discovery document revision 20240328 ### v0.59.0 (2024-03-24) * Regenerated from discovery document revision 20240321 * Regenerated using generator version 0.14.0 ### v0.58.0 (2024-02-23) * Regenerated from discovery document revision 20240222 ### v0.57.0 (2024-02-11) * Regenerated from discovery document revision 20240207 ### v0.56.0 (2024-02-04) * Regenerated from discovery document revision 20240129 * Regenerated using generator version 0.13.1 ### v0.55.0 (2024-01-23) * Regenerated from discovery document revision 20240117 * Regenerated using generator version 0.13.0 ### v0.54.0 (2023-12-17) * Regenerated from discovery document revision 20231210 ### v0.53.0 (2023-11-19) * Regenerated from discovery document revision 20231115 ### v0.52.0 (2023-11-12) * Regenerated from discovery document revision 20231107 ### v0.51.0 (2023-10-15) * Regenerated from discovery document revision 20231012 ### v0.50.0 (2023-09-24) * Regenerated from discovery document revision 20230921 ### v0.49.0 (2023-08-27) * Regenerated from discovery document revision 20230821 ### v0.48.0 (2023-08-13) * Regenerated from discovery document revision 20230806 ### v0.47.0 (2023-08-06) * Regenerated from discovery document revision 20230803 ### v0.46.0 (2023-07-23) * Regenerated from discovery document revision 20230720 ### v0.45.0 (2023-07-02) * Regenerated from discovery document revision 20230628 ### v0.44.0 (2023-06-18) * Regenerated from discovery document revision 20230615 ### v0.43.0 (2023-06-11) * Regenerated from discovery document revision 20230606 ### v0.42.0 (2023-05-14) * Regenerated from discovery document revision 20230511 ### v0.41.0 (2023-04-30) * Regenerated from discovery document revision 20230425 ### v0.40.0 (2023-04-23) * Regenerated from discovery document revision 20230418 ### v0.39.0 (2023-04-16) * Regenerated from discovery document revision 20230406 ### v0.38.0 (2023-04-02) * Regenerated from discovery document revision 20230327 ### v0.37.0 (2023-03-19) * Regenerated from discovery document revision 20230313 ### v0.36.0 (2023-03-12) * Regenerated from discovery document revision 20230308 ### v0.35.0 (2023-03-05) * Regenerated using generator version 0.12.0 ### v0.34.0 (2023-02-12) * Regenerated from discovery document revision 20230208 ### v0.33.0 (2023-01-29) * Regenerated from discovery document revision 20230123 * Regenerated using generator version 0.11.1 ### v0.32.0 (2022-11-19) * Regenerated from discovery document revision 20221108 ### v0.31.0 (2022-11-01) * Regenerated from discovery document revision 20221031 ### v0.30.0 (2022-10-29) * Regenerated from discovery document revision 20221025 * Regenerated using generator version 0.11.0 ### v0.29.0 (2022-09-26) * Regenerated from discovery document revision 20220926 ### v0.28.0 (2022-09-22) * Regenerated from discovery document revision 20220920 * Regenerated using generator version 0.10.0 ### v0.27.0 (2022-09-18) * Unspecified changes ### v0.26.0 (2022-09-07) * Regenerated from discovery document revision 20220906 ### v0.25.0 (2022-07-07) * Regenerated from discovery document revision 20220704 * Regenerated using generator version 0.9.0 ### v0.24.0 (2022-07-03) * Regenerated using generator version 0.8.0 ### v0.23.0 (2022-06-21) * Regenerated using generator version 0.7.0 ### v0.22.0 (2022-06-10) * Regenerated from discovery document revision 20220609 * Regenerated using generator version 0.5.0 ### v0.21.0 (2022-05-12) * Regenerated from discovery document revision 20220511 ### v0.20.0 (2022-05-04) * Regenerated from discovery document revision 20220503 ### v0.19.0 (2022-04-12) * Regenerated from discovery document revision 20220411 ### v0.18.0 (2022-03-30) * Regenerated from discovery document revision 20220329 ### v0.17.0 (2022-03-22) * Regenerated from discovery document revision 20220319 ### v0.16.0 (2022-01-25) * Regenerated from discovery document revision 20220123 * Regenerated using generator version 0.4.1 ### v0.15.0 (2021-12-14) * Unspecified changes ### v0.14.0 (2021-11-30) * Regenerated from discovery document revision 20211125 ### v0.13.0 (2021-10-22) * Regenerated from discovery document revision 20211021 ### v0.12.0 (2021-10-07) * Regenerated from discovery document revision 20211006 ### v0.11.0 (2021-09-01) * Regenerated from discovery document revision 20210901 ### v0.10.0 (2021-07-30) * Regenerated from discovery document revision 20210728 ### v0.9.0 (2021-07-21) * Regenerated from discovery document revision 20210720 ### v0.8.0 (2021-06-29) * Regenerated using generator version 0.4.0 ### v0.7.0 (2021-06-24) * Unspecified changes ### v0.6.0 (2021-06-08) * Regenerated from discovery document revision 20210605 * Regenerated using generator version 0.3.0 ### v0.5.0 (2021-05-28) * Regenerated from discovery document revision 20210527 ### v0.4.0 (2021-05-19) * Unspecified changes ### v0.3.0 (2021-04-30) * Regenerated from discovery document revision 20210429 * Regenerated using generator version 0.2.0 ### v0.2.0 (2021-03-04) * Regenerated using generator version 0.1.2 ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 * Regenerated from discovery document revision 20201125