google-apis-androidpublisher_v3 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +268 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +138 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +111 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2b995ea3ed9535bfae73a1a6cbb99082f8d38db18d286c7c30cb8d4c809a53f
|
4
|
+
data.tar.gz: 8f1d5ddd97a6360b662ac63e916cc3834eb17d0844cb79e5066dd0ffd8334c68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b37e9b926fad5c078337a9cff819d25de7d1714f4777c29895b46637c80374a4323ea200de8c9d1fed6b826969eec7e1f5c405cea49c565fd46349dfbcd822eb
|
7
|
+
data.tar.gz: 2ee67e2e238b87842bf2346da2cc36ef16ff6c019ad5235c3d39bf98a40c8d5a50dea52cefd07fdd81602e01cddb62385447035e060678d1027f15d3d02753b6
|
data/CHANGELOG.md
CHANGED
@@ -483,6 +483,59 @@ module Google
|
|
483
483
|
end
|
484
484
|
end
|
485
485
|
|
486
|
+
# LINT.IfChange A group of devices. A group is defined by a set of device
|
487
|
+
# selectors. A device belongs to the group if it matches any selector (logical
|
488
|
+
# OR).
|
489
|
+
class DeviceGroup
|
490
|
+
include Google::Apis::Core::Hashable
|
491
|
+
|
492
|
+
# Device selectors for this group. A device matching any of the selectors is
|
493
|
+
# included in this group.
|
494
|
+
# Corresponds to the JSON property `deviceSelectors`
|
495
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceSelector>]
|
496
|
+
attr_accessor :device_selectors
|
497
|
+
|
498
|
+
# The name of the group.
|
499
|
+
# Corresponds to the JSON property `name`
|
500
|
+
# @return [String]
|
501
|
+
attr_accessor :name
|
502
|
+
|
503
|
+
def initialize(**args)
|
504
|
+
update!(**args)
|
505
|
+
end
|
506
|
+
|
507
|
+
# Update properties of this object
|
508
|
+
def update!(**args)
|
509
|
+
@device_selectors = args[:device_selectors] if args.key?(:device_selectors)
|
510
|
+
@name = args[:name] if args.key?(:name)
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
# Identifier of a device.
|
515
|
+
class DeviceId
|
516
|
+
include Google::Apis::Core::Hashable
|
517
|
+
|
518
|
+
# Value of Build.BRAND.
|
519
|
+
# Corresponds to the JSON property `buildBrand`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :build_brand
|
522
|
+
|
523
|
+
# Value of Build.DEVICE.
|
524
|
+
# Corresponds to the JSON property `buildDevice`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :build_device
|
527
|
+
|
528
|
+
def initialize(**args)
|
529
|
+
update!(**args)
|
530
|
+
end
|
531
|
+
|
532
|
+
# Update properties of this object
|
533
|
+
def update!(**args)
|
534
|
+
@build_brand = args[:build_brand] if args.key?(:build_brand)
|
535
|
+
@build_device = args[:build_device] if args.key?(:build_device)
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
486
539
|
# Characteristics of the user's device.
|
487
540
|
class DeviceMetadata
|
488
541
|
include Google::Apis::Core::Hashable
|
@@ -562,6 +615,82 @@ module Google
|
|
562
615
|
end
|
563
616
|
end
|
564
617
|
|
618
|
+
# Conditions about a device's RAM capabilities.
|
619
|
+
class DeviceRam
|
620
|
+
include Google::Apis::Core::Hashable
|
621
|
+
|
622
|
+
# Maximum RAM in bytes (bound excluded).
|
623
|
+
# Corresponds to the JSON property `maxBytes`
|
624
|
+
# @return [Fixnum]
|
625
|
+
attr_accessor :max_bytes
|
626
|
+
|
627
|
+
# Minimum RAM in bytes (bound included).
|
628
|
+
# Corresponds to the JSON property `minBytes`
|
629
|
+
# @return [Fixnum]
|
630
|
+
attr_accessor :min_bytes
|
631
|
+
|
632
|
+
def initialize(**args)
|
633
|
+
update!(**args)
|
634
|
+
end
|
635
|
+
|
636
|
+
# Update properties of this object
|
637
|
+
def update!(**args)
|
638
|
+
@max_bytes = args[:max_bytes] if args.key?(:max_bytes)
|
639
|
+
@min_bytes = args[:min_bytes] if args.key?(:min_bytes)
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# Selector for a device group. A selector consists of a set of conditions on the
|
644
|
+
# device that should all match (logical AND) to determine a device group
|
645
|
+
# eligibility. For instance, if a selector specifies RAM conditions, device
|
646
|
+
# model inclusion and device model exclusion, a device is considered to match if:
|
647
|
+
# device matches RAM conditions AND device matches one of the included device
|
648
|
+
# models AND device doesn't match excluded device models
|
649
|
+
class DeviceSelector
|
650
|
+
include Google::Apis::Core::Hashable
|
651
|
+
|
652
|
+
# Conditions about a device's RAM capabilities.
|
653
|
+
# Corresponds to the JSON property `deviceRam`
|
654
|
+
# @return [Google::Apis::AndroidpublisherV3::DeviceRam]
|
655
|
+
attr_accessor :device_ram
|
656
|
+
|
657
|
+
# Device models excluded by this selector, even if they match all other
|
658
|
+
# conditions.
|
659
|
+
# Corresponds to the JSON property `excludedDeviceIds`
|
660
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceId>]
|
661
|
+
attr_accessor :excluded_device_ids
|
662
|
+
|
663
|
+
# A device that has any of these system features is excluded by this selector,
|
664
|
+
# even if it matches all other conditions.
|
665
|
+
# Corresponds to the JSON property `forbiddenSystemFeatures`
|
666
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::SystemFeature>]
|
667
|
+
attr_accessor :forbidden_system_features
|
668
|
+
|
669
|
+
# Device models included by this selector.
|
670
|
+
# Corresponds to the JSON property `includedDeviceIds`
|
671
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceId>]
|
672
|
+
attr_accessor :included_device_ids
|
673
|
+
|
674
|
+
# A device needs to have all these system features to be included by the
|
675
|
+
# selector.
|
676
|
+
# Corresponds to the JSON property `requiredSystemFeatures`
|
677
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::SystemFeature>]
|
678
|
+
attr_accessor :required_system_features
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@device_ram = args[:device_ram] if args.key?(:device_ram)
|
687
|
+
@excluded_device_ids = args[:excluded_device_ids] if args.key?(:excluded_device_ids)
|
688
|
+
@forbidden_system_features = args[:forbidden_system_features] if args.key?(:forbidden_system_features)
|
689
|
+
@included_device_ids = args[:included_device_ids] if args.key?(:included_device_ids)
|
690
|
+
@required_system_features = args[:required_system_features] if args.key?(:required_system_features)
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
565
694
|
# The device spec used to generate a system APK.
|
566
695
|
class DeviceSpec
|
567
696
|
include Google::Apis::Core::Hashable
|
@@ -594,6 +723,100 @@ module Google
|
|
594
723
|
end
|
595
724
|
end
|
596
725
|
|
726
|
+
# A single device tier. Devices matching any of the device groups in
|
727
|
+
# device_group_names are considered to match the tier.
|
728
|
+
class DeviceTier
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
# Groups of devices included in this tier. These groups must be defined
|
732
|
+
# explicitly under device_groups in this configuration.
|
733
|
+
# Corresponds to the JSON property `deviceGroupNames`
|
734
|
+
# @return [Array<String>]
|
735
|
+
attr_accessor :device_group_names
|
736
|
+
|
737
|
+
# The priority level of the tier. Tiers are evaluated in descending order of
|
738
|
+
# level: the highest level tier has the highest priority. The highest tier
|
739
|
+
# matching a given device is selected for that device. You should use a
|
740
|
+
# contiguous range of levels for your tiers in a tier set; tier levels in a tier
|
741
|
+
# set must be unique. For instance, if your tier set has 4 tiers (including the
|
742
|
+
# global fallback), you should define tiers 1, 2 and 3 in this configuration.
|
743
|
+
# Note: tier 0 is implicitly defined as a global fallback and selected for
|
744
|
+
# devices that don't match any of the tiers explicitly defined here. You mustn't
|
745
|
+
# define level 0 explicitly in this configuration.
|
746
|
+
# Corresponds to the JSON property `level`
|
747
|
+
# @return [Fixnum]
|
748
|
+
attr_accessor :level
|
749
|
+
|
750
|
+
def initialize(**args)
|
751
|
+
update!(**args)
|
752
|
+
end
|
753
|
+
|
754
|
+
# Update properties of this object
|
755
|
+
def update!(**args)
|
756
|
+
@device_group_names = args[:device_group_names] if args.key?(:device_group_names)
|
757
|
+
@level = args[:level] if args.key?(:level)
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
761
|
+
# LINT.IfChange Configuration describing device targeting criteria for the
|
762
|
+
# content of an app.
|
763
|
+
class DeviceTierConfig
|
764
|
+
include Google::Apis::Core::Hashable
|
765
|
+
|
766
|
+
# Definition of device groups for the app.
|
767
|
+
# Corresponds to the JSON property `deviceGroups`
|
768
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceGroup>]
|
769
|
+
attr_accessor :device_groups
|
770
|
+
|
771
|
+
# Output only. The device tier config ID.
|
772
|
+
# Corresponds to the JSON property `deviceTierConfigId`
|
773
|
+
# @return [Fixnum]
|
774
|
+
attr_accessor :device_tier_config_id
|
775
|
+
|
776
|
+
# A set of device tiers. A tier set determines what variation of app content
|
777
|
+
# gets served to a specific device, for device-targeted content. You should
|
778
|
+
# assign a priority level to each tier, which determines the ordering by which
|
779
|
+
# they are evaluated by Play. See the documentation of DeviceTier.level for more
|
780
|
+
# details.
|
781
|
+
# Corresponds to the JSON property `deviceTierSet`
|
782
|
+
# @return [Google::Apis::AndroidpublisherV3::DeviceTierSet]
|
783
|
+
attr_accessor :device_tier_set
|
784
|
+
|
785
|
+
def initialize(**args)
|
786
|
+
update!(**args)
|
787
|
+
end
|
788
|
+
|
789
|
+
# Update properties of this object
|
790
|
+
def update!(**args)
|
791
|
+
@device_groups = args[:device_groups] if args.key?(:device_groups)
|
792
|
+
@device_tier_config_id = args[:device_tier_config_id] if args.key?(:device_tier_config_id)
|
793
|
+
@device_tier_set = args[:device_tier_set] if args.key?(:device_tier_set)
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
797
|
+
# A set of device tiers. A tier set determines what variation of app content
|
798
|
+
# gets served to a specific device, for device-targeted content. You should
|
799
|
+
# assign a priority level to each tier, which determines the ordering by which
|
800
|
+
# they are evaluated by Play. See the documentation of DeviceTier.level for more
|
801
|
+
# details.
|
802
|
+
class DeviceTierSet
|
803
|
+
include Google::Apis::Core::Hashable
|
804
|
+
|
805
|
+
# Device tiers belonging to the set.
|
806
|
+
# Corresponds to the JSON property `deviceTiers`
|
807
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceTier>]
|
808
|
+
attr_accessor :device_tiers
|
809
|
+
|
810
|
+
def initialize(**args)
|
811
|
+
update!(**args)
|
812
|
+
end
|
813
|
+
|
814
|
+
# Update properties of this object
|
815
|
+
def update!(**args)
|
816
|
+
@device_tiers = args[:device_tiers] if args.key?(:device_tiers)
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
597
820
|
# An expansion file. The resource for ExpansionFilesService.
|
598
821
|
class ExpansionFile
|
599
822
|
include Google::Apis::Core::Hashable
|
@@ -1317,6 +1540,32 @@ module Google
|
|
1317
1540
|
end
|
1318
1541
|
end
|
1319
1542
|
|
1543
|
+
# Response listing existing device tier configs.
|
1544
|
+
class ListDeviceTierConfigsResponse
|
1545
|
+
include Google::Apis::Core::Hashable
|
1546
|
+
|
1547
|
+
# Device tier configs created by the developer.
|
1548
|
+
# Corresponds to the JSON property `deviceTierConfigs`
|
1549
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::DeviceTierConfig>]
|
1550
|
+
attr_accessor :device_tier_configs
|
1551
|
+
|
1552
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1553
|
+
# field is omitted, there are no subsequent pages.
|
1554
|
+
# Corresponds to the JSON property `nextPageToken`
|
1555
|
+
# @return [String]
|
1556
|
+
attr_accessor :next_page_token
|
1557
|
+
|
1558
|
+
def initialize(**args)
|
1559
|
+
update!(**args)
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
# Update properties of this object
|
1563
|
+
def update!(**args)
|
1564
|
+
@device_tier_configs = args[:device_tier_configs] if args.key?(:device_tier_configs)
|
1565
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1320
1569
|
# A response containing one or more users with access to an account.
|
1321
1570
|
class ListUsersResponse
|
1322
1571
|
include Google::Apis::Core::Hashable
|
@@ -2307,6 +2556,25 @@ module Google
|
|
2307
2556
|
end
|
2308
2557
|
end
|
2309
2558
|
|
2559
|
+
# Representation of a system feature.
|
2560
|
+
class SystemFeature
|
2561
|
+
include Google::Apis::Core::Hashable
|
2562
|
+
|
2563
|
+
# The name of the feature.
|
2564
|
+
# Corresponds to the JSON property `name`
|
2565
|
+
# @return [String]
|
2566
|
+
attr_accessor :name
|
2567
|
+
|
2568
|
+
def initialize(**args)
|
2569
|
+
update!(**args)
|
2570
|
+
end
|
2571
|
+
|
2572
|
+
# Update properties of this object
|
2573
|
+
def update!(**args)
|
2574
|
+
@name = args[:name] if args.key?(:name)
|
2575
|
+
end
|
2576
|
+
end
|
2577
|
+
|
2310
2578
|
# The testers of an app. The resource for TestersService. Note: while it is
|
2311
2579
|
# possible in the Play Console UI to add testers via email lists, email lists
|
2312
2580
|
# are not supported by this resource.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidpublisherV3
|
18
18
|
# Version of the google-apis-androidpublisher_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220329"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,18 +130,60 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class DeviceGroup
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class DeviceId
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
133
145
|
class DeviceMetadata
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
147
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
137
149
|
end
|
138
150
|
|
151
|
+
class DeviceRam
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class DeviceSelector
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
139
163
|
class DeviceSpec
|
140
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
165
|
|
142
166
|
include Google::Apis::Core::JsonObjectSupport
|
143
167
|
end
|
144
168
|
|
169
|
+
class DeviceTier
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class DeviceTierConfig
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class DeviceTierSet
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
145
187
|
class ExpansionFile
|
146
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
189
|
|
@@ -256,6 +298,12 @@ module Google
|
|
256
298
|
include Google::Apis::Core::JsonObjectSupport
|
257
299
|
end
|
258
300
|
|
301
|
+
class ListDeviceTierConfigsResponse
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
259
307
|
class ListUsersResponse
|
260
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
309
|
|
@@ -406,6 +454,12 @@ module Google
|
|
406
454
|
include Google::Apis::Core::JsonObjectSupport
|
407
455
|
end
|
408
456
|
|
457
|
+
class SystemFeature
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
409
463
|
class Testers
|
410
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
465
|
|
@@ -649,6 +703,23 @@ module Google
|
|
649
703
|
end
|
650
704
|
end
|
651
705
|
|
706
|
+
class DeviceGroup
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
collection :device_selectors, as: 'deviceSelectors', class: Google::Apis::AndroidpublisherV3::DeviceSelector, decorator: Google::Apis::AndroidpublisherV3::DeviceSelector::Representation
|
710
|
+
|
711
|
+
property :name, as: 'name'
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
class DeviceId
|
716
|
+
# @private
|
717
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
718
|
+
property :build_brand, as: 'buildBrand'
|
719
|
+
property :build_device, as: 'buildDevice'
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
652
723
|
class DeviceMetadata
|
653
724
|
# @private
|
654
725
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -666,6 +737,30 @@ module Google
|
|
666
737
|
end
|
667
738
|
end
|
668
739
|
|
740
|
+
class DeviceRam
|
741
|
+
# @private
|
742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
743
|
+
property :max_bytes, :numeric_string => true, as: 'maxBytes'
|
744
|
+
property :min_bytes, :numeric_string => true, as: 'minBytes'
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
class DeviceSelector
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :device_ram, as: 'deviceRam', class: Google::Apis::AndroidpublisherV3::DeviceRam, decorator: Google::Apis::AndroidpublisherV3::DeviceRam::Representation
|
752
|
+
|
753
|
+
collection :excluded_device_ids, as: 'excludedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation
|
754
|
+
|
755
|
+
collection :forbidden_system_features, as: 'forbiddenSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation
|
756
|
+
|
757
|
+
collection :included_device_ids, as: 'includedDeviceIds', class: Google::Apis::AndroidpublisherV3::DeviceId, decorator: Google::Apis::AndroidpublisherV3::DeviceId::Representation
|
758
|
+
|
759
|
+
collection :required_system_features, as: 'requiredSystemFeatures', class: Google::Apis::AndroidpublisherV3::SystemFeature, decorator: Google::Apis::AndroidpublisherV3::SystemFeature::Representation
|
760
|
+
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
669
764
|
class DeviceSpec
|
670
765
|
# @private
|
671
766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -675,6 +770,33 @@ module Google
|
|
675
770
|
end
|
676
771
|
end
|
677
772
|
|
773
|
+
class DeviceTier
|
774
|
+
# @private
|
775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
776
|
+
collection :device_group_names, as: 'deviceGroupNames'
|
777
|
+
property :level, as: 'level'
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
781
|
+
class DeviceTierConfig
|
782
|
+
# @private
|
783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
784
|
+
collection :device_groups, as: 'deviceGroups', class: Google::Apis::AndroidpublisherV3::DeviceGroup, decorator: Google::Apis::AndroidpublisherV3::DeviceGroup::Representation
|
785
|
+
|
786
|
+
property :device_tier_config_id, :numeric_string => true, as: 'deviceTierConfigId'
|
787
|
+
property :device_tier_set, as: 'deviceTierSet', class: Google::Apis::AndroidpublisherV3::DeviceTierSet, decorator: Google::Apis::AndroidpublisherV3::DeviceTierSet::Representation
|
788
|
+
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
792
|
+
class DeviceTierSet
|
793
|
+
# @private
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
795
|
+
collection :device_tiers, as: 'deviceTiers', class: Google::Apis::AndroidpublisherV3::DeviceTier, decorator: Google::Apis::AndroidpublisherV3::DeviceTier::Representation
|
796
|
+
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
678
800
|
class ExpansionFile
|
679
801
|
# @private
|
680
802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -879,6 +1001,15 @@ module Google
|
|
879
1001
|
end
|
880
1002
|
end
|
881
1003
|
|
1004
|
+
class ListDeviceTierConfigsResponse
|
1005
|
+
# @private
|
1006
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1007
|
+
collection :device_tier_configs, as: 'deviceTierConfigs', class: Google::Apis::AndroidpublisherV3::DeviceTierConfig, decorator: Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
|
1008
|
+
|
1009
|
+
property :next_page_token, as: 'nextPageToken'
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
882
1013
|
class ListUsersResponse
|
883
1014
|
# @private
|
884
1015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1134,6 +1265,13 @@ module Google
|
|
1134
1265
|
end
|
1135
1266
|
end
|
1136
1267
|
|
1268
|
+
class SystemFeature
|
1269
|
+
# @private
|
1270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1271
|
+
property :name, as: 'name'
|
1272
|
+
end
|
1273
|
+
end
|
1274
|
+
|
1137
1275
|
class Testers
|
1138
1276
|
# @private
|
1139
1277
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,117 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Creates a new device tier config for an app.
|
53
|
+
# @param [String] package_name
|
54
|
+
# Package name of the app.
|
55
|
+
# @param [Google::Apis::AndroidpublisherV3::DeviceTierConfig] device_tier_config_object
|
56
|
+
# @param [Boolean] allow_unknown_devices
|
57
|
+
# Whether the service should accept device IDs that are unknown to Play's device
|
58
|
+
# catalog.
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [String] quota_user
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
65
|
+
# Request-specific options
|
66
|
+
#
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
68
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
70
|
+
#
|
71
|
+
# @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig]
|
72
|
+
#
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
+
def create_application_device_tier_config(package_name, device_tier_config_object = nil, allow_unknown_devices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options)
|
78
|
+
command.request_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
|
79
|
+
command.request_object = device_tier_config_object
|
80
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
|
81
|
+
command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig
|
82
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
83
|
+
command.query['allowUnknownDevices'] = allow_unknown_devices unless allow_unknown_devices.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns a particular device tier config.
|
90
|
+
# @param [String] package_name
|
91
|
+
# Package name of the app.
|
92
|
+
# @param [Fixnum] device_tier_config_id
|
93
|
+
# Required. Id of an existing device tier config.
|
94
|
+
# @param [String] fields
|
95
|
+
# Selector specifying which fields to include in a partial response.
|
96
|
+
# @param [String] quota_user
|
97
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
98
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
+
# @param [Google::Apis::RequestOptions] options
|
100
|
+
# Request-specific options
|
101
|
+
#
|
102
|
+
# @yield [result, err] Result & error if block supplied
|
103
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::DeviceTierConfig] parsed result object
|
104
|
+
# @yieldparam err [StandardError] error object if request failed
|
105
|
+
#
|
106
|
+
# @return [Google::Apis::AndroidpublisherV3::DeviceTierConfig]
|
107
|
+
#
|
108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
|
+
def get_application_device_tier_config(package_name, device_tier_config_id, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}', options)
|
113
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::DeviceTierConfig::Representation
|
114
|
+
command.response_class = Google::Apis::AndroidpublisherV3::DeviceTierConfig
|
115
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
116
|
+
command.params['deviceTierConfigId'] = device_tier_config_id unless device_tier_config_id.nil?
|
117
|
+
command.query['fields'] = fields unless fields.nil?
|
118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
119
|
+
execute_or_queue_command(command, &block)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Returns created device tier configs, ordered by descending creation time.
|
123
|
+
# @param [String] package_name
|
124
|
+
# Package name of the app.
|
125
|
+
# @param [Fixnum] page_size
|
126
|
+
# The maximum number of device tier configs to return. The service may return
|
127
|
+
# fewer than this value. If unspecified, at most 10 device tier configs will be
|
128
|
+
# returned. The maximum value for this field is 100; values above 100 will be
|
129
|
+
# coerced to 100. Device tier configs will be ordered by descending creation
|
130
|
+
# time.
|
131
|
+
# @param [String] page_token
|
132
|
+
# A page token, received from a previous `ListDeviceTierConfigs` call. Provide
|
133
|
+
# this to retrieve the subsequent page.
|
134
|
+
# @param [String] fields
|
135
|
+
# Selector specifying which fields to include in a partial response.
|
136
|
+
# @param [String] quota_user
|
137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
139
|
+
# @param [Google::Apis::RequestOptions] options
|
140
|
+
# Request-specific options
|
141
|
+
#
|
142
|
+
# @yield [result, err] Result & error if block supplied
|
143
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse] parsed result object
|
144
|
+
# @yieldparam err [StandardError] error object if request failed
|
145
|
+
#
|
146
|
+
# @return [Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse]
|
147
|
+
#
|
148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
|
+
def list_application_device_tier_configs(package_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/deviceTierConfigs', options)
|
153
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse::Representation
|
154
|
+
command.response_class = Google::Apis::AndroidpublisherV3::ListDeviceTierConfigsResponse
|
155
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
156
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
157
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
158
|
+
command.query['fields'] = fields unless fields.nil?
|
159
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
160
|
+
execute_or_queue_command(command, &block)
|
161
|
+
end
|
162
|
+
|
52
163
|
# Commits an app edit.
|
53
164
|
# @param [String] package_name
|
54
165
|
# Package name of the app.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidpublisher_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|