Class: Google::Apis::AndroidpublisherV2::AndroidPublisherService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::AndroidpublisherV2::AndroidPublisherService
- Defined in:
- generated/google/apis/androidpublisher_v2/service.rb
Overview
Google Play Developer API
Lets Android application developers access their Google Play accounts.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL.
- #batch_update_in_app_products(in_app_products_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse
-
#cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Cancels a user's subscription purchase.
-
#commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Commits/applies the changes made in this edit back to the app.
-
#defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse
Defers a user's subscription purchase until a specified future expiration time.
-
#delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes all the APK-specific localized listings for a specified APK.
-
#delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse
Deletes all images for the specified language and image type.
-
#delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes all localized listings from an edit.
-
#delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the APK-specific localized listing for a specified APK and language code.
-
#delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes an edit for an app.
-
#delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the image (specified by id) from the edit.
-
#delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Delete an in-app product for an app.
-
#delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Deletes the specified localized store listing from an edit.
-
#get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Fetches the APK-specific localized listing for a specified APK and language code.
-
#get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Fetches app details for this edit.
-
#get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Returns information about the edit specified.
-
#get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Fetches the Expansion File configuration for the APK specified.
-
#get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Returns information about the in-app product specified.
-
#get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Fetches information about a localized store listing.
-
#get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ProductPurchase
Checks the purchase and consumption status of an inapp item.
-
#get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::SubscriptionPurchase
Checks whether a user's subscription purchase is valid and returns its expiry time.
-
#get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Review
Returns a single review.
- #get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
-
#get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Fetches the track configuration for the specified track type.
-
#initialize ⇒ AndroidPublisherService
constructor
A new instance of AndroidPublisherService.
-
#insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Creates a new edit for an app, populated with the app's current state.
-
#insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Creates a new in-app product for an app.
-
#list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListApkListingsResponse
Lists all the APK-specific localized listings for a specified APK.
- #list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListApksResponse
-
#list_entitlements(package_name, max_results: nil, product_id: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListEntitlementsResponse
Lists the user's current inapp item or subscription entitlements.
-
#list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListImagesResponse
Lists all images for the specified language and image type.
-
#list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListInAppProductsResponse
List all the in-app products for an Android app, both subscriptions and managed in-app products..
-
#list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListListingsResponse
Returns all of the localized store listings attached to this edit.
-
#list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
Lists the purchases that were cancelled, refunded or charged-back.
-
#list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ReviewsListResponse
Returns a list of reviews.
-
#list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListTracksResponse
Lists all the track configurations for this edit.
-
#patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Updates or creates the APK-specific localized listing for a specified APK and language code.
-
#patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Updates app details for this edit.
-
#patch_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Updates the APK's Expansion File configuration to reference another APK's Expansion Files.
-
#patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Updates the details of an in-app product.
-
#patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Creates or updates a localized store listing.
- #patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
-
#patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Updates the track configuration for the specified track type.
-
#refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
-
#reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ReviewsReplyResponse
Reply to a single review, or update an existing reply.
-
#revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
Refunds and immediately revokes a user's subscription purchase.
-
#update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Updates or creates the APK-specific localized listing for a specified APK and language code.
-
#update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Updates app details for this edit.
-
#update_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Updates the APK's Expansion File configuration to reference another APK's Expansion Files.
-
#update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Updates the details of an in-app product.
-
#update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Creates or updates a localized store listing.
- #update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
-
#update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Updates the track configuration for the specified track type.
- #upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Apk
-
#upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
Uploads the deobfuscation file of the specified APK.
-
#upload_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse
Uploads and attaches a new Expansion File to the APK specified.
-
#upload_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::UploadImagesResponse
Uploads a new image and adds it to the list of images for the specified language and image type.
-
#validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Checks that the edit can be successfully committed.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ AndroidPublisherService
Returns a new instance of AndroidPublisherService
51 52 53 54 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'androidpublisher/v2/applications/') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns 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.
38 39 40 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns 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. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse
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 enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 562 def add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', ) command.request_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest::Representation command.request_object = apks_add_externally_hosted_request_object command.response_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#batch_update_in_app_products(in_app_products_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse
1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1865 def batch_update_in_app_products(in_app_products_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'inappproducts/batch', ) command.request_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchRequest::Representation command.request_object = in_app_products_batch_request_object command.response_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2203 def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Commits/applies the changes made in this edit back to the app.
83 84 85 86 87 88 89 90 91 92 93 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 83 def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', ) command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse
Defers a user's subscription purchase until a specified future expiration time.
2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2244 def defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', ) command.request_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesRequest::Representation command.request_object = defer_subscription_purchases_request_object command.response_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes all the APK-specific localized listings for a specified APK.
328 329 330 331 332 333 334 335 336 337 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 328 def delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', ) 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.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse
Deletes all images for the specified language and image type.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1121 def delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', ) command.response_representation = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes all localized listings from an edit.
1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1306 def delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the APK-specific localized listing for a specified APK and language code.
287 288 289 290 291 292 293 294 295 296 297 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 287 def delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', ) 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['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.
124 125 126 127 128 129 130 131 132 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 124 def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the image (specified by id) from the edit.
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1076 def delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Delete an in-app product for an app.
1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1904 def delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the specified localized store listing from an edit.
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1268 def delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Fetches the APK-specific localized listing for a specified APK and language code.
373 374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 373 def get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', ) command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation command.response_class = Google::Apis::AndroidpublisherV2::ApkListing 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['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Fetches app details for this edit. This includes the default language and developer support contact information.
747 748 749 750 751 752 753 754 755 756 757 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 747 def get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/details', ) command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).
162 163 164 165 166 167 168 169 170 171 172 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 162 def get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}', ) command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Fetches the Expansion File configuration for the APK specified.
874 875 876 877 878 879 880 881 882 883 884 885 886 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 874 def get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', ) command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Returns information about the in-app product specified.
1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1939 def get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', ) command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Fetches information about a localized store listing.
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1346 def get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', ) command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ProductPurchase
Checks the purchase and consumption status of an inapp item.
2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2160 def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', ) command.response_representation = Google::Apis::AndroidpublisherV2::ProductPurchase::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::SubscriptionPurchase
Checks whether a user's subscription purchase is valid and returns its expiry time.
2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2289 def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', ) command.response_representation = Google::Apis::AndroidpublisherV2::SubscriptionPurchase::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Review
Returns a single review.
2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2465 def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', ) command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1519 def get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', ) command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.
1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1650 def get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', ) command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Creates a new edit for an app, populated with the app's current state.
200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 200 def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/edits', ) command.request_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation command.request_object = app_edit_object command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Creates a new in-app product for an app.
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1980 def insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/inappproducts', ) command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListApkListingsResponse
Lists all the APK-specific localized listings for a specified APK.
416 417 418 419 420 421 422 423 424 425 426 427 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 416 def list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListApkListingsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListApkListingsResponse 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.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListApksResponse
603 604 605 606 607 608 609 610 611 612 613 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 603 def list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListApksResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListApksResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_entitlements(package_name, max_results: nil, product_id: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListEntitlementsResponse
Lists the user's current inapp item or subscription entitlements
1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1827 def list_entitlements(package_name, max_results: nil, product_id: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/entitlements', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse command.params['packageName'] = package_name unless package_name.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['productId'] = product_id unless product_id.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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListImagesResponse
Lists all images for the specified language and image type.
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1167 def list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListImagesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListImagesResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListInAppProductsResponse
List all the in-app products for an Android app, both subscriptions and managed in-app products..
2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2023 def list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/inappproducts', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListListingsResponse
Returns all of the localized store listings attached to this edit.
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1386 def list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListListingsResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListListingsResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
Lists the purchases that were cancelled, refunded or charged-back.
2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2422 def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', ) command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse command.params['packageName'] = package_name unless package_name.nil? command.query['endTime'] = end_time unless end_time.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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ReviewsListResponse
Returns a list of reviews. Only reviews from last week will be returned.
2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2507 def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/reviews', ) command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ListTracksResponse
Lists all the track configurations for this edit.
1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1690 def list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', ) command.response_representation = Google::Apis::AndroidpublisherV2::ListTracksResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ListTracksResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 464 def patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', ) command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation command.request_object = apk_listing_object command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation command.response_class = Google::Apis::AndroidpublisherV2::ApkListing 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['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Updates app details for this edit. This method supports patch semantics.
787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 787 def patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', ) command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation command.request_object = app_details_object command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.
922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 922 def patch_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', ) command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation command.request_object = expansion_file_object command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Updates the details of an in-app product. This method supports patch semantics.
2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2069 def patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', ) command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV2::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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Creates or updates a localized store listing. This method supports patch semantics.
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1430 def patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1561 def patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation command.request_object = testers_object command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. This method supports patch semantics.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1734 def patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation command.request_object = track_object command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2332 def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ReviewsReplyResponse
Reply to a single review, or update an existing reply.
2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2549 def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', ) command.request_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyRequest::Representation command.request_object = reviews_reply_request_object command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.
2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2373 def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', ) 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ApkListing
Updates or creates the APK-specific localized listing for a specified APK and language code.
515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 515 def update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', ) command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation command.request_object = apk_listing_object command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation command.response_class = Google::Apis::AndroidpublisherV2::ApkListing 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['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppDetails
Updates app details for this edit.
829 830 831 832 833 834 835 836 837 838 839 840 841 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 829 def update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/details', ) command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation command.request_object = app_details_object command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::ExpansionFile
Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 971 def update_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', ) command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation command.request_object = expansion_file_object command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::InAppProduct
Updates the details of an in-app product.
2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 2116 def update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', ) command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.request_object = in_app_product_object command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation command.response_class = Google::Apis::AndroidpublisherV2::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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Listing
Creates or updates a localized store listing.
1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1476 def update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Testers
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1605 def update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation command.request_object = testers_object command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Track
Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume.
1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1781 def update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', ) command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation command.request_object = track_object command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::Apk
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 646 def upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', ) else command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', ) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV2::Apk::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 699 def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', ) else command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', ) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#upload_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse
Uploads and attaches a new Expansion File to the APK specified.
1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1022 def upload_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', ) else command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', ) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#upload_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::UploadImagesResponse
Uploads a new image and adds it to the list of images for the specified language and image type.
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 1218 def upload_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', ) else command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', ) command.upload_source = upload_source command.upload_content_type = content_type end command.response_representation = Google::Apis::AndroidpublisherV2::UploadImagesResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::UploadImagesResponse 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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AndroidpublisherV2::AppEdit
Checks that the edit can be successfully committed. The edit's changes are not applied to the live app.
241 242 243 244 245 246 247 248 249 250 251 |
# File 'generated/google/apis/androidpublisher_v2/service.rb', line 241 def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', ) command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation command.response_class = Google::Apis::AndroidpublisherV2::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? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |