google-api-client 0.40.1 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  5. data/generated/google/apis/androidpublisher_v3/classes.rb +468 -750
  6. data/generated/google/apis/androidpublisher_v3/representations.rb +9 -202
  7. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  8. data/generated/google/apis/apigee_v1.rb +1 -1
  9. data/generated/google/apis/apigee_v1/classes.rb +12 -6
  10. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  11. data/generated/google/apis/appsmarket_v2.rb +1 -1
  12. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  13. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +113 -0
  14. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +61 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +15 -7
  17. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  18. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  19. data/generated/google/apis/books_v1.rb +1 -1
  20. data/generated/google/apis/books_v1/service.rb +2 -2
  21. data/generated/google/apis/cloudasset_v1.rb +1 -1
  22. data/generated/google/apis/cloudasset_v1/classes.rb +25 -342
  23. data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
  24. data/generated/google/apis/cloudasset_v1/service.rb +11 -186
  25. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -6
  27. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  28. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  30. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  31. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  32. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  33. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  36. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  38. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +2 -2
  40. data/generated/google/apis/cloudkms_v1.rb +1 -1
  41. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  44. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  48. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  49. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  50. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  52. data/generated/google/apis/compute_alpha.rb +1 -1
  53. data/generated/google/apis/compute_alpha/classes.rb +91 -3
  54. data/generated/google/apis/compute_alpha/representations.rb +36 -0
  55. data/generated/google/apis/compute_beta.rb +1 -1
  56. data/generated/google/apis/compute_beta/classes.rb +15 -3
  57. data/generated/google/apis/compute_beta/representations.rb +2 -0
  58. data/generated/google/apis/compute_v1.rb +1 -1
  59. data/generated/google/apis/compute_v1/classes.rb +3 -3
  60. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  61. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  62. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  63. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  64. data/generated/google/apis/displayvideo_v1.rb +1 -1
  65. data/generated/google/apis/displayvideo_v1/classes.rb +1 -1
  66. data/generated/google/apis/displayvideo_v1/service.rb +4 -0
  67. data/generated/google/apis/dlp_v2.rb +1 -1
  68. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  69. data/generated/google/apis/dlp_v2/service.rb +170 -64
  70. data/generated/google/apis/fcm_v1.rb +1 -1
  71. data/generated/google/apis/file_v1.rb +1 -1
  72. data/generated/google/apis/file_v1beta1.rb +1 -1
  73. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  74. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  75. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  76. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  77. data/generated/google/apis/gmail_v1.rb +3 -2
  78. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  79. data/generated/google/apis/gmail_v1/service.rb +551 -743
  80. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  81. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  82. data/generated/google/apis/iam_v1.rb +1 -1
  83. data/generated/google/apis/iam_v1/classes.rb +87 -81
  84. data/generated/google/apis/iam_v1/service.rb +163 -148
  85. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  86. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  87. data/generated/google/apis/jobs_v3.rb +1 -1
  88. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  89. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  90. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  91. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  92. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  93. data/generated/google/apis/monitoring_v1.rb +1 -1
  94. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  95. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  96. data/generated/google/apis/monitoring_v3.rb +1 -1
  97. data/generated/google/apis/monitoring_v3/classes.rb +10 -0
  98. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  99. data/generated/google/apis/osconfig_v1.rb +1 -1
  100. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  101. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  102. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  103. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  104. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  105. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  106. data/generated/google/apis/people_v1.rb +1 -1
  107. data/generated/google/apis/people_v1/classes.rb +118 -2
  108. data/generated/google/apis/people_v1/representations.rb +51 -0
  109. data/generated/google/apis/people_v1/service.rb +336 -67
  110. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  111. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  112. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  113. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  114. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  115. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  116. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  117. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  118. data/generated/google/apis/pubsub_v1.rb +1 -1
  119. data/generated/google/apis/pubsub_v1/classes.rb +49 -7
  120. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  121. data/generated/google/apis/secretmanager_v1.rb +1 -1
  122. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  123. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  124. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  125. data/generated/google/apis/securitycenter_v1.rb +1 -1
  126. data/generated/google/apis/securitycenter_v1/classes.rb +106 -6
  127. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  128. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  129. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  130. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  131. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  132. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  133. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  134. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  135. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +106 -6
  136. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  137. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  138. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +108 -44
  139. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  140. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  141. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +114 -44
  142. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -1
  143. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  144. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -12
  145. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  146. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  147. data/generated/google/apis/servicenetworking_v1/classes.rb +109 -44
  148. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  149. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  150. data/generated/google/apis/servicenetworking_v1beta/classes.rb +109 -44
  151. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  152. data/generated/google/apis/serviceusage_v1.rb +1 -1
  153. data/generated/google/apis/serviceusage_v1/classes.rb +109 -45
  154. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  155. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  156. data/generated/google/apis/serviceusage_v1beta1/classes.rb +115 -45
  157. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -1
  158. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  159. data/generated/google/apis/texttospeech_v1.rb +1 -1
  160. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  161. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  162. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  163. data/lib/google/apis/version.rb +1 -1
  164. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19b23993198e773eee50bd59cfcda152dec707d0154026f1a43c9fc38fa0962b
4
- data.tar.gz: 39b04ebecbe13d025f66c39f29272425e9c947f83ef52bd43e7bb5b544d22d54
3
+ metadata.gz: 85631843cd82c83065e06711a59cd3a6792d8bb9c15bef7eb7611c0348407ad5
4
+ data.tar.gz: 21f40511a7bc7a35b19f2ee027f746e5f8ebaa77d18fc092073fe7af053d624a
5
5
  SHA512:
6
- metadata.gz: 66c36761887b0f4e4007b6ae1ce03b4f1d4a9f41ae8e44d21b2124242783f950e11700e238d9f7b5595896a36e49eda0a5ae28e8d08f2635887f886a53432820
7
- data.tar.gz: 7043b23be81923ff2488e2b1ccd2a8231632f737fe15399b64447643ddbbb56d4ecfb70906f8b32f8a7993796f326da29899f8aaf6f016aa7d3ecb30249efa7e
6
+ metadata.gz: a616d96437dcf882f74108ad9452f1fdce6be2edf7ca9bfb404a7a6850725df2165920d432eaa63c99aa6e739dda646c8890c914556d51ad821cced5789be493
7
+ data.tar.gz: 30c2a47dac0b8f63da4bdc6b852d2dd3a6f8417b32606e98aef36efca23836650e7d47e4f25735481dd2bec672892904c4be05367c396bde9d1c522866251435
@@ -1,3 +1,68 @@
1
+ # 0.40.2
2
+ * Backwards compatible changes:
3
+ * Updated `androidenterprise_v1`
4
+ * Updated `androidpublisher_v3`
5
+ * Updated `apigee_v1`
6
+ * Updated `appsmarket_v2`
7
+ * Updated `artifactregistry_v1beta1`
8
+ * Updated `bigquery_v2`
9
+ * Updated `binaryauthorization_v1`
10
+ * Updated `books_v1`
11
+ * Updated `cloudasset_v1`
12
+ * Updated `cloudasset_v1beta1`
13
+ * Updated `cloudasset_v1p1beta1`
14
+ * Updated `cloudasset_v1p4beta1`
15
+ * Updated `cloudbuild_v1`
16
+ * Updated `cloudbuild_v1alpha1`
17
+ * Updated `cloudbuild_v1alpha2`
18
+ * Updated `cloudkms_v1`
19
+ * Updated `cloudresourcemanager_v1`
20
+ * Updated `cloudresourcemanager_v1beta1`
21
+ * Updated `cloudresourcemanager_v2`
22
+ * Updated `cloudresourcemanager_v2beta1`
23
+ * Updated `compute_alpha`
24
+ * Updated `compute_beta`
25
+ * Updated `compute_v1`
26
+ * Updated `datafusion_v1beta1`
27
+ * Updated `displayvideo_v1`
28
+ * Updated `dlp_v2`
29
+ * Updated `fcm_v1`
30
+ * Updated `file_v1`
31
+ * Updated `file_v1beta1`
32
+ * Updated `genomics_v2alpha1`
33
+ * Updated `gmail_v1`
34
+ * Updated `groupsmigration_v1`
35
+ * Updated `iam_v1`
36
+ * Updated `iamcredentials_v1`
37
+ * Updated `jobs_v3`
38
+ * Updated `jobs_v3p1beta1`
39
+ * Updated `memcache_v1beta2`
40
+ * Updated `monitoring_v1`
41
+ * Updated `monitoring_v3`
42
+ * Updated `osconfig_v1`
43
+ * Updated `osconfig_v1beta`
44
+ * Updated `pagespeedonline_v5`
45
+ * Updated `people_v1`
46
+ * Updated `playcustomapp_v1`
47
+ * Updated `policytroubleshooter_v1`
48
+ * Updated `policytroubleshooter_v1beta`
49
+ * Updated `pubsub_v1`
50
+ * Updated `secretmanager_v1`
51
+ * Updated `secretmanager_v1beta1`
52
+ * Updated `securitycenter_v1`
53
+ * Updated `securitycenter_v1beta1`
54
+ * Updated `securitycenter_v1p1alpha1`
55
+ * Updated `securitycenter_v1p1beta1`
56
+ * Updated `serviceconsumermanagement_v1`
57
+ * Updated `serviceconsumermanagement_v1beta1`
58
+ * Updated `servicemanagement_v1`
59
+ * Updated `servicenetworking_v1`
60
+ * Updated `servicenetworking_v1beta`
61
+ * Updated `serviceusage_v1`
62
+ * Updated `serviceusage_v1beta1`
63
+ * Updated `texttospeech_v1`
64
+ * Updated `texttospeech_v1beta1`
65
+
1
66
  # 0.40.1
2
67
  * Backwards compatible changes:
3
68
  * Updated `admob_v1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200528'
28
+ REVISION = '20200606'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -18,14 +18,14 @@ require 'google/apis/androidpublisher_v3/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Play Developer API
21
+ # Google Play Android Developer API
22
22
  #
23
- # Accesses Android application developers' Google Play accounts.
23
+ # Lets Android application developers access their Google Play accounts.
24
24
  #
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200602'
28
+ REVISION = '20200607'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module AndroidpublisherV3
24
24
 
25
- #
25
+ # Information about an APK. The resource for ApksService.
26
26
  class Apk
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -31,12 +31,7 @@ module Google
31
31
  # @return [Google::Apis::AndroidpublisherV3::ApkBinary]
32
32
  attr_accessor :binary
33
33
 
34
- # Represents the binary payload of an APK.
35
- # Corresponds to the JSON property `testBinary`
36
- # @return [Google::Apis::AndroidpublisherV3::ApkBinary]
37
- attr_accessor :test_binary
38
-
39
- # The version code of the APK, as specified in the APK's manifest file.
34
+ # The version code of the APK, as specified in the manifest file.
40
35
  # Corresponds to the JSON property `versionCode`
41
36
  # @return [Fixnum]
42
37
  attr_accessor :version_code
@@ -48,7 +43,6 @@ module Google
48
43
  # Update properties of this object
49
44
  def update!(**args)
50
45
  @binary = args[:binary] if args.key?(:binary)
51
- @test_binary = args[:test_binary] if args.key?(:test_binary)
52
46
  @version_code = args[:version_code] if args.key?(:version_code)
53
47
  end
54
48
  end
@@ -63,8 +57,8 @@ module Google
63
57
  # @return [String]
64
58
  attr_accessor :sha1
65
59
 
66
- # A sha256 hash of the APK payload, encoded as a hex string and matching the
67
- # output of the sha256sum command.
60
+ # A sha256 hash of the APK payload, encoded as a hex string and matching
61
+ # the output of the sha256sum command.
68
62
  # Corresponds to the JSON property `sha256`
69
63
  # @return [String]
70
64
  attr_accessor :sha256
@@ -80,14 +74,14 @@ module Google
80
74
  end
81
75
  end
82
76
 
83
- #
77
+ # Request to create a new externally hosted APK.
84
78
  class ApksAddExternallyHostedRequest
85
79
  include Google::Apis::Core::Hashable
86
80
 
87
- # Defines an APK available for this application that is hosted externally and
88
- # not uploaded to Google Play. This function is only available to enterprises
89
- # who are using Google Play for Work, and whos application is restricted to the
90
- # enterprise private channel
81
+ # Defines an APK available for this application that is hosted externally
82
+ # and not uploaded to Google Play.
83
+ # This function is only available to organizations using Managed Play whose
84
+ # application is configured to restrict distribution to the organizations.
91
85
  # Corresponds to the JSON property `externallyHostedApk`
92
86
  # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
93
87
  attr_accessor :externally_hosted_apk
@@ -102,14 +96,14 @@ module Google
102
96
  end
103
97
  end
104
98
 
105
- #
99
+ # Response for creating a new externally hosted APK.
106
100
  class ApksAddExternallyHostedResponse
107
101
  include Google::Apis::Core::Hashable
108
102
 
109
- # Defines an APK available for this application that is hosted externally and
110
- # not uploaded to Google Play. This function is only available to enterprises
111
- # who are using Google Play for Work, and whos application is restricted to the
112
- # enterprise private channel
103
+ # Defines an APK available for this application that is hosted externally
104
+ # and not uploaded to Google Play.
105
+ # This function is only available to organizations using Managed Play whose
106
+ # application is configured to restrict distribution to the organizations.
113
107
  # Corresponds to the JSON property `externallyHostedApk`
114
108
  # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
115
109
  attr_accessor :externally_hosted_apk
@@ -124,17 +118,16 @@ module Google
124
118
  end
125
119
  end
126
120
 
127
- #
121
+ # Response listing all APKs.
128
122
  class ApksListResponse
129
123
  include Google::Apis::Core::Hashable
130
124
 
131
- #
125
+ # All APKs.
132
126
  # Corresponds to the JSON property `apks`
133
127
  # @return [Array<Google::Apis::AndroidpublisherV3::Apk>]
134
128
  attr_accessor :apks
135
129
 
136
- # Identifies what kind of resource this is. Value: the fixed string "
137
- # androidpublisher#apksListResponse".
130
+ # The kind of this response ("androidpublisher#apksListResponse").
138
131
  # Corresponds to the JSON property `kind`
139
132
  # @return [String]
140
133
  attr_accessor :kind
@@ -150,7 +143,7 @@ module Google
150
143
  end
151
144
  end
152
145
 
153
- #
146
+ # The app details. The resource for DetailsService.
154
147
  class AppDetails
155
148
  include Google::Apis::Core::Hashable
156
149
 
@@ -187,18 +180,18 @@ module Google
187
180
  end
188
181
  end
189
182
 
190
- # Represents an edit of an app. An edit allows clients to make multiple changes
191
- # before committing them in one operation.
183
+ # An app edit. The resource for EditsService.
192
184
  class AppEdit
193
185
  include Google::Apis::Core::Hashable
194
186
 
195
- # The time at which the edit will expire and will be no longer valid for use in
196
- # any subsequent API calls (encoded as seconds since the Epoch).
187
+ # Output only. The time (as seconds since Epoch) at which the edit will expire
188
+ # and
189
+ # will be no longer valid for use.
197
190
  # Corresponds to the JSON property `expiryTimeSeconds`
198
191
  # @return [String]
199
192
  attr_accessor :expiry_time_seconds
200
193
 
201
- # The ID of the edit that can be used in subsequent API calls.
194
+ # Output only. Identifier of the edit. Can be used in subsequent API calls.
202
195
  # Corresponds to the JSON property `id`
203
196
  # @return [String]
204
197
  attr_accessor :id
@@ -214,23 +207,23 @@ module Google
214
207
  end
215
208
  end
216
209
 
217
- #
210
+ # Information about a bundle. The resource for BundlesService.
218
211
  class Bundle
219
212
  include Google::Apis::Core::Hashable
220
213
 
221
- # A sha1 hash of the upload payload, encoded as a hex string and matching the
222
- # output of the sha1sum command.
214
+ # A sha1 hash of the upload payload, encoded as a hex string and matching
215
+ # the output of the sha1sum command.
223
216
  # Corresponds to the JSON property `sha1`
224
217
  # @return [String]
225
218
  attr_accessor :sha1
226
219
 
227
- # A sha256 hash of the upload payload, encoded as a hex string and matching the
228
- # output of the sha256sum command.
220
+ # A sha256 hash of the upload payload, encoded as a hex string and matching
221
+ # the output of the sha256sum command.
229
222
  # Corresponds to the JSON property `sha256`
230
223
  # @return [String]
231
224
  attr_accessor :sha256
232
225
 
233
- # The version code of the Android App Bundle. As specified in the Android App
226
+ # The version code of the Android App Bundle, as specified in the Android App
234
227
  # Bundle's base module APK manifest file.
235
228
  # Corresponds to the JSON property `versionCode`
236
229
  # @return [Fixnum]
@@ -248,17 +241,16 @@ module Google
248
241
  end
249
242
  end
250
243
 
251
- #
244
+ # Response listing all bundles.
252
245
  class BundlesListResponse
253
246
  include Google::Apis::Core::Hashable
254
247
 
255
- #
248
+ # All bundles.
256
249
  # Corresponds to the JSON property `bundles`
257
250
  # @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
258
251
  attr_accessor :bundles
259
252
 
260
- # Identifies what kind of resource this is. Value: the fixed string "
261
- # androidpublisher#bundlesListResponse".
253
+ # The kind of this response ("androidpublisher#bundlesListResponse").
262
254
  # Corresponds to the JSON property `kind`
263
255
  # @return [String]
264
256
  attr_accessor :kind
@@ -274,16 +266,16 @@ module Google
274
266
  end
275
267
  end
276
268
 
277
- #
269
+ # An entry of conversation between user and developer.
278
270
  class Comment
279
271
  include Google::Apis::Core::Hashable
280
272
 
281
- # A comment from a developer.
273
+ # Developer entry from conversation between user and developer.
282
274
  # Corresponds to the JSON property `developerComment`
283
275
  # @return [Google::Apis::AndroidpublisherV3::DeveloperComment]
284
276
  attr_accessor :developer_comment
285
277
 
286
- # A comment from a user.
278
+ # User entry from conversation between user and developer.
287
279
  # Corresponds to the JSON property `userComment`
288
280
  # @return [Google::Apis::AndroidpublisherV3::UserComment]
289
281
  attr_accessor :user_comment
@@ -299,47 +291,18 @@ module Google
299
291
  end
300
292
  end
301
293
 
302
- #
303
- class Control
304
- include Google::Apis::Core::Hashable
305
-
306
- #
307
- # Corresponds to the JSON property `modRanges`
308
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
309
- attr_accessor :mod_ranges
310
-
311
- #
312
- # Corresponds to the JSON property `stratifiedSamplings`
313
- # @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
314
- attr_accessor :stratified_samplings
315
-
316
- #
317
- # Corresponds to the JSON property `versionCodes`
318
- # @return [Array<Fixnum>]
319
- attr_accessor :version_codes
320
-
321
- def initialize(**args)
322
- update!(**args)
323
- end
324
-
325
- # Update properties of this object
326
- def update!(**args)
327
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
328
- @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
329
- @version_codes = args[:version_codes] if args.key?(:version_codes)
330
- end
331
- end
332
-
333
- #
294
+ # Country targeting specification.
334
295
  class CountryTargeting
335
296
  include Google::Apis::Core::Hashable
336
297
 
337
- #
298
+ # Countries to target, specified as two letter [CLDR
299
+ # codes](https://unicode.org/cldr/charts/latest/supplemental/
300
+ # territory_containment_un_m_49.html).
338
301
  # Corresponds to the JSON property `countries`
339
302
  # @return [Array<String>]
340
303
  attr_accessor :countries
341
304
 
342
- #
305
+ # Include "rest of world" as well as explicitly targeted countries.
343
306
  # Corresponds to the JSON property `includeRestOfWorld`
344
307
  # @return [Boolean]
345
308
  attr_accessor :include_rest_of_world
@@ -375,7 +338,7 @@ module Google
375
338
  end
376
339
  end
377
340
 
378
- #
341
+ # Responses for the upload.
379
342
  class DeobfuscationFilesUploadResponse
380
343
  include Google::Apis::Core::Hashable
381
344
 
@@ -394,11 +357,14 @@ module Google
394
357
  end
395
358
  end
396
359
 
397
- #
360
+ # Developer entry from conversation between user and developer.
398
361
  class DeveloperComment
399
362
  include Google::Apis::Core::Hashable
400
363
 
401
- # The last time at which this comment was updated.
364
+ # A Timestamp represents a point in time independent of any time zone or local
365
+ # calendar, encoded as a count of seconds and fractions of seconds at
366
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
367
+ # January 1, 1970.
402
368
  # Corresponds to the JSON property `lastModified`
403
369
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
404
370
  attr_accessor :last_modified
@@ -419,16 +385,16 @@ module Google
419
385
  end
420
386
  end
421
387
 
422
- #
388
+ # Characteristics of the user's device.
423
389
  class DeviceMetadata
424
390
  include Google::Apis::Core::Hashable
425
391
 
426
- # Device CPU make e.g. "Qualcomm"
392
+ # Device CPU make, e.g. "Qualcomm"
427
393
  # Corresponds to the JSON property `cpuMake`
428
394
  # @return [String]
429
395
  attr_accessor :cpu_make
430
396
 
431
- # Device CPU model e.g. "MSM8974"
397
+ # Device CPU model, e.g. "MSM8974"
432
398
  # Corresponds to the JSON property `cpuModel`
433
399
  # @return [String]
434
400
  attr_accessor :cpu_model
@@ -458,7 +424,7 @@ module Google
458
424
  # @return [String]
459
425
  attr_accessor :product_name
460
426
 
461
- # Device RAM in Megabytes e.g. "2048"
427
+ # Device RAM in Megabytes, e.g. "2048"
462
428
  # Corresponds to the JSON property `ramMb`
463
429
  # @return [Fixnum]
464
430
  attr_accessor :ram_mb
@@ -498,50 +464,19 @@ module Google
498
464
  end
499
465
  end
500
466
 
501
- #
502
- class DeviceSpec
503
- include Google::Apis::Core::Hashable
504
-
505
- #
506
- # Corresponds to the JSON property `screenDensity`
507
- # @return [Fixnum]
508
- attr_accessor :screen_density
509
-
510
- #
511
- # Corresponds to the JSON property `supportedAbis`
512
- # @return [Array<String>]
513
- attr_accessor :supported_abis
514
-
515
- #
516
- # Corresponds to the JSON property `supportedLocales`
517
- # @return [Array<String>]
518
- attr_accessor :supported_locales
519
-
520
- def initialize(**args)
521
- update!(**args)
522
- end
523
-
524
- # Update properties of this object
525
- def update!(**args)
526
- @screen_density = args[:screen_density] if args.key?(:screen_density)
527
- @supported_abis = args[:supported_abis] if args.key?(:supported_abis)
528
- @supported_locales = args[:supported_locales] if args.key?(:supported_locales)
529
- end
530
- end
531
-
532
- #
467
+ # An expansion file. The resource for ExpansionFilesService.
533
468
  class ExpansionFile
534
469
  include Google::Apis::Core::Hashable
535
470
 
536
- # If set this field indicates that this APK has an Expansion File uploaded to it:
537
- # this APK does not reference another APK's Expansion File. The field's value
538
- # is the size of the uploaded Expansion File in bytes.
471
+ # If set, this field indicates that this APK has an expansion file uploaded
472
+ # to it: this APK does not reference another APK's expansion file.
473
+ # The field's value is the size of the uploaded expansion file in bytes.
539
474
  # Corresponds to the JSON property `fileSize`
540
475
  # @return [Fixnum]
541
476
  attr_accessor :file_size
542
477
 
543
- # If set this APK's Expansion File references another APK's Expansion File. The
544
- # file_size field will not be set.
478
+ # If set, this APK's expansion file references another APK's expansion file.
479
+ # The file_size field will not be set.
545
480
  # Corresponds to the JSON property `referencesVersion`
546
481
  # @return [Fixnum]
547
482
  attr_accessor :references_version
@@ -557,11 +492,11 @@ module Google
557
492
  end
558
493
  end
559
494
 
560
- #
495
+ # Response for uploading an expansion file.
561
496
  class ExpansionFilesUploadResponse
562
497
  include Google::Apis::Core::Hashable
563
498
 
564
- #
499
+ # An expansion file. The resource for ExpansionFilesService.
565
500
  # Corresponds to the JSON property `expansionFile`
566
501
  # @return [Google::Apis::AndroidpublisherV3::ExpansionFile]
567
502
  attr_accessor :expansion_file
@@ -576,10 +511,10 @@ module Google
576
511
  end
577
512
  end
578
513
 
579
- # Defines an APK available for this application that is hosted externally and
580
- # not uploaded to Google Play. This function is only available to enterprises
581
- # who are using Google Play for Work, and whos application is restricted to the
582
- # enterprise private channel
514
+ # Defines an APK available for this application that is hosted externally
515
+ # and not uploaded to Google Play.
516
+ # This function is only available to organizations using Managed Play whose
517
+ # application is configured to restrict distribution to the organizations.
583
518
  class ExternallyHostedApk
584
519
  include Google::Apis::Core::Hashable
585
520
 
@@ -588,8 +523,8 @@ module Google
588
523
  # @return [String]
589
524
  attr_accessor :application_label
590
525
 
591
- # A certificate (or array of certificates if a certificate-chain is used) used
592
- # to signed this APK, represented as a base64 encoded byte array.
526
+ # A certificate (or array of certificates if a certificate-chain is used)
527
+ # used to sign this APK, represented as a base64 encoded byte array.
593
528
  # Corresponds to the JSON property `certificateBase64s`
594
529
  # @return [Array<String>]
595
530
  attr_accessor :certificate_base64s
@@ -599,12 +534,14 @@ module Google
599
534
  # @return [String]
600
535
  attr_accessor :externally_hosted_url
601
536
 
602
- # The SHA1 checksum of this APK, represented as a base64 encoded byte array.
537
+ # The sha1 checksum of this APK, represented as a base64 encoded byte
538
+ # array.
603
539
  # Corresponds to the JSON property `fileSha1Base64`
604
540
  # @return [String]
605
541
  attr_accessor :file_sha1_base64
606
542
 
607
- # The SHA256 checksum of this APK, represented as a base64 encoded byte array.
543
+ # The sha256 checksum of this APK, represented as a base64 encoded byte
544
+ # array.
608
545
  # Corresponds to the JSON property `fileSha256Base64`
609
546
  # @return [String]
610
547
  attr_accessor :file_sha256_base64
@@ -646,7 +583,7 @@ module Google
646
583
 
647
584
  # The permissions requested by this APK.
648
585
  # Corresponds to the JSON property `usesPermissions`
649
- # @return [Array<Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission>]
586
+ # @return [Array<Google::Apis::AndroidpublisherV3::UsesPermission>]
650
587
  attr_accessor :uses_permissions
651
588
 
652
589
  # The version code of this APK.
@@ -683,32 +620,7 @@ module Google
683
620
  end
684
621
  end
685
622
 
686
- # A permission used by this APK.
687
- class ExternallyHostedApkUsesPermission
688
- include Google::Apis::Core::Hashable
689
-
690
- # Optionally, the maximum SDK version for which the permission is required.
691
- # Corresponds to the JSON property `maxSdkVersion`
692
- # @return [Fixnum]
693
- attr_accessor :max_sdk_version
694
-
695
- # The name of the permission requested.
696
- # Corresponds to the JSON property `name`
697
- # @return [String]
698
- attr_accessor :name
699
-
700
- def initialize(**args)
701
- update!(**args)
702
- end
703
-
704
- # Update properties of this object
705
- def update!(**args)
706
- @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
707
- @name = args[:name] if args.key?(:name)
708
- end
709
- end
710
-
711
- #
623
+ # An uploaded image. The resource for ImagesService.
712
624
  class Image
713
625
  include Google::Apis::Core::Hashable
714
626
 
@@ -717,12 +629,12 @@ module Google
717
629
  # @return [String]
718
630
  attr_accessor :id
719
631
 
720
- # A sha1 hash of the image that was uploaded.
632
+ # A sha1 hash of the image.
721
633
  # Corresponds to the JSON property `sha1`
722
634
  # @return [String]
723
635
  attr_accessor :sha1
724
636
 
725
- # A sha256 hash of the image that was uploaded.
637
+ # A sha256 hash of the image.
726
638
  # Corresponds to the JSON property `sha256`
727
639
  # @return [String]
728
640
  attr_accessor :sha256
@@ -745,11 +657,11 @@ module Google
745
657
  end
746
658
  end
747
659
 
748
- #
660
+ # Response for deleting all images.
749
661
  class ImagesDeleteAllResponse
750
662
  include Google::Apis::Core::Hashable
751
663
 
752
- #
664
+ # The deleted images.
753
665
  # Corresponds to the JSON property `deleted`
754
666
  # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
755
667
  attr_accessor :deleted
@@ -764,11 +676,11 @@ module Google
764
676
  end
765
677
  end
766
678
 
767
- #
679
+ # Response listing all images.
768
680
  class ImagesListResponse
769
681
  include Google::Apis::Core::Hashable
770
682
 
771
- #
683
+ # All listed Images.
772
684
  # Corresponds to the JSON property `images`
773
685
  # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
774
686
  attr_accessor :images
@@ -783,11 +695,11 @@ module Google
783
695
  end
784
696
  end
785
697
 
786
- #
698
+ # Response for uploading an image.
787
699
  class ImagesUploadResponse
788
700
  include Google::Apis::Core::Hashable
789
701
 
790
- #
702
+ # An uploaded image. The resource for ImagesService.
791
703
  # Corresponds to the JSON property `image`
792
704
  # @return [Google::Apis::AndroidpublisherV3::Image]
793
705
  attr_accessor :image
@@ -802,81 +714,70 @@ module Google
802
714
  end
803
715
  end
804
716
 
805
- #
717
+ # An in-app product. The resource for InappproductsService.
806
718
  class InAppProduct
807
719
  include Google::Apis::Core::Hashable
808
720
 
809
- # The default language of the localized data, as defined by BCP 47. e.g. "en-US",
810
- # "en-GB".
721
+ # Default language of the localized data, as defined by BCP-47. e.g. "en-US".
811
722
  # Corresponds to the JSON property `defaultLanguage`
812
723
  # @return [String]
813
724
  attr_accessor :default_language
814
725
 
815
- # Default price cannot be zero. In-app products can never be free. Default price
816
- # is always in the developer's Checkout merchant currency.
726
+ # Definition of a price, i.e. currency and units.
817
727
  # Corresponds to the JSON property `defaultPrice`
818
728
  # @return [Google::Apis::AndroidpublisherV3::Price]
819
729
  attr_accessor :default_price
820
730
 
821
- # Grace period of the subscription, specified in ISO 8601 format. It will allow
822
- # developers to give their subscribers a grace period when the payment for the
823
- # new recurrence period is declined. Acceptable values = "P3D" (three days), "
824
- # P7D" (seven days), "P14D" (fourteen days), and "P30D" (thirty days)
731
+ # Grace period of the subscription, specified in ISO 8601 format. Allows
732
+ # developers to give their subscribers a grace period when the payment
733
+ # for the new recurrence period is declined.
734
+ # Acceptable values are P0D (zero days), P3D (three days), P7D (seven days),
735
+ # P14D (14 days), and P30D (30 days).
825
736
  # Corresponds to the JSON property `gracePeriod`
826
737
  # @return [String]
827
738
  attr_accessor :grace_period
828
739
 
829
- # List of localized title and description data.
740
+ # List of localized title and description data. Map key is the language of
741
+ # the localized data, as defined by BCP-47, e.g. "en-US".
830
742
  # Corresponds to the JSON property `listings`
831
743
  # @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
832
744
  attr_accessor :listings
833
745
 
834
- # The package name of the parent app.
746
+ # Package name of the parent app.
835
747
  # Corresponds to the JSON property `packageName`
836
748
  # @return [String]
837
749
  attr_accessor :package_name
838
750
 
839
- # Prices per buyer region. None of these prices should be zero. In-app products
840
- # can never be free.
751
+ # Prices per buyer region. None of these can be zero, as in-app products are
752
+ # never free. Map key is region code, as defined by ISO 3166-2.
841
753
  # Corresponds to the JSON property `prices`
842
754
  # @return [Hash<String,Google::Apis::AndroidpublisherV3::Price>]
843
755
  attr_accessor :prices
844
756
 
845
- # Purchase type enum value. Unmodifiable after creation.
757
+ # The type of the product, e.g. a recurring subscription.
846
758
  # Corresponds to the JSON property `purchaseType`
847
759
  # @return [String]
848
760
  attr_accessor :purchase_type
849
761
 
850
- # Whether or not the developer wants the specific subscription to be
851
- # resubscribable. If the developer doesn't use PBL2.0, this value is ignored
852
- # since the feature is only for developers using PBL2.0. This feature allows
853
- # users to resubscribe to an expired subscription directly from the subscription
854
- # center by clicking on a "Resubscribe" CTA under the entry for the expired
855
- # subscription.
856
- # Corresponds to the JSON property `resubscribeEligibility`
857
- # @return [String]
858
- attr_accessor :resubscribe_eligibility
859
-
860
- # The stock-keeping-unit (SKU) of the product, unique within an app.
762
+ # Stock-keeping-unit (SKU) of the product, unique within an app.
861
763
  # Corresponds to the JSON property `sku`
862
764
  # @return [String]
863
765
  attr_accessor :sku
864
766
 
865
- #
767
+ # The status of the product, e.g. whether it's active.
866
768
  # Corresponds to the JSON property `status`
867
769
  # @return [String]
868
770
  attr_accessor :status
869
771
 
870
- # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
871
- # (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
872
- # P1Y" (one year).
772
+ # Subscription period, specified in ISO 8601 format. Acceptable values are
773
+ # P1W (one week), P1M (one month), P3M (three months), P6M (six months),
774
+ # and P1Y (one year).
873
775
  # Corresponds to the JSON property `subscriptionPeriod`
874
776
  # @return [String]
875
777
  attr_accessor :subscription_period
876
778
 
877
779
  # Trial period, specified in ISO 8601 format. Acceptable values are anything
878
- # between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions
879
- # cannot have a trial period.
780
+ # between P7D (seven days) and P999D (999 days).
880
781
  # Corresponds to the JSON property `trialPeriod`
881
782
  # @return [String]
882
783
  attr_accessor :trial_period
@@ -894,7 +795,6 @@ module Google
894
795
  @package_name = args[:package_name] if args.key?(:package_name)
895
796
  @prices = args[:prices] if args.key?(:prices)
896
797
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
897
- @resubscribe_eligibility = args[:resubscribe_eligibility] if args.key?(:resubscribe_eligibility)
898
798
  @sku = args[:sku] if args.key?(:sku)
899
799
  @status = args[:status] if args.key?(:status)
900
800
  @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
@@ -902,23 +802,21 @@ module Google
902
802
  end
903
803
  end
904
804
 
905
- #
805
+ # Store listing of a single in-app product.
906
806
  class InAppProductListing
907
807
  include Google::Apis::Core::Hashable
908
808
 
909
- # The localized entitlement benefits of the in-app product. These are supported
910
- # only for subscriptions.
809
+ # Localized entitlement benefits for a subscription.
911
810
  # Corresponds to the JSON property `benefits`
912
811
  # @return [Array<String>]
913
812
  attr_accessor :benefits
914
813
 
915
- # The localized description of the in-app product. These are deprecated for
916
- # subscriptions.
814
+ # Description for the store listing.
917
815
  # Corresponds to the JSON property `description`
918
816
  # @return [String]
919
817
  attr_accessor :description
920
818
 
921
- # The localized title of the in-app product.
819
+ # Title for the store listing.
922
820
  # Corresponds to the JSON property `title`
923
821
  # @return [String]
924
822
  attr_accessor :title
@@ -935,27 +833,36 @@ module Google
935
833
  end
936
834
  end
937
835
 
938
- #
836
+ # Response listing all in-app products.
939
837
  class InappproductsListResponse
940
838
  include Google::Apis::Core::Hashable
941
839
 
942
- #
840
+ # All in-app products.
943
841
  # Corresponds to the JSON property `inappproduct`
944
842
  # @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
945
843
  attr_accessor :inappproduct
946
844
 
947
- # Identifies what kind of resource this is. Value: the fixed string "
948
- # androidpublisher#inappproductsListResponse".
845
+ # The kind of this response ("androidpublisher#inappproductsListResponse").
949
846
  # Corresponds to the JSON property `kind`
950
847
  # @return [String]
951
848
  attr_accessor :kind
952
849
 
953
- #
850
+ # Information about the current page.
851
+ # List operations that supports paging return only one "page" of results. This
852
+ # protocol buffer message describes the page that has been returned.
954
853
  # Corresponds to the JSON property `pageInfo`
955
854
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
956
855
  attr_accessor :page_info
957
856
 
958
- #
857
+ # Pagination information returned by a List operation when token pagination
858
+ # is enabled.
859
+ # List operations that supports paging return only one "page" of results. This
860
+ # protocol buffer message describes the page that has been returned.
861
+ # When using token pagination, clients should use the next/previous token
862
+ # to get another page of the result. The presence or absence of next/previous
863
+ # token indicates whether a next/previous page is available and provides a
864
+ # mean of accessing this page. ListRequest.page_token should be set to either
865
+ # next_page_token or previous_page_token to access another page.
959
866
  # Corresponds to the JSON property `tokenPagination`
960
867
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
961
868
  attr_accessor :token_pagination
@@ -973,25 +880,26 @@ module Google
973
880
  end
974
881
  end
975
882
 
976
- # An artifact resource which gets created when uploading an APK or Android App
977
- # Bundle through internal app sharing.
883
+ # An artifact resource which gets created when uploading an APK or Android
884
+ # App Bundle through internal app sharing.
978
885
  class InternalAppSharingArtifact
979
886
  include Google::Apis::Core::Hashable
980
887
 
981
- # The SHA256 fingerprint of the certificate used to signed the generated
888
+ # The sha256 fingerprint of the certificate used to sign the generated
982
889
  # artifact.
983
890
  # Corresponds to the JSON property `certificateFingerprint`
984
891
  # @return [String]
985
892
  attr_accessor :certificate_fingerprint
986
893
 
987
- # The download URL generated for the uploaded artifact. Users that are
988
- # authorized to download can follow the link to the Play Store app to install it.
894
+ # The download URL generated for the uploaded artifact.
895
+ # Users that are authorized to download can follow the link to the Play
896
+ # Store app to install it.
989
897
  # Corresponds to the JSON property `downloadUrl`
990
898
  # @return [String]
991
899
  attr_accessor :download_url
992
900
 
993
- # The SHA-256 hash of the artifact represented as a lowercase hexadecimal number,
994
- # matching the output of the sha256sum command.
901
+ # The sha256 hash of the artifact represented as a lowercase hexadecimal
902
+ # number, matching the output of the sha256sum command.
995
903
  # Corresponds to the JSON property `sha256`
996
904
  # @return [String]
997
905
  attr_accessor :sha256
@@ -1012,17 +920,18 @@ module Google
1012
920
  class IntroductoryPriceInfo
1013
921
  include Google::Apis::Core::Hashable
1014
922
 
1015
- # Introductory price of the subscription, not including tax. The currency is the
1016
- # same as price_currency_code. Price is expressed in micro-units, where 1,000,
1017
- # 000 micro-units represents one unit of the currency. For example, if the
1018
- # subscription price is €1.99, price_amount_micros is 1990000.
923
+ # Introductory price of the subscription, not including tax.
924
+ # The currency is the same as price_currency_code. Price is
925
+ # expressed in micro-units, where 1,000,000 micro-units represents one unit
926
+ # of the currency. For example, if the subscription price is €1.99,
927
+ # price_amount_micros is 1990000.
1019
928
  # Corresponds to the JSON property `introductoryPriceAmountMicros`
1020
929
  # @return [Fixnum]
1021
930
  attr_accessor :introductory_price_amount_micros
1022
931
 
1023
- # ISO 4217 currency code for the introductory subscription price. For example,
1024
- # if the price is specified in British pounds sterling, price_currency_code is "
1025
- # GBP".
932
+ # ISO 4217 currency code for the introductory subscription price.
933
+ # For example, if the price is specified in British pounds sterling,
934
+ # price_currency_code is "GBP".
1026
935
  # Corresponds to the JSON property `introductoryPriceCurrencyCode`
1027
936
  # @return [String]
1028
937
  attr_accessor :introductory_price_currency_code
@@ -1032,9 +941,10 @@ module Google
1032
941
  # @return [Fixnum]
1033
942
  attr_accessor :introductory_price_cycles
1034
943
 
1035
- # Introductory price period, specified in ISO 8601 format. Common values are (
1036
- # but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months),
1037
- # "P6M" (six months), and "P1Y" (one year).
944
+ # Introductory price period, specified in ISO 8601 format.
945
+ # Common values are (but not limited to) "P1W" (one
946
+ # week), "P1M" (one month), "P3M" (three months), "P6M" (six months),
947
+ # and "P1Y" (one year).
1038
948
  # Corresponds to the JSON property `introductoryPricePeriod`
1039
949
  # @return [String]
1040
950
  attr_accessor :introductory_price_period
@@ -1052,27 +962,27 @@ module Google
1052
962
  end
1053
963
  end
1054
964
 
1055
- #
965
+ # A localized store listing. The resource for ListingsService.
1056
966
  class Listing
1057
967
  include Google::Apis::Core::Hashable
1058
968
 
1059
- # Full description of the app; this may be up to 4000 characters in length.
969
+ # Full description of the app.
1060
970
  # Corresponds to the JSON property `fullDescription`
1061
971
  # @return [String]
1062
972
  attr_accessor :full_description
1063
973
 
1064
- # Language localization code (for example, "de-AT" for Austrian German).
974
+ # Language localization code (a BCP-47 language tag; for example, "de-AT"
975
+ # for Austrian German).
1065
976
  # Corresponds to the JSON property `language`
1066
977
  # @return [String]
1067
978
  attr_accessor :language
1068
979
 
1069
- # Short description of the app (previously known as promo text); this may be up
1070
- # to 80 characters in length.
980
+ # Short description of the app.
1071
981
  # Corresponds to the JSON property `shortDescription`
1072
982
  # @return [String]
1073
983
  attr_accessor :short_description
1074
984
 
1075
- # App's localized title.
985
+ # Localized title of the app.
1076
986
  # Corresponds to the JSON property `title`
1077
987
  # @return [String]
1078
988
  attr_accessor :title
@@ -1096,17 +1006,16 @@ module Google
1096
1006
  end
1097
1007
  end
1098
1008
 
1099
- #
1009
+ # Response listing all localized listings.
1100
1010
  class ListingsListResponse
1101
1011
  include Google::Apis::Core::Hashable
1102
1012
 
1103
- # Identifies what kind of resource this is. Value: the fixed string "
1104
- # androidpublisher#listingsListResponse".
1013
+ # The kind of this response ("androidpublisher#listingsListResponse").
1105
1014
  # Corresponds to the JSON property `kind`
1106
1015
  # @return [String]
1107
1016
  attr_accessor :kind
1108
1017
 
1109
- #
1018
+ # All localized listings.
1110
1019
  # Corresponds to the JSON property `listings`
1111
1020
  # @return [Array<Google::Apis::AndroidpublisherV3::Listing>]
1112
1021
  attr_accessor :listings
@@ -1122,16 +1031,17 @@ module Google
1122
1031
  end
1123
1032
  end
1124
1033
 
1125
- #
1034
+ # Release notes specification, i.e. language and text.
1126
1035
  class LocalizedText
1127
1036
  include Google::Apis::Core::Hashable
1128
1037
 
1129
- # The language code, in BCP 47 format (eg "en-US").
1038
+ # Language localization code (a BCP-47 language tag; for example, "de-AT"
1039
+ # for Austrian German).
1130
1040
  # Corresponds to the JSON property `language`
1131
1041
  # @return [String]
1132
1042
  attr_accessor :language
1133
1043
 
1134
- # The text in the given `language`.
1044
+ # The text in the given language.
1135
1045
  # Corresponds to the JSON property `text`
1136
1046
  # @return [String]
1137
1047
  attr_accessor :text
@@ -1147,46 +1057,25 @@ module Google
1147
1057
  end
1148
1058
  end
1149
1059
 
1150
- #
1151
- class ModRange
1152
- include Google::Apis::Core::Hashable
1153
-
1154
- #
1155
- # Corresponds to the JSON property `end`
1156
- # @return [Fixnum]
1157
- attr_accessor :end
1158
-
1159
- #
1160
- # Corresponds to the JSON property `start`
1161
- # @return [Fixnum]
1162
- attr_accessor :start
1163
-
1164
- def initialize(**args)
1165
- update!(**args)
1166
- end
1167
-
1168
- # Update properties of this object
1169
- def update!(**args)
1170
- @end = args[:end] if args.key?(:end)
1171
- @start = args[:start] if args.key?(:start)
1172
- end
1173
- end
1174
-
1175
- #
1060
+ # Information about the current page.
1061
+ # List operations that supports paging return only one "page" of results. This
1062
+ # protocol buffer message describes the page that has been returned.
1176
1063
  class PageInfo
1177
1064
  include Google::Apis::Core::Hashable
1178
1065
 
1179
- #
1066
+ # Maximum number of results returned in one page.
1067
+ # ! The number of results included in the API response.
1180
1068
  # Corresponds to the JSON property `resultPerPage`
1181
1069
  # @return [Fixnum]
1182
1070
  attr_accessor :result_per_page
1183
1071
 
1184
- #
1072
+ # Index of the first result returned in the current page.
1185
1073
  # Corresponds to the JSON property `startIndex`
1186
1074
  # @return [Fixnum]
1187
1075
  attr_accessor :start_index
1188
1076
 
1189
- #
1077
+ # Total number of results available on the backend
1078
+ # ! The total number of results in the result set.
1190
1079
  # Corresponds to the JSON property `totalResults`
1191
1080
  # @return [Fixnum]
1192
1081
  attr_accessor :total_results
@@ -1203,16 +1092,17 @@ module Google
1203
1092
  end
1204
1093
  end
1205
1094
 
1206
- #
1095
+ # Definition of a price, i.e. currency and units.
1207
1096
  class Price
1208
1097
  include Google::Apis::Core::Hashable
1209
1098
 
1210
1099
  # 3 letter Currency code, as defined by ISO 4217.
1100
+ # See java/com/google/common/money/CurrencyCode.java
1211
1101
  # Corresponds to the JSON property `currency`
1212
1102
  # @return [String]
1213
1103
  attr_accessor :currency
1214
1104
 
1215
- # The price in millionths of the currency base unit represented as a string.
1105
+ # Price in 1/million of the currency base unit, represented as a string.
1216
1106
  # Corresponds to the JSON property `priceMicros`
1217
1107
  # @return [String]
1218
1108
  attr_accessor :price_micros
@@ -1228,36 +1118,55 @@ module Google
1228
1118
  end
1229
1119
  end
1230
1120
 
1231
- # A ProductPurchase resource indicates the status of a user's inapp product
1232
- # purchase.
1121
+ # A ProductPurchase resource indicates the status of a user's inapp
1122
+ # product purchase.
1233
1123
  class ProductPurchase
1234
1124
  include Google::Apis::Core::Hashable
1235
1125
 
1236
1126
  # The acknowledgement state of the inapp product. Possible values are:
1237
- # - Yet to be acknowledged
1238
- # - Acknowledged
1127
+ # 0. Yet to be acknowledged
1128
+ # 1. Acknowledged
1239
1129
  # Corresponds to the JSON property `acknowledgementState`
1240
1130
  # @return [Fixnum]
1241
1131
  attr_accessor :acknowledgement_state
1242
1132
 
1243
1133
  # The consumption state of the inapp product. Possible values are:
1244
- # - Yet to be consumed
1245
- # - Consumed
1134
+ # 0. Yet to be consumed
1135
+ # 1. Consumed
1246
1136
  # Corresponds to the JSON property `consumptionState`
1247
1137
  # @return [Fixnum]
1248
1138
  attr_accessor :consumption_state
1249
1139
 
1250
- # A developer-specified string that contains supplemental information about an
1251
- # order.
1140
+ # A developer-specified string that contains supplemental
1141
+ # information about an order.
1252
1142
  # Corresponds to the JSON property `developerPayload`
1253
1143
  # @return [String]
1254
1144
  attr_accessor :developer_payload
1255
1145
 
1256
- # This kind represents an inappPurchase object in the androidpublisher service.
1146
+ # This kind represents an inappPurchase object in the androidpublisher
1147
+ # service.
1257
1148
  # Corresponds to the JSON property `kind`
1258
1149
  # @return [String]
1259
1150
  attr_accessor :kind
1260
1151
 
1152
+ # An obfuscated version of the id that is uniquely associated with the
1153
+ # user's account in your app. Only present if specified using
1154
+ # https://developer.android.com/reference/com/android/billingclient/api/
1155
+ # BillingFlowParams.Builder#setobfuscatedaccountid
1156
+ # when the purchase was made.
1157
+ # Corresponds to the JSON property `obfuscatedExternalAccountId`
1158
+ # @return [String]
1159
+ attr_accessor :obfuscated_external_account_id
1160
+
1161
+ # An obfuscated version of the id that is uniquely associated with the
1162
+ # user's profile in your app. Only present if specified using
1163
+ # https://developer.android.com/reference/com/android/billingclient/api/
1164
+ # BillingFlowParams.Builder#setobfuscatedprofileid
1165
+ # when the purchase was made.
1166
+ # Corresponds to the JSON property `obfuscatedExternalProfileId`
1167
+ # @return [String]
1168
+ attr_accessor :obfuscated_external_profile_id
1169
+
1261
1170
  # The order id associated with the purchase of the inapp product.
1262
1171
  # Corresponds to the JSON property `orderId`
1263
1172
  # @return [String]
@@ -1269,15 +1178,15 @@ module Google
1269
1178
  attr_accessor :product_id
1270
1179
 
1271
1180
  # The purchase state of the order. Possible values are:
1272
- # - Purchased
1273
- # - Canceled
1274
- # - Pending
1181
+ # 0. Purchased
1182
+ # 1. Canceled
1183
+ # 2. Pending
1275
1184
  # Corresponds to the JSON property `purchaseState`
1276
1185
  # @return [Fixnum]
1277
1186
  attr_accessor :purchase_state
1278
1187
 
1279
- # The time the product was purchased, in milliseconds since the epoch (Jan 1,
1280
- # 1970).
1188
+ # The time the product was purchased, in milliseconds since the
1189
+ # epoch (Jan 1, 1970).
1281
1190
  # Corresponds to the JSON property `purchaseTimeMillis`
1282
1191
  # @return [Fixnum]
1283
1192
  attr_accessor :purchase_time_millis
@@ -1287,12 +1196,12 @@ module Google
1287
1196
  # @return [String]
1288
1197
  attr_accessor :purchase_token
1289
1198
 
1290
- # The type of purchase of the inapp product. This field is only set if this
1291
- # purchase was not made using the standard in-app billing flow. Possible values
1292
- # are:
1293
- # - Test (i.e. purchased from a license testing account)
1294
- # - Promo (i.e. purchased using a promo code)
1295
- # - Rewarded (i.e. from watching a video ad instead of paying)
1199
+ # The type of purchase of the inapp product. This field is only set if
1200
+ # this purchase was not made using the standard in-app billing flow.
1201
+ # Possible values are:
1202
+ # 0. Test (i.e. purchased from a license testing account)
1203
+ # 1. Promo (i.e. purchased using a promo code)
1204
+ # 2. Rewarded (i.e. from watching a video ad instead of paying)
1296
1205
  # Corresponds to the JSON property `purchaseType`
1297
1206
  # @return [Fixnum]
1298
1207
  attr_accessor :purchase_type
@@ -1312,6 +1221,8 @@ module Google
1312
1221
  @consumption_state = args[:consumption_state] if args.key?(:consumption_state)
1313
1222
  @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1314
1223
  @kind = args[:kind] if args.key?(:kind)
1224
+ @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
1225
+ @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
1315
1226
  @order_id = args[:order_id] if args.key?(:order_id)
1316
1227
  @product_id = args[:product_id] if args.key?(:product_id)
1317
1228
  @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
@@ -1322,7 +1233,7 @@ module Google
1322
1233
  end
1323
1234
  end
1324
1235
 
1325
- #
1236
+ # Request for the product.purchases.acknowledge API.
1326
1237
  class ProductPurchasesAcknowledgeRequest
1327
1238
  include Google::Apis::Core::Hashable
1328
1239
 
@@ -1341,7 +1252,7 @@ module Google
1341
1252
  end
1342
1253
  end
1343
1254
 
1344
- #
1255
+ # An Android app review.
1345
1256
  class Review
1346
1257
  include Google::Apis::Core::Hashable
1347
1258
 
@@ -1372,11 +1283,14 @@ module Google
1372
1283
  end
1373
1284
  end
1374
1285
 
1375
- #
1286
+ # The result of replying/updating a reply to review.
1376
1287
  class ReviewReplyResult
1377
1288
  include Google::Apis::Core::Hashable
1378
1289
 
1379
- # The time at which the reply took effect.
1290
+ # A Timestamp represents a point in time independent of any time zone or local
1291
+ # calendar, encoded as a count of seconds and fractions of seconds at
1292
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1293
+ # January 1, 1970.
1380
1294
  # Corresponds to the JSON property `lastEdited`
1381
1295
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
1382
1296
  attr_accessor :last_edited
@@ -1397,21 +1311,31 @@ module Google
1397
1311
  end
1398
1312
  end
1399
1313
 
1400
- #
1314
+ # Response listing reviews.
1401
1315
  class ReviewsListResponse
1402
1316
  include Google::Apis::Core::Hashable
1403
1317
 
1404
- #
1318
+ # Information about the current page.
1319
+ # List operations that supports paging return only one "page" of results. This
1320
+ # protocol buffer message describes the page that has been returned.
1405
1321
  # Corresponds to the JSON property `pageInfo`
1406
1322
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
1407
1323
  attr_accessor :page_info
1408
1324
 
1409
- #
1325
+ # List of reviews.
1410
1326
  # Corresponds to the JSON property `reviews`
1411
1327
  # @return [Array<Google::Apis::AndroidpublisherV3::Review>]
1412
1328
  attr_accessor :reviews
1413
1329
 
1414
- #
1330
+ # Pagination information returned by a List operation when token pagination
1331
+ # is enabled.
1332
+ # List operations that supports paging return only one "page" of results. This
1333
+ # protocol buffer message describes the page that has been returned.
1334
+ # When using token pagination, clients should use the next/previous token
1335
+ # to get another page of the result. The presence or absence of next/previous
1336
+ # token indicates whether a next/previous page is available and provides a
1337
+ # mean of accessing this page. ListRequest.page_token should be set to either
1338
+ # next_page_token or previous_page_token to access another page.
1415
1339
  # Corresponds to the JSON property `tokenPagination`
1416
1340
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
1417
1341
  attr_accessor :token_pagination
@@ -1428,7 +1352,7 @@ module Google
1428
1352
  end
1429
1353
  end
1430
1354
 
1431
- #
1355
+ # Request to reply to review or update existing reply.
1432
1356
  class ReviewsReplyRequest
1433
1357
  include Google::Apis::Core::Hashable
1434
1358
 
@@ -1448,11 +1372,11 @@ module Google
1448
1372
  end
1449
1373
  end
1450
1374
 
1451
- #
1375
+ # Response on status of replying to a review.
1452
1376
  class ReviewsReplyResponse
1453
1377
  include Google::Apis::Core::Hashable
1454
1378
 
1455
- #
1379
+ # The result of replying/updating a reply to review.
1456
1380
  # Corresponds to the JSON property `result`
1457
1381
  # @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult]
1458
1382
  attr_accessor :result
@@ -1467,105 +1391,18 @@ module Google
1467
1391
  end
1468
1392
  end
1469
1393
 
1470
- #
1471
- class Sampling
1472
- include Google::Apis::Core::Hashable
1473
-
1474
- #
1475
- # Corresponds to the JSON property `modRanges`
1476
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1477
- attr_accessor :mod_ranges
1478
-
1479
- #
1480
- # Corresponds to the JSON property `modulus`
1481
- # @return [Fixnum]
1482
- attr_accessor :modulus
1483
-
1484
- #
1485
- # Corresponds to the JSON property `salt`
1486
- # @return [Fixnum]
1487
- attr_accessor :salt
1488
-
1489
- #
1490
- # Corresponds to the JSON property `stratifiedSamplings`
1491
- # @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
1492
- attr_accessor :stratified_samplings
1493
-
1494
- #
1495
- # Corresponds to the JSON property `useAndroidId`
1496
- # @return [Boolean]
1497
- attr_accessor :use_android_id
1498
- alias_method :use_android_id?, :use_android_id
1499
-
1500
- def initialize(**args)
1501
- update!(**args)
1502
- end
1503
-
1504
- # Update properties of this object
1505
- def update!(**args)
1506
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1507
- @modulus = args[:modulus] if args.key?(:modulus)
1508
- @salt = args[:salt] if args.key?(:salt)
1509
- @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
1510
- @use_android_id = args[:use_android_id] if args.key?(:use_android_id)
1511
- end
1512
- end
1513
-
1514
- #
1515
- class StratifiedSampling
1516
- include Google::Apis::Core::Hashable
1517
-
1518
- #
1519
- # Corresponds to the JSON property `modRanges`
1520
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1521
- attr_accessor :mod_ranges
1522
-
1523
- #
1524
- # Corresponds to the JSON property `stratum`
1525
- # @return [Google::Apis::AndroidpublisherV3::Stratum]
1526
- attr_accessor :stratum
1527
-
1528
- def initialize(**args)
1529
- update!(**args)
1530
- end
1531
-
1532
- # Update properties of this object
1533
- def update!(**args)
1534
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1535
- @stratum = args[:stratum] if args.key?(:stratum)
1536
- end
1537
- end
1538
-
1539
- #
1540
- class Stratum
1541
- include Google::Apis::Core::Hashable
1542
-
1543
- #
1544
- # Corresponds to the JSON property `brand`
1545
- # @return [String]
1546
- attr_accessor :brand
1547
-
1548
- def initialize(**args)
1549
- update!(**args)
1550
- end
1551
-
1552
- # Update properties of this object
1553
- def update!(**args)
1554
- @brand = args[:brand] if args.key?(:brand)
1555
- end
1556
- end
1557
-
1558
1394
  # Information provided by the user when they complete the subscription
1559
1395
  # cancellation flow (cancellation reason survey).
1560
1396
  class SubscriptionCancelSurveyResult
1561
1397
  include Google::Apis::Core::Hashable
1562
1398
 
1563
- # The cancellation reason the user chose in the survey. Possible values are:
1564
- # - Other
1565
- # - I don't use this service enough
1566
- # - Technical issues
1567
- # - Cost-related reasons
1568
- # - I found a better app
1399
+ # The cancellation reason the user chose in the survey.
1400
+ # Possible values are:
1401
+ # 0. Other
1402
+ # 1. I don't use this service enough
1403
+ # 2. Technical issues
1404
+ # 3. Cost-related reasons
1405
+ # 4. I found a better app
1569
1406
  # Corresponds to the JSON property `cancelSurveyReason`
1570
1407
  # @return [Fixnum]
1571
1408
  attr_accessor :cancel_survey_reason
@@ -1587,20 +1424,21 @@ module Google
1587
1424
  end
1588
1425
  end
1589
1426
 
1590
- # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1591
- # purchase to a future expiry time.
1427
+ # A SubscriptionDeferralInfo contains the data needed to defer a
1428
+ # subscription purchase to a future expiry time.
1592
1429
  class SubscriptionDeferralInfo
1593
1430
  include Google::Apis::Core::Hashable
1594
1431
 
1595
- # The desired next expiry time to assign to the subscription, in milliseconds
1596
- # since the Epoch. The given time must be later/greater than the current expiry
1597
- # time for the subscription.
1432
+ # The desired next expiry time to assign to the subscription, in
1433
+ # milliseconds since the Epoch. The given time must be later/greater
1434
+ # than the current expiry time for the subscription.
1598
1435
  # Corresponds to the JSON property `desiredExpiryTimeMillis`
1599
1436
  # @return [Fixnum]
1600
1437
  attr_accessor :desired_expiry_time_millis
1601
1438
 
1602
- # The expected expiry time for the subscription. If the current expiry time for
1603
- # the subscription is not the value specified here, the deferral will not occur.
1439
+ # The expected expiry time for the subscription. If the current
1440
+ # expiry time for the subscription is not the value specified
1441
+ # here, the deferral will not occur.
1604
1442
  # Corresponds to the JSON property `expectedExpiryTimeMillis`
1605
1443
  # @return [Fixnum]
1606
1444
  attr_accessor :expected_expiry_time_millis
@@ -1623,20 +1461,19 @@ module Google
1623
1461
  class SubscriptionPriceChange
1624
1462
  include Google::Apis::Core::Hashable
1625
1463
 
1626
- # The new price the subscription will renew with if the price change is accepted
1627
- # by the user.
1464
+ # Definition of a price, i.e. currency and units.
1628
1465
  # Corresponds to the JSON property `newPrice`
1629
1466
  # @return [Google::Apis::AndroidpublisherV3::Price]
1630
1467
  attr_accessor :new_price
1631
1468
 
1632
1469
  # The current state of the price change. Possible values are:
1633
- # - Outstanding: State for a pending price change waiting for the user to agree.
1634
- # In this state, you can optionally seek confirmation from the user using the In-
1635
- # App API.
1636
- # - Accepted: State for an accepted price change that the subscription will
1637
- # renew with unless it's canceled. The price change takes effect on a future
1638
- # date when the subscription renews. Note that the change might not occur when
1639
- # the subscription is renewed next.
1470
+ # 0. Outstanding: State for a pending price change waiting for the user to
1471
+ # agree. In this state, you can optionally seek confirmation from the
1472
+ # user using the In-App API.
1473
+ # 1. Accepted: State for an accepted price change that the subscription
1474
+ # will renew with unless it's canceled. The price change takes effect on
1475
+ # a future date when the subscription renews. Note that the change might
1476
+ # not occur when the subscription is renewed next.
1640
1477
  # Corresponds to the JSON property `state`
1641
1478
  # @return [Fixnum]
1642
1479
  attr_accessor :state
@@ -1652,39 +1489,40 @@ module Google
1652
1489
  end
1653
1490
  end
1654
1491
 
1655
- # A SubscriptionPurchase resource indicates the status of a user's subscription
1656
- # purchase.
1492
+ # A SubscriptionPurchase resource indicates the status of a user's
1493
+ # subscription purchase.
1657
1494
  class SubscriptionPurchase
1658
1495
  include Google::Apis::Core::Hashable
1659
1496
 
1660
- # The acknowledgement state of the subscription product. Possible values are:
1661
- # - Yet to be acknowledged
1662
- # - Acknowledged
1497
+ # The acknowledgement state of the subscription product. Possible values
1498
+ # are:
1499
+ # 0. Yet to be acknowledged
1500
+ # 1. Acknowledged
1663
1501
  # Corresponds to the JSON property `acknowledgementState`
1664
1502
  # @return [Fixnum]
1665
1503
  attr_accessor :acknowledgement_state
1666
1504
 
1667
- # Whether the subscription will automatically be renewed when it reaches its
1668
- # current expiry time.
1505
+ # Whether the subscription will automatically be renewed when it
1506
+ # reaches its current expiry time.
1669
1507
  # Corresponds to the JSON property `autoRenewing`
1670
1508
  # @return [Boolean]
1671
1509
  attr_accessor :auto_renewing
1672
1510
  alias_method :auto_renewing?, :auto_renewing
1673
1511
 
1674
- # Time at which the subscription will be automatically resumed, in milliseconds
1675
- # since the Epoch. Only present if the user has requested to pause the
1676
- # subscription.
1512
+ # Time at which the subscription will be automatically resumed, in
1513
+ # milliseconds since the Epoch. Only present if the user has requested to
1514
+ # pause the subscription.
1677
1515
  # Corresponds to the JSON property `autoResumeTimeMillis`
1678
1516
  # @return [Fixnum]
1679
1517
  attr_accessor :auto_resume_time_millis
1680
1518
 
1681
- # The reason why a subscription was canceled or is not auto-renewing. Possible
1682
- # values are:
1683
- # - User canceled the subscription
1684
- # - Subscription was canceled by the system, for example because of a billing
1685
- # problem
1686
- # - Subscription was replaced with a new subscription
1687
- # - Subscription was canceled by the developer
1519
+ # The reason why a subscription was canceled or is not auto-renewing.
1520
+ # Possible values are:
1521
+ # 0. User canceled the subscription
1522
+ # 1. Subscription was canceled by the system,
1523
+ # for example because of a billing problem
1524
+ # 2. Subscription was replaced with a new subscription
1525
+ # 3. Subscription was canceled by the developer
1688
1526
  # Corresponds to the JSON property `cancelReason`
1689
1527
  # @return [Fixnum]
1690
1528
  attr_accessor :cancel_reason
@@ -1695,43 +1533,45 @@ module Google
1695
1533
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult]
1696
1534
  attr_accessor :cancel_survey_result
1697
1535
 
1698
- # ISO 3166-1 alpha-2 billing country/region code of the user at the time the
1699
- # subscription was granted.
1536
+ # ISO 3166-1 alpha-2 billing country/region code of the user at the time
1537
+ # the subscription was granted.
1700
1538
  # Corresponds to the JSON property `countryCode`
1701
1539
  # @return [String]
1702
1540
  attr_accessor :country_code
1703
1541
 
1704
- # A developer-specified string that contains supplemental information about an
1705
- # order.
1542
+ # A developer-specified string that contains supplemental
1543
+ # information about an order.
1706
1544
  # Corresponds to the JSON property `developerPayload`
1707
1545
  # @return [String]
1708
1546
  attr_accessor :developer_payload
1709
1547
 
1710
- # The email address of the user when the subscription was purchased. Only
1711
- # present for purchases made with 'Subscribe with Google'.
1548
+ # The email address of the user when the subscription was purchased.
1549
+ # Only present for purchases made with 'Subscribe with Google'.
1712
1550
  # Corresponds to the JSON property `emailAddress`
1713
1551
  # @return [String]
1714
1552
  attr_accessor :email_address
1715
1553
 
1716
- # Time at which the subscription will expire, in milliseconds since the Epoch.
1554
+ # Time at which the subscription will expire, in milliseconds
1555
+ # since the Epoch.
1717
1556
  # Corresponds to the JSON property `expiryTimeMillis`
1718
1557
  # @return [Fixnum]
1719
1558
  attr_accessor :expiry_time_millis
1720
1559
 
1721
- # User account identifier in the third-party service. Only present if account
1722
- # linking happened as part of the subscription purchase flow.
1560
+ # User account identifier in the third-party service.
1561
+ # Only present if account linking happened as part of the subscription
1562
+ # purchase flow.
1723
1563
  # Corresponds to the JSON property `externalAccountId`
1724
1564
  # @return [String]
1725
1565
  attr_accessor :external_account_id
1726
1566
 
1727
- # The family name of the user when the subscription was purchased. Only present
1728
- # for purchases made with 'Subscribe with Google'.
1567
+ # The family name of the user when the subscription was purchased.
1568
+ # Only present for purchases made with 'Subscribe with Google'.
1729
1569
  # Corresponds to the JSON property `familyName`
1730
1570
  # @return [String]
1731
1571
  attr_accessor :family_name
1732
1572
 
1733
- # The given name of the user when the subscription was purchased. Only present
1734
- # for purchases made with 'Subscribe with Google'.
1573
+ # The given name of the user when the subscription was purchased.
1574
+ # Only present for purchases made with 'Subscribe with Google'.
1735
1575
  # Corresponds to the JSON property `givenName`
1736
1576
  # @return [String]
1737
1577
  attr_accessor :given_name
@@ -1747,39 +1587,61 @@ module Google
1747
1587
  # @return [String]
1748
1588
  attr_accessor :kind
1749
1589
 
1750
- # The purchase token of the originating purchase if this subscription is one of
1751
- # the following:
1752
- # - Re-signup of a canceled but non-lapsed subscription
1753
- # - Upgrade/downgrade from a previous subscription For example, suppose a user
1754
- # originally signs up and you receive purchase token X, then the user cancels
1755
- # and goes through the resignup flow (before their subscription lapses) and you
1756
- # receive purchase token Y, and finally the user upgrades their subscription and
1757
- # you receive purchase token Z. If you call this API with purchase token Z, this
1758
- # field will be set to Y. If you call this API with purchase token Y, this field
1759
- # will be set to X. If you call this API with purchase token X, this field will
1760
- # not be set.
1590
+ # The purchase token of the originating purchase if this subscription
1591
+ # is one of the following:
1592
+ # 0. Re-signup of a canceled but non-lapsed subscription
1593
+ # 1. Upgrade/downgrade from a previous subscription
1594
+ # For example, suppose a user originally signs up and you receive
1595
+ # purchase token X, then the user cancels and goes through the
1596
+ # resignup flow (before their subscription lapses) and you receive
1597
+ # purchase token Y, and finally the user upgrades their subscription
1598
+ # and you receive purchase token Z. If you call this API with purchase
1599
+ # token Z, this field will be set to Y. If you call this API with
1600
+ # purchase token Y, this field will be set to X. If you call this API
1601
+ # with purchase token X, this field will not be set.
1761
1602
  # Corresponds to the JSON property `linkedPurchaseToken`
1762
1603
  # @return [String]
1763
1604
  attr_accessor :linked_purchase_token
1764
1605
 
1765
- # The order id of the latest recurring order associated with the purchase of the
1766
- # subscription.
1606
+ # An obfuscated version of the id that is uniquely associated with the
1607
+ # user's account in your app. Present for the following purchases:
1608
+ # * If account linking happened as part of the subscription purchase flow.
1609
+ # * It was specified using
1610
+ # https://developer.android.com/reference/com/android/billingclient/api/
1611
+ # BillingFlowParams.Builder#setobfuscatedaccountid
1612
+ # when the purchase was made.
1613
+ # Corresponds to the JSON property `obfuscatedExternalAccountId`
1614
+ # @return [String]
1615
+ attr_accessor :obfuscated_external_account_id
1616
+
1617
+ # An obfuscated version of the id that is uniquely associated with the
1618
+ # user's profile in your app. Only present if specified using
1619
+ # https://developer.android.com/reference/com/android/billingclient/api/
1620
+ # BillingFlowParams.Builder#setobfuscatedprofileid
1621
+ # when the purchase was made.
1622
+ # Corresponds to the JSON property `obfuscatedExternalProfileId`
1623
+ # @return [String]
1624
+ attr_accessor :obfuscated_external_profile_id
1625
+
1626
+ # The order id of the latest recurring order associated with
1627
+ # the purchase of the subscription.
1767
1628
  # Corresponds to the JSON property `orderId`
1768
1629
  # @return [String]
1769
1630
  attr_accessor :order_id
1770
1631
 
1771
1632
  # The payment state of the subscription. Possible values are:
1772
- # - Payment pending
1773
- # - Payment received
1774
- # - Free trial
1775
- # - Pending deferred upgrade/downgrade
1633
+ # 0. Payment pending
1634
+ # 1. Payment received
1635
+ # 2. Free trial
1636
+ # 3. Pending deferred upgrade/downgrade
1776
1637
  # Corresponds to the JSON property `paymentState`
1777
1638
  # @return [Fixnum]
1778
1639
  attr_accessor :payment_state
1779
1640
 
1780
- # Price of the subscription, not including tax. Price is expressed in micro-
1781
- # units, where 1,000,000 micro-units represents one unit of the currency. For
1782
- # example, if the subscription price is 1.99, price_amount_micros is 1990000.
1641
+ # Price of the subscription, not including tax. Price is expressed
1642
+ # in micro-units, where 1,000,000 micro-units represents one unit of
1643
+ # the currency. For example, if the subscription price is &euro;1.99,
1644
+ # price_amount_micros is 1990000.
1783
1645
  # Corresponds to the JSON property `priceAmountMicros`
1784
1646
  # @return [Fixnum]
1785
1647
  attr_accessor :price_amount_micros
@@ -1792,55 +1654,57 @@ module Google
1792
1654
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange]
1793
1655
  attr_accessor :price_change
1794
1656
 
1795
- # ISO 4217 currency code for the subscription price. For example, if the price
1796
- # is specified in British pounds sterling, price_currency_code is "GBP".
1657
+ # ISO 4217 currency code for the subscription price. For example,
1658
+ # if the price is specified in British pounds sterling,
1659
+ # price_currency_code is "GBP".
1797
1660
  # Corresponds to the JSON property `priceCurrencyCode`
1798
1661
  # @return [String]
1799
1662
  attr_accessor :price_currency_code
1800
1663
 
1801
- # The Google profile id of the user when the subscription was purchased. Only
1802
- # present for purchases made with 'Subscribe with Google'.
1664
+ # The Google profile id of the user when the subscription was purchased.
1665
+ # Only present for purchases made with 'Subscribe with Google'.
1803
1666
  # Corresponds to the JSON property `profileId`
1804
1667
  # @return [String]
1805
1668
  attr_accessor :profile_id
1806
1669
 
1807
- # The profile name of the user when the subscription was purchased. Only present
1808
- # for purchases made with 'Subscribe with Google'.
1670
+ # The profile name of the user when the subscription was purchased.
1671
+ # Only present for purchases made with 'Subscribe with Google'.
1809
1672
  # Corresponds to the JSON property `profileName`
1810
1673
  # @return [String]
1811
1674
  attr_accessor :profile_name
1812
1675
 
1813
- # The promotion code applied on this purchase. This field is only set if a
1814
- # vanity code promotion is applied when the subscription was purchased.
1676
+ # The promotion code applied on this purchase. This field is only set if
1677
+ # a vanity code promotion is applied when the subscription was purchased.
1815
1678
  # Corresponds to the JSON property `promotionCode`
1816
1679
  # @return [String]
1817
1680
  attr_accessor :promotion_code
1818
1681
 
1819
- # The type of promotion applied on this purchase. This field is only set if a
1820
- # promotion is applied when the subscription was purchased. Possible values are:
1821
- #
1822
- # - One time code
1823
- # - Vanity code
1682
+ # The type of promotion applied on this purchase. This field is only set if
1683
+ # a promotion is applied when the subscription was purchased. Possible
1684
+ # values are:
1685
+ # 0. One time code
1686
+ # 1. Vanity code
1824
1687
  # Corresponds to the JSON property `promotionType`
1825
1688
  # @return [Fixnum]
1826
1689
  attr_accessor :promotion_type
1827
1690
 
1828
- # The type of purchase of the subscription. This field is only set if this
1829
- # purchase was not made using the standard in-app billing flow. Possible values
1830
- # are:
1831
- # - Test (i.e. purchased from a license testing account)
1832
- # - Promo (i.e. purchased using a promo code)
1691
+ # The type of purchase of the subscription. This field is only set if
1692
+ # this purchase was not made using the standard in-app billing flow.
1693
+ # Possible values are:
1694
+ # 0. Test (i.e. purchased from a license testing account)
1695
+ # 1. Promo (i.e. purchased using a promo code)
1833
1696
  # Corresponds to the JSON property `purchaseType`
1834
1697
  # @return [Fixnum]
1835
1698
  attr_accessor :purchase_type
1836
1699
 
1837
- # Time at which the subscription was granted, in milliseconds since the Epoch.
1700
+ # Time at which the subscription was granted, in milliseconds
1701
+ # since the Epoch.
1838
1702
  # Corresponds to the JSON property `startTimeMillis`
1839
1703
  # @return [Fixnum]
1840
1704
  attr_accessor :start_time_millis
1841
1705
 
1842
- # The time at which the subscription was canceled by the user, in milliseconds
1843
- # since the epoch. Only present if cancelReason is 0.
1706
+ # The time at which the subscription was canceled by the user, in
1707
+ # milliseconds since the epoch. Only present if cancelReason is 0.
1844
1708
  # Corresponds to the JSON property `userCancellationTimeMillis`
1845
1709
  # @return [Fixnum]
1846
1710
  attr_accessor :user_cancellation_time_millis
@@ -1866,6 +1730,8 @@ module Google
1866
1730
  @introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
1867
1731
  @kind = args[:kind] if args.key?(:kind)
1868
1732
  @linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
1733
+ @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
1734
+ @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
1869
1735
  @order_id = args[:order_id] if args.key?(:order_id)
1870
1736
  @payment_state = args[:payment_state] if args.key?(:payment_state)
1871
1737
  @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
@@ -1881,7 +1747,7 @@ module Google
1881
1747
  end
1882
1748
  end
1883
1749
 
1884
- #
1750
+ # Request for the purchases.subscriptions.acknowledge API.
1885
1751
  class SubscriptionPurchasesAcknowledgeRequest
1886
1752
  include Google::Apis::Core::Hashable
1887
1753
 
@@ -1900,12 +1766,12 @@ module Google
1900
1766
  end
1901
1767
  end
1902
1768
 
1903
- #
1769
+ # Request for the purchases.subscriptions.defer API.
1904
1770
  class SubscriptionPurchasesDeferRequest
1905
1771
  include Google::Apis::Core::Hashable
1906
1772
 
1907
- # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1908
- # purchase to a future expiry time.
1773
+ # A SubscriptionDeferralInfo contains the data needed to defer a
1774
+ # subscription purchase to a future expiry time.
1909
1775
  # Corresponds to the JSON property `deferralInfo`
1910
1776
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo]
1911
1777
  attr_accessor :deferral_info
@@ -1920,7 +1786,7 @@ module Google
1920
1786
  end
1921
1787
  end
1922
1788
 
1923
- #
1789
+ # Response for the purchases.subscriptions.defer API.
1924
1790
  class SubscriptionPurchasesDeferResponse
1925
1791
  include Google::Apis::Core::Hashable
1926
1792
 
@@ -1939,65 +1805,11 @@ module Google
1939
1805
  end
1940
1806
  end
1941
1807
 
1942
- #
1943
- class SystemApkVariantsCreateRequest
1944
- include Google::Apis::Core::Hashable
1945
-
1946
- #
1947
- # Corresponds to the JSON property `deviceSpec`
1948
- # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
1949
- attr_accessor :device_spec
1950
-
1951
- def initialize(**args)
1952
- update!(**args)
1953
- end
1954
-
1955
- # Update properties of this object
1956
- def update!(**args)
1957
- @device_spec = args[:device_spec] if args.key?(:device_spec)
1958
- end
1959
- end
1960
-
1961
- #
1962
- class SystemApkVariantsListResponse
1963
- include Google::Apis::Core::Hashable
1964
-
1965
- #
1966
- # Corresponds to the JSON property `variants`
1967
- # @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
1968
- attr_accessor :variants
1969
-
1970
- def initialize(**args)
1971
- update!(**args)
1972
- end
1973
-
1974
- # Update properties of this object
1975
- def update!(**args)
1976
- @variants = args[:variants] if args.key?(:variants)
1977
- end
1978
- end
1979
-
1980
- #
1808
+ # The testers of an app. The resource for TestersService.
1981
1809
  class Testers
1982
1810
  include Google::Apis::Core::Hashable
1983
1811
 
1984
- #
1985
- # Corresponds to the JSON property `autoEnrolledAndroidGroups`
1986
- # @return [Array<String>]
1987
- attr_accessor :auto_enrolled_android_groups
1988
-
1989
- #
1990
- # Corresponds to the JSON property `autoEnrolledGoogleGroups`
1991
- # @return [Array<String>]
1992
- attr_accessor :auto_enrolled_google_groups
1993
-
1994
- #
1995
- # Corresponds to the JSON property `excludedGoogleGroups`
1996
- # @return [Array<String>]
1997
- attr_accessor :excluded_google_groups
1998
-
1999
- # A list of all Google Groups, as email addresses, that define testers for this
2000
- # track.
1812
+ # All testing Google Groups, as email addresses.
2001
1813
  # Corresponds to the JSON property `googleGroups`
2002
1814
  # @return [Array<String>]
2003
1815
  attr_accessor :google_groups
@@ -2008,23 +1820,24 @@ module Google
2008
1820
 
2009
1821
  # Update properties of this object
2010
1822
  def update!(**args)
2011
- @auto_enrolled_android_groups = args[:auto_enrolled_android_groups] if args.key?(:auto_enrolled_android_groups)
2012
- @auto_enrolled_google_groups = args[:auto_enrolled_google_groups] if args.key?(:auto_enrolled_google_groups)
2013
- @excluded_google_groups = args[:excluded_google_groups] if args.key?(:excluded_google_groups)
2014
1823
  @google_groups = args[:google_groups] if args.key?(:google_groups)
2015
1824
  end
2016
1825
  end
2017
1826
 
2018
- #
1827
+ # A Timestamp represents a point in time independent of any time zone or local
1828
+ # calendar, encoded as a count of seconds and fractions of seconds at
1829
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1830
+ # January 1, 1970.
2019
1831
  class Timestamp
2020
1832
  include Google::Apis::Core::Hashable
2021
1833
 
2022
- #
1834
+ # Non-negative fractions of a second at nanosecond resolution.
1835
+ # Must be from 0 to 999,999,999 inclusive.
2023
1836
  # Corresponds to the JSON property `nanos`
2024
1837
  # @return [Fixnum]
2025
1838
  attr_accessor :nanos
2026
1839
 
2027
- #
1840
+ # Represents seconds of UTC time since Unix epoch.
2028
1841
  # Corresponds to the JSON property `seconds`
2029
1842
  # @return [Fixnum]
2030
1843
  attr_accessor :seconds
@@ -2040,11 +1853,20 @@ module Google
2040
1853
  end
2041
1854
  end
2042
1855
 
2043
- #
1856
+ # Pagination information returned by a List operation when token pagination
1857
+ # is enabled.
1858
+ # List operations that supports paging return only one "page" of results. This
1859
+ # protocol buffer message describes the page that has been returned.
1860
+ # When using token pagination, clients should use the next/previous token
1861
+ # to get another page of the result. The presence or absence of next/previous
1862
+ # token indicates whether a next/previous page is available and provides a
1863
+ # mean of accessing this page. ListRequest.page_token should be set to either
1864
+ # next_page_token or previous_page_token to access another page.
2044
1865
  class TokenPagination
2045
1866
  include Google::Apis::Core::Hashable
2046
1867
 
2047
- #
1868
+ # Tokens to pass to the standard list field 'page_token'. Whenever available,
1869
+ # tokens are preferred over manipulating start_index.
2048
1870
  # Corresponds to the JSON property `nextPageToken`
2049
1871
  # @return [String]
2050
1872
  attr_accessor :next_page_token
@@ -2065,17 +1887,17 @@ module Google
2065
1887
  end
2066
1888
  end
2067
1889
 
2068
- #
1890
+ # A track configuration. The resource for TracksService.
2069
1891
  class Track
2070
1892
  include Google::Apis::Core::Hashable
2071
1893
 
2072
- # A list of all active releases in this track during a read request. On an
2073
- # update request, it represents desired changes.
1894
+ # In a read request, represents all active releases in the track.
1895
+ # In an update request, represents desired changes.
2074
1896
  # Corresponds to the JSON property `releases`
2075
1897
  # @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
2076
1898
  attr_accessor :releases
2077
1899
 
2078
- # Identifier for this track.
1900
+ # Identifier of the track.
2079
1901
  # Corresponds to the JSON property `track`
2080
1902
  # @return [String]
2081
1903
  attr_accessor :track
@@ -2091,72 +1913,49 @@ module Google
2091
1913
  end
2092
1914
  end
2093
1915
 
2094
- #
1916
+ # A release within a track.
2095
1917
  class TrackRelease
2096
1918
  include Google::Apis::Core::Hashable
2097
1919
 
2098
- #
2099
- # Corresponds to the JSON property `controls`
2100
- # @return [Array<Google::Apis::AndroidpublisherV3::Control>]
2101
- attr_accessor :controls
2102
-
2103
- #
1920
+ # Country targeting specification.
2104
1921
  # Corresponds to the JSON property `countryTargeting`
2105
1922
  # @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
2106
1923
  attr_accessor :country_targeting
2107
1924
 
2108
- # In-app update priority of the release. All newly added APKs in the release
2109
- # will be considered at this priority. in_app_update_priority can take values
2110
- # between [0, 5]. 5 is the highest priority. Default priority is 0.
2111
- # in_app_update_priority can not be updated once the release is rolled out. See
2112
- # https://developer.android.com/guide/playcore/in-app-updates.
1925
+ # In-app update priority of the release. All newly added APKs in the
1926
+ # release will be considered at this priority. Can take values in the range
1927
+ # [0, 5], with 5 the highest priority. Defaults to 0.
1928
+ # in_app_update_priority can not be updated once the release is rolled out.
1929
+ # See https://developer.android.com/guide/playcore/in-app-updates.
2113
1930
  # Corresponds to the JSON property `inAppUpdatePriority`
2114
1931
  # @return [Fixnum]
2115
1932
  attr_accessor :in_app_update_priority
2116
1933
 
2117
- # The release name, used to identify this release in the Play Console UI. Not
2118
- # required to be unique. This is optional, if not set it will be generated from
2119
- # the version_name in the APKs.
1934
+ # The release name. Not required to be unique. If not set, the name is
1935
+ # generated from the APK's version_name. If the release contains multiple
1936
+ # APKs, the name is generated from the date.
2120
1937
  # Corresponds to the JSON property `name`
2121
1938
  # @return [String]
2122
1939
  attr_accessor :name
2123
1940
 
2124
- #
2125
- # Corresponds to the JSON property `pinnedVersions`
2126
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePin>]
2127
- attr_accessor :pinned_versions
2128
-
2129
- # The description of what is new in the app in this release.
1941
+ # A description of what is new in this release.
2130
1942
  # Corresponds to the JSON property `releaseNotes`
2131
1943
  # @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
2132
1944
  attr_accessor :release_notes
2133
1945
 
2134
- #
2135
- # Corresponds to the JSON property `rollbackEnabled`
2136
- # @return [Boolean]
2137
- attr_accessor :rollback_enabled
2138
- alias_method :rollback_enabled?, :rollback_enabled
2139
-
2140
- #
2141
- # Corresponds to the JSON property `sampling`
2142
- # @return [Google::Apis::AndroidpublisherV3::Sampling]
2143
- attr_accessor :sampling
2144
-
2145
- # The desired status of this release.
1946
+ # The status of the release.
2146
1947
  # Corresponds to the JSON property `status`
2147
1948
  # @return [String]
2148
1949
  attr_accessor :status
2149
1950
 
2150
- # Fraction of users who are eligible to receive the release. 0 < fraction < 1.
2151
- # To be set, release status must be "inProgress" or "halted".
1951
+ # Fraction of users who are eligible for a staged release. 0 < fraction < 1.
1952
+ # Can only be set when status is "inProgress" or "halted".
2152
1953
  # Corresponds to the JSON property `userFraction`
2153
1954
  # @return [Float]
2154
1955
  attr_accessor :user_fraction
2155
1956
 
2156
- # A list of all version codes of APKs that will be exposed to the users of this
2157
- # track when this release is rolled out. Note that this list should contain all
2158
- # versions you wish to be active, including those you wish to retain from
2159
- # previous releases.
1957
+ # Version codes of all APKs in the release. Must include version codes to
1958
+ # retain from previous releases.
2160
1959
  # Corresponds to the JSON property `versionCodes`
2161
1960
  # @return [Array<Fixnum>]
2162
1961
  attr_accessor :version_codes
@@ -2167,124 +1966,26 @@ module Google
2167
1966
 
2168
1967
  # Update properties of this object
2169
1968
  def update!(**args)
2170
- @controls = args[:controls] if args.key?(:controls)
2171
1969
  @country_targeting = args[:country_targeting] if args.key?(:country_targeting)
2172
1970
  @in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
2173
1971
  @name = args[:name] if args.key?(:name)
2174
- @pinned_versions = args[:pinned_versions] if args.key?(:pinned_versions)
2175
1972
  @release_notes = args[:release_notes] if args.key?(:release_notes)
2176
- @rollback_enabled = args[:rollback_enabled] if args.key?(:rollback_enabled)
2177
- @sampling = args[:sampling] if args.key?(:sampling)
2178
1973
  @status = args[:status] if args.key?(:status)
2179
1974
  @user_fraction = args[:user_fraction] if args.key?(:user_fraction)
2180
1975
  @version_codes = args[:version_codes] if args.key?(:version_codes)
2181
1976
  end
2182
1977
  end
2183
1978
 
2184
- #
2185
- class TrackReleasePin
2186
- include Google::Apis::Core::Hashable
2187
-
2188
- #
2189
- # Corresponds to the JSON property `targetings`
2190
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting>]
2191
- attr_accessor :targetings
2192
-
2193
- #
2194
- # Corresponds to the JSON property `versionCodes`
2195
- # @return [Array<Fixnum>]
2196
- attr_accessor :version_codes
2197
-
2198
- def initialize(**args)
2199
- update!(**args)
2200
- end
2201
-
2202
- # Update properties of this object
2203
- def update!(**args)
2204
- @targetings = args[:targetings] if args.key?(:targetings)
2205
- @version_codes = args[:version_codes] if args.key?(:version_codes)
2206
- end
2207
- end
2208
-
2209
- #
2210
- class TrackReleasePinPinTargeting
2211
- include Google::Apis::Core::Hashable
2212
-
2213
- #
2214
- # Corresponds to the JSON property `countryCodes`
2215
- # @return [Array<String>]
2216
- attr_accessor :country_codes
2217
-
2218
- #
2219
- # Corresponds to the JSON property `devices`
2220
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin>]
2221
- attr_accessor :devices
2222
-
2223
- #
2224
- # Corresponds to the JSON property `phoneskyVersions`
2225
- # @return [Array<Fixnum>]
2226
- attr_accessor :phonesky_versions
2227
-
2228
- #
2229
- # Corresponds to the JSON property `sdkVersions`
2230
- # @return [Array<Fixnum>]
2231
- attr_accessor :sdk_versions
2232
-
2233
- def initialize(**args)
2234
- update!(**args)
2235
- end
2236
-
2237
- # Update properties of this object
2238
- def update!(**args)
2239
- @country_codes = args[:country_codes] if args.key?(:country_codes)
2240
- @devices = args[:devices] if args.key?(:devices)
2241
- @phonesky_versions = args[:phonesky_versions] if args.key?(:phonesky_versions)
2242
- @sdk_versions = args[:sdk_versions] if args.key?(:sdk_versions)
2243
- end
2244
- end
2245
-
2246
- #
2247
- class TrackReleasePinPinTargetingDevicePin
2248
- include Google::Apis::Core::Hashable
2249
-
2250
- #
2251
- # Corresponds to the JSON property `brand`
2252
- # @return [String]
2253
- attr_accessor :brand
2254
-
2255
- #
2256
- # Corresponds to the JSON property `device`
2257
- # @return [String]
2258
- attr_accessor :device
2259
-
2260
- #
2261
- # Corresponds to the JSON property `product`
2262
- # @return [String]
2263
- attr_accessor :product
2264
-
2265
- def initialize(**args)
2266
- update!(**args)
2267
- end
2268
-
2269
- # Update properties of this object
2270
- def update!(**args)
2271
- @brand = args[:brand] if args.key?(:brand)
2272
- @device = args[:device] if args.key?(:device)
2273
- @product = args[:product] if args.key?(:product)
2274
- end
2275
- end
2276
-
2277
- #
1979
+ # Response listing all tracks.
2278
1980
  class TracksListResponse
2279
1981
  include Google::Apis::Core::Hashable
2280
1982
 
2281
- # Identifies what kind of resource this is. Value: the fixed string "
2282
- # androidpublisher#tracksListResponse".
1983
+ # The kind of this response ("androidpublisher#tracksListResponse").
2283
1984
  # Corresponds to the JSON property `kind`
2284
1985
  # @return [String]
2285
1986
  attr_accessor :kind
2286
1987
 
2287
- #
1988
+ # All tracks.
2288
1989
  # Corresponds to the JSON property `tracks`
2289
1990
  # @return [Array<Google::Apis::AndroidpublisherV3::Track>]
2290
1991
  attr_accessor :tracks
@@ -2300,24 +2001,24 @@ module Google
2300
2001
  end
2301
2002
  end
2302
2003
 
2303
- #
2004
+ # User entry from conversation between user and developer.
2304
2005
  class UserComment
2305
2006
  include Google::Apis::Core::Hashable
2306
2007
 
2307
- # Integer Android SDK version of the user's device at the time the review was
2308
- # written, e.g. 23 is Marshmallow. May be absent.
2008
+ # Integer Android SDK version of the user's device at the time the
2009
+ # review was written, e.g. 23 is Marshmallow. May be absent.
2309
2010
  # Corresponds to the JSON property `androidOsVersion`
2310
2011
  # @return [Fixnum]
2311
2012
  attr_accessor :android_os_version
2312
2013
 
2313
- # Integer version code of the app as installed at the time the review was
2314
- # written. May be absent.
2014
+ # Integer version code of the app as installed at the time the
2015
+ # review was written. May be absent.
2315
2016
  # Corresponds to the JSON property `appVersionCode`
2316
2017
  # @return [Fixnum]
2317
2018
  attr_accessor :app_version_code
2318
2019
 
2319
- # String version name of the app as installed at the time the review was written.
2320
- # May be absent.
2020
+ # String version name of the app as installed at the time the
2021
+ # review was written. May be absent.
2321
2022
  # Corresponds to the JSON property `appVersionName`
2322
2023
  # @return [String]
2323
2024
  attr_accessor :app_version_name
@@ -2327,24 +2028,28 @@ module Google
2327
2028
  # @return [String]
2328
2029
  attr_accessor :device
2329
2030
 
2330
- # Some information about the characteristics of the user's device
2031
+ # Characteristics of the user's device.
2331
2032
  # Corresponds to the JSON property `deviceMetadata`
2332
2033
  # @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]
2333
2034
  attr_accessor :device_metadata
2334
2035
 
2335
- # The last time at which this comment was updated.
2036
+ # A Timestamp represents a point in time independent of any time zone or local
2037
+ # calendar, encoded as a count of seconds and fractions of seconds at
2038
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
2039
+ # January 1, 1970.
2336
2040
  # Corresponds to the JSON property `lastModified`
2337
2041
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
2338
2042
  attr_accessor :last_modified
2339
2043
 
2340
- # Untranslated text of the review, in the case where the review has been
2341
- # translated. If the review has not been translated this is left blank.
2044
+ # Untranslated text of the review, where the review was translated.
2045
+ # If the review was not translated this is left blank.
2342
2046
  # Corresponds to the JSON property `originalText`
2343
2047
  # @return [String]
2344
2048
  attr_accessor :original_text
2345
2049
 
2346
- # Language code for the reviewer. This is taken from the device settings so is
2347
- # not guaranteed to match the language the review is written in. May be absent.
2050
+ # Language code for the reviewer. This is taken from the device
2051
+ # settings so is not guaranteed to match the language the review
2052
+ # is written in. May be absent.
2348
2053
  # Corresponds to the JSON property `reviewerLanguage`
2349
2054
  # @return [String]
2350
2055
  attr_accessor :reviewer_language
@@ -2354,19 +2059,20 @@ module Google
2354
2059
  # @return [Fixnum]
2355
2060
  attr_accessor :star_rating
2356
2061
 
2357
- # The content of the comment, i.e. review body. In some cases users have been
2358
- # able to write a review with separate title and body; in those cases the title
2359
- # and body are concatenated and separated by a tab character.
2062
+ # The content of the comment, i.e. review body. In some cases
2063
+ # users have been able to write a review with separate title and
2064
+ # body; in those cases the title and body are concatenated and
2065
+ # separated by a tab character.
2360
2066
  # Corresponds to the JSON property `text`
2361
2067
  # @return [String]
2362
2068
  attr_accessor :text
2363
2069
 
2364
- # Number of users who have given this review a thumbs down
2070
+ # Number of users who have given this review a thumbs down.
2365
2071
  # Corresponds to the JSON property `thumbsDownCount`
2366
2072
  # @return [Fixnum]
2367
2073
  attr_accessor :thumbs_down_count
2368
2074
 
2369
- # Number of users who have given this review a thumbs up
2075
+ # Number of users who have given this review a thumbs up.
2370
2076
  # Corresponds to the JSON property `thumbsUpCount`
2371
2077
  # @return [Fixnum]
2372
2078
  attr_accessor :thumbs_up_count
@@ -2392,19 +2098,20 @@ module Google
2392
2098
  end
2393
2099
  end
2394
2100
 
2395
- # Represents the variant of a generated system APK from an uploaded App Bundle.
2396
- class Variant
2101
+ # A permission used by this APK.
2102
+ class UsesPermission
2397
2103
  include Google::Apis::Core::Hashable
2398
2104
 
2399
- #
2400
- # Corresponds to the JSON property `deviceSpec`
2401
- # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
2402
- attr_accessor :device_spec
2403
-
2404
- #
2405
- # Corresponds to the JSON property `variantId`
2105
+ # Optionally, the maximum SDK version for which the permission is
2106
+ # required.
2107
+ # Corresponds to the JSON property `maxSdkVersion`
2406
2108
  # @return [Fixnum]
2407
- attr_accessor :variant_id
2109
+ attr_accessor :max_sdk_version
2110
+
2111
+ # The name of the permission requested.
2112
+ # Corresponds to the JSON property `name`
2113
+ # @return [String]
2114
+ attr_accessor :name
2408
2115
 
2409
2116
  def initialize(**args)
2410
2117
  update!(**args)
@@ -2412,17 +2119,18 @@ module Google
2412
2119
 
2413
2120
  # Update properties of this object
2414
2121
  def update!(**args)
2415
- @device_spec = args[:device_spec] if args.key?(:device_spec)
2416
- @variant_id = args[:variant_id] if args.key?(:variant_id)
2122
+ @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
2123
+ @name = args[:name] if args.key?(:name)
2417
2124
  end
2418
2125
  end
2419
2126
 
2420
- # A VoidedPurchase resource indicates a purchase that was either canceled/
2421
- # refunded/charged-back.
2127
+ # A VoidedPurchase resource indicates a purchase that was either
2128
+ # canceled/refunded/charged-back.
2422
2129
  class VoidedPurchase
2423
2130
  include Google::Apis::Core::Hashable
2424
2131
 
2425
- # This kind represents a voided purchase object in the androidpublisher service.
2132
+ # This kind represents a voided purchase object in the androidpublisher
2133
+ # service.
2426
2134
  # Corresponds to the JSON property `kind`
2427
2135
  # @return [String]
2428
2136
  attr_accessor :kind
@@ -2433,42 +2141,42 @@ module Google
2433
2141
  # @return [String]
2434
2142
  attr_accessor :order_id
2435
2143
 
2436
- # The time at which the purchase was made, in milliseconds since the epoch (Jan
2437
- # 1, 1970).
2144
+ # The time at which the purchase was made, in milliseconds since the
2145
+ # epoch (Jan 1, 1970).
2438
2146
  # Corresponds to the JSON property `purchaseTimeMillis`
2439
2147
  # @return [Fixnum]
2440
2148
  attr_accessor :purchase_time_millis
2441
2149
 
2442
- # The token which uniquely identifies a one-time purchase or subscription. To
2443
- # uniquely identify subscription renewals use order_id (available starting from
2444
- # version 3 of the API).
2150
+ # The token which uniquely identifies a one-time purchase or subscription.
2151
+ # To uniquely identify subscription renewals use order_id (available
2152
+ # starting from version 3 of the API).
2445
2153
  # Corresponds to the JSON property `purchaseToken`
2446
2154
  # @return [String]
2447
2155
  attr_accessor :purchase_token
2448
2156
 
2449
2157
  # The reason why the purchase was voided, possible values are:
2450
- # - Other
2451
- # - Remorse
2452
- # - Not_received
2453
- # - Defective
2454
- # - Accidental_purchase
2455
- # - Fraud
2456
- # - Friendly_fraud
2457
- # - Chargeback
2158
+ # 0. Other
2159
+ # 1. Remorse
2160
+ # 2. Not_received
2161
+ # 3. Defective
2162
+ # 4. Accidental_purchase
2163
+ # 5. Fraud
2164
+ # 6. Friendly_fraud
2165
+ # 7. Chargeback
2458
2166
  # Corresponds to the JSON property `voidedReason`
2459
2167
  # @return [Fixnum]
2460
2168
  attr_accessor :voided_reason
2461
2169
 
2462
2170
  # The initiator of voided purchase, possible values are:
2463
- # - User
2464
- # - Developer
2465
- # - Google
2171
+ # 0. User
2172
+ # 1. Developer
2173
+ # 2. Google
2466
2174
  # Corresponds to the JSON property `voidedSource`
2467
2175
  # @return [Fixnum]
2468
2176
  attr_accessor :voided_source
2469
2177
 
2470
- # The time at which the purchase was canceled/refunded/charged-back, in
2471
- # milliseconds since the epoch (Jan 1, 1970).
2178
+ # The time at which the purchase was canceled/refunded/charged-back,
2179
+ # in milliseconds since the epoch (Jan 1, 1970).
2472
2180
  # Corresponds to the JSON property `voidedTimeMillis`
2473
2181
  # @return [Fixnum]
2474
2182
  attr_accessor :voided_time_millis
@@ -2489,16 +2197,26 @@ module Google
2489
2197
  end
2490
2198
  end
2491
2199
 
2492
- #
2200
+ # Response for the voidedpurchases.list API.
2493
2201
  class VoidedPurchasesListResponse
2494
2202
  include Google::Apis::Core::Hashable
2495
2203
 
2496
- #
2204
+ # Information about the current page.
2205
+ # List operations that supports paging return only one "page" of results. This
2206
+ # protocol buffer message describes the page that has been returned.
2497
2207
  # Corresponds to the JSON property `pageInfo`
2498
2208
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
2499
2209
  attr_accessor :page_info
2500
2210
 
2501
- #
2211
+ # Pagination information returned by a List operation when token pagination
2212
+ # is enabled.
2213
+ # List operations that supports paging return only one "page" of results. This
2214
+ # protocol buffer message describes the page that has been returned.
2215
+ # When using token pagination, clients should use the next/previous token
2216
+ # to get another page of the result. The presence or absence of next/previous
2217
+ # token indicates whether a next/previous page is available and provides a
2218
+ # mean of accessing this page. ListRequest.page_token should be set to either
2219
+ # next_page_token or previous_page_token to access another page.
2502
2220
  # Corresponds to the JSON property `tokenPagination`
2503
2221
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
2504
2222
  attr_accessor :token_pagination