google-apis-androidpublisher_v3 0.53.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +1311 -3
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +767 -43
- data/lib/google/apis/androidpublisher_v3/service.rb +659 -6
- metadata +6 -6
@@ -91,12 +91,37 @@ module Google
|
|
91
91
|
class ActivateBasePlanRequest
|
92
92
|
include Google::Apis::Core::Hashable
|
93
93
|
|
94
|
+
# Required. The unique base plan ID of the base plan to activate.
|
95
|
+
# Corresponds to the JSON property `basePlanId`
|
96
|
+
# @return [String]
|
97
|
+
attr_accessor :base_plan_id
|
98
|
+
|
99
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
100
|
+
# Defaults to latency-sensitive.
|
101
|
+
# Corresponds to the JSON property `latencyTolerance`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :latency_tolerance
|
104
|
+
|
105
|
+
# Required. The parent app (package name) of the base plan to activate.
|
106
|
+
# Corresponds to the JSON property `packageName`
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :package_name
|
109
|
+
|
110
|
+
# Required. The parent subscription (ID) of the base plan to activate.
|
111
|
+
# Corresponds to the JSON property `productId`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :product_id
|
114
|
+
|
94
115
|
def initialize(**args)
|
95
116
|
update!(**args)
|
96
117
|
end
|
97
118
|
|
98
119
|
# Update properties of this object
|
99
120
|
def update!(**args)
|
121
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
122
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
123
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
124
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
100
125
|
end
|
101
126
|
end
|
102
127
|
|
@@ -104,12 +129,116 @@ module Google
|
|
104
129
|
class ActivateSubscriptionOfferRequest
|
105
130
|
include Google::Apis::Core::Hashable
|
106
131
|
|
132
|
+
# Required. The parent base plan (ID) of the offer to activate.
|
133
|
+
# Corresponds to the JSON property `basePlanId`
|
134
|
+
# @return [String]
|
135
|
+
attr_accessor :base_plan_id
|
136
|
+
|
137
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
138
|
+
# Defaults to latency-sensitive.
|
139
|
+
# Corresponds to the JSON property `latencyTolerance`
|
140
|
+
# @return [String]
|
141
|
+
attr_accessor :latency_tolerance
|
142
|
+
|
143
|
+
# Required. The unique offer ID of the offer to activate.
|
144
|
+
# Corresponds to the JSON property `offerId`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :offer_id
|
147
|
+
|
148
|
+
# Required. The parent app (package name) of the offer to activate.
|
149
|
+
# Corresponds to the JSON property `packageName`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :package_name
|
152
|
+
|
153
|
+
# Required. The parent subscription (ID) of the offer to activate.
|
154
|
+
# Corresponds to the JSON property `productId`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :product_id
|
157
|
+
|
158
|
+
def initialize(**args)
|
159
|
+
update!(**args)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Update properties of this object
|
163
|
+
def update!(**args)
|
164
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
165
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
166
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
167
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
168
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# Request message for AddTargeting.
|
173
|
+
class AddTargetingRequest
|
174
|
+
include Google::Apis::Core::Hashable
|
175
|
+
|
176
|
+
# Update type for targeting. Note it is always a subset Targeting.
|
177
|
+
# Corresponds to the JSON property `targetingUpdate`
|
178
|
+
# @return [Google::Apis::AndroidpublisherV3::TargetingUpdate]
|
179
|
+
attr_accessor :targeting_update
|
180
|
+
|
181
|
+
def initialize(**args)
|
182
|
+
update!(**args)
|
183
|
+
end
|
184
|
+
|
185
|
+
# Update properties of this object
|
186
|
+
def update!(**args)
|
187
|
+
@targeting_update = args[:targeting_update] if args.key?(:targeting_update)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# Response message for AddTargeting.
|
192
|
+
class AddTargetingResponse
|
193
|
+
include Google::Apis::Core::Hashable
|
194
|
+
|
195
|
+
def initialize(**args)
|
196
|
+
update!(**args)
|
197
|
+
end
|
198
|
+
|
199
|
+
# Update properties of this object
|
200
|
+
def update!(**args)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# Object representation to describe all set of users.
|
205
|
+
class AllUsers
|
206
|
+
include Google::Apis::Core::Hashable
|
207
|
+
|
208
|
+
# Required. Set to true if all set of users are needed.
|
209
|
+
# Corresponds to the JSON property `isAllUsersRequested`
|
210
|
+
# @return [Boolean]
|
211
|
+
attr_accessor :is_all_users_requested
|
212
|
+
alias_method :is_all_users_requested?, :is_all_users_requested
|
213
|
+
|
214
|
+
def initialize(**args)
|
215
|
+
update!(**args)
|
216
|
+
end
|
217
|
+
|
218
|
+
# Update properties of this object
|
219
|
+
def update!(**args)
|
220
|
+
@is_all_users_requested = args[:is_all_users_requested] if args.key?(:is_all_users_requested)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# Android api level targeting data for app recovery action targeting.
|
225
|
+
class AndroidSdks
|
226
|
+
include Google::Apis::Core::Hashable
|
227
|
+
|
228
|
+
# Android api levels of devices targeted by recovery action. See https://
|
229
|
+
# developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels for
|
230
|
+
# different api levels in android.
|
231
|
+
# Corresponds to the JSON property `sdkLevels`
|
232
|
+
# @return [Array<Fixnum>]
|
233
|
+
attr_accessor :sdk_levels
|
234
|
+
|
107
235
|
def initialize(**args)
|
108
236
|
update!(**args)
|
109
237
|
end
|
110
238
|
|
111
239
|
# Update properties of this object
|
112
240
|
def update!(**args)
|
241
|
+
@sdk_levels = args[:sdk_levels] if args.key?(:sdk_levels)
|
113
242
|
end
|
114
243
|
end
|
115
244
|
|
@@ -421,6 +550,119 @@ module Google
|
|
421
550
|
end
|
422
551
|
end
|
423
552
|
|
553
|
+
# Information about an app recovery action.
|
554
|
+
class AppRecoveryAction
|
555
|
+
include Google::Apis::Core::Hashable
|
556
|
+
|
557
|
+
# ID corresponding to the app recovery action.
|
558
|
+
# Corresponds to the JSON property `appRecoveryId`
|
559
|
+
# @return [Fixnum]
|
560
|
+
attr_accessor :app_recovery_id
|
561
|
+
|
562
|
+
# Timestamp of when the app recovery action is canceled by the developer. Only
|
563
|
+
# set if the recovery action has been canceled.
|
564
|
+
# Corresponds to the JSON property `cancelTime`
|
565
|
+
# @return [String]
|
566
|
+
attr_accessor :cancel_time
|
567
|
+
|
568
|
+
# Timestamp of when the app recovery action is created by the developer. It is
|
569
|
+
# always set after creation of the recovery action.
|
570
|
+
# Corresponds to the JSON property `createTime`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :create_time
|
573
|
+
|
574
|
+
# Timestamp of when the app recovery action is deployed to the users. Only set
|
575
|
+
# if the recovery action has been deployed.
|
576
|
+
# Corresponds to the JSON property `deployTime`
|
577
|
+
# @return [String]
|
578
|
+
attr_accessor :deploy_time
|
579
|
+
|
580
|
+
# Timestamp of when the developer last updated recovery action. In case the
|
581
|
+
# action is cancelled, it corresponds to cancellation time. It is always set
|
582
|
+
# after creation of the recovery action.
|
583
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :last_update_time
|
586
|
+
|
587
|
+
# Data related to Remote In-App Update action such as recovered user count,
|
588
|
+
# affected user count etc.
|
589
|
+
# Corresponds to the JSON property `remoteInAppUpdateData`
|
590
|
+
# @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData]
|
591
|
+
attr_accessor :remote_in_app_update_data
|
592
|
+
|
593
|
+
# The status of the recovery action.
|
594
|
+
# Corresponds to the JSON property `status`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :status
|
597
|
+
|
598
|
+
# Targeting details for a recovery action such as regions, android sdk levels,
|
599
|
+
# app versions etc.
|
600
|
+
# Corresponds to the JSON property `targeting`
|
601
|
+
# @return [Google::Apis::AndroidpublisherV3::Targeting]
|
602
|
+
attr_accessor :targeting
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@app_recovery_id = args[:app_recovery_id] if args.key?(:app_recovery_id)
|
611
|
+
@cancel_time = args[:cancel_time] if args.key?(:cancel_time)
|
612
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
613
|
+
@deploy_time = args[:deploy_time] if args.key?(:deploy_time)
|
614
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
615
|
+
@remote_in_app_update_data = args[:remote_in_app_update_data] if args.key?(:remote_in_app_update_data)
|
616
|
+
@status = args[:status] if args.key?(:status)
|
617
|
+
@targeting = args[:targeting] if args.key?(:targeting)
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# Data format for a list of app versions. Only one app version is supported for
|
622
|
+
# now.
|
623
|
+
class AppVersionList
|
624
|
+
include Google::Apis::Core::Hashable
|
625
|
+
|
626
|
+
# List of app version codes.
|
627
|
+
# Corresponds to the JSON property `versionCodes`
|
628
|
+
# @return [Array<Fixnum>]
|
629
|
+
attr_accessor :version_codes
|
630
|
+
|
631
|
+
def initialize(**args)
|
632
|
+
update!(**args)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Update properties of this object
|
636
|
+
def update!(**args)
|
637
|
+
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# Data format for a continuous range of app versions.
|
642
|
+
class AppVersionRange
|
643
|
+
include Google::Apis::Core::Hashable
|
644
|
+
|
645
|
+
# Highest app version in the range, inclusive.
|
646
|
+
# Corresponds to the JSON property `versionCodeEnd`
|
647
|
+
# @return [Fixnum]
|
648
|
+
attr_accessor :version_code_end
|
649
|
+
|
650
|
+
# Lowest app version in the range, inclusive.
|
651
|
+
# Corresponds to the JSON property `versionCodeStart`
|
652
|
+
# @return [Fixnum]
|
653
|
+
attr_accessor :version_code_start
|
654
|
+
|
655
|
+
def initialize(**args)
|
656
|
+
update!(**args)
|
657
|
+
end
|
658
|
+
|
659
|
+
# Update properties of this object
|
660
|
+
def update!(**args)
|
661
|
+
@version_code_end = args[:version_code_end] if args.key?(:version_code_end)
|
662
|
+
@version_code_start = args[:version_code_start] if args.key?(:version_code_start)
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
424
666
|
# Request message for ArchiveSubscription.
|
425
667
|
class ArchiveSubscriptionRequest
|
426
668
|
include Google::Apis::Core::Hashable
|
@@ -641,6 +883,261 @@ module Google
|
|
641
883
|
end
|
642
884
|
end
|
643
885
|
|
886
|
+
# Request message for BatchGetSubscriptionOffers endpoint.
|
887
|
+
class BatchGetSubscriptionOffersRequest
|
888
|
+
include Google::Apis::Core::Hashable
|
889
|
+
|
890
|
+
# Required. A list of update requests of up to 100 elements. All requests must
|
891
|
+
# update different subscriptions.
|
892
|
+
# Corresponds to the JSON property `requests`
|
893
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::GetSubscriptionOfferRequest>]
|
894
|
+
attr_accessor :requests
|
895
|
+
|
896
|
+
def initialize(**args)
|
897
|
+
update!(**args)
|
898
|
+
end
|
899
|
+
|
900
|
+
# Update properties of this object
|
901
|
+
def update!(**args)
|
902
|
+
@requests = args[:requests] if args.key?(:requests)
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
# Response message for BatchGetSubscriptionOffers endpoint.
|
907
|
+
class BatchGetSubscriptionOffersResponse
|
908
|
+
include Google::Apis::Core::Hashable
|
909
|
+
|
910
|
+
#
|
911
|
+
# Corresponds to the JSON property `subscriptionOffers`
|
912
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::SubscriptionOffer>]
|
913
|
+
attr_accessor :subscription_offers
|
914
|
+
|
915
|
+
def initialize(**args)
|
916
|
+
update!(**args)
|
917
|
+
end
|
918
|
+
|
919
|
+
# Update properties of this object
|
920
|
+
def update!(**args)
|
921
|
+
@subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers)
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
# Response message for BatchGetSubscriptions endpoint.
|
926
|
+
class BatchGetSubscriptionsResponse
|
927
|
+
include Google::Apis::Core::Hashable
|
928
|
+
|
929
|
+
# The list of requested subscriptions, in the same order as the request.
|
930
|
+
# Corresponds to the JSON property `subscriptions`
|
931
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::Subscription>]
|
932
|
+
attr_accessor :subscriptions
|
933
|
+
|
934
|
+
def initialize(**args)
|
935
|
+
update!(**args)
|
936
|
+
end
|
937
|
+
|
938
|
+
# Update properties of this object
|
939
|
+
def update!(**args)
|
940
|
+
@subscriptions = args[:subscriptions] if args.key?(:subscriptions)
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
# Request message for BatchMigrateBasePlanPrices.
|
945
|
+
class BatchMigrateBasePlanPricesRequest
|
946
|
+
include Google::Apis::Core::Hashable
|
947
|
+
|
948
|
+
# Required. Up to 100 price migration requests. All requests must update
|
949
|
+
# different base plans.
|
950
|
+
# Corresponds to the JSON property `requests`
|
951
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest>]
|
952
|
+
attr_accessor :requests
|
953
|
+
|
954
|
+
def initialize(**args)
|
955
|
+
update!(**args)
|
956
|
+
end
|
957
|
+
|
958
|
+
# Update properties of this object
|
959
|
+
def update!(**args)
|
960
|
+
@requests = args[:requests] if args.key?(:requests)
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
964
|
+
# Response message for BatchMigrateBasePlanPrices.
|
965
|
+
class BatchMigrateBasePlanPricesResponse
|
966
|
+
include Google::Apis::Core::Hashable
|
967
|
+
|
968
|
+
# Contains one response per requested price migration, in the same order as the
|
969
|
+
# request.
|
970
|
+
# Corresponds to the JSON property `responses`
|
971
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse>]
|
972
|
+
attr_accessor :responses
|
973
|
+
|
974
|
+
def initialize(**args)
|
975
|
+
update!(**args)
|
976
|
+
end
|
977
|
+
|
978
|
+
# Update properties of this object
|
979
|
+
def update!(**args)
|
980
|
+
@responses = args[:responses] if args.key?(:responses)
|
981
|
+
end
|
982
|
+
end
|
983
|
+
|
984
|
+
# Request message for BatchUpdateBasePlanStates.
|
985
|
+
class BatchUpdateBasePlanStatesRequest
|
986
|
+
include Google::Apis::Core::Hashable
|
987
|
+
|
988
|
+
# Required. The update request list of up to 100 elements. All requests must
|
989
|
+
# update different base plans.
|
990
|
+
# Corresponds to the JSON property `requests`
|
991
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest>]
|
992
|
+
attr_accessor :requests
|
993
|
+
|
994
|
+
def initialize(**args)
|
995
|
+
update!(**args)
|
996
|
+
end
|
997
|
+
|
998
|
+
# Update properties of this object
|
999
|
+
def update!(**args)
|
1000
|
+
@requests = args[:requests] if args.key?(:requests)
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# Response message for BatchUpdateBasePlanStates.
|
1005
|
+
class BatchUpdateBasePlanStatesResponse
|
1006
|
+
include Google::Apis::Core::Hashable
|
1007
|
+
|
1008
|
+
# The list of updated subscriptions. This list will match the requests one to
|
1009
|
+
# one, in the same order.
|
1010
|
+
# Corresponds to the JSON property `subscriptions`
|
1011
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::Subscription>]
|
1012
|
+
attr_accessor :subscriptions
|
1013
|
+
|
1014
|
+
def initialize(**args)
|
1015
|
+
update!(**args)
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Update properties of this object
|
1019
|
+
def update!(**args)
|
1020
|
+
@subscriptions = args[:subscriptions] if args.key?(:subscriptions)
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Request message for BatchUpdateSubscriptionOfferStates.
|
1025
|
+
class BatchUpdateSubscriptionOfferStatesRequest
|
1026
|
+
include Google::Apis::Core::Hashable
|
1027
|
+
|
1028
|
+
# Required. The update request list of up to 100 elements. All requests must
|
1029
|
+
# update different offers.
|
1030
|
+
# Corresponds to the JSON property `requests`
|
1031
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferStateRequest>]
|
1032
|
+
attr_accessor :requests
|
1033
|
+
|
1034
|
+
def initialize(**args)
|
1035
|
+
update!(**args)
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Update properties of this object
|
1039
|
+
def update!(**args)
|
1040
|
+
@requests = args[:requests] if args.key?(:requests)
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# Response message for BatchUpdateSubscriptionOfferStates.
|
1045
|
+
class BatchUpdateSubscriptionOfferStatesResponse
|
1046
|
+
include Google::Apis::Core::Hashable
|
1047
|
+
|
1048
|
+
# The updated subscription offers list.
|
1049
|
+
# Corresponds to the JSON property `subscriptionOffers`
|
1050
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::SubscriptionOffer>]
|
1051
|
+
attr_accessor :subscription_offers
|
1052
|
+
|
1053
|
+
def initialize(**args)
|
1054
|
+
update!(**args)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Update properties of this object
|
1058
|
+
def update!(**args)
|
1059
|
+
@subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers)
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# Request message for BatchUpdateSubscriptionOffers.
|
1064
|
+
class BatchUpdateSubscriptionOffersRequest
|
1065
|
+
include Google::Apis::Core::Hashable
|
1066
|
+
|
1067
|
+
# Required. A list of update requests of up to 100 elements. All requests must
|
1068
|
+
# update different subscription offers.
|
1069
|
+
# Corresponds to the JSON property `requests`
|
1070
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferRequest>]
|
1071
|
+
attr_accessor :requests
|
1072
|
+
|
1073
|
+
def initialize(**args)
|
1074
|
+
update!(**args)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Update properties of this object
|
1078
|
+
def update!(**args)
|
1079
|
+
@requests = args[:requests] if args.key?(:requests)
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# Response message for BatchUpdateSubscriptionOffers.
|
1084
|
+
class BatchUpdateSubscriptionOffersResponse
|
1085
|
+
include Google::Apis::Core::Hashable
|
1086
|
+
|
1087
|
+
# The updated subscription offers list.
|
1088
|
+
# Corresponds to the JSON property `subscriptionOffers`
|
1089
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::SubscriptionOffer>]
|
1090
|
+
attr_accessor :subscription_offers
|
1091
|
+
|
1092
|
+
def initialize(**args)
|
1093
|
+
update!(**args)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Update properties of this object
|
1097
|
+
def update!(**args)
|
1098
|
+
@subscription_offers = args[:subscription_offers] if args.key?(:subscription_offers)
|
1099
|
+
end
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Request message for BatchUpdateSubscription.
|
1103
|
+
class BatchUpdateSubscriptionsRequest
|
1104
|
+
include Google::Apis::Core::Hashable
|
1105
|
+
|
1106
|
+
# Required. A list of update requests of up to 100 elements. All requests must
|
1107
|
+
# update different subscriptions.
|
1108
|
+
# Corresponds to the JSON property `requests`
|
1109
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UpdateSubscriptionRequest>]
|
1110
|
+
attr_accessor :requests
|
1111
|
+
|
1112
|
+
def initialize(**args)
|
1113
|
+
update!(**args)
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# Update properties of this object
|
1117
|
+
def update!(**args)
|
1118
|
+
@requests = args[:requests] if args.key?(:requests)
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# Response message for BatchUpdateSubscription.
|
1123
|
+
class BatchUpdateSubscriptionsResponse
|
1124
|
+
include Google::Apis::Core::Hashable
|
1125
|
+
|
1126
|
+
# The updated subscriptions list.
|
1127
|
+
# Corresponds to the JSON property `subscriptions`
|
1128
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::Subscription>]
|
1129
|
+
attr_accessor :subscriptions
|
1130
|
+
|
1131
|
+
def initialize(**args)
|
1132
|
+
update!(**args)
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# Update properties of this object
|
1136
|
+
def update!(**args)
|
1137
|
+
@subscriptions = args[:subscriptions] if args.key?(:subscriptions)
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
644
1141
|
# Information about an app bundle. The resource for BundlesService.
|
645
1142
|
class Bundle
|
646
1143
|
include Google::Apis::Core::Hashable
|
@@ -700,6 +1197,32 @@ module Google
|
|
700
1197
|
end
|
701
1198
|
end
|
702
1199
|
|
1200
|
+
# Request message for CancelAppRecovery.
|
1201
|
+
class CancelAppRecoveryRequest
|
1202
|
+
include Google::Apis::Core::Hashable
|
1203
|
+
|
1204
|
+
def initialize(**args)
|
1205
|
+
update!(**args)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# Update properties of this object
|
1209
|
+
def update!(**args)
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
# Response message for CancelAppRecovery.
|
1214
|
+
class CancelAppRecoveryResponse
|
1215
|
+
include Google::Apis::Core::Hashable
|
1216
|
+
|
1217
|
+
def initialize(**args)
|
1218
|
+
update!(**args)
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
# Update properties of this object
|
1222
|
+
def update!(**args)
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
703
1226
|
# Result of the cancel survey when the subscription was canceled by the user.
|
704
1227
|
class CancelSurveyResult
|
705
1228
|
include Google::Apis::Core::Hashable
|
@@ -915,16 +1438,67 @@ module Google
|
|
915
1438
|
end
|
916
1439
|
end
|
917
1440
|
|
1441
|
+
# Request message for CreateDraftAppRecovery.
|
1442
|
+
class CreateDraftAppRecoveryRequest
|
1443
|
+
include Google::Apis::Core::Hashable
|
1444
|
+
|
1445
|
+
# Object representation for Remote in-app update action type.
|
1446
|
+
# Corresponds to the JSON property `remoteInAppUpdate`
|
1447
|
+
# @return [Google::Apis::AndroidpublisherV3::RemoteInAppUpdate]
|
1448
|
+
attr_accessor :remote_in_app_update
|
1449
|
+
|
1450
|
+
# Targeting details for a recovery action such as regions, android sdk levels,
|
1451
|
+
# app versions etc.
|
1452
|
+
# Corresponds to the JSON property `targeting`
|
1453
|
+
# @return [Google::Apis::AndroidpublisherV3::Targeting]
|
1454
|
+
attr_accessor :targeting
|
1455
|
+
|
1456
|
+
def initialize(**args)
|
1457
|
+
update!(**args)
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Update properties of this object
|
1461
|
+
def update!(**args)
|
1462
|
+
@remote_in_app_update = args[:remote_in_app_update] if args.key?(:remote_in_app_update)
|
1463
|
+
@targeting = args[:targeting] if args.key?(:targeting)
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
918
1467
|
# Request message for DeactivateBasePlan.
|
919
1468
|
class DeactivateBasePlanRequest
|
920
1469
|
include Google::Apis::Core::Hashable
|
921
1470
|
|
1471
|
+
# Required. The unique base plan ID of the base plan to deactivate.
|
1472
|
+
# Corresponds to the JSON property `basePlanId`
|
1473
|
+
# @return [String]
|
1474
|
+
attr_accessor :base_plan_id
|
1475
|
+
|
1476
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
1477
|
+
# Defaults to latency-sensitive.
|
1478
|
+
# Corresponds to the JSON property `latencyTolerance`
|
1479
|
+
# @return [String]
|
1480
|
+
attr_accessor :latency_tolerance
|
1481
|
+
|
1482
|
+
# Required. The parent app (package name) of the base plan to deactivate.
|
1483
|
+
# Corresponds to the JSON property `packageName`
|
1484
|
+
# @return [String]
|
1485
|
+
attr_accessor :package_name
|
1486
|
+
|
1487
|
+
# Required. The parent subscription (ID) of the base plan to deactivate.
|
1488
|
+
# Corresponds to the JSON property `productId`
|
1489
|
+
# @return [String]
|
1490
|
+
attr_accessor :product_id
|
1491
|
+
|
922
1492
|
def initialize(**args)
|
923
1493
|
update!(**args)
|
924
1494
|
end
|
925
1495
|
|
926
1496
|
# Update properties of this object
|
927
1497
|
def update!(**args)
|
1498
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
1499
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
1500
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1501
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
928
1502
|
end
|
929
1503
|
end
|
930
1504
|
|
@@ -932,12 +1506,43 @@ module Google
|
|
932
1506
|
class DeactivateSubscriptionOfferRequest
|
933
1507
|
include Google::Apis::Core::Hashable
|
934
1508
|
|
1509
|
+
# Required. The parent base plan (ID) of the offer to deactivate.
|
1510
|
+
# Corresponds to the JSON property `basePlanId`
|
1511
|
+
# @return [String]
|
1512
|
+
attr_accessor :base_plan_id
|
1513
|
+
|
1514
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
1515
|
+
# Defaults to latency-sensitive.
|
1516
|
+
# Corresponds to the JSON property `latencyTolerance`
|
1517
|
+
# @return [String]
|
1518
|
+
attr_accessor :latency_tolerance
|
1519
|
+
|
1520
|
+
# Required. The unique offer ID of the offer to deactivate.
|
1521
|
+
# Corresponds to the JSON property `offerId`
|
1522
|
+
# @return [String]
|
1523
|
+
attr_accessor :offer_id
|
1524
|
+
|
1525
|
+
# Required. The parent app (package name) of the offer to deactivate.
|
1526
|
+
# Corresponds to the JSON property `packageName`
|
1527
|
+
# @return [String]
|
1528
|
+
attr_accessor :package_name
|
1529
|
+
|
1530
|
+
# Required. The parent subscription (ID) of the offer to deactivate.
|
1531
|
+
# Corresponds to the JSON property `productId`
|
1532
|
+
# @return [String]
|
1533
|
+
attr_accessor :product_id
|
1534
|
+
|
935
1535
|
def initialize(**args)
|
936
1536
|
update!(**args)
|
937
1537
|
end
|
938
1538
|
|
939
1539
|
# Update properties of this object
|
940
1540
|
def update!(**args)
|
1541
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
1542
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
1543
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
1544
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
1545
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
941
1546
|
end
|
942
1547
|
end
|
943
1548
|
|
@@ -998,6 +1603,32 @@ module Google
|
|
998
1603
|
end
|
999
1604
|
end
|
1000
1605
|
|
1606
|
+
# Request message for DeployAppRecovery.
|
1607
|
+
class DeployAppRecoveryRequest
|
1608
|
+
include Google::Apis::Core::Hashable
|
1609
|
+
|
1610
|
+
def initialize(**args)
|
1611
|
+
update!(**args)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# Update properties of this object
|
1615
|
+
def update!(**args)
|
1616
|
+
end
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# Response message for DeployAppRecovery.
|
1620
|
+
class DeployAppRecoveryResponse
|
1621
|
+
include Google::Apis::Core::Hashable
|
1622
|
+
|
1623
|
+
def initialize(**args)
|
1624
|
+
update!(**args)
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# Update properties of this object
|
1628
|
+
def update!(**args)
|
1629
|
+
end
|
1630
|
+
end
|
1631
|
+
|
1001
1632
|
# Developer entry from conversation between user and developer.
|
1002
1633
|
class DeveloperComment
|
1003
1634
|
include Google::Apis::Core::Hashable
|
@@ -1827,6 +2458,14 @@ module Google
|
|
1827
2458
|
# @return [Array<Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice>]
|
1828
2459
|
attr_accessor :generated_asset_pack_slices
|
1829
2460
|
|
2461
|
+
# Generated recovery apks for recovery actions signed with a key corresponding
|
2462
|
+
# to certificate_sha256_hash. This includes all generated recovery APKs, also
|
2463
|
+
# those in draft or cancelled state. This field is not set if no recovery
|
2464
|
+
# actions were created for this signing key.
|
2465
|
+
# Corresponds to the JSON property `generatedRecoveryModules`
|
2466
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::GeneratedRecoveryApk>]
|
2467
|
+
attr_accessor :generated_recovery_modules
|
2468
|
+
|
1830
2469
|
# List of generated split APKs, signed with a key corresponding to
|
1831
2470
|
# certificate_sha256_hash.
|
1832
2471
|
# Corresponds to the JSON property `generatedSplitApks`
|
@@ -1857,6 +2496,7 @@ module Google
|
|
1857
2496
|
def update!(**args)
|
1858
2497
|
@certificate_sha256_hash = args[:certificate_sha256_hash] if args.key?(:certificate_sha256_hash)
|
1859
2498
|
@generated_asset_pack_slices = args[:generated_asset_pack_slices] if args.key?(:generated_asset_pack_slices)
|
2499
|
+
@generated_recovery_modules = args[:generated_recovery_modules] if args.key?(:generated_recovery_modules)
|
1860
2500
|
@generated_split_apks = args[:generated_split_apks] if args.key?(:generated_split_apks)
|
1861
2501
|
@generated_standalone_apks = args[:generated_standalone_apks] if args.key?(:generated_standalone_apks)
|
1862
2502
|
@generated_universal_apk = args[:generated_universal_apk] if args.key?(:generated_universal_apk)
|
@@ -1902,6 +2542,44 @@ module Google
|
|
1902
2542
|
end
|
1903
2543
|
end
|
1904
2544
|
|
2545
|
+
# Download metadata for an app recovery module.
|
2546
|
+
class GeneratedRecoveryApk
|
2547
|
+
include Google::Apis::Core::Hashable
|
2548
|
+
|
2549
|
+
# Download ID, which uniquely identifies the APK to download. Should be supplied
|
2550
|
+
# to `generatedapks.download` method.
|
2551
|
+
# Corresponds to the JSON property `downloadId`
|
2552
|
+
# @return [String]
|
2553
|
+
attr_accessor :download_id
|
2554
|
+
|
2555
|
+
# Name of the module which recovery apk belongs to.
|
2556
|
+
# Corresponds to the JSON property `moduleName`
|
2557
|
+
# @return [String]
|
2558
|
+
attr_accessor :module_name
|
2559
|
+
|
2560
|
+
# ID of the recovery action.
|
2561
|
+
# Corresponds to the JSON property `recoveryId`
|
2562
|
+
# @return [Fixnum]
|
2563
|
+
attr_accessor :recovery_id
|
2564
|
+
|
2565
|
+
# The status of the recovery action corresponding to the recovery apk.
|
2566
|
+
# Corresponds to the JSON property `recoveryStatus`
|
2567
|
+
# @return [String]
|
2568
|
+
attr_accessor :recovery_status
|
2569
|
+
|
2570
|
+
def initialize(**args)
|
2571
|
+
update!(**args)
|
2572
|
+
end
|
2573
|
+
|
2574
|
+
# Update properties of this object
|
2575
|
+
def update!(**args)
|
2576
|
+
@download_id = args[:download_id] if args.key?(:download_id)
|
2577
|
+
@module_name = args[:module_name] if args.key?(:module_name)
|
2578
|
+
@recovery_id = args[:recovery_id] if args.key?(:recovery_id)
|
2579
|
+
@recovery_status = args[:recovery_status] if args.key?(:recovery_status)
|
2580
|
+
end
|
2581
|
+
end
|
2582
|
+
|
1905
2583
|
# Download metadata for a split APK.
|
1906
2584
|
class GeneratedSplitApk
|
1907
2585
|
include Google::Apis::Core::Hashable
|
@@ -1986,6 +2664,43 @@ module Google
|
|
1986
2664
|
end
|
1987
2665
|
end
|
1988
2666
|
|
2667
|
+
# Request message for GetSubscriptionOffer.
|
2668
|
+
class GetSubscriptionOfferRequest
|
2669
|
+
include Google::Apis::Core::Hashable
|
2670
|
+
|
2671
|
+
# Required. The parent base plan (ID) of the offer to get.
|
2672
|
+
# Corresponds to the JSON property `basePlanId`
|
2673
|
+
# @return [String]
|
2674
|
+
attr_accessor :base_plan_id
|
2675
|
+
|
2676
|
+
# Required. The unique offer ID of the offer to get.
|
2677
|
+
# Corresponds to the JSON property `offerId`
|
2678
|
+
# @return [String]
|
2679
|
+
attr_accessor :offer_id
|
2680
|
+
|
2681
|
+
# Required. The parent app (package name) of the offer to get.
|
2682
|
+
# Corresponds to the JSON property `packageName`
|
2683
|
+
# @return [String]
|
2684
|
+
attr_accessor :package_name
|
2685
|
+
|
2686
|
+
# Required. The parent subscription (ID) of the offer to get.
|
2687
|
+
# Corresponds to the JSON property `productId`
|
2688
|
+
# @return [String]
|
2689
|
+
attr_accessor :product_id
|
2690
|
+
|
2691
|
+
def initialize(**args)
|
2692
|
+
update!(**args)
|
2693
|
+
end
|
2694
|
+
|
2695
|
+
# Update properties of this object
|
2696
|
+
def update!(**args)
|
2697
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
2698
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
2699
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
2700
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
2701
|
+
end
|
2702
|
+
end
|
2703
|
+
|
1989
2704
|
# An access grant resource.
|
1990
2705
|
class Grant
|
1991
2706
|
include Google::Apis::Core::Hashable
|
@@ -2244,6 +2959,117 @@ module Google
|
|
2244
2959
|
end
|
2245
2960
|
end
|
2246
2961
|
|
2962
|
+
# Request to delete multiple in-app products.
|
2963
|
+
class InappproductsBatchDeleteRequest
|
2964
|
+
include Google::Apis::Core::Hashable
|
2965
|
+
|
2966
|
+
# Individual delete requests. At least one request is required. Can contain up
|
2967
|
+
# to 100 requests. All requests must correspond to different in-app products.
|
2968
|
+
# Corresponds to the JSON property `requests`
|
2969
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::InappproductsDeleteRequest>]
|
2970
|
+
attr_accessor :requests
|
2971
|
+
|
2972
|
+
def initialize(**args)
|
2973
|
+
update!(**args)
|
2974
|
+
end
|
2975
|
+
|
2976
|
+
# Update properties of this object
|
2977
|
+
def update!(**args)
|
2978
|
+
@requests = args[:requests] if args.key?(:requests)
|
2979
|
+
end
|
2980
|
+
end
|
2981
|
+
|
2982
|
+
# Response message for BatchGetSubscriptions endpoint.
|
2983
|
+
class InappproductsBatchGetResponse
|
2984
|
+
include Google::Apis::Core::Hashable
|
2985
|
+
|
2986
|
+
# The list of requested in-app products, in the same order as the request.
|
2987
|
+
# Corresponds to the JSON property `inappproduct`
|
2988
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
|
2989
|
+
attr_accessor :inappproduct
|
2990
|
+
|
2991
|
+
def initialize(**args)
|
2992
|
+
update!(**args)
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
# Update properties of this object
|
2996
|
+
def update!(**args)
|
2997
|
+
@inappproduct = args[:inappproduct] if args.key?(:inappproduct)
|
2998
|
+
end
|
2999
|
+
end
|
3000
|
+
|
3001
|
+
# Request to update or insert one or more in-app products.
|
3002
|
+
class InappproductsBatchUpdateRequest
|
3003
|
+
include Google::Apis::Core::Hashable
|
3004
|
+
|
3005
|
+
# Required. Individual update requests. At least one request is required. Can
|
3006
|
+
# contain up to 100 requests. All requests must correspond to different in-app
|
3007
|
+
# products.
|
3008
|
+
# Corresponds to the JSON property `requests`
|
3009
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::InappproductsUpdateRequest>]
|
3010
|
+
attr_accessor :requests
|
3011
|
+
|
3012
|
+
def initialize(**args)
|
3013
|
+
update!(**args)
|
3014
|
+
end
|
3015
|
+
|
3016
|
+
# Update properties of this object
|
3017
|
+
def update!(**args)
|
3018
|
+
@requests = args[:requests] if args.key?(:requests)
|
3019
|
+
end
|
3020
|
+
end
|
3021
|
+
|
3022
|
+
# Response for a batch in-app product update.
|
3023
|
+
class InappproductsBatchUpdateResponse
|
3024
|
+
include Google::Apis::Core::Hashable
|
3025
|
+
|
3026
|
+
# The updated or inserted in-app products.
|
3027
|
+
# Corresponds to the JSON property `inappproducts`
|
3028
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
|
3029
|
+
attr_accessor :inappproducts
|
3030
|
+
|
3031
|
+
def initialize(**args)
|
3032
|
+
update!(**args)
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# Update properties of this object
|
3036
|
+
def update!(**args)
|
3037
|
+
@inappproducts = args[:inappproducts] if args.key?(:inappproducts)
|
3038
|
+
end
|
3039
|
+
end
|
3040
|
+
|
3041
|
+
# Request to delete an in-app product.
|
3042
|
+
class InappproductsDeleteRequest
|
3043
|
+
include Google::Apis::Core::Hashable
|
3044
|
+
|
3045
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
3046
|
+
# Defaults to latency-sensitive.
|
3047
|
+
# Corresponds to the JSON property `latencyTolerance`
|
3048
|
+
# @return [String]
|
3049
|
+
attr_accessor :latency_tolerance
|
3050
|
+
|
3051
|
+
# Package name of the app.
|
3052
|
+
# Corresponds to the JSON property `packageName`
|
3053
|
+
# @return [String]
|
3054
|
+
attr_accessor :package_name
|
3055
|
+
|
3056
|
+
# Unique identifier for the in-app product.
|
3057
|
+
# Corresponds to the JSON property `sku`
|
3058
|
+
# @return [String]
|
3059
|
+
attr_accessor :sku
|
3060
|
+
|
3061
|
+
def initialize(**args)
|
3062
|
+
update!(**args)
|
3063
|
+
end
|
3064
|
+
|
3065
|
+
# Update properties of this object
|
3066
|
+
def update!(**args)
|
3067
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
3068
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
3069
|
+
@sku = args[:sku] if args.key?(:sku)
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
2247
3073
|
# Response listing all in-app products.
|
2248
3074
|
class InappproductsListResponse
|
2249
3075
|
include Google::Apis::Core::Hashable
|
@@ -2284,9 +3110,64 @@ module Google
|
|
2284
3110
|
# Update properties of this object
|
2285
3111
|
def update!(**args)
|
2286
3112
|
@inappproduct = args[:inappproduct] if args.key?(:inappproduct)
|
2287
|
-
@kind = args[:kind] if args.key?(:kind)
|
2288
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
2289
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
3113
|
+
@kind = args[:kind] if args.key?(:kind)
|
3114
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
3115
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
3116
|
+
end
|
3117
|
+
end
|
3118
|
+
|
3119
|
+
# Request to update an in-app product.
|
3120
|
+
class InappproductsUpdateRequest
|
3121
|
+
include Google::Apis::Core::Hashable
|
3122
|
+
|
3123
|
+
# If set to true, and the in-app product with the given package_name and sku
|
3124
|
+
# doesn't exist, the in-app product will be created.
|
3125
|
+
# Corresponds to the JSON property `allowMissing`
|
3126
|
+
# @return [Boolean]
|
3127
|
+
attr_accessor :allow_missing
|
3128
|
+
alias_method :allow_missing?, :allow_missing
|
3129
|
+
|
3130
|
+
# If true the prices for all regions targeted by the parent app that don't have
|
3131
|
+
# a price specified for this in-app product will be auto converted to the target
|
3132
|
+
# currency based on the default price. Defaults to false.
|
3133
|
+
# Corresponds to the JSON property `autoConvertMissingPrices`
|
3134
|
+
# @return [Boolean]
|
3135
|
+
attr_accessor :auto_convert_missing_prices
|
3136
|
+
alias_method :auto_convert_missing_prices?, :auto_convert_missing_prices
|
3137
|
+
|
3138
|
+
# An in-app product. The resource for InappproductsService.
|
3139
|
+
# Corresponds to the JSON property `inappproduct`
|
3140
|
+
# @return [Google::Apis::AndroidpublisherV3::InAppProduct]
|
3141
|
+
attr_accessor :inappproduct
|
3142
|
+
|
3143
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
3144
|
+
# Defaults to latency-sensitive.
|
3145
|
+
# Corresponds to the JSON property `latencyTolerance`
|
3146
|
+
# @return [String]
|
3147
|
+
attr_accessor :latency_tolerance
|
3148
|
+
|
3149
|
+
# Package name of the app.
|
3150
|
+
# Corresponds to the JSON property `packageName`
|
3151
|
+
# @return [String]
|
3152
|
+
attr_accessor :package_name
|
3153
|
+
|
3154
|
+
# Unique identifier for the in-app product.
|
3155
|
+
# Corresponds to the JSON property `sku`
|
3156
|
+
# @return [String]
|
3157
|
+
attr_accessor :sku
|
3158
|
+
|
3159
|
+
def initialize(**args)
|
3160
|
+
update!(**args)
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
# Update properties of this object
|
3164
|
+
def update!(**args)
|
3165
|
+
@allow_missing = args[:allow_missing] if args.key?(:allow_missing)
|
3166
|
+
@auto_convert_missing_prices = args[:auto_convert_missing_prices] if args.key?(:auto_convert_missing_prices)
|
3167
|
+
@inappproduct = args[:inappproduct] if args.key?(:inappproduct)
|
3168
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
3169
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
3170
|
+
@sku = args[:sku] if args.key?(:sku)
|
2290
3171
|
end
|
2291
3172
|
end
|
2292
3173
|
|
@@ -2393,6 +3274,26 @@ module Google
|
|
2393
3274
|
end
|
2394
3275
|
end
|
2395
3276
|
|
3277
|
+
# Response message for ListAppRecoveries. -- api-linter: core::0158::response-
|
3278
|
+
# next-page-token-field=disabled
|
3279
|
+
class ListAppRecoveriesResponse
|
3280
|
+
include Google::Apis::Core::Hashable
|
3281
|
+
|
3282
|
+
# List of recovery actions associated with the requested package name.
|
3283
|
+
# Corresponds to the JSON property `recoveryActions`
|
3284
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::AppRecoveryAction>]
|
3285
|
+
attr_accessor :recovery_actions
|
3286
|
+
|
3287
|
+
def initialize(**args)
|
3288
|
+
update!(**args)
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# Update properties of this object
|
3292
|
+
def update!(**args)
|
3293
|
+
@recovery_actions = args[:recovery_actions] if args.key?(:recovery_actions)
|
3294
|
+
end
|
3295
|
+
end
|
3296
|
+
|
2396
3297
|
# Response listing existing device tier configs.
|
2397
3298
|
class ListDeviceTierConfigsResponse
|
2398
3299
|
include Google::Apis::Core::Hashable
|
@@ -2634,6 +3535,29 @@ module Google
|
|
2634
3535
|
class MigrateBasePlanPricesRequest
|
2635
3536
|
include Google::Apis::Core::Hashable
|
2636
3537
|
|
3538
|
+
# Required. The unique base plan ID of the base plan to update prices on.
|
3539
|
+
# Corresponds to the JSON property `basePlanId`
|
3540
|
+
# @return [String]
|
3541
|
+
attr_accessor :base_plan_id
|
3542
|
+
|
3543
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
3544
|
+
# Defaults to latency-sensitive.
|
3545
|
+
# Corresponds to the JSON property `latencyTolerance`
|
3546
|
+
# @return [String]
|
3547
|
+
attr_accessor :latency_tolerance
|
3548
|
+
|
3549
|
+
# Required. Package name of the parent app. Must be equal to the package_name
|
3550
|
+
# field on the Subscription resource.
|
3551
|
+
# Corresponds to the JSON property `packageName`
|
3552
|
+
# @return [String]
|
3553
|
+
attr_accessor :package_name
|
3554
|
+
|
3555
|
+
# Required. The ID of the subscription to update. Must be equal to the
|
3556
|
+
# product_id field on the Subscription resource.
|
3557
|
+
# Corresponds to the JSON property `productId`
|
3558
|
+
# @return [String]
|
3559
|
+
attr_accessor :product_id
|
3560
|
+
|
2637
3561
|
# Required. The regional prices to update.
|
2638
3562
|
# Corresponds to the JSON property `regionalPriceMigrations`
|
2639
3563
|
# @return [Array<Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig>]
|
@@ -2650,6 +3574,10 @@ module Google
|
|
2650
3574
|
|
2651
3575
|
# Update properties of this object
|
2652
3576
|
def update!(**args)
|
3577
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
3578
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
3579
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
3580
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
2653
3581
|
@regional_price_migrations = args[:regional_price_migrations] if args.key?(:regional_price_migrations)
|
2654
3582
|
@regions_version = args[:regions_version] if args.key?(:regions_version)
|
2655
3583
|
end
|
@@ -3568,6 +4496,28 @@ module Google
|
|
3568
4496
|
end
|
3569
4497
|
end
|
3570
4498
|
|
4499
|
+
# Region targeting data for app recovery action targeting.
|
4500
|
+
class Regions
|
4501
|
+
include Google::Apis::Core::Hashable
|
4502
|
+
|
4503
|
+
# Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2
|
4504
|
+
# country codes. For example, US stands for United States of America. See https:/
|
4505
|
+
# /www.iso.org/iso-3166-country-codes.html for the complete list of country
|
4506
|
+
# codes.
|
4507
|
+
# Corresponds to the JSON property `regionCode`
|
4508
|
+
# @return [Array<String>]
|
4509
|
+
attr_accessor :region_code
|
4510
|
+
|
4511
|
+
def initialize(**args)
|
4512
|
+
update!(**args)
|
4513
|
+
end
|
4514
|
+
|
4515
|
+
# Update properties of this object
|
4516
|
+
def update!(**args)
|
4517
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
4518
|
+
end
|
4519
|
+
end
|
4520
|
+
|
3571
4521
|
# The version of the available regions being used for the specified resource.
|
3572
4522
|
class RegionsVersion
|
3573
4523
|
include Google::Apis::Core::Hashable
|
@@ -3594,6 +4544,78 @@ module Google
|
|
3594
4544
|
end
|
3595
4545
|
end
|
3596
4546
|
|
4547
|
+
# Object representation for Remote in-app update action type.
|
4548
|
+
class RemoteInAppUpdate
|
4549
|
+
include Google::Apis::Core::Hashable
|
4550
|
+
|
4551
|
+
# Required. Set to true if Remote In-App Update action type is needed.
|
4552
|
+
# Corresponds to the JSON property `isRemoteInAppUpdateRequested`
|
4553
|
+
# @return [Boolean]
|
4554
|
+
attr_accessor :is_remote_in_app_update_requested
|
4555
|
+
alias_method :is_remote_in_app_update_requested?, :is_remote_in_app_update_requested
|
4556
|
+
|
4557
|
+
def initialize(**args)
|
4558
|
+
update!(**args)
|
4559
|
+
end
|
4560
|
+
|
4561
|
+
# Update properties of this object
|
4562
|
+
def update!(**args)
|
4563
|
+
@is_remote_in_app_update_requested = args[:is_remote_in_app_update_requested] if args.key?(:is_remote_in_app_update_requested)
|
4564
|
+
end
|
4565
|
+
end
|
4566
|
+
|
4567
|
+
# Data related to Remote In-App Update action such as recovered user count,
|
4568
|
+
# affected user count etc.
|
4569
|
+
class RemoteInAppUpdateData
|
4570
|
+
include Google::Apis::Core::Hashable
|
4571
|
+
|
4572
|
+
# Data related to the recovery action at bundle level.
|
4573
|
+
# Corresponds to the JSON property `remoteAppUpdateDataPerBundle`
|
4574
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::RemoteInAppUpdateDataPerBundle>]
|
4575
|
+
attr_accessor :remote_app_update_data_per_bundle
|
4576
|
+
|
4577
|
+
def initialize(**args)
|
4578
|
+
update!(**args)
|
4579
|
+
end
|
4580
|
+
|
4581
|
+
# Update properties of this object
|
4582
|
+
def update!(**args)
|
4583
|
+
@remote_app_update_data_per_bundle = args[:remote_app_update_data_per_bundle] if args.key?(:remote_app_update_data_per_bundle)
|
4584
|
+
end
|
4585
|
+
end
|
4586
|
+
|
4587
|
+
# Data related to the recovery action at bundle level.
|
4588
|
+
class RemoteInAppUpdateDataPerBundle
|
4589
|
+
include Google::Apis::Core::Hashable
|
4590
|
+
|
4591
|
+
# Total number of devices which have been rescued.
|
4592
|
+
# Corresponds to the JSON property `recoveredDeviceCount`
|
4593
|
+
# @return [Fixnum]
|
4594
|
+
attr_accessor :recovered_device_count
|
4595
|
+
|
4596
|
+
# Total number of devices affected by this recovery action associated with
|
4597
|
+
# bundle of the app.
|
4598
|
+
# Corresponds to the JSON property `totalDeviceCount`
|
4599
|
+
# @return [Fixnum]
|
4600
|
+
attr_accessor :total_device_count
|
4601
|
+
|
4602
|
+
# Version Code corresponding to the target bundle.
|
4603
|
+
# Corresponds to the JSON property `versionCode`
|
4604
|
+
# @return [Fixnum]
|
4605
|
+
attr_accessor :version_code
|
4606
|
+
|
4607
|
+
def initialize(**args)
|
4608
|
+
update!(**args)
|
4609
|
+
end
|
4610
|
+
|
4611
|
+
# Update properties of this object
|
4612
|
+
def update!(**args)
|
4613
|
+
@recovered_device_count = args[:recovered_device_count] if args.key?(:recovered_device_count)
|
4614
|
+
@total_device_count = args[:total_device_count] if args.key?(:total_device_count)
|
4615
|
+
@version_code = args[:version_code] if args.key?(:version_code)
|
4616
|
+
end
|
4617
|
+
end
|
4618
|
+
|
3597
4619
|
# Information specific to cancellations caused by subscription replacement.
|
3598
4620
|
class ReplacementCancellation
|
3599
4621
|
include Google::Apis::Core::Hashable
|
@@ -3745,6 +4767,72 @@ module Google
|
|
3745
4767
|
end
|
3746
4768
|
end
|
3747
4769
|
|
4770
|
+
# Revocation context of the purchases.subscriptionsv2.revoke API.
|
4771
|
+
class RevocationContext
|
4772
|
+
include Google::Apis::Core::Hashable
|
4773
|
+
|
4774
|
+
# Used to determine if the refund type in the RevocationContext is a prorated
|
4775
|
+
# refund.
|
4776
|
+
# Corresponds to the JSON property `proratedRefund`
|
4777
|
+
# @return [Google::Apis::AndroidpublisherV3::RevocationContextProratedRefund]
|
4778
|
+
attr_accessor :prorated_refund
|
4779
|
+
|
4780
|
+
def initialize(**args)
|
4781
|
+
update!(**args)
|
4782
|
+
end
|
4783
|
+
|
4784
|
+
# Update properties of this object
|
4785
|
+
def update!(**args)
|
4786
|
+
@prorated_refund = args[:prorated_refund] if args.key?(:prorated_refund)
|
4787
|
+
end
|
4788
|
+
end
|
4789
|
+
|
4790
|
+
# Used to determine if the refund type in the RevocationContext is a prorated
|
4791
|
+
# refund.
|
4792
|
+
class RevocationContextProratedRefund
|
4793
|
+
include Google::Apis::Core::Hashable
|
4794
|
+
|
4795
|
+
def initialize(**args)
|
4796
|
+
update!(**args)
|
4797
|
+
end
|
4798
|
+
|
4799
|
+
# Update properties of this object
|
4800
|
+
def update!(**args)
|
4801
|
+
end
|
4802
|
+
end
|
4803
|
+
|
4804
|
+
# Request for the purchases.subscriptionsv2.revoke API.
|
4805
|
+
class RevokeSubscriptionPurchaseRequest
|
4806
|
+
include Google::Apis::Core::Hashable
|
4807
|
+
|
4808
|
+
# Revocation context of the purchases.subscriptionsv2.revoke API.
|
4809
|
+
# Corresponds to the JSON property `revocationContext`
|
4810
|
+
# @return [Google::Apis::AndroidpublisherV3::RevocationContext]
|
4811
|
+
attr_accessor :revocation_context
|
4812
|
+
|
4813
|
+
def initialize(**args)
|
4814
|
+
update!(**args)
|
4815
|
+
end
|
4816
|
+
|
4817
|
+
# Update properties of this object
|
4818
|
+
def update!(**args)
|
4819
|
+
@revocation_context = args[:revocation_context] if args.key?(:revocation_context)
|
4820
|
+
end
|
4821
|
+
end
|
4822
|
+
|
4823
|
+
# Response for the purchases.subscriptionsv2.revoke API.
|
4824
|
+
class RevokeSubscriptionPurchaseResponse
|
4825
|
+
include Google::Apis::Core::Hashable
|
4826
|
+
|
4827
|
+
def initialize(**args)
|
4828
|
+
update!(**args)
|
4829
|
+
end
|
4830
|
+
|
4831
|
+
# Update properties of this object
|
4832
|
+
def update!(**args)
|
4833
|
+
end
|
4834
|
+
end
|
4835
|
+
|
3748
4836
|
# Represents a screen density.
|
3749
4837
|
class ScreenDensity
|
3750
4838
|
include Google::Apis::Core::Hashable
|
@@ -4922,6 +6010,51 @@ module Google
|
|
4922
6010
|
end
|
4923
6011
|
end
|
4924
6012
|
|
6013
|
+
# Targeting details for a recovery action such as regions, android sdk levels,
|
6014
|
+
# app versions etc.
|
6015
|
+
class Targeting
|
6016
|
+
include Google::Apis::Core::Hashable
|
6017
|
+
|
6018
|
+
# Object representation to describe all set of users.
|
6019
|
+
# Corresponds to the JSON property `allUsers`
|
6020
|
+
# @return [Google::Apis::AndroidpublisherV3::AllUsers]
|
6021
|
+
attr_accessor :all_users
|
6022
|
+
|
6023
|
+
# Android api level targeting data for app recovery action targeting.
|
6024
|
+
# Corresponds to the JSON property `androidSdks`
|
6025
|
+
# @return [Google::Apis::AndroidpublisherV3::AndroidSdks]
|
6026
|
+
attr_accessor :android_sdks
|
6027
|
+
|
6028
|
+
# Region targeting data for app recovery action targeting.
|
6029
|
+
# Corresponds to the JSON property `regions`
|
6030
|
+
# @return [Google::Apis::AndroidpublisherV3::Regions]
|
6031
|
+
attr_accessor :regions
|
6032
|
+
|
6033
|
+
# Data format for a list of app versions. Only one app version is supported for
|
6034
|
+
# now.
|
6035
|
+
# Corresponds to the JSON property `versionList`
|
6036
|
+
# @return [Google::Apis::AndroidpublisherV3::AppVersionList]
|
6037
|
+
attr_accessor :version_list
|
6038
|
+
|
6039
|
+
# Data format for a continuous range of app versions.
|
6040
|
+
# Corresponds to the JSON property `versionRange`
|
6041
|
+
# @return [Google::Apis::AndroidpublisherV3::AppVersionRange]
|
6042
|
+
attr_accessor :version_range
|
6043
|
+
|
6044
|
+
def initialize(**args)
|
6045
|
+
update!(**args)
|
6046
|
+
end
|
6047
|
+
|
6048
|
+
# Update properties of this object
|
6049
|
+
def update!(**args)
|
6050
|
+
@all_users = args[:all_users] if args.key?(:all_users)
|
6051
|
+
@android_sdks = args[:android_sdks] if args.key?(:android_sdks)
|
6052
|
+
@regions = args[:regions] if args.key?(:regions)
|
6053
|
+
@version_list = args[:version_list] if args.key?(:version_list)
|
6054
|
+
@version_range = args[:version_range] if args.key?(:version_range)
|
6055
|
+
end
|
6056
|
+
end
|
6057
|
+
|
4925
6058
|
# Targeting information about the generated apks.
|
4926
6059
|
class TargetingInfo
|
4927
6060
|
include Google::Apis::Core::Hashable
|
@@ -4974,6 +6107,37 @@ module Google
|
|
4974
6107
|
end
|
4975
6108
|
end
|
4976
6109
|
|
6110
|
+
# Update type for targeting. Note it is always a subset Targeting.
|
6111
|
+
class TargetingUpdate
|
6112
|
+
include Google::Apis::Core::Hashable
|
6113
|
+
|
6114
|
+
# Object representation to describe all set of users.
|
6115
|
+
# Corresponds to the JSON property `allUsers`
|
6116
|
+
# @return [Google::Apis::AndroidpublisherV3::AllUsers]
|
6117
|
+
attr_accessor :all_users
|
6118
|
+
|
6119
|
+
# Android api level targeting data for app recovery action targeting.
|
6120
|
+
# Corresponds to the JSON property `androidSdks`
|
6121
|
+
# @return [Google::Apis::AndroidpublisherV3::AndroidSdks]
|
6122
|
+
attr_accessor :android_sdks
|
6123
|
+
|
6124
|
+
# Region targeting data for app recovery action targeting.
|
6125
|
+
# Corresponds to the JSON property `regions`
|
6126
|
+
# @return [Google::Apis::AndroidpublisherV3::Regions]
|
6127
|
+
attr_accessor :regions
|
6128
|
+
|
6129
|
+
def initialize(**args)
|
6130
|
+
update!(**args)
|
6131
|
+
end
|
6132
|
+
|
6133
|
+
# Update properties of this object
|
6134
|
+
def update!(**args)
|
6135
|
+
@all_users = args[:all_users] if args.key?(:all_users)
|
6136
|
+
@android_sdks = args[:android_sdks] if args.key?(:android_sdks)
|
6137
|
+
@regions = args[:regions] if args.key?(:regions)
|
6138
|
+
end
|
6139
|
+
end
|
6140
|
+
|
4977
6141
|
# Whether this subscription purchase is a test purchase.
|
4978
6142
|
class TestPurchase
|
4979
6143
|
include Google::Apis::Core::Hashable
|
@@ -5326,6 +6490,150 @@ module Google
|
|
5326
6490
|
end
|
5327
6491
|
end
|
5328
6492
|
|
6493
|
+
# Request message to update the state of a subscription base plan.
|
6494
|
+
class UpdateBasePlanStateRequest
|
6495
|
+
include Google::Apis::Core::Hashable
|
6496
|
+
|
6497
|
+
# Request message for ActivateBasePlan.
|
6498
|
+
# Corresponds to the JSON property `activateBasePlanRequest`
|
6499
|
+
# @return [Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest]
|
6500
|
+
attr_accessor :activate_base_plan_request
|
6501
|
+
|
6502
|
+
# Request message for DeactivateBasePlan.
|
6503
|
+
# Corresponds to the JSON property `deactivateBasePlanRequest`
|
6504
|
+
# @return [Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest]
|
6505
|
+
attr_accessor :deactivate_base_plan_request
|
6506
|
+
|
6507
|
+
def initialize(**args)
|
6508
|
+
update!(**args)
|
6509
|
+
end
|
6510
|
+
|
6511
|
+
# Update properties of this object
|
6512
|
+
def update!(**args)
|
6513
|
+
@activate_base_plan_request = args[:activate_base_plan_request] if args.key?(:activate_base_plan_request)
|
6514
|
+
@deactivate_base_plan_request = args[:deactivate_base_plan_request] if args.key?(:deactivate_base_plan_request)
|
6515
|
+
end
|
6516
|
+
end
|
6517
|
+
|
6518
|
+
# Request message for UpdateSubscriptionOffer.
|
6519
|
+
class UpdateSubscriptionOfferRequest
|
6520
|
+
include Google::Apis::Core::Hashable
|
6521
|
+
|
6522
|
+
# Optional. If set to true, and the subscription offer with the given
|
6523
|
+
# package_name, product_id, base_plan_id and offer_id doesn't exist, an offer
|
6524
|
+
# will be created. If a new offer is created, update_mask is ignored.
|
6525
|
+
# Corresponds to the JSON property `allowMissing`
|
6526
|
+
# @return [Boolean]
|
6527
|
+
attr_accessor :allow_missing
|
6528
|
+
alias_method :allow_missing?, :allow_missing
|
6529
|
+
|
6530
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
6531
|
+
# Defaults to latency-sensitive.
|
6532
|
+
# Corresponds to the JSON property `latencyTolerance`
|
6533
|
+
# @return [String]
|
6534
|
+
attr_accessor :latency_tolerance
|
6535
|
+
|
6536
|
+
# The version of the available regions being used for the specified resource.
|
6537
|
+
# Corresponds to the JSON property `regionsVersion`
|
6538
|
+
# @return [Google::Apis::AndroidpublisherV3::RegionsVersion]
|
6539
|
+
attr_accessor :regions_version
|
6540
|
+
|
6541
|
+
# A single, temporary offer
|
6542
|
+
# Corresponds to the JSON property `subscriptionOffer`
|
6543
|
+
# @return [Google::Apis::AndroidpublisherV3::SubscriptionOffer]
|
6544
|
+
attr_accessor :subscription_offer
|
6545
|
+
|
6546
|
+
# Required. The list of fields to be updated.
|
6547
|
+
# Corresponds to the JSON property `updateMask`
|
6548
|
+
# @return [String]
|
6549
|
+
attr_accessor :update_mask
|
6550
|
+
|
6551
|
+
def initialize(**args)
|
6552
|
+
update!(**args)
|
6553
|
+
end
|
6554
|
+
|
6555
|
+
# Update properties of this object
|
6556
|
+
def update!(**args)
|
6557
|
+
@allow_missing = args[:allow_missing] if args.key?(:allow_missing)
|
6558
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
6559
|
+
@regions_version = args[:regions_version] if args.key?(:regions_version)
|
6560
|
+
@subscription_offer = args[:subscription_offer] if args.key?(:subscription_offer)
|
6561
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
6562
|
+
end
|
6563
|
+
end
|
6564
|
+
|
6565
|
+
# Request message to update the state of a subscription offer.
|
6566
|
+
class UpdateSubscriptionOfferStateRequest
|
6567
|
+
include Google::Apis::Core::Hashable
|
6568
|
+
|
6569
|
+
# Request message for ActivateSubscriptionOffer.
|
6570
|
+
# Corresponds to the JSON property `activateSubscriptionOfferRequest`
|
6571
|
+
# @return [Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest]
|
6572
|
+
attr_accessor :activate_subscription_offer_request
|
6573
|
+
|
6574
|
+
# Request message for DeactivateSubscriptionOffer.
|
6575
|
+
# Corresponds to the JSON property `deactivateSubscriptionOfferRequest`
|
6576
|
+
# @return [Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest]
|
6577
|
+
attr_accessor :deactivate_subscription_offer_request
|
6578
|
+
|
6579
|
+
def initialize(**args)
|
6580
|
+
update!(**args)
|
6581
|
+
end
|
6582
|
+
|
6583
|
+
# Update properties of this object
|
6584
|
+
def update!(**args)
|
6585
|
+
@activate_subscription_offer_request = args[:activate_subscription_offer_request] if args.key?(:activate_subscription_offer_request)
|
6586
|
+
@deactivate_subscription_offer_request = args[:deactivate_subscription_offer_request] if args.key?(:deactivate_subscription_offer_request)
|
6587
|
+
end
|
6588
|
+
end
|
6589
|
+
|
6590
|
+
# Request message for UpdateSubscription.
|
6591
|
+
class UpdateSubscriptionRequest
|
6592
|
+
include Google::Apis::Core::Hashable
|
6593
|
+
|
6594
|
+
# Optional. If set to true, and the subscription with the given package_name and
|
6595
|
+
# product_id doesn't exist, the subscription will be created. If a new
|
6596
|
+
# subscription is created, update_mask is ignored.
|
6597
|
+
# Corresponds to the JSON property `allowMissing`
|
6598
|
+
# @return [Boolean]
|
6599
|
+
attr_accessor :allow_missing
|
6600
|
+
alias_method :allow_missing?, :allow_missing
|
6601
|
+
|
6602
|
+
# Optional. The latency tolerance for the propagation of this product update.
|
6603
|
+
# Defaults to latency-sensitive.
|
6604
|
+
# Corresponds to the JSON property `latencyTolerance`
|
6605
|
+
# @return [String]
|
6606
|
+
attr_accessor :latency_tolerance
|
6607
|
+
|
6608
|
+
# The version of the available regions being used for the specified resource.
|
6609
|
+
# Corresponds to the JSON property `regionsVersion`
|
6610
|
+
# @return [Google::Apis::AndroidpublisherV3::RegionsVersion]
|
6611
|
+
attr_accessor :regions_version
|
6612
|
+
|
6613
|
+
# A single subscription for an app.
|
6614
|
+
# Corresponds to the JSON property `subscription`
|
6615
|
+
# @return [Google::Apis::AndroidpublisherV3::Subscription]
|
6616
|
+
attr_accessor :subscription
|
6617
|
+
|
6618
|
+
# Required. The list of fields to be updated.
|
6619
|
+
# Corresponds to the JSON property `updateMask`
|
6620
|
+
# @return [String]
|
6621
|
+
attr_accessor :update_mask
|
6622
|
+
|
6623
|
+
def initialize(**args)
|
6624
|
+
update!(**args)
|
6625
|
+
end
|
6626
|
+
|
6627
|
+
# Update properties of this object
|
6628
|
+
def update!(**args)
|
6629
|
+
@allow_missing = args[:allow_missing] if args.key?(:allow_missing)
|
6630
|
+
@latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
|
6631
|
+
@regions_version = args[:regions_version] if args.key?(:regions_version)
|
6632
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
6633
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
6634
|
+
end
|
6635
|
+
end
|
6636
|
+
|
5329
6637
|
# Represents a targeting rule of the form: User currently has `scope` [with
|
5330
6638
|
# billing period `billing_period`].
|
5331
6639
|
class UpgradeTargetingRule
|