google-api-client 0.40.1 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +468 -750
- data/generated/google/apis/androidpublisher_v3/representations.rb +9 -202
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +12 -6
- data/generated/google/apis/apigee_v1/representations.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +113 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +61 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -7
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +25 -342
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
- data/generated/google/apis/cloudasset_v1/service.rb +11 -186
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +91 -3
- data/generated/google/apis/compute_alpha/representations.rb +36 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +15 -3
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +3 -3
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +4 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -81
- data/generated/google/apis/iam_v1/service.rb +163 -148
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +118 -2
- data/generated/google/apis/people_v1/representations.rb +51 -0
- data/generated/google/apis/people_v1/service.rb +336 -67
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -7
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +108 -44
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +114 -44
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -12
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +109 -45
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +115 -45
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -82,12 +82,6 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class Control
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
85
|
class CountryTargeting
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
87
|
|
@@ -118,12 +112,6 @@ module Google
|
|
118
112
|
include Google::Apis::Core::JsonObjectSupport
|
119
113
|
end
|
120
114
|
|
121
|
-
class DeviceSpec
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
115
|
class ExpansionFile
|
128
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
117
|
|
@@ -142,12 +130,6 @@ module Google
|
|
142
130
|
include Google::Apis::Core::JsonObjectSupport
|
143
131
|
end
|
144
132
|
|
145
|
-
class ExternallyHostedApkUsesPermission
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
133
|
class Image
|
152
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
135
|
|
@@ -220,12 +202,6 @@ module Google
|
|
220
202
|
include Google::Apis::Core::JsonObjectSupport
|
221
203
|
end
|
222
204
|
|
223
|
-
class ModRange
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
-
|
226
|
-
include Google::Apis::Core::JsonObjectSupport
|
227
|
-
end
|
228
|
-
|
229
205
|
class PageInfo
|
230
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
207
|
|
@@ -280,24 +256,6 @@ module Google
|
|
280
256
|
include Google::Apis::Core::JsonObjectSupport
|
281
257
|
end
|
282
258
|
|
283
|
-
class Sampling
|
284
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
-
|
286
|
-
include Google::Apis::Core::JsonObjectSupport
|
287
|
-
end
|
288
|
-
|
289
|
-
class StratifiedSampling
|
290
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
-
|
292
|
-
include Google::Apis::Core::JsonObjectSupport
|
293
|
-
end
|
294
|
-
|
295
|
-
class Stratum
|
296
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
-
|
298
|
-
include Google::Apis::Core::JsonObjectSupport
|
299
|
-
end
|
300
|
-
|
301
259
|
class SubscriptionCancelSurveyResult
|
302
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
261
|
|
@@ -340,18 +298,6 @@ module Google
|
|
340
298
|
include Google::Apis::Core::JsonObjectSupport
|
341
299
|
end
|
342
300
|
|
343
|
-
class SystemApkVariantsCreateRequest
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
-
|
346
|
-
include Google::Apis::Core::JsonObjectSupport
|
347
|
-
end
|
348
|
-
|
349
|
-
class SystemApkVariantsListResponse
|
350
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
-
|
352
|
-
include Google::Apis::Core::JsonObjectSupport
|
353
|
-
end
|
354
|
-
|
355
301
|
class Testers
|
356
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
303
|
|
@@ -382,24 +328,6 @@ module Google
|
|
382
328
|
include Google::Apis::Core::JsonObjectSupport
|
383
329
|
end
|
384
330
|
|
385
|
-
class TrackReleasePin
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
-
|
388
|
-
include Google::Apis::Core::JsonObjectSupport
|
389
|
-
end
|
390
|
-
|
391
|
-
class TrackReleasePinPinTargeting
|
392
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
-
|
394
|
-
include Google::Apis::Core::JsonObjectSupport
|
395
|
-
end
|
396
|
-
|
397
|
-
class TrackReleasePinPinTargetingDevicePin
|
398
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
-
|
400
|
-
include Google::Apis::Core::JsonObjectSupport
|
401
|
-
end
|
402
|
-
|
403
331
|
class TracksListResponse
|
404
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
333
|
|
@@ -412,7 +340,7 @@ module Google
|
|
412
340
|
include Google::Apis::Core::JsonObjectSupport
|
413
341
|
end
|
414
342
|
|
415
|
-
class
|
343
|
+
class UsesPermission
|
416
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
345
|
|
418
346
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -435,8 +363,6 @@ module Google
|
|
435
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
436
364
|
property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
|
437
365
|
|
438
|
-
property :test_binary, as: 'testBinary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
|
439
|
-
|
440
366
|
property :version_code, as: 'versionCode'
|
441
367
|
end
|
442
368
|
end
|
@@ -520,17 +446,6 @@ module Google
|
|
520
446
|
end
|
521
447
|
end
|
522
448
|
|
523
|
-
class Control
|
524
|
-
# @private
|
525
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
-
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
|
527
|
-
|
528
|
-
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
|
529
|
-
|
530
|
-
collection :version_codes, as: 'versionCodes'
|
531
|
-
end
|
532
|
-
end
|
533
|
-
|
534
449
|
class CountryTargeting
|
535
450
|
# @private
|
536
451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -580,15 +495,6 @@ module Google
|
|
580
495
|
end
|
581
496
|
end
|
582
497
|
|
583
|
-
class DeviceSpec
|
584
|
-
# @private
|
585
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
-
property :screen_density, as: 'screenDensity'
|
587
|
-
collection :supported_abis, as: 'supportedAbis'
|
588
|
-
collection :supported_locales, as: 'supportedLocales'
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
498
|
class ExpansionFile
|
593
499
|
# @private
|
594
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -620,21 +526,13 @@ module Google
|
|
620
526
|
collection :native_codes, as: 'nativeCodes'
|
621
527
|
property :package_name, as: 'packageName'
|
622
528
|
collection :uses_features, as: 'usesFeatures'
|
623
|
-
collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV3::
|
529
|
+
collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV3::UsesPermission, decorator: Google::Apis::AndroidpublisherV3::UsesPermission::Representation
|
624
530
|
|
625
531
|
property :version_code, as: 'versionCode'
|
626
532
|
property :version_name, as: 'versionName'
|
627
533
|
end
|
628
534
|
end
|
629
535
|
|
630
|
-
class ExternallyHostedApkUsesPermission
|
631
|
-
# @private
|
632
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
-
property :max_sdk_version, as: 'maxSdkVersion'
|
634
|
-
property :name, as: 'name'
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
536
|
class Image
|
639
537
|
# @private
|
640
538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -682,7 +580,6 @@ module Google
|
|
682
580
|
hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
|
683
581
|
|
684
582
|
property :purchase_type, as: 'purchaseType'
|
685
|
-
property :resubscribe_eligibility, as: 'resubscribeEligibility'
|
686
583
|
property :sku, as: 'sku'
|
687
584
|
property :status, as: 'status'
|
688
585
|
property :subscription_period, as: 'subscriptionPeriod'
|
@@ -759,14 +656,6 @@ module Google
|
|
759
656
|
end
|
760
657
|
end
|
761
658
|
|
762
|
-
class ModRange
|
763
|
-
# @private
|
764
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
765
|
-
property :end, :numeric_string => true, as: 'end'
|
766
|
-
property :start, :numeric_string => true, as: 'start'
|
767
|
-
end
|
768
|
-
end
|
769
|
-
|
770
659
|
class PageInfo
|
771
660
|
# @private
|
772
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -791,6 +680,8 @@ module Google
|
|
791
680
|
property :consumption_state, as: 'consumptionState'
|
792
681
|
property :developer_payload, as: 'developerPayload'
|
793
682
|
property :kind, as: 'kind'
|
683
|
+
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
|
684
|
+
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
|
794
685
|
property :order_id, as: 'orderId'
|
795
686
|
property :product_id, as: 'productId'
|
796
687
|
property :purchase_state, as: 'purchaseState'
|
@@ -854,36 +745,6 @@ module Google
|
|
854
745
|
end
|
855
746
|
end
|
856
747
|
|
857
|
-
class Sampling
|
858
|
-
# @private
|
859
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
-
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
|
861
|
-
|
862
|
-
property :modulus, :numeric_string => true, as: 'modulus'
|
863
|
-
property :salt, as: 'salt'
|
864
|
-
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
|
865
|
-
|
866
|
-
property :use_android_id, as: 'useAndroidId'
|
867
|
-
end
|
868
|
-
end
|
869
|
-
|
870
|
-
class StratifiedSampling
|
871
|
-
# @private
|
872
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
873
|
-
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
|
874
|
-
|
875
|
-
property :stratum, as: 'stratum', class: Google::Apis::AndroidpublisherV3::Stratum, decorator: Google::Apis::AndroidpublisherV3::Stratum::Representation
|
876
|
-
|
877
|
-
end
|
878
|
-
end
|
879
|
-
|
880
|
-
class Stratum
|
881
|
-
# @private
|
882
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
-
property :brand, as: 'brand'
|
884
|
-
end
|
885
|
-
end
|
886
|
-
|
887
748
|
class SubscriptionCancelSurveyResult
|
888
749
|
# @private
|
889
750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -929,6 +790,8 @@ module Google
|
|
929
790
|
|
930
791
|
property :kind, as: 'kind'
|
931
792
|
property :linked_purchase_token, as: 'linkedPurchaseToken'
|
793
|
+
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
|
794
|
+
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
|
932
795
|
property :order_id, as: 'orderId'
|
933
796
|
property :payment_state, as: 'paymentState'
|
934
797
|
property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
|
@@ -967,28 +830,9 @@ module Google
|
|
967
830
|
end
|
968
831
|
end
|
969
832
|
|
970
|
-
class SystemApkVariantsCreateRequest
|
971
|
-
# @private
|
972
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
973
|
-
property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation
|
974
|
-
|
975
|
-
end
|
976
|
-
end
|
977
|
-
|
978
|
-
class SystemApkVariantsListResponse
|
979
|
-
# @private
|
980
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
981
|
-
collection :variants, as: 'variants', class: Google::Apis::AndroidpublisherV3::Variant, decorator: Google::Apis::AndroidpublisherV3::Variant::Representation
|
982
|
-
|
983
|
-
end
|
984
|
-
end
|
985
|
-
|
986
833
|
class Testers
|
987
834
|
# @private
|
988
835
|
class Representation < Google::Apis::Core::JsonRepresentation
|
989
|
-
collection :auto_enrolled_android_groups, as: 'autoEnrolledAndroidGroups'
|
990
|
-
collection :auto_enrolled_google_groups, as: 'autoEnrolledGoogleGroups'
|
991
|
-
collection :excluded_google_groups, as: 'excludedGoogleGroups'
|
992
836
|
collection :google_groups, as: 'googleGroups'
|
993
837
|
end
|
994
838
|
end
|
@@ -1021,54 +865,18 @@ module Google
|
|
1021
865
|
class TrackRelease
|
1022
866
|
# @private
|
1023
867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1024
|
-
collection :controls, as: 'controls', class: Google::Apis::AndroidpublisherV3::Control, decorator: Google::Apis::AndroidpublisherV3::Control::Representation
|
1025
|
-
|
1026
868
|
property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation
|
1027
869
|
|
1028
870
|
property :in_app_update_priority, as: 'inAppUpdatePriority'
|
1029
871
|
property :name, as: 'name'
|
1030
|
-
collection :pinned_versions, as: 'pinnedVersions', class: Google::Apis::AndroidpublisherV3::TrackReleasePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePin::Representation
|
1031
|
-
|
1032
872
|
collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation
|
1033
873
|
|
1034
|
-
property :rollback_enabled, as: 'rollbackEnabled'
|
1035
|
-
property :sampling, as: 'sampling', class: Google::Apis::AndroidpublisherV3::Sampling, decorator: Google::Apis::AndroidpublisherV3::Sampling::Representation
|
1036
|
-
|
1037
874
|
property :status, as: 'status'
|
1038
875
|
property :user_fraction, as: 'userFraction'
|
1039
876
|
collection :version_codes, as: 'versionCodes'
|
1040
877
|
end
|
1041
878
|
end
|
1042
879
|
|
1043
|
-
class TrackReleasePin
|
1044
|
-
# @private
|
1045
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1046
|
-
collection :targetings, as: 'targetings', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting::Representation
|
1047
|
-
|
1048
|
-
collection :version_codes, as: 'versionCodes'
|
1049
|
-
end
|
1050
|
-
end
|
1051
|
-
|
1052
|
-
class TrackReleasePinPinTargeting
|
1053
|
-
# @private
|
1054
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1055
|
-
collection :country_codes, as: 'countryCodes'
|
1056
|
-
collection :devices, as: 'devices', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin::Representation
|
1057
|
-
|
1058
|
-
collection :phonesky_versions, as: 'phoneskyVersions'
|
1059
|
-
collection :sdk_versions, as: 'sdkVersions'
|
1060
|
-
end
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
class TrackReleasePinPinTargetingDevicePin
|
1064
|
-
# @private
|
1065
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
-
property :brand, as: 'brand'
|
1067
|
-
property :device, as: 'device'
|
1068
|
-
property :product, as: 'product'
|
1069
|
-
end
|
1070
|
-
end
|
1071
|
-
|
1072
880
|
class TracksListResponse
|
1073
881
|
# @private
|
1074
882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1098,12 +906,11 @@ module Google
|
|
1098
906
|
end
|
1099
907
|
end
|
1100
908
|
|
1101
|
-
class
|
909
|
+
class UsesPermission
|
1102
910
|
# @private
|
1103
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
-
property :
|
1105
|
-
|
1106
|
-
property :variant_id, as: 'variantId'
|
912
|
+
property :max_sdk_version, as: 'maxSdkVersion'
|
913
|
+
property :name, as: 'name'
|
1107
914
|
end
|
1108
915
|
end
|
1109
916
|
|
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module AndroidpublisherV3
|
23
|
-
# Google Play Developer API
|
23
|
+
# Google Play Android Developer API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Lets Android application developers access their Google Play accounts.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/androidpublisher_v3'
|
@@ -38,32 +38,25 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
45
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
51
|
-
@batch_path = 'batch/androidpublisher
|
46
|
+
super('https://www.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch/androidpublisher'
|
52
48
|
end
|
53
49
|
|
54
|
-
# Commits
|
50
|
+
# Commits an app edit.
|
55
51
|
# @param [String] package_name
|
56
|
-
#
|
57
|
-
# spiffygame".
|
52
|
+
# Package name of the app.
|
58
53
|
# @param [String] edit_id
|
59
|
-
#
|
54
|
+
# Identifier of the edit.
|
60
55
|
# @param [String] fields
|
61
56
|
# Selector specifying which fields to include in a partial response.
|
62
57
|
# @param [String] quota_user
|
63
|
-
#
|
64
|
-
# characters.
|
65
|
-
# @param [String] user_ip
|
66
|
-
# Deprecated. Please use quotaUser instead.
|
58
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
60
|
# @param [Google::Apis::RequestOptions] options
|
68
61
|
# Request-specific options
|
69
62
|
#
|
@@ -76,33 +69,27 @@ module Google
|
|
76
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def commit_edit(package_name, edit_id, fields: nil, quota_user: nil,
|
80
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
|
72
|
+
def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:commit', options)
|
81
74
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
82
75
|
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
|
83
76
|
command.params['packageName'] = package_name unless package_name.nil?
|
84
77
|
command.params['editId'] = edit_id unless edit_id.nil?
|
85
78
|
command.query['fields'] = fields unless fields.nil?
|
86
79
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
88
80
|
execute_or_queue_command(command, &block)
|
89
81
|
end
|
90
82
|
|
91
|
-
# Deletes an
|
92
|
-
# of your previous edits so this method need only be called if you want to
|
93
|
-
# preemptively abandon an edit.
|
83
|
+
# Deletes an app edit.
|
94
84
|
# @param [String] package_name
|
95
|
-
#
|
96
|
-
# spiffygame".
|
85
|
+
# Package name of the app.
|
97
86
|
# @param [String] edit_id
|
98
|
-
#
|
87
|
+
# Identifier of the edit.
|
99
88
|
# @param [String] fields
|
100
89
|
# Selector specifying which fields to include in a partial response.
|
101
90
|
# @param [String] quota_user
|
102
|
-
#
|
103
|
-
# characters.
|
104
|
-
# @param [String] user_ip
|
105
|
-
# Deprecated. Please use quotaUser instead.
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
106
93
|
# @param [Google::Apis::RequestOptions] options
|
107
94
|
# Request-specific options
|
108
95
|
#
|
@@ -115,30 +102,25 @@ module Google
|
|
115
102
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
116
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
117
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
118
|
-
def delete_edit(package_name, edit_id, fields: nil, quota_user: nil,
|
119
|
-
command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
|
105
|
+
def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}', options)
|
120
107
|
command.params['packageName'] = package_name unless package_name.nil?
|
121
108
|
command.params['editId'] = edit_id unless edit_id.nil?
|
122
109
|
command.query['fields'] = fields unless fields.nil?
|
123
110
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
125
111
|
execute_or_queue_command(command, &block)
|
126
112
|
end
|
127
113
|
|
128
|
-
#
|
129
|
-
# no long active (e.g. has been deleted, superseded or expired).
|
114
|
+
# Gets an app edit.
|
130
115
|
# @param [String] package_name
|
131
|
-
#
|
132
|
-
# spiffygame".
|
116
|
+
# Package name of the app.
|
133
117
|
# @param [String] edit_id
|
134
|
-
#
|
118
|
+
# Identifier of the edit.
|
135
119
|
# @param [String] fields
|
136
120
|
# Selector specifying which fields to include in a partial response.
|
137
121
|
# @param [String] quota_user
|
138
|
-
#
|
139
|
-
# characters.
|
140
|
-
# @param [String] user_ip
|
141
|
-
# Deprecated. Please use quotaUser instead.
|
122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
142
124
|
# @param [Google::Apis::RequestOptions] options
|
143
125
|
# Request-specific options
|
144
126
|
#
|
@@ -151,30 +133,26 @@ module Google
|
|
151
133
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
152
134
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
153
135
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
154
|
-
def get_edit(package_name, edit_id, fields: nil, quota_user: nil,
|
155
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
|
136
|
+
def get_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
137
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}', options)
|
156
138
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
157
139
|
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
|
158
140
|
command.params['packageName'] = package_name unless package_name.nil?
|
159
141
|
command.params['editId'] = edit_id unless edit_id.nil?
|
160
142
|
command.query['fields'] = fields unless fields.nil?
|
161
143
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
162
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
163
144
|
execute_or_queue_command(command, &block)
|
164
145
|
end
|
165
146
|
|
166
|
-
# Creates a new edit for an app
|
147
|
+
# Creates a new edit for an app.
|
167
148
|
# @param [String] package_name
|
168
|
-
#
|
169
|
-
# spiffygame".
|
149
|
+
# Package name of the app.
|
170
150
|
# @param [Google::Apis::AndroidpublisherV3::AppEdit] app_edit_object
|
171
151
|
# @param [String] fields
|
172
152
|
# Selector specifying which fields to include in a partial response.
|
173
153
|
# @param [String] quota_user
|
174
|
-
#
|
175
|
-
# characters.
|
176
|
-
# @param [String] user_ip
|
177
|
-
# Deprecated. Please use quotaUser instead.
|
154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
178
156
|
# @param [Google::Apis::RequestOptions] options
|
179
157
|
# Request-specific options
|
180
158
|
#
|
@@ -187,8 +165,8 @@ module Google
|
|
187
165
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
166
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
167
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
-
def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil,
|
191
|
-
command = make_simple_command(:post, '{packageName}/edits', options)
|
168
|
+
def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
169
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits', options)
|
192
170
|
command.request_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
193
171
|
command.request_object = app_edit_object
|
194
172
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
@@ -196,24 +174,19 @@ module Google
|
|
196
174
|
command.params['packageName'] = package_name unless package_name.nil?
|
197
175
|
command.query['fields'] = fields unless fields.nil?
|
198
176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
200
177
|
execute_or_queue_command(command, &block)
|
201
178
|
end
|
202
179
|
|
203
|
-
#
|
204
|
-
# applied to the live app.
|
180
|
+
# Validates an app edit.
|
205
181
|
# @param [String] package_name
|
206
|
-
#
|
207
|
-
# spiffygame".
|
182
|
+
# Package name of the app.
|
208
183
|
# @param [String] edit_id
|
209
|
-
#
|
184
|
+
# Identifier of the edit.
|
210
185
|
# @param [String] fields
|
211
186
|
# Selector specifying which fields to include in a partial response.
|
212
187
|
# @param [String] quota_user
|
213
|
-
#
|
214
|
-
# characters.
|
215
|
-
# @param [String] user_ip
|
216
|
-
# Deprecated. Please use quotaUser instead.
|
188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
217
190
|
# @param [Google::Apis::RequestOptions] options
|
218
191
|
# Request-specific options
|
219
192
|
#
|
@@ -226,35 +199,31 @@ module Google
|
|
226
199
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
227
200
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
228
201
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
229
|
-
def validate_edit(package_name, edit_id, fields: nil, quota_user: nil,
|
230
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
|
202
|
+
def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
203
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:validate', options)
|
231
204
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
232
205
|
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
|
233
206
|
command.params['packageName'] = package_name unless package_name.nil?
|
234
207
|
command.params['editId'] = edit_id unless edit_id.nil?
|
235
208
|
command.query['fields'] = fields unless fields.nil?
|
236
209
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
237
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
238
210
|
execute_or_queue_command(command, &block)
|
239
211
|
end
|
240
212
|
|
241
213
|
# Creates a new APK without uploading the APK itself to Google Play, instead
|
242
214
|
# hosting the APK at a specified URL. This function is only available to
|
243
|
-
#
|
244
|
-
# restrict distribution to the
|
215
|
+
# organizations using Managed Play whose application is configured to
|
216
|
+
# restrict distribution to the organizations.
|
245
217
|
# @param [String] package_name
|
246
|
-
#
|
247
|
-
# spiffygame".
|
218
|
+
# Package name of the app.
|
248
219
|
# @param [String] edit_id
|
249
|
-
#
|
220
|
+
# Identifier of the edit.
|
250
221
|
# @param [Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest] apks_add_externally_hosted_request_object
|
251
222
|
# @param [String] fields
|
252
223
|
# Selector specifying which fields to include in a partial response.
|
253
224
|
# @param [String] quota_user
|
254
|
-
#
|
255
|
-
# characters.
|
256
|
-
# @param [String] user_ip
|
257
|
-
# Deprecated. Please use quotaUser instead.
|
225
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
226
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
258
227
|
# @param [Google::Apis::RequestOptions] options
|
259
228
|
# Request-specific options
|
260
229
|
#
|
@@ -267,8 +236,8 @@ module Google
|
|
267
236
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
268
237
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
269
238
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
270
|
-
def addexternallyhosted_edit_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil,
|
271
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
|
239
|
+
def addexternallyhosted_edit_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
240
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted', options)
|
272
241
|
command.request_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest::Representation
|
273
242
|
command.request_object = apks_add_externally_hosted_request_object
|
274
243
|
command.response_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse::Representation
|
@@ -277,23 +246,19 @@ module Google
|
|
277
246
|
command.params['editId'] = edit_id unless edit_id.nil?
|
278
247
|
command.query['fields'] = fields unless fields.nil?
|
279
248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
281
249
|
execute_or_queue_command(command, &block)
|
282
250
|
end
|
283
251
|
|
284
|
-
#
|
252
|
+
# Lists all current APKs of the app and edit.
|
285
253
|
# @param [String] package_name
|
286
|
-
#
|
287
|
-
# spiffygame".
|
254
|
+
# Package name of the app.
|
288
255
|
# @param [String] edit_id
|
289
|
-
#
|
256
|
+
# Identifier of the edit.
|
290
257
|
# @param [String] fields
|
291
258
|
# Selector specifying which fields to include in a partial response.
|
292
259
|
# @param [String] quota_user
|
293
|
-
#
|
294
|
-
# characters.
|
295
|
-
# @param [String] user_ip
|
296
|
-
# Deprecated. Please use quotaUser instead.
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
297
262
|
# @param [Google::Apis::RequestOptions] options
|
298
263
|
# Request-specific options
|
299
264
|
#
|
@@ -306,31 +271,27 @@ module Google
|
|
306
271
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
307
272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
308
273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
309
|
-
def list_edit_apks(package_name, edit_id, fields: nil, quota_user: nil,
|
310
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
|
274
|
+
def list_edit_apks(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options)
|
311
276
|
command.response_representation = Google::Apis::AndroidpublisherV3::ApksListResponse::Representation
|
312
277
|
command.response_class = Google::Apis::AndroidpublisherV3::ApksListResponse
|
313
278
|
command.params['packageName'] = package_name unless package_name.nil?
|
314
279
|
command.params['editId'] = edit_id unless edit_id.nil?
|
315
280
|
command.query['fields'] = fields unless fields.nil?
|
316
281
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
317
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
318
282
|
execute_or_queue_command(command, &block)
|
319
283
|
end
|
320
284
|
|
321
|
-
#
|
285
|
+
# Uploads an APK and adds to the current edit.
|
322
286
|
# @param [String] package_name
|
323
|
-
#
|
324
|
-
# spiffygame".
|
287
|
+
# Package name of the app.
|
325
288
|
# @param [String] edit_id
|
326
|
-
#
|
289
|
+
# Identifier of the edit.
|
327
290
|
# @param [String] fields
|
328
291
|
# Selector specifying which fields to include in a partial response.
|
329
292
|
# @param [String] quota_user
|
330
|
-
#
|
331
|
-
# characters.
|
332
|
-
# @param [String] user_ip
|
333
|
-
# Deprecated. Please use quotaUser instead.
|
293
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
294
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
334
295
|
# @param [IO, String] upload_source
|
335
296
|
# IO stream or filename containing content to upload
|
336
297
|
# @param [String] content_type
|
@@ -347,11 +308,11 @@ module Google
|
|
347
308
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
348
309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
349
310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
350
|
-
def upload_edit_apk(package_name, edit_id, fields: nil, quota_user: nil,
|
311
|
+
def upload_edit_apk(package_name, edit_id, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
351
312
|
if upload_source.nil?
|
352
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
|
313
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options)
|
353
314
|
else
|
354
|
-
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
|
315
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks', options)
|
355
316
|
command.upload_source = upload_source
|
356
317
|
command.upload_content_type = content_type
|
357
318
|
end
|
@@ -361,23 +322,19 @@ module Google
|
|
361
322
|
command.params['editId'] = edit_id unless edit_id.nil?
|
362
323
|
command.query['fields'] = fields unless fields.nil?
|
363
324
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
364
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
365
325
|
execute_or_queue_command(command, &block)
|
366
326
|
end
|
367
327
|
|
368
|
-
#
|
328
|
+
# Lists all current Android App Bundles of the app and edit.
|
369
329
|
# @param [String] package_name
|
370
|
-
#
|
371
|
-
# spiffygame".
|
330
|
+
# Package name of the app.
|
372
331
|
# @param [String] edit_id
|
373
|
-
#
|
332
|
+
# Identifier of the edit.
|
374
333
|
# @param [String] fields
|
375
334
|
# Selector specifying which fields to include in a partial response.
|
376
335
|
# @param [String] quota_user
|
377
|
-
#
|
378
|
-
# characters.
|
379
|
-
# @param [String] user_ip
|
380
|
-
# Deprecated. Please use quotaUser instead.
|
336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
381
338
|
# @param [Google::Apis::RequestOptions] options
|
382
339
|
# Request-specific options
|
383
340
|
#
|
@@ -390,39 +347,38 @@ module Google
|
|
390
347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
391
348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
|
-
def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil,
|
394
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
|
350
|
+
def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
351
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options)
|
395
352
|
command.response_representation = Google::Apis::AndroidpublisherV3::BundlesListResponse::Representation
|
396
353
|
command.response_class = Google::Apis::AndroidpublisherV3::BundlesListResponse
|
397
354
|
command.params['packageName'] = package_name unless package_name.nil?
|
398
355
|
command.params['editId'] = edit_id unless edit_id.nil?
|
399
356
|
command.query['fields'] = fields unless fields.nil?
|
400
357
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
401
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
402
358
|
execute_or_queue_command(command, &block)
|
403
359
|
end
|
404
360
|
|
405
|
-
# Uploads a new Android App Bundle to this edit.
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
361
|
+
# Uploads a new Android App Bundle to this edit.
|
362
|
+
# If you are using the Google API client libraries, please increase the
|
363
|
+
# timeout of the http request before calling this endpoint
|
364
|
+
# (a timeout of 2 minutes is recommended).
|
365
|
+
# See [Timeouts and
|
366
|
+
# Errors](https://developers.google.com/api-client-library/java/google-api-java-
|
367
|
+
# client/errors)
|
409
368
|
# for an example in java.
|
410
369
|
# @param [String] package_name
|
411
|
-
#
|
412
|
-
# spiffygame".
|
370
|
+
# Package name of the app.
|
413
371
|
# @param [String] edit_id
|
414
|
-
#
|
372
|
+
# Identifier of the edit.
|
415
373
|
# @param [Boolean] ack_bundle_installation_warning
|
416
|
-
# Must be set to true if the bundle installation may trigger a warning on
|
417
|
-
# devices (for example, if installation size may be over a threshold,
|
418
|
-
# 100 MB).
|
374
|
+
# Must be set to true if the bundle installation may trigger a warning on
|
375
|
+
# user devices (for example, if installation size may be over a threshold,
|
376
|
+
# typically 100 MB).
|
419
377
|
# @param [String] fields
|
420
378
|
# Selector specifying which fields to include in a partial response.
|
421
379
|
# @param [String] quota_user
|
422
|
-
#
|
423
|
-
# characters.
|
424
|
-
# @param [String] user_ip
|
425
|
-
# Deprecated. Please use quotaUser instead.
|
380
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
381
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
426
382
|
# @param [IO, String] upload_source
|
427
383
|
# IO stream or filename containing content to upload
|
428
384
|
# @param [String] content_type
|
@@ -439,11 +395,11 @@ module Google
|
|
439
395
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
440
396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
|
-
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil,
|
398
|
+
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
443
399
|
if upload_source.nil?
|
444
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
400
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options)
|
445
401
|
else
|
446
|
-
command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
402
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles', options)
|
447
403
|
command.upload_source = upload_source
|
448
404
|
command.upload_content_type = content_type
|
449
405
|
end
|
@@ -454,28 +410,24 @@ module Google
|
|
454
410
|
command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.nil?
|
455
411
|
command.query['fields'] = fields unless fields.nil?
|
456
412
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
457
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
458
413
|
execute_or_queue_command(command, &block)
|
459
414
|
end
|
460
415
|
|
461
|
-
# Uploads
|
462
|
-
# symbolication file already exists, it will be replaced. See https://developer.
|
463
|
-
# android.com/studio/build/shrink-code to learn more about deobfuscation files.
|
416
|
+
# Uploads a new deobfuscation file and attaches to the specified APK.
|
464
417
|
# @param [String] package_name
|
465
|
-
# Unique identifier
|
466
|
-
# being uploaded; for example, "com.spiffygame".
|
418
|
+
# Unique identifier for the Android app.
|
467
419
|
# @param [String] edit_id
|
468
420
|
# Unique identifier for this edit.
|
469
421
|
# @param [Fixnum] apk_version_code
|
470
|
-
# The version code of the APK whose
|
422
|
+
# The version code of the APK whose Deobfuscation File is being
|
423
|
+
# uploaded.
|
471
424
|
# @param [String] deobfuscation_file_type
|
425
|
+
# The type of the deobfuscation file.
|
472
426
|
# @param [String] fields
|
473
427
|
# Selector specifying which fields to include in a partial response.
|
474
428
|
# @param [String] quota_user
|
475
|
-
#
|
476
|
-
# characters.
|
477
|
-
# @param [String] user_ip
|
478
|
-
# Deprecated. Please use quotaUser instead.
|
429
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
430
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
479
431
|
# @param [IO, String] upload_source
|
480
432
|
# IO stream or filename containing content to upload
|
481
433
|
# @param [String] content_type
|
@@ -492,11 +444,11 @@ module Google
|
|
492
444
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
493
445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
494
446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
495
|
-
def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil,
|
447
|
+
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)
|
496
448
|
if upload_source.nil?
|
497
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
|
449
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
|
498
450
|
else
|
499
|
-
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
|
451
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
|
500
452
|
command.upload_source = upload_source
|
501
453
|
command.upload_content_type = content_type
|
502
454
|
end
|
@@ -508,24 +460,19 @@ module Google
|
|
508
460
|
command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil?
|
509
461
|
command.query['fields'] = fields unless fields.nil?
|
510
462
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
511
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
512
463
|
execute_or_queue_command(command, &block)
|
513
464
|
end
|
514
465
|
|
515
|
-
#
|
516
|
-
# developer support contact information.
|
466
|
+
# Gets details of an app.
|
517
467
|
# @param [String] package_name
|
518
|
-
#
|
519
|
-
# spiffygame".
|
468
|
+
# Package name of the app.
|
520
469
|
# @param [String] edit_id
|
521
|
-
#
|
470
|
+
# Identifier of the edit.
|
522
471
|
# @param [String] fields
|
523
472
|
# Selector specifying which fields to include in a partial response.
|
524
473
|
# @param [String] quota_user
|
525
|
-
#
|
526
|
-
# characters.
|
527
|
-
# @param [String] user_ip
|
528
|
-
# Deprecated. Please use quotaUser instead.
|
474
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
475
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
529
476
|
# @param [Google::Apis::RequestOptions] options
|
530
477
|
# Request-specific options
|
531
478
|
#
|
@@ -538,32 +485,28 @@ module Google
|
|
538
485
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
539
486
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
540
487
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
541
|
-
def get_edit_detail(package_name, edit_id, fields: nil, quota_user: nil,
|
542
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
|
488
|
+
def get_edit_detail(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
489
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options)
|
543
490
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
|
544
491
|
command.response_class = Google::Apis::AndroidpublisherV3::AppDetails
|
545
492
|
command.params['packageName'] = package_name unless package_name.nil?
|
546
493
|
command.params['editId'] = edit_id unless edit_id.nil?
|
547
494
|
command.query['fields'] = fields unless fields.nil?
|
548
495
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
549
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
550
496
|
execute_or_queue_command(command, &block)
|
551
497
|
end
|
552
498
|
|
553
|
-
#
|
499
|
+
# Patches details of an app.
|
554
500
|
# @param [String] package_name
|
555
|
-
#
|
556
|
-
# spiffygame".
|
501
|
+
# Package name of the app.
|
557
502
|
# @param [String] edit_id
|
558
|
-
#
|
503
|
+
# Identifier of the edit.
|
559
504
|
# @param [Google::Apis::AndroidpublisherV3::AppDetails] app_details_object
|
560
505
|
# @param [String] fields
|
561
506
|
# Selector specifying which fields to include in a partial response.
|
562
507
|
# @param [String] quota_user
|
563
|
-
#
|
564
|
-
# characters.
|
565
|
-
# @param [String] user_ip
|
566
|
-
# Deprecated. Please use quotaUser instead.
|
508
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
509
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
567
510
|
# @param [Google::Apis::RequestOptions] options
|
568
511
|
# Request-specific options
|
569
512
|
#
|
@@ -576,8 +519,8 @@ module Google
|
|
576
519
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
577
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
578
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
579
|
-
def patch_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil,
|
580
|
-
command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
|
522
|
+
def patch_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
523
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options)
|
581
524
|
command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
|
582
525
|
command.request_object = app_details_object
|
583
526
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
|
@@ -586,24 +529,20 @@ module Google
|
|
586
529
|
command.params['editId'] = edit_id unless edit_id.nil?
|
587
530
|
command.query['fields'] = fields unless fields.nil?
|
588
531
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
589
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
590
532
|
execute_or_queue_command(command, &block)
|
591
533
|
end
|
592
534
|
|
593
|
-
# Updates
|
535
|
+
# Updates details of an app.
|
594
536
|
# @param [String] package_name
|
595
|
-
#
|
596
|
-
# spiffygame".
|
537
|
+
# Package name of the app.
|
597
538
|
# @param [String] edit_id
|
598
|
-
#
|
539
|
+
# Identifier of the edit.
|
599
540
|
# @param [Google::Apis::AndroidpublisherV3::AppDetails] app_details_object
|
600
541
|
# @param [String] fields
|
601
542
|
# Selector specifying which fields to include in a partial response.
|
602
543
|
# @param [String] quota_user
|
603
|
-
#
|
604
|
-
# characters.
|
605
|
-
# @param [String] user_ip
|
606
|
-
# Deprecated. Please use quotaUser instead.
|
544
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
545
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
607
546
|
# @param [Google::Apis::RequestOptions] options
|
608
547
|
# Request-specific options
|
609
548
|
#
|
@@ -616,8 +555,8 @@ module Google
|
|
616
555
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
617
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
618
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
619
|
-
def update_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil,
|
620
|
-
command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
|
558
|
+
def update_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/details', options)
|
621
560
|
command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
|
622
561
|
command.request_object = app_details_object
|
623
562
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
|
@@ -626,27 +565,24 @@ module Google
|
|
626
565
|
command.params['editId'] = edit_id unless edit_id.nil?
|
627
566
|
command.query['fields'] = fields unless fields.nil?
|
628
567
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
629
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
630
568
|
execute_or_queue_command(command, &block)
|
631
569
|
end
|
632
570
|
|
633
|
-
# Fetches the
|
571
|
+
# Fetches the expansion file configuration for the specified APK.
|
634
572
|
# @param [String] package_name
|
635
|
-
#
|
636
|
-
# spiffygame".
|
573
|
+
# Package name of the app.
|
637
574
|
# @param [String] edit_id
|
638
|
-
#
|
575
|
+
# Identifier of the edit.
|
639
576
|
# @param [Fixnum] apk_version_code
|
640
|
-
# The version code of the APK whose
|
641
|
-
# or modified.
|
577
|
+
# The version code of the APK whose expansion file configuration is being
|
578
|
+
# read or modified.
|
642
579
|
# @param [String] expansion_file_type
|
580
|
+
# The file type of the file configuration which is being read or modified.
|
643
581
|
# @param [String] fields
|
644
582
|
# Selector specifying which fields to include in a partial response.
|
645
583
|
# @param [String] quota_user
|
646
|
-
#
|
647
|
-
# characters.
|
648
|
-
# @param [String] user_ip
|
649
|
-
# Deprecated. Please use quotaUser instead.
|
584
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
585
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
650
586
|
# @param [Google::Apis::RequestOptions] options
|
651
587
|
# Request-specific options
|
652
588
|
#
|
@@ -659,8 +595,8 @@ module Google
|
|
659
595
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
660
596
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
661
597
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
662
|
-
def get_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil,
|
663
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
598
|
+
def get_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, options: nil, &block)
|
599
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
664
600
|
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
|
665
601
|
command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile
|
666
602
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -669,30 +605,27 @@ module Google
|
|
669
605
|
command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
|
670
606
|
command.query['fields'] = fields unless fields.nil?
|
671
607
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
672
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
673
608
|
execute_or_queue_command(command, &block)
|
674
609
|
end
|
675
610
|
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
611
|
+
# Patches the APK's expansion file configuration to reference another APK's
|
612
|
+
# expansion file.
|
613
|
+
# To add a new expansion file use the Upload method.
|
679
614
|
# @param [String] package_name
|
680
|
-
#
|
681
|
-
# spiffygame".
|
615
|
+
# Package name of the app.
|
682
616
|
# @param [String] edit_id
|
683
|
-
#
|
617
|
+
# Identifier of the edit.
|
684
618
|
# @param [Fixnum] apk_version_code
|
685
|
-
# The version code of the APK whose
|
686
|
-
# or modified.
|
619
|
+
# The version code of the APK whose expansion file configuration is being
|
620
|
+
# read or modified.
|
687
621
|
# @param [String] expansion_file_type
|
622
|
+
# The file type of the expansion file configuration which is being updated.
|
688
623
|
# @param [Google::Apis::AndroidpublisherV3::ExpansionFile] expansion_file_object
|
689
624
|
# @param [String] fields
|
690
625
|
# Selector specifying which fields to include in a partial response.
|
691
626
|
# @param [String] quota_user
|
692
|
-
#
|
693
|
-
# characters.
|
694
|
-
# @param [String] user_ip
|
695
|
-
# Deprecated. Please use quotaUser instead.
|
627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
696
629
|
# @param [Google::Apis::RequestOptions] options
|
697
630
|
# Request-specific options
|
698
631
|
#
|
@@ -705,8 +638,8 @@ module Google
|
|
705
638
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
706
639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
707
640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
708
|
-
def patch_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil,
|
709
|
-
command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
641
|
+
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)
|
642
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
710
643
|
command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
|
711
644
|
command.request_object = expansion_file_object
|
712
645
|
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
|
@@ -717,29 +650,27 @@ module Google
|
|
717
650
|
command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
|
718
651
|
command.query['fields'] = fields unless fields.nil?
|
719
652
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
720
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
721
653
|
execute_or_queue_command(command, &block)
|
722
654
|
end
|
723
655
|
|
724
|
-
# Updates the APK's
|
725
|
-
#
|
656
|
+
# Updates the APK's expansion file configuration to reference another APK's
|
657
|
+
# expansion file.
|
658
|
+
# To add a new expansion file use the Upload method.
|
726
659
|
# @param [String] package_name
|
727
|
-
#
|
728
|
-
# spiffygame".
|
660
|
+
# Package name of the app.
|
729
661
|
# @param [String] edit_id
|
730
|
-
#
|
662
|
+
# Identifier of the edit.
|
731
663
|
# @param [Fixnum] apk_version_code
|
732
|
-
# The version code of the APK whose
|
733
|
-
# or modified.
|
664
|
+
# The version code of the APK whose expansion file configuration is being
|
665
|
+
# read or modified.
|
734
666
|
# @param [String] expansion_file_type
|
667
|
+
# The file type of the file configuration which is being read or modified.
|
735
668
|
# @param [Google::Apis::AndroidpublisherV3::ExpansionFile] expansion_file_object
|
736
669
|
# @param [String] fields
|
737
670
|
# Selector specifying which fields to include in a partial response.
|
738
671
|
# @param [String] quota_user
|
739
|
-
#
|
740
|
-
# characters.
|
741
|
-
# @param [String] user_ip
|
742
|
-
# Deprecated. Please use quotaUser instead.
|
672
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
673
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
743
674
|
# @param [Google::Apis::RequestOptions] options
|
744
675
|
# Request-specific options
|
745
676
|
#
|
@@ -752,8 +683,8 @@ module Google
|
|
752
683
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
753
684
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
754
685
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
755
|
-
def update_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil,
|
756
|
-
command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
686
|
+
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)
|
687
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
757
688
|
command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
|
758
689
|
command.request_object = expansion_file_object
|
759
690
|
command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
|
@@ -764,27 +695,24 @@ module Google
|
|
764
695
|
command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
|
765
696
|
command.query['fields'] = fields unless fields.nil?
|
766
697
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
767
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
768
698
|
execute_or_queue_command(command, &block)
|
769
699
|
end
|
770
700
|
|
771
|
-
# Uploads
|
701
|
+
# Uploads a new expansion file and attaches to the specified APK.
|
772
702
|
# @param [String] package_name
|
773
|
-
#
|
774
|
-
# spiffygame".
|
703
|
+
# Package name of the app.
|
775
704
|
# @param [String] edit_id
|
776
|
-
#
|
705
|
+
# Identifier of the edit.
|
777
706
|
# @param [Fixnum] apk_version_code
|
778
|
-
# The version code of the APK whose
|
779
|
-
# or modified.
|
707
|
+
# The version code of the APK whose expansion file configuration is being
|
708
|
+
# read or modified.
|
780
709
|
# @param [String] expansion_file_type
|
710
|
+
# The file type of the expansion file configuration which is being updated.
|
781
711
|
# @param [String] fields
|
782
712
|
# Selector specifying which fields to include in a partial response.
|
783
713
|
# @param [String] quota_user
|
784
|
-
#
|
785
|
-
# characters.
|
786
|
-
# @param [String] user_ip
|
787
|
-
# Deprecated. Please use quotaUser instead.
|
714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
788
716
|
# @param [IO, String] upload_source
|
789
717
|
# IO stream or filename containing content to upload
|
790
718
|
# @param [String] content_type
|
@@ -801,11 +729,11 @@ module Google
|
|
801
729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
802
730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
|
-
def upload_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil,
|
732
|
+
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)
|
805
733
|
if upload_source.nil?
|
806
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
734
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
807
735
|
else
|
808
|
-
command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
736
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
|
809
737
|
command.upload_source = upload_source
|
810
738
|
command.upload_content_type = content_type
|
811
739
|
end
|
@@ -817,30 +745,26 @@ module Google
|
|
817
745
|
command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
|
818
746
|
command.query['fields'] = fields unless fields.nil?
|
819
747
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
821
748
|
execute_or_queue_command(command, &block)
|
822
749
|
end
|
823
750
|
|
824
751
|
# Deletes the image (specified by id) from the edit.
|
825
752
|
# @param [String] package_name
|
826
|
-
#
|
827
|
-
# spiffygame".
|
753
|
+
# Package name of the app.
|
828
754
|
# @param [String] edit_id
|
829
|
-
#
|
755
|
+
# Identifier of the edit.
|
830
756
|
# @param [String] language
|
831
|
-
#
|
832
|
-
#
|
833
|
-
# de-AT".
|
757
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
758
|
+
# for Austrian German).
|
834
759
|
# @param [String] image_type
|
760
|
+
# Type of the Image.
|
835
761
|
# @param [String] image_id
|
836
762
|
# Unique identifier an image within the set of images attached to this edit.
|
837
763
|
# @param [String] fields
|
838
764
|
# Selector specifying which fields to include in a partial response.
|
839
765
|
# @param [String] quota_user
|
840
|
-
#
|
841
|
-
# characters.
|
842
|
-
# @param [String] user_ip
|
843
|
-
# Deprecated. Please use quotaUser instead.
|
766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
844
768
|
# @param [Google::Apis::RequestOptions] options
|
845
769
|
# Request-specific options
|
846
770
|
#
|
@@ -853,8 +777,8 @@ module Google
|
|
853
777
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
854
778
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
855
779
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
856
|
-
def delete_edit_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil,
|
857
|
-
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
|
780
|
+
def delete_edit_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, options: nil, &block)
|
781
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
|
858
782
|
command.params['packageName'] = package_name unless package_name.nil?
|
859
783
|
command.params['editId'] = edit_id unless edit_id.nil?
|
860
784
|
command.params['language'] = language unless language.nil?
|
@@ -862,28 +786,27 @@ module Google
|
|
862
786
|
command.params['imageId'] = image_id unless image_id.nil?
|
863
787
|
command.query['fields'] = fields unless fields.nil?
|
864
788
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
865
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
866
789
|
execute_or_queue_command(command, &block)
|
867
790
|
end
|
868
791
|
|
869
792
|
# Deletes all images for the specified language and image type.
|
793
|
+
# Returns an empty response if no images are found.
|
870
794
|
# @param [String] package_name
|
871
|
-
#
|
872
|
-
# spiffygame".
|
795
|
+
# Package name of the app.
|
873
796
|
# @param [String] edit_id
|
874
|
-
#
|
797
|
+
# Identifier of the edit.
|
875
798
|
# @param [String] language
|
876
|
-
#
|
877
|
-
#
|
878
|
-
#
|
799
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
800
|
+
# for Austrian German).
|
801
|
+
# Providing a language that is not supported by the App is a no-op.
|
879
802
|
# @param [String] image_type
|
803
|
+
# Type of the Image.
|
804
|
+
# Providing an image type that refers to no images is a no-op.
|
880
805
|
# @param [String] fields
|
881
806
|
# Selector specifying which fields to include in a partial response.
|
882
807
|
# @param [String] quota_user
|
883
|
-
#
|
884
|
-
# characters.
|
885
|
-
# @param [String] user_ip
|
886
|
-
# Deprecated. Please use quotaUser instead.
|
808
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
809
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
887
810
|
# @param [Google::Apis::RequestOptions] options
|
888
811
|
# Request-specific options
|
889
812
|
#
|
@@ -896,8 +819,8 @@ module Google
|
|
896
819
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
897
820
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
898
821
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
899
|
-
def deleteall_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil,
|
900
|
-
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
822
|
+
def deleteall_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, options: nil, &block)
|
823
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
901
824
|
command.response_representation = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse::Representation
|
902
825
|
command.response_class = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse
|
903
826
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -906,28 +829,26 @@ module Google
|
|
906
829
|
command.params['imageType'] = image_type unless image_type.nil?
|
907
830
|
command.query['fields'] = fields unless fields.nil?
|
908
831
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
909
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
910
832
|
execute_or_queue_command(command, &block)
|
911
833
|
end
|
912
834
|
|
913
|
-
# Lists all images
|
835
|
+
# Lists all images. The response may be empty.
|
914
836
|
# @param [String] package_name
|
915
|
-
#
|
916
|
-
# spiffygame".
|
837
|
+
# Package name of the app.
|
917
838
|
# @param [String] edit_id
|
918
|
-
#
|
839
|
+
# Identifier of the edit.
|
919
840
|
# @param [String] language
|
920
|
-
#
|
921
|
-
#
|
922
|
-
#
|
841
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
842
|
+
# for Austrian German).
|
843
|
+
# There must be a store listing for the specified language.
|
923
844
|
# @param [String] image_type
|
845
|
+
# Type of the Image. Providing an image type that refers to no images will
|
846
|
+
# return an empty response.
|
924
847
|
# @param [String] fields
|
925
848
|
# Selector specifying which fields to include in a partial response.
|
926
849
|
# @param [String] quota_user
|
927
|
-
#
|
928
|
-
# characters.
|
929
|
-
# @param [String] user_ip
|
930
|
-
# Deprecated. Please use quotaUser instead.
|
850
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
851
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
931
852
|
# @param [Google::Apis::RequestOptions] options
|
932
853
|
# Request-specific options
|
933
854
|
#
|
@@ -940,8 +861,8 @@ module Google
|
|
940
861
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
941
862
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
942
863
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
943
|
-
def list_edit_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil,
|
944
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
864
|
+
def list_edit_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, options: nil, &block)
|
865
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
945
866
|
command.response_representation = Google::Apis::AndroidpublisherV3::ImagesListResponse::Representation
|
946
867
|
command.response_class = Google::Apis::AndroidpublisherV3::ImagesListResponse
|
947
868
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -950,29 +871,26 @@ module Google
|
|
950
871
|
command.params['imageType'] = image_type unless image_type.nil?
|
951
872
|
command.query['fields'] = fields unless fields.nil?
|
952
873
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
953
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
954
874
|
execute_or_queue_command(command, &block)
|
955
875
|
end
|
956
876
|
|
957
|
-
# Uploads
|
958
|
-
#
|
877
|
+
# Uploads an image of the specified language and image type, and adds to the
|
878
|
+
# edit.
|
959
879
|
# @param [String] package_name
|
960
|
-
#
|
961
|
-
# spiffygame".
|
880
|
+
# Package name of the app.
|
962
881
|
# @param [String] edit_id
|
963
|
-
#
|
882
|
+
# Identifier of the edit.
|
964
883
|
# @param [String] language
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
884
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
885
|
+
# for Austrian German).
|
886
|
+
# Providing a language that is not supported by the App is a no-op.
|
968
887
|
# @param [String] image_type
|
888
|
+
# Type of the Image.
|
969
889
|
# @param [String] fields
|
970
890
|
# Selector specifying which fields to include in a partial response.
|
971
891
|
# @param [String] quota_user
|
972
|
-
#
|
973
|
-
# characters.
|
974
|
-
# @param [String] user_ip
|
975
|
-
# Deprecated. Please use quotaUser instead.
|
892
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
893
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
976
894
|
# @param [IO, String] upload_source
|
977
895
|
# IO stream or filename containing content to upload
|
978
896
|
# @param [String] content_type
|
@@ -989,11 +907,11 @@ module Google
|
|
989
907
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
990
908
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
991
909
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
992
|
-
def upload_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil,
|
910
|
+
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)
|
993
911
|
if upload_source.nil?
|
994
|
-
command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
912
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
995
913
|
else
|
996
|
-
command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
914
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
|
997
915
|
command.upload_source = upload_source
|
998
916
|
command.upload_content_type = content_type
|
999
917
|
end
|
@@ -1005,26 +923,22 @@ module Google
|
|
1005
923
|
command.params['imageType'] = image_type unless image_type.nil?
|
1006
924
|
command.query['fields'] = fields unless fields.nil?
|
1007
925
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1008
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1009
926
|
execute_or_queue_command(command, &block)
|
1010
927
|
end
|
1011
928
|
|
1012
|
-
# Deletes
|
929
|
+
# Deletes a localized store listing.
|
1013
930
|
# @param [String] package_name
|
1014
|
-
#
|
1015
|
-
# spiffygame".
|
931
|
+
# Package name of the app.
|
1016
932
|
# @param [String] edit_id
|
1017
|
-
#
|
933
|
+
# Identifier of the edit.
|
1018
934
|
# @param [String] language
|
1019
|
-
#
|
1020
|
-
#
|
935
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
936
|
+
# for Austrian German).
|
1021
937
|
# @param [String] fields
|
1022
938
|
# Selector specifying which fields to include in a partial response.
|
1023
939
|
# @param [String] quota_user
|
1024
|
-
#
|
1025
|
-
# characters.
|
1026
|
-
# @param [String] user_ip
|
1027
|
-
# Deprecated. Please use quotaUser instead.
|
940
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
941
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1028
942
|
# @param [Google::Apis::RequestOptions] options
|
1029
943
|
# Request-specific options
|
1030
944
|
#
|
@@ -1037,30 +951,26 @@ module Google
|
|
1037
951
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1038
952
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1039
953
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1040
|
-
def delete_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil,
|
1041
|
-
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
|
954
|
+
def delete_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, options: nil, &block)
|
955
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options)
|
1042
956
|
command.params['packageName'] = package_name unless package_name.nil?
|
1043
957
|
command.params['editId'] = edit_id unless edit_id.nil?
|
1044
958
|
command.params['language'] = language unless language.nil?
|
1045
959
|
command.query['fields'] = fields unless fields.nil?
|
1046
960
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1047
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1048
961
|
execute_or_queue_command(command, &block)
|
1049
962
|
end
|
1050
963
|
|
1051
|
-
# Deletes all
|
964
|
+
# Deletes all store listings.
|
1052
965
|
# @param [String] package_name
|
1053
|
-
#
|
1054
|
-
# spiffygame".
|
966
|
+
# Package name of the app.
|
1055
967
|
# @param [String] edit_id
|
1056
|
-
#
|
968
|
+
# Identifier of the edit.
|
1057
969
|
# @param [String] fields
|
1058
970
|
# Selector specifying which fields to include in a partial response.
|
1059
971
|
# @param [String] quota_user
|
1060
|
-
#
|
1061
|
-
# characters.
|
1062
|
-
# @param [String] user_ip
|
1063
|
-
# Deprecated. Please use quotaUser instead.
|
972
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
973
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1064
974
|
# @param [Google::Apis::RequestOptions] options
|
1065
975
|
# Request-specific options
|
1066
976
|
#
|
@@ -1073,32 +983,28 @@ module Google
|
|
1073
983
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1074
984
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1075
985
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1076
|
-
def deleteall_edit_listing(package_name, edit_id, fields: nil, quota_user: nil,
|
1077
|
-
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
|
986
|
+
def deleteall_edit_listing(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
987
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings', options)
|
1078
988
|
command.params['packageName'] = package_name unless package_name.nil?
|
1079
989
|
command.params['editId'] = edit_id unless edit_id.nil?
|
1080
990
|
command.query['fields'] = fields unless fields.nil?
|
1081
991
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1082
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1083
992
|
execute_or_queue_command(command, &block)
|
1084
993
|
end
|
1085
994
|
|
1086
|
-
#
|
995
|
+
# Gets a localized store listing.
|
1087
996
|
# @param [String] package_name
|
1088
|
-
#
|
1089
|
-
# spiffygame".
|
997
|
+
# Package name of the app.
|
1090
998
|
# @param [String] edit_id
|
1091
|
-
#
|
999
|
+
# Identifier of the edit.
|
1092
1000
|
# @param [String] language
|
1093
|
-
#
|
1094
|
-
#
|
1001
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
1002
|
+
# for Austrian German).
|
1095
1003
|
# @param [String] fields
|
1096
1004
|
# Selector specifying which fields to include in a partial response.
|
1097
1005
|
# @param [String] quota_user
|
1098
|
-
#
|
1099
|
-
# characters.
|
1100
|
-
# @param [String] user_ip
|
1101
|
-
# Deprecated. Please use quotaUser instead.
|
1006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1102
1008
|
# @param [Google::Apis::RequestOptions] options
|
1103
1009
|
# Request-specific options
|
1104
1010
|
#
|
@@ -1111,8 +1017,8 @@ module Google
|
|
1111
1017
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1112
1018
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1113
1019
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1114
|
-
def get_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil,
|
1115
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
|
1020
|
+
def get_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, options: nil, &block)
|
1021
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options)
|
1116
1022
|
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
|
1117
1023
|
command.response_class = Google::Apis::AndroidpublisherV3::Listing
|
1118
1024
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1120,23 +1026,19 @@ module Google
|
|
1120
1026
|
command.params['language'] = language unless language.nil?
|
1121
1027
|
command.query['fields'] = fields unless fields.nil?
|
1122
1028
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1123
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1124
1029
|
execute_or_queue_command(command, &block)
|
1125
1030
|
end
|
1126
1031
|
|
1127
|
-
#
|
1032
|
+
# Lists all localized store listings.
|
1128
1033
|
# @param [String] package_name
|
1129
|
-
#
|
1130
|
-
# spiffygame".
|
1034
|
+
# Package name of the app.
|
1131
1035
|
# @param [String] edit_id
|
1132
|
-
#
|
1036
|
+
# Identifier of the edit.
|
1133
1037
|
# @param [String] fields
|
1134
1038
|
# Selector specifying which fields to include in a partial response.
|
1135
1039
|
# @param [String] quota_user
|
1136
|
-
#
|
1137
|
-
# characters.
|
1138
|
-
# @param [String] user_ip
|
1139
|
-
# Deprecated. Please use quotaUser instead.
|
1040
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1041
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1140
1042
|
# @param [Google::Apis::RequestOptions] options
|
1141
1043
|
# Request-specific options
|
1142
1044
|
#
|
@@ -1149,36 +1051,31 @@ module Google
|
|
1149
1051
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1150
1052
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1151
1053
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1152
|
-
def list_edit_listings(package_name, edit_id, fields: nil, quota_user: nil,
|
1153
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
|
1054
|
+
def list_edit_listings(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
1055
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings', options)
|
1154
1056
|
command.response_representation = Google::Apis::AndroidpublisherV3::ListingsListResponse::Representation
|
1155
1057
|
command.response_class = Google::Apis::AndroidpublisherV3::ListingsListResponse
|
1156
1058
|
command.params['packageName'] = package_name unless package_name.nil?
|
1157
1059
|
command.params['editId'] = edit_id unless edit_id.nil?
|
1158
1060
|
command.query['fields'] = fields unless fields.nil?
|
1159
1061
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1160
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1161
1062
|
execute_or_queue_command(command, &block)
|
1162
1063
|
end
|
1163
1064
|
|
1164
|
-
#
|
1165
|
-
# semantics.
|
1065
|
+
# Patches a localized store listing.
|
1166
1066
|
# @param [String] package_name
|
1167
|
-
#
|
1168
|
-
# spiffygame".
|
1067
|
+
# Package name of the app.
|
1169
1068
|
# @param [String] edit_id
|
1170
|
-
#
|
1069
|
+
# Identifier of the edit.
|
1171
1070
|
# @param [String] language
|
1172
|
-
#
|
1173
|
-
#
|
1071
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
1072
|
+
# for Austrian German).
|
1174
1073
|
# @param [Google::Apis::AndroidpublisherV3::Listing] listing_object
|
1175
1074
|
# @param [String] fields
|
1176
1075
|
# Selector specifying which fields to include in a partial response.
|
1177
1076
|
# @param [String] quota_user
|
1178
|
-
#
|
1179
|
-
# characters.
|
1180
|
-
# @param [String] user_ip
|
1181
|
-
# Deprecated. Please use quotaUser instead.
|
1077
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1078
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1182
1079
|
# @param [Google::Apis::RequestOptions] options
|
1183
1080
|
# Request-specific options
|
1184
1081
|
#
|
@@ -1191,8 +1088,8 @@ module Google
|
|
1191
1088
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1192
1089
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1193
1090
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1194
|
-
def patch_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil,
|
1195
|
-
command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
|
1091
|
+
def patch_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1092
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options)
|
1196
1093
|
command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
|
1197
1094
|
command.request_object = listing_object
|
1198
1095
|
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
|
@@ -1202,27 +1099,23 @@ module Google
|
|
1202
1099
|
command.params['language'] = language unless language.nil?
|
1203
1100
|
command.query['fields'] = fields unless fields.nil?
|
1204
1101
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1205
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1206
1102
|
execute_or_queue_command(command, &block)
|
1207
1103
|
end
|
1208
1104
|
|
1209
1105
|
# Creates or updates a localized store listing.
|
1210
1106
|
# @param [String] package_name
|
1211
|
-
#
|
1212
|
-
# spiffygame".
|
1107
|
+
# Package name of the app.
|
1213
1108
|
# @param [String] edit_id
|
1214
|
-
#
|
1109
|
+
# Identifier of the edit.
|
1215
1110
|
# @param [String] language
|
1216
|
-
#
|
1217
|
-
#
|
1111
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
1112
|
+
# for Austrian German).
|
1218
1113
|
# @param [Google::Apis::AndroidpublisherV3::Listing] listing_object
|
1219
1114
|
# @param [String] fields
|
1220
1115
|
# Selector specifying which fields to include in a partial response.
|
1221
1116
|
# @param [String] quota_user
|
1222
|
-
#
|
1223
|
-
# characters.
|
1224
|
-
# @param [String] user_ip
|
1225
|
-
# Deprecated. Please use quotaUser instead.
|
1117
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1118
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1226
1119
|
# @param [Google::Apis::RequestOptions] options
|
1227
1120
|
# Request-specific options
|
1228
1121
|
#
|
@@ -1235,8 +1128,8 @@ module Google
|
|
1235
1128
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1236
1129
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1237
1130
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1238
|
-
def update_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil,
|
1239
|
-
command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
|
1131
|
+
def update_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1132
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}', options)
|
1240
1133
|
command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
|
1241
1134
|
command.request_object = listing_object
|
1242
1135
|
command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
|
@@ -1246,25 +1139,21 @@ module Google
|
|
1246
1139
|
command.params['language'] = language unless language.nil?
|
1247
1140
|
command.query['fields'] = fields unless fields.nil?
|
1248
1141
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1249
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1250
1142
|
execute_or_queue_command(command, &block)
|
1251
1143
|
end
|
1252
1144
|
|
1253
|
-
#
|
1145
|
+
# Gets testers.
|
1254
1146
|
# @param [String] package_name
|
1255
|
-
#
|
1256
|
-
# spiffygame".
|
1147
|
+
# Package name of the app.
|
1257
1148
|
# @param [String] edit_id
|
1258
|
-
#
|
1149
|
+
# Identifier of the edit.
|
1259
1150
|
# @param [String] track
|
1260
|
-
# The track to read
|
1151
|
+
# The track to read from.
|
1261
1152
|
# @param [String] fields
|
1262
1153
|
# Selector specifying which fields to include in a partial response.
|
1263
1154
|
# @param [String] quota_user
|
1264
|
-
#
|
1265
|
-
# characters.
|
1266
|
-
# @param [String] user_ip
|
1267
|
-
# Deprecated. Please use quotaUser instead.
|
1155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1268
1157
|
# @param [Google::Apis::RequestOptions] options
|
1269
1158
|
# Request-specific options
|
1270
1159
|
#
|
@@ -1277,8 +1166,8 @@ module Google
|
|
1277
1166
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1278
1167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1279
1168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1280
|
-
def get_edit_tester(package_name, edit_id, track, fields: nil, quota_user: nil,
|
1281
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
|
1169
|
+
def get_edit_tester(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block)
|
1170
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options)
|
1282
1171
|
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
|
1283
1172
|
command.response_class = Google::Apis::AndroidpublisherV3::Testers
|
1284
1173
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1286,26 +1175,22 @@ module Google
|
|
1286
1175
|
command.params['track'] = track unless track.nil?
|
1287
1176
|
command.query['fields'] = fields unless fields.nil?
|
1288
1177
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1289
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1290
1178
|
execute_or_queue_command(command, &block)
|
1291
1179
|
end
|
1292
1180
|
|
1293
|
-
#
|
1181
|
+
# Patches testers.
|
1294
1182
|
# @param [String] package_name
|
1295
|
-
#
|
1296
|
-
# spiffygame".
|
1183
|
+
# Package name of the app.
|
1297
1184
|
# @param [String] edit_id
|
1298
|
-
#
|
1185
|
+
# Identifier of the edit.
|
1299
1186
|
# @param [String] track
|
1300
|
-
# The track to
|
1187
|
+
# The track to update.
|
1301
1188
|
# @param [Google::Apis::AndroidpublisherV3::Testers] testers_object
|
1302
1189
|
# @param [String] fields
|
1303
1190
|
# Selector specifying which fields to include in a partial response.
|
1304
1191
|
# @param [String] quota_user
|
1305
|
-
#
|
1306
|
-
# characters.
|
1307
|
-
# @param [String] user_ip
|
1308
|
-
# Deprecated. Please use quotaUser instead.
|
1192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1309
1194
|
# @param [Google::Apis::RequestOptions] options
|
1310
1195
|
# Request-specific options
|
1311
1196
|
#
|
@@ -1318,8 +1203,8 @@ module Google
|
|
1318
1203
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1319
1204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1320
1205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1321
|
-
def patch_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil,
|
1322
|
-
command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
|
1206
|
+
def patch_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1207
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options)
|
1323
1208
|
command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
|
1324
1209
|
command.request_object = testers_object
|
1325
1210
|
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
|
@@ -1329,26 +1214,22 @@ module Google
|
|
1329
1214
|
command.params['track'] = track unless track.nil?
|
1330
1215
|
command.query['fields'] = fields unless fields.nil?
|
1331
1216
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1332
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1333
1217
|
execute_or_queue_command(command, &block)
|
1334
1218
|
end
|
1335
1219
|
|
1336
|
-
#
|
1220
|
+
# Updates testers.
|
1337
1221
|
# @param [String] package_name
|
1338
|
-
#
|
1339
|
-
# spiffygame".
|
1222
|
+
# Package name of the app.
|
1340
1223
|
# @param [String] edit_id
|
1341
|
-
#
|
1224
|
+
# Identifier of the edit.
|
1342
1225
|
# @param [String] track
|
1343
|
-
# The track to
|
1226
|
+
# The track to update.
|
1344
1227
|
# @param [Google::Apis::AndroidpublisherV3::Testers] testers_object
|
1345
1228
|
# @param [String] fields
|
1346
1229
|
# Selector specifying which fields to include in a partial response.
|
1347
1230
|
# @param [String] quota_user
|
1348
|
-
#
|
1349
|
-
# characters.
|
1350
|
-
# @param [String] user_ip
|
1351
|
-
# Deprecated. Please use quotaUser instead.
|
1231
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1232
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1352
1233
|
# @param [Google::Apis::RequestOptions] options
|
1353
1234
|
# Request-specific options
|
1354
1235
|
#
|
@@ -1361,8 +1242,8 @@ module Google
|
|
1361
1242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1362
1243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1363
1244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1364
|
-
def update_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil,
|
1365
|
-
command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
|
1245
|
+
def update_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1246
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}', options)
|
1366
1247
|
command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
|
1367
1248
|
command.request_object = testers_object
|
1368
1249
|
command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
|
@@ -1372,26 +1253,21 @@ module Google
|
|
1372
1253
|
command.params['track'] = track unless track.nil?
|
1373
1254
|
command.query['fields'] = fields unless fields.nil?
|
1374
1255
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1375
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1376
1256
|
execute_or_queue_command(command, &block)
|
1377
1257
|
end
|
1378
1258
|
|
1379
|
-
#
|
1380
|
-
# version codes that are in this track.
|
1259
|
+
# Gets a track.
|
1381
1260
|
# @param [String] package_name
|
1382
|
-
#
|
1383
|
-
# spiffygame".
|
1261
|
+
# Package name of the app.
|
1384
1262
|
# @param [String] edit_id
|
1385
|
-
#
|
1263
|
+
# Identifier of the edit.
|
1386
1264
|
# @param [String] track
|
1387
|
-
#
|
1265
|
+
# Identifier of the track.
|
1388
1266
|
# @param [String] fields
|
1389
1267
|
# Selector specifying which fields to include in a partial response.
|
1390
1268
|
# @param [String] quota_user
|
1391
|
-
#
|
1392
|
-
# characters.
|
1393
|
-
# @param [String] user_ip
|
1394
|
-
# Deprecated. Please use quotaUser instead.
|
1269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1395
1271
|
# @param [Google::Apis::RequestOptions] options
|
1396
1272
|
# Request-specific options
|
1397
1273
|
#
|
@@ -1404,8 +1280,8 @@ module Google
|
|
1404
1280
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1405
1281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1406
1282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1407
|
-
def get_edit_track(package_name, edit_id, track, fields: nil, quota_user: nil,
|
1408
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
|
1283
|
+
def get_edit_track(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block)
|
1284
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options)
|
1409
1285
|
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
|
1410
1286
|
command.response_class = Google::Apis::AndroidpublisherV3::Track
|
1411
1287
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1413,23 +1289,19 @@ module Google
|
|
1413
1289
|
command.params['track'] = track unless track.nil?
|
1414
1290
|
command.query['fields'] = fields unless fields.nil?
|
1415
1291
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1416
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1417
1292
|
execute_or_queue_command(command, &block)
|
1418
1293
|
end
|
1419
1294
|
|
1420
|
-
# Lists all
|
1295
|
+
# Lists all tracks.
|
1421
1296
|
# @param [String] package_name
|
1422
|
-
#
|
1423
|
-
# spiffygame".
|
1297
|
+
# Package name of the app.
|
1424
1298
|
# @param [String] edit_id
|
1425
|
-
#
|
1299
|
+
# Identifier of the edit.
|
1426
1300
|
# @param [String] fields
|
1427
1301
|
# Selector specifying which fields to include in a partial response.
|
1428
1302
|
# @param [String] quota_user
|
1429
|
-
#
|
1430
|
-
# characters.
|
1431
|
-
# @param [String] user_ip
|
1432
|
-
# Deprecated. Please use quotaUser instead.
|
1303
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1304
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1433
1305
|
# @param [Google::Apis::RequestOptions] options
|
1434
1306
|
# Request-specific options
|
1435
1307
|
#
|
@@ -1442,35 +1314,30 @@ module Google
|
|
1442
1314
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1443
1315
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1444
1316
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1445
|
-
def list_edit_tracks(package_name, edit_id, fields: nil, quota_user: nil,
|
1446
|
-
command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
|
1317
|
+
def list_edit_tracks(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
1318
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks', options)
|
1447
1319
|
command.response_representation = Google::Apis::AndroidpublisherV3::TracksListResponse::Representation
|
1448
1320
|
command.response_class = Google::Apis::AndroidpublisherV3::TracksListResponse
|
1449
1321
|
command.params['packageName'] = package_name unless package_name.nil?
|
1450
1322
|
command.params['editId'] = edit_id unless edit_id.nil?
|
1451
1323
|
command.query['fields'] = fields unless fields.nil?
|
1452
1324
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1453
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1454
1325
|
execute_or_queue_command(command, &block)
|
1455
1326
|
end
|
1456
1327
|
|
1457
|
-
#
|
1458
|
-
# supports patch semantics.
|
1328
|
+
# Patches a track.
|
1459
1329
|
# @param [String] package_name
|
1460
|
-
#
|
1461
|
-
# spiffygame".
|
1330
|
+
# Package name of the app.
|
1462
1331
|
# @param [String] edit_id
|
1463
|
-
#
|
1332
|
+
# Identifier of the edit.
|
1464
1333
|
# @param [String] track
|
1465
|
-
#
|
1334
|
+
# Identifier of the track.
|
1466
1335
|
# @param [Google::Apis::AndroidpublisherV3::Track] track_object
|
1467
1336
|
# @param [String] fields
|
1468
1337
|
# Selector specifying which fields to include in a partial response.
|
1469
1338
|
# @param [String] quota_user
|
1470
|
-
#
|
1471
|
-
# characters.
|
1472
|
-
# @param [String] user_ip
|
1473
|
-
# Deprecated. Please use quotaUser instead.
|
1339
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1340
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1474
1341
|
# @param [Google::Apis::RequestOptions] options
|
1475
1342
|
# Request-specific options
|
1476
1343
|
#
|
@@ -1483,8 +1350,8 @@ module Google
|
|
1483
1350
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1484
1351
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1485
1352
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1486
|
-
def patch_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil,
|
1487
|
-
command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
|
1353
|
+
def patch_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1354
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options)
|
1488
1355
|
command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
|
1489
1356
|
command.request_object = track_object
|
1490
1357
|
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
|
@@ -1494,26 +1361,22 @@ module Google
|
|
1494
1361
|
command.params['track'] = track unless track.nil?
|
1495
1362
|
command.query['fields'] = fields unless fields.nil?
|
1496
1363
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1497
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1498
1364
|
execute_or_queue_command(command, &block)
|
1499
1365
|
end
|
1500
1366
|
|
1501
|
-
# Updates
|
1367
|
+
# Updates a track.
|
1502
1368
|
# @param [String] package_name
|
1503
|
-
#
|
1504
|
-
# spiffygame".
|
1369
|
+
# Package name of the app.
|
1505
1370
|
# @param [String] edit_id
|
1506
|
-
#
|
1371
|
+
# Identifier of the edit.
|
1507
1372
|
# @param [String] track
|
1508
|
-
#
|
1373
|
+
# Identifier of the track.
|
1509
1374
|
# @param [Google::Apis::AndroidpublisherV3::Track] track_object
|
1510
1375
|
# @param [String] fields
|
1511
1376
|
# Selector specifying which fields to include in a partial response.
|
1512
1377
|
# @param [String] quota_user
|
1513
|
-
#
|
1514
|
-
# characters.
|
1515
|
-
# @param [String] user_ip
|
1516
|
-
# Deprecated. Please use quotaUser instead.
|
1378
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1379
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1517
1380
|
# @param [Google::Apis::RequestOptions] options
|
1518
1381
|
# Request-specific options
|
1519
1382
|
#
|
@@ -1526,8 +1389,8 @@ module Google
|
|
1526
1389
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1527
1390
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1528
1391
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1529
|
-
def update_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil,
|
1530
|
-
command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
|
1392
|
+
def update_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1393
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}', options)
|
1531
1394
|
command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
|
1532
1395
|
command.request_object = track_object
|
1533
1396
|
command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
|
@@ -1537,23 +1400,19 @@ module Google
|
|
1537
1400
|
command.params['track'] = track unless track.nil?
|
1538
1401
|
command.query['fields'] = fields unless fields.nil?
|
1539
1402
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1540
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1541
1403
|
execute_or_queue_command(command, &block)
|
1542
1404
|
end
|
1543
1405
|
|
1544
|
-
#
|
1406
|
+
# Deletes an in-app product (i.e. a managed product or a subscriptions).
|
1545
1407
|
# @param [String] package_name
|
1546
|
-
#
|
1547
|
-
# com.spiffygame".
|
1408
|
+
# Package name of the app.
|
1548
1409
|
# @param [String] sku
|
1549
1410
|
# Unique identifier for the in-app product.
|
1550
1411
|
# @param [String] fields
|
1551
1412
|
# Selector specifying which fields to include in a partial response.
|
1552
1413
|
# @param [String] quota_user
|
1553
|
-
#
|
1554
|
-
# characters.
|
1555
|
-
# @param [String] user_ip
|
1556
|
-
# Deprecated. Please use quotaUser instead.
|
1414
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1415
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1557
1416
|
# @param [Google::Apis::RequestOptions] options
|
1558
1417
|
# Request-specific options
|
1559
1418
|
#
|
@@ -1566,27 +1425,25 @@ module Google
|
|
1566
1425
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1567
1426
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1568
1427
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1569
|
-
def delete_inappproduct(package_name, sku, fields: nil, quota_user: nil,
|
1570
|
-
command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
|
1428
|
+
def delete_inappproduct(package_name, sku, fields: nil, quota_user: nil, options: nil, &block)
|
1429
|
+
command = make_simple_command(:delete, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
|
1571
1430
|
command.params['packageName'] = package_name unless package_name.nil?
|
1572
1431
|
command.params['sku'] = sku unless sku.nil?
|
1573
1432
|
command.query['fields'] = fields unless fields.nil?
|
1574
1433
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1575
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1576
1434
|
execute_or_queue_command(command, &block)
|
1577
1435
|
end
|
1578
1436
|
|
1579
|
-
#
|
1437
|
+
# Gets an in-app product, which can be a managed product or a subscription.
|
1580
1438
|
# @param [String] package_name
|
1439
|
+
# Package name of the app.
|
1581
1440
|
# @param [String] sku
|
1582
1441
|
# Unique identifier for the in-app product.
|
1583
1442
|
# @param [String] fields
|
1584
1443
|
# Selector specifying which fields to include in a partial response.
|
1585
1444
|
# @param [String] quota_user
|
1586
|
-
#
|
1587
|
-
# characters.
|
1588
|
-
# @param [String] user_ip
|
1589
|
-
# Deprecated. Please use quotaUser instead.
|
1445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1590
1447
|
# @param [Google::Apis::RequestOptions] options
|
1591
1448
|
# Request-specific options
|
1592
1449
|
#
|
@@ -1599,33 +1456,30 @@ module Google
|
|
1599
1456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1600
1457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1601
1458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1602
|
-
def get_inappproduct(package_name, sku, fields: nil, quota_user: nil,
|
1603
|
-
command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
|
1459
|
+
def get_inappproduct(package_name, sku, fields: nil, quota_user: nil, options: nil, &block)
|
1460
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
|
1604
1461
|
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
1605
1462
|
command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct
|
1606
1463
|
command.params['packageName'] = package_name unless package_name.nil?
|
1607
1464
|
command.params['sku'] = sku unless sku.nil?
|
1608
1465
|
command.query['fields'] = fields unless fields.nil?
|
1609
1466
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1610
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1611
1467
|
execute_or_queue_command(command, &block)
|
1612
1468
|
end
|
1613
1469
|
|
1614
|
-
# Creates
|
1470
|
+
# Creates an in-app product (i.e. a managed product or a subscriptions).
|
1615
1471
|
# @param [String] package_name
|
1616
|
-
#
|
1472
|
+
# Package name of the app.
|
1617
1473
|
# @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
|
1618
1474
|
# @param [Boolean] auto_convert_missing_prices
|
1619
|
-
# If true the prices for all regions targeted by the parent app that don't
|
1620
|
-
# a price specified for this in-app product will be auto converted to
|
1621
|
-
# currency based on the default price. Defaults to false.
|
1475
|
+
# If true the prices for all regions targeted by the parent app that don't
|
1476
|
+
# have a price specified for this in-app product will be auto converted to
|
1477
|
+
# the target currency based on the default price. Defaults to false.
|
1622
1478
|
# @param [String] fields
|
1623
1479
|
# Selector specifying which fields to include in a partial response.
|
1624
1480
|
# @param [String] quota_user
|
1625
|
-
#
|
1626
|
-
# characters.
|
1627
|
-
# @param [String] user_ip
|
1628
|
-
# Deprecated. Please use quotaUser instead.
|
1481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1629
1483
|
# @param [Google::Apis::RequestOptions] options
|
1630
1484
|
# Request-specific options
|
1631
1485
|
#
|
@@ -1638,8 +1492,8 @@ module Google
|
|
1638
1492
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1639
1493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1640
1494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1641
|
-
def insert_inappproduct(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil,
|
1642
|
-
command = make_simple_command(:post, '{packageName}/inappproducts', options)
|
1495
|
+
def insert_inappproduct(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1496
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/inappproducts', options)
|
1643
1497
|
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
1644
1498
|
command.request_object = in_app_product_object
|
1645
1499
|
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
@@ -1648,25 +1502,23 @@ module Google
|
|
1648
1502
|
command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
|
1649
1503
|
command.query['fields'] = fields unless fields.nil?
|
1650
1504
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1651
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1652
1505
|
execute_or_queue_command(command, &block)
|
1653
1506
|
end
|
1654
1507
|
|
1655
|
-
#
|
1656
|
-
# managed in-app products..
|
1508
|
+
# Lists all in-app products - both managed products and subscriptions.
|
1657
1509
|
# @param [String] package_name
|
1658
|
-
#
|
1659
|
-
# spiffygame".
|
1510
|
+
# Package name of the app.
|
1660
1511
|
# @param [Fixnum] max_results
|
1512
|
+
# How many results the list operation should return.
|
1661
1513
|
# @param [Fixnum] start_index
|
1514
|
+
# The index of the first element to return.
|
1662
1515
|
# @param [String] token
|
1516
|
+
# Pagination token. If empty, list starts at the first product.
|
1663
1517
|
# @param [String] fields
|
1664
1518
|
# Selector specifying which fields to include in a partial response.
|
1665
1519
|
# @param [String] quota_user
|
1666
|
-
#
|
1667
|
-
# characters.
|
1668
|
-
# @param [String] user_ip
|
1669
|
-
# Deprecated. Please use quotaUser instead.
|
1520
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1521
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1670
1522
|
# @param [Google::Apis::RequestOptions] options
|
1671
1523
|
# Request-specific options
|
1672
1524
|
#
|
@@ -1679,8 +1531,8 @@ module Google
|
|
1679
1531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1680
1532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1681
1533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1682
|
-
def list_inappproducts(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil,
|
1683
|
-
command = make_simple_command(:get, '{packageName}/inappproducts', options)
|
1534
|
+
def list_inappproducts(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1535
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/inappproducts', options)
|
1684
1536
|
command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsListResponse::Representation
|
1685
1537
|
command.response_class = Google::Apis::AndroidpublisherV3::InappproductsListResponse
|
1686
1538
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1689,28 +1541,24 @@ module Google
|
|
1689
1541
|
command.query['token'] = token unless token.nil?
|
1690
1542
|
command.query['fields'] = fields unless fields.nil?
|
1691
1543
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1692
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1693
1544
|
execute_or_queue_command(command, &block)
|
1694
1545
|
end
|
1695
1546
|
|
1696
|
-
#
|
1547
|
+
# Patches an in-app product (i.e. a managed product or a subscriptions).
|
1697
1548
|
# @param [String] package_name
|
1698
|
-
#
|
1699
|
-
# com.spiffygame".
|
1549
|
+
# Package name of the app.
|
1700
1550
|
# @param [String] sku
|
1701
1551
|
# Unique identifier for the in-app product.
|
1702
1552
|
# @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
|
1703
1553
|
# @param [Boolean] auto_convert_missing_prices
|
1704
|
-
# If true the prices for all regions targeted by the parent app that don't
|
1705
|
-
# a price specified for this in-app product will be auto converted to
|
1706
|
-
# currency based on the default price. Defaults to false.
|
1554
|
+
# If true the prices for all regions targeted by the parent app that don't
|
1555
|
+
# have a price specified for this in-app product will be auto converted to
|
1556
|
+
# the target currency based on the default price. Defaults to false.
|
1707
1557
|
# @param [String] fields
|
1708
1558
|
# Selector specifying which fields to include in a partial response.
|
1709
1559
|
# @param [String] quota_user
|
1710
|
-
#
|
1711
|
-
# characters.
|
1712
|
-
# @param [String] user_ip
|
1713
|
-
# Deprecated. Please use quotaUser instead.
|
1560
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1561
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1714
1562
|
# @param [Google::Apis::RequestOptions] options
|
1715
1563
|
# Request-specific options
|
1716
1564
|
#
|
@@ -1723,8 +1571,8 @@ module Google
|
|
1723
1571
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1724
1572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1725
1573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1726
|
-
def patch_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil,
|
1727
|
-
command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
|
1574
|
+
def patch_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1575
|
+
command = make_simple_command(:patch, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
|
1728
1576
|
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
1729
1577
|
command.request_object = in_app_product_object
|
1730
1578
|
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
@@ -1734,28 +1582,24 @@ module Google
|
|
1734
1582
|
command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
|
1735
1583
|
command.query['fields'] = fields unless fields.nil?
|
1736
1584
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1737
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1738
1585
|
execute_or_queue_command(command, &block)
|
1739
1586
|
end
|
1740
1587
|
|
1741
|
-
# Updates
|
1588
|
+
# Updates an in-app product (i.e. a managed product or a subscriptions).
|
1742
1589
|
# @param [String] package_name
|
1743
|
-
#
|
1744
|
-
# com.spiffygame".
|
1590
|
+
# Package name of the app.
|
1745
1591
|
# @param [String] sku
|
1746
1592
|
# Unique identifier for the in-app product.
|
1747
1593
|
# @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
|
1748
1594
|
# @param [Boolean] auto_convert_missing_prices
|
1749
|
-
# If true the prices for all regions targeted by the parent app that don't
|
1750
|
-
# a price specified for this in-app product will be auto converted to
|
1751
|
-
# currency based on the default price. Defaults to false.
|
1595
|
+
# If true the prices for all regions targeted by the parent app that don't
|
1596
|
+
# have a price specified for this in-app product will be auto converted to
|
1597
|
+
# the target currency based on the default price. Defaults to false.
|
1752
1598
|
# @param [String] fields
|
1753
1599
|
# Selector specifying which fields to include in a partial response.
|
1754
1600
|
# @param [String] quota_user
|
1755
|
-
#
|
1756
|
-
# characters.
|
1757
|
-
# @param [String] user_ip
|
1758
|
-
# Deprecated. Please use quotaUser instead.
|
1601
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1602
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1759
1603
|
# @param [Google::Apis::RequestOptions] options
|
1760
1604
|
# Request-specific options
|
1761
1605
|
#
|
@@ -1768,8 +1612,8 @@ module Google
|
|
1768
1612
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1769
1613
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1770
1614
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1771
|
-
def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil,
|
1772
|
-
command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
|
1615
|
+
def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1616
|
+
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
|
1773
1617
|
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
1774
1618
|
command.request_object = in_app_product_object
|
1775
1619
|
command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
@@ -1779,24 +1623,24 @@ module Google
|
|
1779
1623
|
command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
|
1780
1624
|
command.query['fields'] = fields unless fields.nil?
|
1781
1625
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1782
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1783
1626
|
execute_or_queue_command(command, &block)
|
1784
1627
|
end
|
1785
1628
|
|
1786
|
-
# Uploads an APK to internal app sharing.
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
#
|
1629
|
+
# Uploads an APK to internal app sharing.
|
1630
|
+
# If you are using the Google API client libraries, please increase the
|
1631
|
+
# timeout of the http request before calling this endpoint
|
1632
|
+
# (a timeout of 2 minutes is recommended).
|
1633
|
+
# See [Timeouts and
|
1634
|
+
# Errors](https://developers.google.com/api-client-library/java/google-api-java-
|
1635
|
+
# client/errors)
|
1636
|
+
# for an example in java.
|
1791
1637
|
# @param [String] package_name
|
1792
|
-
#
|
1638
|
+
# Package name of the app.
|
1793
1639
|
# @param [String] fields
|
1794
1640
|
# Selector specifying which fields to include in a partial response.
|
1795
1641
|
# @param [String] quota_user
|
1796
|
-
#
|
1797
|
-
# characters.
|
1798
|
-
# @param [String] user_ip
|
1799
|
-
# Deprecated. Please use quotaUser instead.
|
1642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1800
1644
|
# @param [IO, String] upload_source
|
1801
1645
|
# IO stream or filename containing content to upload
|
1802
1646
|
# @param [String] content_type
|
@@ -1813,11 +1657,11 @@ module Google
|
|
1813
1657
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1814
1658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1815
1659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1816
|
-
def uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil,
|
1660
|
+
def uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1817
1661
|
if upload_source.nil?
|
1818
|
-
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
|
1662
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk', options)
|
1819
1663
|
else
|
1820
|
-
command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
|
1664
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk', options)
|
1821
1665
|
command.upload_source = upload_source
|
1822
1666
|
command.upload_content_type = content_type
|
1823
1667
|
end
|
@@ -1826,24 +1670,24 @@ module Google
|
|
1826
1670
|
command.params['packageName'] = package_name unless package_name.nil?
|
1827
1671
|
command.query['fields'] = fields unless fields.nil?
|
1828
1672
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1829
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1830
1673
|
execute_or_queue_command(command, &block)
|
1831
1674
|
end
|
1832
1675
|
|
1833
|
-
# Uploads an app bundle to internal app sharing.
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1676
|
+
# Uploads an app bundle to internal app sharing.
|
1677
|
+
# If you are using the Google API client libraries, please increase the
|
1678
|
+
# timeout of the http request before calling this endpoint
|
1679
|
+
# (a timeout of 2 minutes is recommended).
|
1680
|
+
# See [Timeouts and
|
1681
|
+
# Errors](https://developers.google.com/api-client-library/java/google-api-java-
|
1682
|
+
# client/errors)
|
1837
1683
|
# for an example in java.
|
1838
1684
|
# @param [String] package_name
|
1839
|
-
#
|
1685
|
+
# Package name of the app.
|
1840
1686
|
# @param [String] fields
|
1841
1687
|
# Selector specifying which fields to include in a partial response.
|
1842
1688
|
# @param [String] quota_user
|
1843
|
-
#
|
1844
|
-
# characters.
|
1845
|
-
# @param [String] user_ip
|
1846
|
-
# Deprecated. Please use quotaUser instead.
|
1689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1847
1691
|
# @param [IO, String] upload_source
|
1848
1692
|
# IO stream or filename containing content to upload
|
1849
1693
|
# @param [String] content_type
|
@@ -1860,11 +1704,11 @@ module Google
|
|
1860
1704
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1861
1705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1862
1706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1863
|
-
def uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil,
|
1707
|
+
def uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
1864
1708
|
if upload_source.nil?
|
1865
|
-
command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
|
1709
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle', options)
|
1866
1710
|
else
|
1867
|
-
command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
|
1711
|
+
command = make_upload_command(:post, 'androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle', options)
|
1868
1712
|
command.upload_source = upload_source
|
1869
1713
|
command.upload_content_type = content_type
|
1870
1714
|
end
|
@@ -1873,29 +1717,26 @@ module Google
|
|
1873
1717
|
command.params['packageName'] = package_name unless package_name.nil?
|
1874
1718
|
command.query['fields'] = fields unless fields.nil?
|
1875
1719
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1876
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1877
1720
|
execute_or_queue_command(command, &block)
|
1878
1721
|
end
|
1879
1722
|
|
1880
1723
|
# Refund a user's subscription or in-app purchase order.
|
1881
1724
|
# @param [String] package_name
|
1882
|
-
# The package name of the application for which this subscription or in-app
|
1883
|
-
# was purchased (for example, 'com.some.thing').
|
1725
|
+
# The package name of the application for which this subscription or in-app
|
1726
|
+
# item was purchased (for example, 'com.some.thing').
|
1884
1727
|
# @param [String] order_id
|
1885
1728
|
# The order ID provided to the user when the subscription or in-app order was
|
1886
1729
|
# purchased.
|
1887
1730
|
# @param [Boolean] revoke
|
1888
1731
|
# Whether to revoke the purchased item. If set to true, access to the
|
1889
|
-
# subscription or in-app item will be terminated immediately. If the item is
|
1890
|
-
# recurring subscription, all future payments will also be terminated.
|
1891
|
-
# in-app items need to be handled by developer's app. (optional)
|
1732
|
+
# subscription or in-app item will be terminated immediately. If the item is
|
1733
|
+
# a recurring subscription, all future payments will also be terminated.
|
1734
|
+
# Consumed in-app items need to be handled by developer's app. (optional).
|
1892
1735
|
# @param [String] fields
|
1893
1736
|
# Selector specifying which fields to include in a partial response.
|
1894
1737
|
# @param [String] quota_user
|
1895
|
-
#
|
1896
|
-
# characters.
|
1897
|
-
# @param [String] user_ip
|
1898
|
-
# Deprecated. Please use quotaUser instead.
|
1738
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1739
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1899
1740
|
# @param [Google::Apis::RequestOptions] options
|
1900
1741
|
# Request-specific options
|
1901
1742
|
#
|
@@ -1908,33 +1749,31 @@ module Google
|
|
1908
1749
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1909
1750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1910
1751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1911
|
-
def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil,
|
1912
|
-
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
|
1752
|
+
def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1753
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund', options)
|
1913
1754
|
command.params['packageName'] = package_name unless package_name.nil?
|
1914
1755
|
command.params['orderId'] = order_id unless order_id.nil?
|
1915
1756
|
command.query['revoke'] = revoke unless revoke.nil?
|
1916
1757
|
command.query['fields'] = fields unless fields.nil?
|
1917
1758
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1918
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1919
1759
|
execute_or_queue_command(command, &block)
|
1920
1760
|
end
|
1921
1761
|
|
1922
1762
|
# Acknowledges a purchase of an inapp item.
|
1923
1763
|
# @param [String] package_name
|
1924
|
-
# The package name of the application the inapp product was sold in (for
|
1925
|
-
# 'com.some.thing').
|
1764
|
+
# The package name of the application the inapp product was sold in (for
|
1765
|
+
# example, 'com.some.thing').
|
1926
1766
|
# @param [String] product_id
|
1927
1767
|
# The inapp product SKU (for example, 'com.some.thing.inapp1').
|
1928
1768
|
# @param [String] token
|
1929
|
-
# The token provided to the user's device when the
|
1769
|
+
# The token provided to the user's device when the inapp product was
|
1770
|
+
# purchased.
|
1930
1771
|
# @param [Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest] product_purchases_acknowledge_request_object
|
1931
1772
|
# @param [String] fields
|
1932
1773
|
# Selector specifying which fields to include in a partial response.
|
1933
1774
|
# @param [String] quota_user
|
1934
|
-
#
|
1935
|
-
# characters.
|
1936
|
-
# @param [String] user_ip
|
1937
|
-
# Deprecated. Please use quotaUser instead.
|
1775
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1776
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1938
1777
|
# @param [Google::Apis::RequestOptions] options
|
1939
1778
|
# Request-specific options
|
1940
1779
|
#
|
@@ -1947,8 +1786,8 @@ module Google
|
|
1947
1786
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1948
1787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1949
1788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1950
|
-
def acknowledge_purchase_product(package_name, product_id, token, product_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil,
|
1951
|
-
command = make_simple_command(:post, '{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options)
|
1789
|
+
def acknowledge_purchase_product(package_name, product_id, token, product_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1790
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options)
|
1952
1791
|
command.request_representation = Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest::Representation
|
1953
1792
|
command.request_object = product_purchases_acknowledge_request_object
|
1954
1793
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1956,25 +1795,23 @@ module Google
|
|
1956
1795
|
command.params['token'] = token unless token.nil?
|
1957
1796
|
command.query['fields'] = fields unless fields.nil?
|
1958
1797
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1959
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1960
1798
|
execute_or_queue_command(command, &block)
|
1961
1799
|
end
|
1962
1800
|
|
1963
1801
|
# Checks the purchase and consumption status of an inapp item.
|
1964
1802
|
# @param [String] package_name
|
1965
|
-
# The package name of the application the inapp product was sold in (for
|
1966
|
-
# 'com.some.thing').
|
1803
|
+
# The package name of the application the inapp product was sold in (for
|
1804
|
+
# example, 'com.some.thing').
|
1967
1805
|
# @param [String] product_id
|
1968
1806
|
# The inapp product SKU (for example, 'com.some.thing.inapp1').
|
1969
1807
|
# @param [String] token
|
1970
|
-
# The token provided to the user's device when the inapp product was
|
1808
|
+
# The token provided to the user's device when the inapp product was
|
1809
|
+
# purchased.
|
1971
1810
|
# @param [String] fields
|
1972
1811
|
# Selector specifying which fields to include in a partial response.
|
1973
1812
|
# @param [String] quota_user
|
1974
|
-
#
|
1975
|
-
# characters.
|
1976
|
-
# @param [String] user_ip
|
1977
|
-
# Deprecated. Please use quotaUser instead.
|
1813
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1814
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1978
1815
|
# @param [Google::Apis::RequestOptions] options
|
1979
1816
|
# Request-specific options
|
1980
1817
|
#
|
@@ -1987,8 +1824,8 @@ module Google
|
|
1987
1824
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1988
1825
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1989
1826
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1990
|
-
def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil,
|
1991
|
-
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
|
1827
|
+
def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
1828
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}', options)
|
1992
1829
|
command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchase::Representation
|
1993
1830
|
command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchase
|
1994
1831
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -1996,26 +1833,24 @@ module Google
|
|
1996
1833
|
command.params['token'] = token unless token.nil?
|
1997
1834
|
command.query['fields'] = fields unless fields.nil?
|
1998
1835
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1999
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2000
1836
|
execute_or_queue_command(command, &block)
|
2001
1837
|
end
|
2002
1838
|
|
2003
1839
|
# Acknowledges a subscription purchase.
|
2004
1840
|
# @param [String] package_name
|
2005
|
-
# The package name of the application for which this subscription was
|
2006
|
-
# for example, 'com.some.thing').
|
1841
|
+
# The package name of the application for which this subscription was
|
1842
|
+
# purchased (for example, 'com.some.thing').
|
2007
1843
|
# @param [String] subscription_id
|
2008
1844
|
# The purchased subscription ID (for example, 'monthly001').
|
2009
1845
|
# @param [String] token
|
2010
|
-
# The token provided to the user's device when the subscription was
|
1846
|
+
# The token provided to the user's device when the subscription was
|
1847
|
+
# purchased.
|
2011
1848
|
# @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object
|
2012
1849
|
# @param [String] fields
|
2013
1850
|
# Selector specifying which fields to include in a partial response.
|
2014
1851
|
# @param [String] quota_user
|
2015
|
-
#
|
2016
|
-
# characters.
|
2017
|
-
# @param [String] user_ip
|
2018
|
-
# Deprecated. Please use quotaUser instead.
|
1852
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1853
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2019
1854
|
# @param [Google::Apis::RequestOptions] options
|
2020
1855
|
# Request-specific options
|
2021
1856
|
#
|
@@ -2028,8 +1863,8 @@ module Google
|
|
2028
1863
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2029
1864
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2030
1865
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2031
|
-
def acknowledge_purchase_subscription(package_name, subscription_id, token, subscription_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil,
|
2032
|
-
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options)
|
1866
|
+
def acknowledge_purchase_subscription(package_name, subscription_id, token, subscription_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1867
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options)
|
2033
1868
|
command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest::Representation
|
2034
1869
|
command.request_object = subscription_purchases_acknowledge_request_object
|
2035
1870
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -2037,26 +1872,24 @@ module Google
|
|
2037
1872
|
command.params['token'] = token unless token.nil?
|
2038
1873
|
command.query['fields'] = fields unless fields.nil?
|
2039
1874
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2040
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2041
1875
|
execute_or_queue_command(command, &block)
|
2042
1876
|
end
|
2043
1877
|
|
2044
|
-
# Cancels a user's subscription purchase. The subscription remains valid
|
2045
|
-
# its expiration time.
|
1878
|
+
# Cancels a user's subscription purchase. The subscription remains valid
|
1879
|
+
# until its expiration time.
|
2046
1880
|
# @param [String] package_name
|
2047
|
-
# The package name of the application for which this subscription was
|
2048
|
-
# for example, 'com.some.thing').
|
1881
|
+
# The package name of the application for which this subscription was
|
1882
|
+
# purchased (for example, 'com.some.thing').
|
2049
1883
|
# @param [String] subscription_id
|
2050
1884
|
# The purchased subscription ID (for example, 'monthly001').
|
2051
1885
|
# @param [String] token
|
2052
|
-
# The token provided to the user's device when the subscription was
|
1886
|
+
# The token provided to the user's device when the subscription was
|
1887
|
+
# purchased.
|
2053
1888
|
# @param [String] fields
|
2054
1889
|
# Selector specifying which fields to include in a partial response.
|
2055
1890
|
# @param [String] quota_user
|
2056
|
-
#
|
2057
|
-
# characters.
|
2058
|
-
# @param [String] user_ip
|
2059
|
-
# Deprecated. Please use quotaUser instead.
|
1891
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1892
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2060
1893
|
# @param [Google::Apis::RequestOptions] options
|
2061
1894
|
# Request-specific options
|
2062
1895
|
#
|
@@ -2069,33 +1902,32 @@ module Google
|
|
2069
1902
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2070
1903
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2071
1904
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2072
|
-
def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil,
|
2073
|
-
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
|
1905
|
+
def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
1906
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
|
2074
1907
|
command.params['packageName'] = package_name unless package_name.nil?
|
2075
1908
|
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
2076
1909
|
command.params['token'] = token unless token.nil?
|
2077
1910
|
command.query['fields'] = fields unless fields.nil?
|
2078
1911
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2079
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2080
1912
|
execute_or_queue_command(command, &block)
|
2081
1913
|
end
|
2082
1914
|
|
2083
|
-
# Defers a user's subscription purchase until a specified future expiration
|
1915
|
+
# Defers a user's subscription purchase until a specified future expiration
|
1916
|
+
# time.
|
2084
1917
|
# @param [String] package_name
|
2085
|
-
# The package name of the application for which this subscription was
|
2086
|
-
# for example, 'com.some.thing').
|
1918
|
+
# The package name of the application for which this subscription was
|
1919
|
+
# purchased (for example, 'com.some.thing').
|
2087
1920
|
# @param [String] subscription_id
|
2088
1921
|
# The purchased subscription ID (for example, 'monthly001').
|
2089
1922
|
# @param [String] token
|
2090
|
-
# The token provided to the user's device when the subscription was
|
1923
|
+
# The token provided to the user's device when the subscription was
|
1924
|
+
# purchased.
|
2091
1925
|
# @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest] subscription_purchases_defer_request_object
|
2092
1926
|
# @param [String] fields
|
2093
1927
|
# Selector specifying which fields to include in a partial response.
|
2094
1928
|
# @param [String] quota_user
|
2095
|
-
#
|
2096
|
-
# characters.
|
2097
|
-
# @param [String] user_ip
|
2098
|
-
# Deprecated. Please use quotaUser instead.
|
1929
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1930
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2099
1931
|
# @param [Google::Apis::RequestOptions] options
|
2100
1932
|
# Request-specific options
|
2101
1933
|
#
|
@@ -2108,8 +1940,8 @@ module Google
|
|
2108
1940
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2109
1941
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2110
1942
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2111
|
-
def defer_purchase_subscription(package_name, subscription_id, token, subscription_purchases_defer_request_object = nil, fields: nil, quota_user: nil,
|
2112
|
-
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
|
1943
|
+
def defer_purchase_subscription(package_name, subscription_id, token, subscription_purchases_defer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1944
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
|
2113
1945
|
command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest::Representation
|
2114
1946
|
command.request_object = subscription_purchases_defer_request_object
|
2115
1947
|
command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse::Representation
|
@@ -2119,26 +1951,24 @@ module Google
|
|
2119
1951
|
command.params['token'] = token unless token.nil?
|
2120
1952
|
command.query['fields'] = fields unless fields.nil?
|
2121
1953
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2122
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2123
1954
|
execute_or_queue_command(command, &block)
|
2124
1955
|
end
|
2125
1956
|
|
2126
|
-
# Checks whether a user's subscription purchase is valid and returns its
|
2127
|
-
# time.
|
1957
|
+
# Checks whether a user's subscription purchase is valid and returns its
|
1958
|
+
# expiry time.
|
2128
1959
|
# @param [String] package_name
|
2129
|
-
# The package name of the application for which this subscription was
|
2130
|
-
# for example, 'com.some.thing').
|
1960
|
+
# The package name of the application for which this subscription was
|
1961
|
+
# purchased (for example, 'com.some.thing').
|
2131
1962
|
# @param [String] subscription_id
|
2132
1963
|
# The purchased subscription ID (for example, 'monthly001').
|
2133
1964
|
# @param [String] token
|
2134
|
-
# The token provided to the user's device when the subscription was
|
1965
|
+
# The token provided to the user's device when the subscription was
|
1966
|
+
# purchased.
|
2135
1967
|
# @param [String] fields
|
2136
1968
|
# Selector specifying which fields to include in a partial response.
|
2137
1969
|
# @param [String] quota_user
|
2138
|
-
#
|
2139
|
-
# characters.
|
2140
|
-
# @param [String] user_ip
|
2141
|
-
# Deprecated. Please use quotaUser instead.
|
1970
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1971
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2142
1972
|
# @param [Google::Apis::RequestOptions] options
|
2143
1973
|
# Request-specific options
|
2144
1974
|
#
|
@@ -2151,8 +1981,8 @@ module Google
|
|
2151
1981
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2152
1982
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2153
1983
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2154
|
-
def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil,
|
2155
|
-
command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
|
1984
|
+
def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
1985
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
|
2156
1986
|
command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchase::Representation
|
2157
1987
|
command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchase
|
2158
1988
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -2160,26 +1990,24 @@ module Google
|
|
2160
1990
|
command.params['token'] = token unless token.nil?
|
2161
1991
|
command.query['fields'] = fields unless fields.nil?
|
2162
1992
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2163
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2164
1993
|
execute_or_queue_command(command, &block)
|
2165
1994
|
end
|
2166
1995
|
|
2167
1996
|
# Refunds a user's subscription purchase, but the subscription remains valid
|
2168
1997
|
# until its expiration time and it will continue to recur.
|
2169
1998
|
# @param [String] package_name
|
2170
|
-
# The package name of the application for which this subscription was
|
2171
|
-
# for example, 'com.some.thing').
|
1999
|
+
# The package name of the application for which this subscription was
|
2000
|
+
# purchased (for example, 'com.some.thing').
|
2172
2001
|
# @param [String] subscription_id
|
2173
|
-
# The purchased subscription ID (for example, 'monthly001').
|
2002
|
+
# "The purchased subscription ID (for example, 'monthly001').
|
2174
2003
|
# @param [String] token
|
2175
|
-
# The token provided to the user's device when the subscription was
|
2004
|
+
# The token provided to the user's device when the subscription was
|
2005
|
+
# purchased.
|
2176
2006
|
# @param [String] fields
|
2177
2007
|
# Selector specifying which fields to include in a partial response.
|
2178
2008
|
# @param [String] quota_user
|
2179
|
-
#
|
2180
|
-
# characters.
|
2181
|
-
# @param [String] user_ip
|
2182
|
-
# Deprecated. Please use quotaUser instead.
|
2009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2183
2011
|
# @param [Google::Apis::RequestOptions] options
|
2184
2012
|
# Request-specific options
|
2185
2013
|
#
|
@@ -2192,33 +2020,31 @@ module Google
|
|
2192
2020
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2193
2021
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2194
2022
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2195
|
-
def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil,
|
2196
|
-
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
|
2023
|
+
def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
2024
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
|
2197
2025
|
command.params['packageName'] = package_name unless package_name.nil?
|
2198
2026
|
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
2199
2027
|
command.params['token'] = token unless token.nil?
|
2200
2028
|
command.query['fields'] = fields unless fields.nil?
|
2201
2029
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2202
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2203
2030
|
execute_or_queue_command(command, &block)
|
2204
2031
|
end
|
2205
2032
|
|
2206
|
-
# Refunds and immediately revokes a user's subscription purchase. Access to
|
2207
|
-
# subscription will be terminated immediately and it will stop recurring.
|
2033
|
+
# Refunds and immediately revokes a user's subscription purchase. Access to
|
2034
|
+
# the subscription will be terminated immediately and it will stop recurring.
|
2208
2035
|
# @param [String] package_name
|
2209
|
-
# The package name of the application for which this subscription was
|
2210
|
-
# for example, 'com.some.thing').
|
2036
|
+
# The package name of the application for which this subscription was
|
2037
|
+
# purchased (for example, 'com.some.thing').
|
2211
2038
|
# @param [String] subscription_id
|
2212
2039
|
# The purchased subscription ID (for example, 'monthly001').
|
2213
2040
|
# @param [String] token
|
2214
|
-
# The token provided to the user's device when the subscription was
|
2041
|
+
# The token provided to the user's device when the subscription was
|
2042
|
+
# purchased.
|
2215
2043
|
# @param [String] fields
|
2216
2044
|
# Selector specifying which fields to include in a partial response.
|
2217
2045
|
# @param [String] quota_user
|
2218
|
-
#
|
2219
|
-
# characters.
|
2220
|
-
# @param [String] user_ip
|
2221
|
-
# Deprecated. Please use quotaUser instead.
|
2046
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2047
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2222
2048
|
# @param [Google::Apis::RequestOptions] options
|
2223
2049
|
# Request-specific options
|
2224
2050
|
#
|
@@ -2231,14 +2057,13 @@ module Google
|
|
2231
2057
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2232
2058
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2233
2059
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2234
|
-
def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil,
|
2235
|
-
command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
|
2060
|
+
def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
2061
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
|
2236
2062
|
command.params['packageName'] = package_name unless package_name.nil?
|
2237
2063
|
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
2238
2064
|
command.params['token'] = token unless token.nil?
|
2239
2065
|
command.query['fields'] = fields unless fields.nil?
|
2240
2066
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2241
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2242
2067
|
execute_or_queue_command(command, &block)
|
2243
2068
|
end
|
2244
2069
|
|
@@ -2247,40 +2072,48 @@ module Google
|
|
2247
2072
|
# The package name of the application for which voided purchases need to be
|
2248
2073
|
# returned (for example, 'com.some.thing').
|
2249
2074
|
# @param [Fixnum] end_time
|
2250
|
-
# The time, in milliseconds since the Epoch, of the newest voided purchase
|
2251
|
-
# you want to see in the response. The value of this parameter cannot
|
2252
|
-
# than the current time and is ignored if a pagination token is
|
2253
|
-
# value is current time.
|
2254
|
-
#
|
2255
|
-
# returned in the
|
2075
|
+
# The time, in milliseconds since the Epoch, of the newest voided purchase
|
2076
|
+
# that you want to see in the response. The value of this parameter cannot
|
2077
|
+
# be greater than the current time and is ignored if a pagination token is
|
2078
|
+
# set. Default value is current time.
|
2079
|
+
# Note: This filter is applied on the time at which the record is seen as
|
2080
|
+
# voided by our systems and not the actual voided time returned in the
|
2081
|
+
# response.
|
2256
2082
|
# @param [Fixnum] max_results
|
2083
|
+
# Defines how many results the list operation should return.
|
2084
|
+
# The default number depends on the resource collection.
|
2257
2085
|
# @param [Fixnum] start_index
|
2086
|
+
# Defines the index of the first element to return.
|
2087
|
+
# This can only be used if indexed paging is enabled.
|
2258
2088
|
# @param [Fixnum] start_time
|
2259
|
-
# The time, in milliseconds since the Epoch, of the oldest voided purchase
|
2260
|
-
# you want to see in the response. The value of this parameter cannot
|
2261
|
-
# than 30 days and is ignored if a pagination token is set.
|
2262
|
-
# current time minus 30 days.
|
2263
|
-
#
|
2264
|
-
# returned in the
|
2089
|
+
# The time, in milliseconds since the Epoch, of the oldest voided purchase
|
2090
|
+
# that you want to see in the response. The value of this parameter cannot
|
2091
|
+
# be older than 30 days and is ignored if a pagination token is set.
|
2092
|
+
# Default value is current time minus 30 days.
|
2093
|
+
# Note: This filter is applied on the time at which the record is seen as
|
2094
|
+
# voided by our systems and not the actual voided time returned in the
|
2095
|
+
# response.
|
2265
2096
|
# @param [String] token
|
2097
|
+
# Defines the token of the page to return, usually taken from
|
2098
|
+
# TokenPagination.
|
2099
|
+
# This can only be used if token paging is enabled.
|
2266
2100
|
# @param [Fixnum] type
|
2267
|
-
# The type of voided purchases that you want to see in the response.
|
2268
|
-
# values are:
|
2269
|
-
#
|
2270
|
-
# This is the default value.
|
2271
|
-
#
|
2272
|
-
# returned in the response.
|
2273
|
-
#
|
2274
|
-
#
|
2275
|
-
#
|
2276
|
-
# subscription
|
2101
|
+
# The type of voided purchases that you want to see in the response.
|
2102
|
+
# Possible values are:
|
2103
|
+
# 0. Only voided in-app product purchases will be returned in the
|
2104
|
+
# response. This is the default value.
|
2105
|
+
# 1. Both voided in-app purchases and voided subscription purchases
|
2106
|
+
# will be returned in the response.
|
2107
|
+
# Note: Before requesting to receive voided subscription purchases, you
|
2108
|
+
# must switch to use orderId in the response which uniquely identifies
|
2109
|
+
# one-time purchases and subscriptions. Otherwise, you will receive multiple
|
2110
|
+
# subscription orders with the same PurchaseToken, because subscription
|
2111
|
+
# renewal orders share the same PurchaseToken.
|
2277
2112
|
# @param [String] fields
|
2278
2113
|
# Selector specifying which fields to include in a partial response.
|
2279
2114
|
# @param [String] quota_user
|
2280
|
-
#
|
2281
|
-
# characters.
|
2282
|
-
# @param [String] user_ip
|
2283
|
-
# Deprecated. Please use quotaUser instead.
|
2115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2284
2117
|
# @param [Google::Apis::RequestOptions] options
|
2285
2118
|
# Request-specific options
|
2286
2119
|
#
|
@@ -2293,8 +2126,8 @@ module Google
|
|
2293
2126
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2294
2127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2295
2128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2296
|
-
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil,
|
2297
|
-
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
|
2129
|
+
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2130
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases', options)
|
2298
2131
|
command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
|
2299
2132
|
command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
|
2300
2133
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -2306,23 +2139,21 @@ module Google
|
|
2306
2139
|
command.query['type'] = type unless type.nil?
|
2307
2140
|
command.query['fields'] = fields unless fields.nil?
|
2308
2141
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2309
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2310
2142
|
execute_or_queue_command(command, &block)
|
2311
2143
|
end
|
2312
2144
|
|
2313
|
-
#
|
2145
|
+
# Gets a single review.
|
2314
2146
|
# @param [String] package_name
|
2315
|
-
#
|
2316
|
-
# com.spiffygame".
|
2147
|
+
# Package name of the app.
|
2317
2148
|
# @param [String] review_id
|
2149
|
+
# Unique identifier for a review.
|
2318
2150
|
# @param [String] translation_language
|
2151
|
+
# Language localization code.
|
2319
2152
|
# @param [String] fields
|
2320
2153
|
# Selector specifying which fields to include in a partial response.
|
2321
2154
|
# @param [String] quota_user
|
2322
|
-
#
|
2323
|
-
# characters.
|
2324
|
-
# @param [String] user_ip
|
2325
|
-
# Deprecated. Please use quotaUser instead.
|
2155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2326
2157
|
# @param [Google::Apis::RequestOptions] options
|
2327
2158
|
# Request-specific options
|
2328
2159
|
#
|
@@ -2335,8 +2166,8 @@ module Google
|
|
2335
2166
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2336
2167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2337
2168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2338
|
-
def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil,
|
2339
|
-
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
|
2169
|
+
def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2170
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/reviews/{reviewId}', options)
|
2340
2171
|
command.response_representation = Google::Apis::AndroidpublisherV3::Review::Representation
|
2341
2172
|
command.response_class = Google::Apis::AndroidpublisherV3::Review
|
2342
2173
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -2344,25 +2175,25 @@ module Google
|
|
2344
2175
|
command.query['translationLanguage'] = translation_language unless translation_language.nil?
|
2345
2176
|
command.query['fields'] = fields unless fields.nil?
|
2346
2177
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2347
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2348
2178
|
execute_or_queue_command(command, &block)
|
2349
2179
|
end
|
2350
2180
|
|
2351
|
-
#
|
2181
|
+
# Lists all reviews.
|
2352
2182
|
# @param [String] package_name
|
2353
|
-
#
|
2354
|
-
# com.spiffygame".
|
2183
|
+
# Package name of the app.
|
2355
2184
|
# @param [Fixnum] max_results
|
2185
|
+
# How many results the list operation should return.
|
2356
2186
|
# @param [Fixnum] start_index
|
2187
|
+
# The index of the first element to return.
|
2357
2188
|
# @param [String] token
|
2189
|
+
# Pagination token. If empty, list starts at the first review.
|
2358
2190
|
# @param [String] translation_language
|
2191
|
+
# Language localization code.
|
2359
2192
|
# @param [String] fields
|
2360
2193
|
# Selector specifying which fields to include in a partial response.
|
2361
2194
|
# @param [String] quota_user
|
2362
|
-
#
|
2363
|
-
# characters.
|
2364
|
-
# @param [String] user_ip
|
2365
|
-
# Deprecated. Please use quotaUser instead.
|
2195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2366
2197
|
# @param [Google::Apis::RequestOptions] options
|
2367
2198
|
# Request-specific options
|
2368
2199
|
#
|
@@ -2375,8 +2206,8 @@ module Google
|
|
2375
2206
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2376
2207
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2377
2208
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2378
|
-
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil,
|
2379
|
-
command = make_simple_command(:get, '{packageName}/reviews', options)
|
2209
|
+
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2210
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/reviews', options)
|
2380
2211
|
command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsListResponse::Representation
|
2381
2212
|
command.response_class = Google::Apis::AndroidpublisherV3::ReviewsListResponse
|
2382
2213
|
command.params['packageName'] = package_name unless package_name.nil?
|
@@ -2386,23 +2217,20 @@ module Google
|
|
2386
2217
|
command.query['translationLanguage'] = translation_language unless translation_language.nil?
|
2387
2218
|
command.query['fields'] = fields unless fields.nil?
|
2388
2219
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2389
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2390
2220
|
execute_or_queue_command(command, &block)
|
2391
2221
|
end
|
2392
2222
|
|
2393
|
-
#
|
2223
|
+
# Replies to a single review, or updates an existing reply.
|
2394
2224
|
# @param [String] package_name
|
2395
|
-
#
|
2396
|
-
# com.spiffygame".
|
2225
|
+
# Package name of the app.
|
2397
2226
|
# @param [String] review_id
|
2227
|
+
# Unique identifier for a review.
|
2398
2228
|
# @param [Google::Apis::AndroidpublisherV3::ReviewsReplyRequest] reviews_reply_request_object
|
2399
2229
|
# @param [String] fields
|
2400
2230
|
# Selector specifying which fields to include in a partial response.
|
2401
2231
|
# @param [String] quota_user
|
2402
|
-
#
|
2403
|
-
# characters.
|
2404
|
-
# @param [String] user_ip
|
2405
|
-
# Deprecated. Please use quotaUser instead.
|
2232
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2233
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2406
2234
|
# @param [Google::Apis::RequestOptions] options
|
2407
2235
|
# Request-specific options
|
2408
2236
|
#
|
@@ -2415,8 +2243,8 @@ module Google
|
|
2415
2243
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2416
2244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2417
2245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2418
|
-
def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil,
|
2419
|
-
command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
|
2246
|
+
def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2247
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply', options)
|
2420
2248
|
command.request_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyRequest::Representation
|
2421
2249
|
command.request_object = reviews_reply_request_object
|
2422
2250
|
command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyResponse::Representation
|
@@ -2425,165 +2253,6 @@ module Google
|
|
2425
2253
|
command.params['reviewId'] = review_id unless review_id.nil?
|
2426
2254
|
command.query['fields'] = fields unless fields.nil?
|
2427
2255
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2428
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2429
|
-
execute_or_queue_command(command, &block)
|
2430
|
-
end
|
2431
|
-
|
2432
|
-
# Creates a new variant of APK which is suitable for inclusion in a system image.
|
2433
|
-
# @param [String] package_name
|
2434
|
-
# Unique identifier for the Android app; for example, "com.spiffygame".
|
2435
|
-
# @param [Fixnum] version_code
|
2436
|
-
# The version code of the App Bundle.
|
2437
|
-
# @param [Google::Apis::AndroidpublisherV3::SystemApkVariantsCreateRequest] system_apk_variants_create_request_object
|
2438
|
-
# @param [String] fields
|
2439
|
-
# Selector specifying which fields to include in a partial response.
|
2440
|
-
# @param [String] quota_user
|
2441
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2442
|
-
# characters.
|
2443
|
-
# @param [String] user_ip
|
2444
|
-
# Deprecated. Please use quotaUser instead.
|
2445
|
-
# @param [Google::Apis::RequestOptions] options
|
2446
|
-
# Request-specific options
|
2447
|
-
#
|
2448
|
-
# @yield [result, err] Result & error if block supplied
|
2449
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
|
2450
|
-
# @yieldparam err [StandardError] error object if request failed
|
2451
|
-
#
|
2452
|
-
# @return [Google::Apis::AndroidpublisherV3::Variant]
|
2453
|
-
#
|
2454
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2455
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2456
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2457
|
-
def create_systemapk_variant(package_name, version_code, system_apk_variants_create_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2458
|
-
command = make_simple_command(:post, '{packageName}/systemApks/{versionCode}/variants', options)
|
2459
|
-
command.request_representation = Google::Apis::AndroidpublisherV3::SystemApkVariantsCreateRequest::Representation
|
2460
|
-
command.request_object = system_apk_variants_create_request_object
|
2461
|
-
command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
|
2462
|
-
command.response_class = Google::Apis::AndroidpublisherV3::Variant
|
2463
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
2464
|
-
command.params['versionCode'] = version_code unless version_code.nil?
|
2465
|
-
command.query['fields'] = fields unless fields.nil?
|
2466
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2467
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2468
|
-
execute_or_queue_command(command, &block)
|
2469
|
-
end
|
2470
|
-
|
2471
|
-
# Download a previously created APK which is suitable for inclusion in a system
|
2472
|
-
# image.
|
2473
|
-
# @param [String] package_name
|
2474
|
-
# Unique identifier for the Android app; for example, "com.spiffygame".
|
2475
|
-
# @param [Fixnum] version_code
|
2476
|
-
# The version code of the App Bundle.
|
2477
|
-
# @param [Fixnum] variant_id
|
2478
|
-
# @param [String] fields
|
2479
|
-
# Selector specifying which fields to include in a partial response.
|
2480
|
-
# @param [String] quota_user
|
2481
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2482
|
-
# characters.
|
2483
|
-
# @param [String] user_ip
|
2484
|
-
# Deprecated. Please use quotaUser instead.
|
2485
|
-
# @param [IO, String] download_dest
|
2486
|
-
# IO stream or filename to receive content download
|
2487
|
-
# @param [Google::Apis::RequestOptions] options
|
2488
|
-
# Request-specific options
|
2489
|
-
#
|
2490
|
-
# @yield [result, err] Result & error if block supplied
|
2491
|
-
# @yieldparam result [NilClass] No result returned for this method
|
2492
|
-
# @yieldparam err [StandardError] error object if request failed
|
2493
|
-
#
|
2494
|
-
# @return [void]
|
2495
|
-
#
|
2496
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2497
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2498
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2499
|
-
def download_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
2500
|
-
if download_dest.nil?
|
2501
|
-
command = make_simple_command(:get, '{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
|
2502
|
-
else
|
2503
|
-
command = make_download_command(:get, '{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
|
2504
|
-
command.download_dest = download_dest
|
2505
|
-
end
|
2506
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
2507
|
-
command.params['versionCode'] = version_code unless version_code.nil?
|
2508
|
-
command.params['variantId'] = variant_id unless variant_id.nil?
|
2509
|
-
command.query['fields'] = fields unless fields.nil?
|
2510
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2511
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2512
|
-
execute_or_queue_command(command, &block)
|
2513
|
-
end
|
2514
|
-
|
2515
|
-
# Returns a previously created system APK variant.
|
2516
|
-
# @param [String] package_name
|
2517
|
-
# Unique identifier for the Android app; for example, "com.spiffygame".
|
2518
|
-
# @param [Fixnum] version_code
|
2519
|
-
# The version code of the App Bundle.
|
2520
|
-
# @param [Fixnum] variant_id
|
2521
|
-
# Unique identifier for this variant.
|
2522
|
-
# @param [String] fields
|
2523
|
-
# Selector specifying which fields to include in a partial response.
|
2524
|
-
# @param [String] quota_user
|
2525
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2526
|
-
# characters.
|
2527
|
-
# @param [String] user_ip
|
2528
|
-
# Deprecated. Please use quotaUser instead.
|
2529
|
-
# @param [Google::Apis::RequestOptions] options
|
2530
|
-
# Request-specific options
|
2531
|
-
#
|
2532
|
-
# @yield [result, err] Result & error if block supplied
|
2533
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
|
2534
|
-
# @yieldparam err [StandardError] error object if request failed
|
2535
|
-
#
|
2536
|
-
# @return [Google::Apis::AndroidpublisherV3::Variant]
|
2537
|
-
#
|
2538
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2539
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2540
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2541
|
-
def get_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2542
|
-
command = make_simple_command(:get, '{packageName}/systemApks/{versionCode}/variants/{variantId}', options)
|
2543
|
-
command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
|
2544
|
-
command.response_class = Google::Apis::AndroidpublisherV3::Variant
|
2545
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
2546
|
-
command.params['versionCode'] = version_code unless version_code.nil?
|
2547
|
-
command.params['variantId'] = variant_id unless variant_id.nil?
|
2548
|
-
command.query['fields'] = fields unless fields.nil?
|
2549
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2550
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2551
|
-
execute_or_queue_command(command, &block)
|
2552
|
-
end
|
2553
|
-
|
2554
|
-
# Returns the list of previously created system APK variants.
|
2555
|
-
# @param [String] package_name
|
2556
|
-
# Unique identifier for the Android app; for example, "com.spiffygame".
|
2557
|
-
# @param [Fixnum] version_code
|
2558
|
-
# The version code of the App Bundle.
|
2559
|
-
# @param [String] fields
|
2560
|
-
# Selector specifying which fields to include in a partial response.
|
2561
|
-
# @param [String] quota_user
|
2562
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2563
|
-
# characters.
|
2564
|
-
# @param [String] user_ip
|
2565
|
-
# Deprecated. Please use quotaUser instead.
|
2566
|
-
# @param [Google::Apis::RequestOptions] options
|
2567
|
-
# Request-specific options
|
2568
|
-
#
|
2569
|
-
# @yield [result, err] Result & error if block supplied
|
2570
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV3::SystemApkVariantsListResponse] parsed result object
|
2571
|
-
# @yieldparam err [StandardError] error object if request failed
|
2572
|
-
#
|
2573
|
-
# @return [Google::Apis::AndroidpublisherV3::SystemApkVariantsListResponse]
|
2574
|
-
#
|
2575
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2576
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2577
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2578
|
-
def list_systemapk_variants(package_name, version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2579
|
-
command = make_simple_command(:get, '{packageName}/systemApks/{versionCode}/variants', options)
|
2580
|
-
command.response_representation = Google::Apis::AndroidpublisherV3::SystemApkVariantsListResponse::Representation
|
2581
|
-
command.response_class = Google::Apis::AndroidpublisherV3::SystemApkVariantsListResponse
|
2582
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
2583
|
-
command.params['versionCode'] = version_code unless version_code.nil?
|
2584
|
-
command.query['fields'] = fields unless fields.nil?
|
2585
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2586
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2587
2256
|
execute_or_queue_command(command, &block)
|
2588
2257
|
end
|
2589
2258
|
|
@@ -2592,7 +2261,6 @@ module Google
|
|
2592
2261
|
def apply_command_defaults(command)
|
2593
2262
|
command.query['key'] = key unless key.nil?
|
2594
2263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2595
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2596
2264
|
end
|
2597
2265
|
end
|
2598
2266
|
end
|