google-api-client 0.13.5 → 0.13.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1 -1
  8. data/generated/google/apis/adexchangeseller_v1/service.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1_1/service.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -1
  11. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/service.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/service.rb +1 -1
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4/service.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -1
  18. data/generated/google/apis/analytics_v2_4.rb +1 -1
  19. data/generated/google/apis/analytics_v2_4/service.rb +1 -1
  20. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  21. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +74 -54
  22. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +14 -0
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +54 -17
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +15 -18
  26. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +15 -7
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +2 -1
  30. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1/classes.rb +324 -0
  36. data/generated/google/apis/appengine_v1/representations.rb +152 -0
  37. data/generated/google/apis/appengine_v1/service.rb +406 -0
  38. data/generated/google/apis/appengine_v1beta.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta/classes.rb +59 -1
  40. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  41. data/generated/google/apis/appsactivity_v1.rb +1 -1
  42. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  43. data/generated/google/apis/appsmarket_v2/service.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/appstate_v1/service.rb +1 -1
  46. data/generated/google/apis/bigquery_v2.rb +1 -1
  47. data/generated/google/apis/bigquery_v2/classes.rb +70 -0
  48. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  49. data/generated/google/apis/bigquery_v2/service.rb +37 -1
  50. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  51. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +42 -37
  52. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +4 -3
  53. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +8 -8
  54. data/generated/google/apis/blogger_v2/service.rb +1 -1
  55. data/generated/google/apis/blogger_v3/service.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +1 -1
  58. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  60. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  62. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  63. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  64. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1 -1
  65. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -1
  66. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1 -1
  67. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +1 -1
  68. data/generated/google/apis/consumersurveys_v2/service.rb +1 -1
  69. data/generated/google/apis/container_v1.rb +1 -1
  70. data/generated/google/apis/container_v1/classes.rb +1 -1
  71. data/generated/google/apis/container_v1beta1.rb +1 -1
  72. data/generated/google/apis/container_v1beta1/classes.rb +15 -1
  73. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +1 -1
  76. data/generated/google/apis/content_v2sandbox.rb +1 -1
  77. data/generated/google/apis/content_v2sandbox/service.rb +1 -1
  78. data/generated/google/apis/customsearch_v1/service.rb +1 -1
  79. data/generated/google/apis/datastore_v1.rb +1 -1
  80. data/generated/google/apis/datastore_v1/classes.rb +14 -13
  81. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  82. data/generated/google/apis/datastore_v1beta1/classes.rb +19 -18
  83. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  84. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  85. data/generated/google/apis/datastore_v1beta3/classes.rb +13 -12
  86. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  88. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -1
  89. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  90. data/generated/google/apis/discovery_v1/service.rb +1 -1
  91. data/generated/google/apis/dns_v1.rb +1 -1
  92. data/generated/google/apis/dns_v2beta1.rb +1 -1
  93. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  94. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  96. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  97. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  98. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +224 -0
  99. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +63 -0
  100. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  101. data/generated/google/apis/fitness_v1.rb +1 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +39 -0
  103. data/generated/google/apis/fitness_v1/representations.rb +18 -0
  104. data/generated/google/apis/fitness_v1/service.rb +49 -1
  105. data/generated/google/apis/fusiontables_v1/service.rb +1 -1
  106. data/generated/google/apis/fusiontables_v2/service.rb +1 -1
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  109. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/games_v1/service.rb +1 -1
  112. data/generated/google/apis/gmail_v1.rb +1 -1
  113. data/generated/google/apis/gmail_v1/classes.rb +36 -0
  114. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  115. data/generated/google/apis/gmail_v1/service.rb +1 -1
  116. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  118. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  119. data/generated/google/apis/identitytoolkit_v3/classes.rb +24 -0
  120. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  121. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/language_v1beta2/classes.rb +78 -0
  124. data/generated/google/apis/language_v1beta2/representations.rb +45 -0
  125. data/generated/google/apis/language_v1beta2/service.rb +30 -0
  126. data/generated/google/apis/licensing_v1/service.rb +1 -1
  127. data/generated/google/apis/logging_v2.rb +1 -1
  128. data/generated/google/apis/logging_v2/classes.rb +11 -18
  129. data/generated/google/apis/logging_v2/service.rb +116 -48
  130. data/generated/google/apis/logging_v2beta1.rb +1 -1
  131. data/generated/google/apis/logging_v2beta1/classes.rb +11 -18
  132. data/generated/google/apis/logging_v2beta1/service.rb +16 -8
  133. data/generated/google/apis/mirror_v1/service.rb +1 -1
  134. data/generated/google/apis/oauth2_v1.rb +1 -1
  135. data/generated/google/apis/oauth2_v1/service.rb +1 -1
  136. data/generated/google/apis/oauth2_v2.rb +1 -1
  137. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  138. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  139. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  140. data/generated/google/apis/plus_domains_v1.rb +1 -1
  141. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  142. data/generated/google/apis/plus_v1.rb +1 -1
  143. data/generated/google/apis/plus_v1/service.rb +1 -1
  144. data/generated/google/apis/prediction_v1_2/service.rb +1 -1
  145. data/generated/google/apis/prediction_v1_3/service.rb +1 -1
  146. data/generated/google/apis/prediction_v1_4/service.rb +1 -1
  147. data/generated/google/apis/prediction_v1_5/service.rb +1 -1
  148. data/generated/google/apis/prediction_v1_6/service.rb +1 -1
  149. data/generated/google/apis/qpx_express_v1/service.rb +1 -1
  150. data/generated/google/apis/replicapool_v1beta1/service.rb +1 -1
  151. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -1
  152. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  153. data/generated/google/apis/reseller_v1/service.rb +1 -1
  154. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -1
  155. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  156. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -256
  157. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -99
  158. data/generated/google/apis/serviceuser_v1.rb +1 -1
  159. data/generated/google/apis/serviceuser_v1/classes.rb +3 -3
  160. data/generated/google/apis/site_verification_v1/service.rb +1 -1
  161. data/generated/google/apis/spanner_v1.rb +1 -1
  162. data/generated/google/apis/spanner_v1/classes.rb +0 -458
  163. data/generated/google/apis/spanner_v1/representations.rb +0 -165
  164. data/generated/google/apis/spectrum_v1explorer/service.rb +1 -1
  165. data/generated/google/apis/sqladmin_v1beta3/service.rb +1 -1
  166. data/generated/google/apis/storage_v1.rb +1 -1
  167. data/generated/google/apis/storage_v1/classes.rb +6 -0
  168. data/generated/google/apis/storage_v1/representations.rb +1 -0
  169. data/generated/google/apis/storage_v1/service.rb +10 -3
  170. data/generated/google/apis/storage_v1beta1.rb +1 -1
  171. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  172. data/generated/google/apis/storage_v1beta2.rb +1 -1
  173. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  174. data/generated/google/apis/surveys_v2/service.rb +1 -1
  175. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  176. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  177. data/generated/google/apis/taskqueue_v1beta1/service.rb +1 -1
  178. data/generated/google/apis/tasks_v1/service.rb +1 -1
  179. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  180. data/generated/google/apis/toolresults_v1beta3/service.rb +5 -5
  181. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  182. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +5 -5
  183. data/generated/google/apis/urlshortener_v1/service.rb +1 -1
  184. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  185. data/generated/google/apis/videointelligence_v1beta1/classes.rb +379 -1
  186. data/generated/google/apis/videointelligence_v1beta1/representations.rb +175 -0
  187. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  188. data/generated/google/apis/webmasters_v3.rb +1 -1
  189. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  190. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  191. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  192. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  193. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +1 -1
  194. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  195. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  196. data/lib/google/apis/version.rb +1 -1
  197. metadata +2 -2
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class CreateCustomerRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Device
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -221,6 +227,14 @@ module Google
221
227
  end
222
228
  end
223
229
 
230
+ class CreateCustomerRequest
231
+ # @private
232
+ class Representation < Google::Apis::Core::JsonRepresentation
233
+ property :customer, as: 'customer', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
234
+
235
+ end
236
+ end
237
+
224
238
  class Device
225
239
  # @private
226
240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -80,9 +80,46 @@ module Google
80
80
  execute_or_queue_command(command, &block)
81
81
  end
82
82
 
83
- # List all the customers that has delegates some role to this customer.
83
+ # A customer for Zero Touch Provisioning will be created.
84
+ # After a Customer is created, their admins and owners will be able to manage
85
+ # devices on partner.android.com/zerotouch or via their API.
86
+ # @param [String] parent
87
+ # The parent resource in format `partners/[PARTNER_ID]'.
88
+ # @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_request_object
89
+ # @param [String] fields
90
+ # Selector specifying which fields to include in a partial response.
91
+ # @param [String] quota_user
92
+ # Available to use for quota purposes for server-side applications. Can be any
93
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
94
+ # @param [Google::Apis::RequestOptions] options
95
+ # Request-specific options
96
+ #
97
+ # @yield [result, err] Result & error if block supplied
98
+ # @yieldparam result [Google::Apis::AndroiddeviceprovisioningV1::Company] parsed result object
99
+ # @yieldparam err [StandardError] error object if request failed
100
+ #
101
+ # @return [Google::Apis::AndroiddeviceprovisioningV1::Company]
102
+ #
103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
106
+ def create_customer(parent, create_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
107
+ command = make_simple_command(:post, 'v1/{+parent}/customers', options)
108
+ command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest::Representation
109
+ command.request_object = create_customer_request_object
110
+ command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
111
+ command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Company
112
+ command.params['parent'] = parent unless parent.nil?
113
+ command.query['fields'] = fields unless fields.nil?
114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
115
+ execute_or_queue_command(command, &block)
116
+ end
117
+
118
+ # List the customers that are enrolled to the reseller identified by the
119
+ # `partnerId` argument. This list includes customers that the reseller
120
+ # created and customers that enrolled themselves using the portal.
84
121
  # @param [Fixnum] partner_id
85
- # the id of the partner.
122
+ # The ID of the partner.
86
123
  # @param [String] fields
87
124
  # Selector specifying which fields to include in a partial response.
88
125
  # @param [String] quota_user
@@ -112,7 +149,7 @@ module Google
112
149
 
113
150
  # Claim the device identified by device identifier.
114
151
  # @param [Fixnum] partner_id
115
- # Id of the partner.
152
+ # ID of the partner.
116
153
  # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest] claim_device_request_object
117
154
  # @param [String] fields
118
155
  # Selector specifying which fields to include in a partial response.
@@ -143,9 +180,9 @@ module Google
143
180
  execute_or_queue_command(command, &block)
144
181
  end
145
182
 
146
- # Claim devices asynchronously
183
+ # Claim devices asynchronously.
147
184
  # @param [Fixnum] partner_id
148
- # partner id.
185
+ # Partner ID.
149
186
  # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest] claim_devices_request_object
150
187
  # @param [String] fields
151
188
  # Selector specifying which fields to include in a partial response.
@@ -178,7 +215,7 @@ module Google
178
215
 
179
216
  # Find devices by device identifier.
180
217
  # @param [Fixnum] partner_id
181
- # id of the partner.
218
+ # ID of the partner.
182
219
  # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest] find_devices_by_device_identifier_request_object
183
220
  # @param [String] fields
184
221
  # Selector specifying which fields to include in a partial response.
@@ -211,7 +248,7 @@ module Google
211
248
 
212
249
  # Find devices by ownership.
213
250
  # @param [Fixnum] partner_id
214
- # id of the partner.
251
+ # ID of the partner.
215
252
  # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest] find_devices_by_owner_request_object
216
253
  # @param [String] fields
217
254
  # Selector specifying which fields to include in a partial response.
@@ -242,9 +279,9 @@ module Google
242
279
  execute_or_queue_command(command, &block)
243
280
  end
244
281
 
245
- # Get a device
282
+ # Get a device.
246
283
  # @param [String] name
247
- # resource name in 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'.
284
+ # Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
248
285
  # @param [String] fields
249
286
  # Selector specifying which fields to include in a partial response.
250
287
  # @param [String] quota_user
@@ -272,11 +309,11 @@ module Google
272
309
  execute_or_queue_command(command, &block)
273
310
  end
274
311
 
275
- # Update the metadata
312
+ # Update the metadata.
276
313
  # @param [Fixnum] metadata_owner_id
277
- # The owner of the newly set metadata. Should be partner id itself.
314
+ # The owner of the newly set metadata. Set this to the partner ID.
278
315
  # @param [Fixnum] device_id
279
- # id of the partner.
316
+ # ID of the partner.
280
317
  # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest] update_device_metadata_request_object
281
318
  # @param [String] fields
282
319
  # Selector specifying which fields to include in a partial response.
@@ -308,9 +345,9 @@ module Google
308
345
  execute_or_queue_command(command, &block)
309
346
  end
310
347
 
311
- # Unclaim the device identified by device_id or identifier.
348
+ # Unclaim the device identified by the `device_id` or the `deviceIdentifier`.
312
349
  # @param [Fixnum] partner_id
313
- # Id of the partner.
350
+ # ID of the partner.
314
351
  # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest] unclaim_device_request_object
315
352
  # @param [String] fields
316
353
  # Selector specifying which fields to include in a partial response.
@@ -341,9 +378,9 @@ module Google
341
378
  execute_or_queue_command(command, &block)
342
379
  end
343
380
 
344
- # Unclaim devices asynchronously
381
+ # Unclaim devices asynchronously.
345
382
  # @param [Fixnum] partner_id
346
- # partner id.
383
+ # Partner ID.
347
384
  # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest] unclaim_devices_request_object
348
385
  # @param [String] fields
349
386
  # Selector specifying which fields to include in a partial response.
@@ -376,7 +413,7 @@ module Google
376
413
 
377
414
  # Set metadata in batch asynchronously.
378
415
  # @param [Fixnum] partner_id
379
- # partner id.
416
+ # Partner ID.
380
417
  # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_request_object
381
418
  # @param [String] fields
382
419
  # Selector specifying which fields to include in a partial response.
@@ -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 = '20170823'
28
+ REVISION = '20170830'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -722,22 +722,20 @@ module Google
722
722
  end
723
723
  end
724
724
 
725
- # A group license object indicates a product that an enterprise admin has
726
- # approved for use in the enterprise. The product may be free or paid. For free
727
- # products, a group license object is created in these cases: if the enterprise
728
- # admin approves a product in Google Play, if the product is added to a
729
- # collection, or if an entitlement for the product is created for a user via the
730
- # API. For paid products, a group license object is only created as part of the
731
- # first bulk purchase of that product in Google Play by the enterprise admin.
732
- # The API can be used to query group licenses; the available information
733
- # includes the total number of licenses purchased (for paid products) and the
734
- # total number of licenses that have been provisioned, that is, the total number
735
- # of user entitlements in existence for the product.
736
- # Group license objects are never deleted. If, for example, a free app is added
737
- # to a collection and then removed, the group license will remain, allowing the
738
- # enterprise admin to keep track of any remaining entitlements. An enterprise
739
- # admin may indicate they are no longer interested in the group license by
740
- # marking it as unapproved in Google Play.
725
+ # Group license objects allow you to keep track of licenses (called entitlements)
726
+ # for both free and paid apps. For a free app, a group license is created when
727
+ # an enterprise admin first approves the product in Google Play or when the
728
+ # first entitlement for the product is created for a user via the API. For a
729
+ # paid app, a group license object is only created when an enterprise admin
730
+ # purchases the product in Google Play for the first time.
731
+ # Use the API to query group licenses. A Grouplicenses resource includes the
732
+ # total number of licenses purchased (paid apps only) and the total number of
733
+ # licenses currently in use. Iyn other words, the total number of Entitlements
734
+ # that exist for the product.
735
+ # Only one group license object is created per product and group license objects
736
+ # are never deleted. If a product is unapproved, its group license remains. This
737
+ # allows enterprise admins to keep track of any remaining entitlements for the
738
+ # product.
741
739
  class GroupLicense
742
740
  include Google::Apis::Core::Hashable
743
741
 
@@ -1463,8 +1461,7 @@ module Google
1463
1461
  class Product
1464
1462
  include Google::Apis::Core::Hashable
1465
1463
 
1466
- # App versions currently available for this product. The returned list contains
1467
- # only public versions. Alpha and beta versions are not included.
1464
+ # App versions currently available for this product.
1468
1465
  # Corresponds to the JSON property `appVersion`
1469
1466
  # @return [Array<Google::Apis::AndroidenterpriseV1::AppVersion>]
1470
1467
  attr_accessor :app_version
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'androidenterprise/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/androidenterprise/v1'
54
54
  end
55
55
 
56
56
  # Retrieves the details of a device.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170807'
29
+ REVISION = '20170828'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -338,12 +338,6 @@ module Google
338
338
  # @return [Array<Google::Apis::AndroidmanagementV1::HardwareStatus>]
339
339
  attr_accessor :hardware_status_samples
340
340
 
341
- # The last time the device went offline or came online. This field is only set
342
- # when offline device monitoring is enabled in the device's policy.
343
- # Corresponds to the JSON property `lastOfflineStateChangeTime`
344
- # @return [String]
345
- attr_accessor :last_offline_state_change_time
346
-
347
341
  # The last time the device sent a policy compliance report.
348
342
  # Corresponds to the JSON property `lastPolicyComplianceReportTime`
349
343
  # @return [String]
@@ -455,7 +449,6 @@ module Google
455
449
  @enrollment_token_name = args[:enrollment_token_name] if args.key?(:enrollment_token_name)
456
450
  @hardware_info = args[:hardware_info] if args.key?(:hardware_info)
457
451
  @hardware_status_samples = args[:hardware_status_samples] if args.key?(:hardware_status_samples)
458
- @last_offline_state_change_time = args[:last_offline_state_change_time] if args.key?(:last_offline_state_change_time)
459
452
  @last_policy_compliance_report_time = args[:last_policy_compliance_report_time] if args.key?(:last_policy_compliance_report_time)
460
453
  @last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time)
461
454
  @last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time)
@@ -1658,6 +1651,19 @@ module Google
1658
1651
  # @return [Fixnum]
1659
1652
  attr_accessor :version
1660
1653
 
1654
+ # Whether configuring WiFi access points is disabled.
1655
+ # Corresponds to the JSON property `wifiConfigDisabled`
1656
+ # @return [Boolean]
1657
+ attr_accessor :wifi_config_disabled
1658
+ alias_method :wifi_config_disabled?, :wifi_config_disabled
1659
+
1660
+ # Whether WiFi networks defined in Open Network Configuration are locked so they
1661
+ # cannot be edited by the user.
1662
+ # Corresponds to the JSON property `wifiConfigsLockdownEnabled`
1663
+ # @return [Boolean]
1664
+ attr_accessor :wifi_configs_lockdown_enabled
1665
+ alias_method :wifi_configs_lockdown_enabled?, :wifi_configs_lockdown_enabled
1666
+
1661
1667
  def initialize(**args)
1662
1668
  update!(**args)
1663
1669
  end
@@ -1693,6 +1699,8 @@ module Google
1693
1699
  @system_update = args[:system_update] if args.key?(:system_update)
1694
1700
  @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
1695
1701
  @version = args[:version] if args.key?(:version)
1702
+ @wifi_config_disabled = args[:wifi_config_disabled] if args.key?(:wifi_config_disabled)
1703
+ @wifi_configs_lockdown_enabled = args[:wifi_configs_lockdown_enabled] if args.key?(:wifi_configs_lockdown_enabled)
1696
1704
  end
1697
1705
  end
1698
1706
 
@@ -325,7 +325,6 @@ module Google
325
325
 
326
326
  collection :hardware_status_samples, as: 'hardwareStatusSamples', class: Google::Apis::AndroidmanagementV1::HardwareStatus, decorator: Google::Apis::AndroidmanagementV1::HardwareStatus::Representation
327
327
 
328
- property :last_offline_state_change_time, as: 'lastOfflineStateChangeTime'
329
328
  property :last_policy_compliance_report_time, as: 'lastPolicyComplianceReportTime'
330
329
  property :last_policy_sync_time, as: 'lastPolicySyncTime'
331
330
  property :last_status_report_time, as: 'lastStatusReportTime'
@@ -618,6 +617,8 @@ module Google
618
617
 
619
618
  property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
620
619
  property :version, :numeric_string => true, as: 'version'
620
+ property :wifi_config_disabled, as: 'wifiConfigDisabled'
621
+ property :wifi_configs_lockdown_enabled, as: 'wifiConfigsLockdownEnabled'
621
622
  end
622
623
  end
623
624
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170222'
28
+ REVISION = '20170815'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'androidpublisher/v1/applications/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/androidpublisher/v1'
54
54
  end
55
55
 
56
56
  # Cancels a user's subscription purchase. The subscription remains valid until
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/androidpublisher/v1.1'
54
54
  end
55
55
 
56
56
  # Checks the purchase and consumption status of an inapp item.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'androidpublisher/v2/applications/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/androidpublisher/v2'
54
54
  end
55
55
 
56
56
  # Commits/applies the changes made in this edit back to the app.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170818'
29
+ REVISION = '20170901'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -192,6 +192,113 @@ module Google
192
192
  end
193
193
  end
194
194
 
195
+ # An SSL certificate that a user has been authorized to administer. A user is
196
+ # authorized to administer any certificate that applies to one of their
197
+ # authorized domains.
198
+ class AuthorizedCertificate
199
+ include Google::Apis::Core::Hashable
200
+
201
+ # An SSL certificate obtained from a certificate authority.
202
+ # Corresponds to the JSON property `certificateRawData`
203
+ # @return [Google::Apis::AppengineV1::CertificateRawData]
204
+ attr_accessor :certificate_raw_data
205
+
206
+ # The user-specified display name of the certificate. This is not guaranteed to
207
+ # be unique. Example: My Certificate.
208
+ # Corresponds to the JSON property `displayName`
209
+ # @return [String]
210
+ attr_accessor :display_name
211
+
212
+ # Aggregate count of the domain mappings with this certificate mapped. This
213
+ # count includes domain mappings on applications for which the user does not
214
+ # have VIEWER permissions.Only returned by GET or LIST requests when
215
+ # specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
216
+ # Corresponds to the JSON property `domainMappingsCount`
217
+ # @return [Fixnum]
218
+ attr_accessor :domain_mappings_count
219
+
220
+ # Topmost applicable domains of this certificate. This certificate applies to
221
+ # these domains and their subdomains. Example: example.com.@OutputOnly
222
+ # Corresponds to the JSON property `domainNames`
223
+ # @return [Array<String>]
224
+ attr_accessor :domain_names
225
+
226
+ # The time when this certificate expires. To update the renewal time on this
227
+ # certificate, upload an SSL certificate with a different expiration time using
228
+ # AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
229
+ # Corresponds to the JSON property `expireTime`
230
+ # @return [String]
231
+ attr_accessor :expire_time
232
+
233
+ # Relative name of the certificate. This is a unique value autogenerated on
234
+ # AuthorizedCertificate resource creation. Example: 12345.@OutputOnly
235
+ # Corresponds to the JSON property `id`
236
+ # @return [String]
237
+ attr_accessor :id
238
+
239
+ # Full path to the AuthorizedCertificate resource in the API. Example: apps/
240
+ # myapp/authorizedCertificates/12345.@OutputOnly
241
+ # Corresponds to the JSON property `name`
242
+ # @return [String]
243
+ attr_accessor :name
244
+
245
+ # The full paths to user visible Domain Mapping resources that have this
246
+ # certificate mapped. Example: apps/myapp/domainMappings/example.com.This may
247
+ # not represent the full list of mapped domain mappings if the user does not
248
+ # have VIEWER permissions on all of the applications that have this certificate
249
+ # mapped. See domain_mappings_count for a complete count.Only returned by GET or
250
+ # LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@
251
+ # OutputOnly
252
+ # Corresponds to the JSON property `visibleDomainMappings`
253
+ # @return [Array<String>]
254
+ attr_accessor :visible_domain_mappings
255
+
256
+ def initialize(**args)
257
+ update!(**args)
258
+ end
259
+
260
+ # Update properties of this object
261
+ def update!(**args)
262
+ @certificate_raw_data = args[:certificate_raw_data] if args.key?(:certificate_raw_data)
263
+ @display_name = args[:display_name] if args.key?(:display_name)
264
+ @domain_mappings_count = args[:domain_mappings_count] if args.key?(:domain_mappings_count)
265
+ @domain_names = args[:domain_names] if args.key?(:domain_names)
266
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
267
+ @id = args[:id] if args.key?(:id)
268
+ @name = args[:name] if args.key?(:name)
269
+ @visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings)
270
+ end
271
+ end
272
+
273
+ # A domain that a user has been authorized to administer. To authorize use of a
274
+ # domain, verify ownership via Webmaster Central (https://www.google.com/
275
+ # webmasters/verification/home).
276
+ class AuthorizedDomain
277
+ include Google::Apis::Core::Hashable
278
+
279
+ # Fully qualified domain name of the domain authorized for use. Example: example.
280
+ # com.
281
+ # Corresponds to the JSON property `id`
282
+ # @return [String]
283
+ attr_accessor :id
284
+
285
+ # Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/
286
+ # authorizedDomains/example.com.@OutputOnly
287
+ # Corresponds to the JSON property `name`
288
+ # @return [String]
289
+ attr_accessor :name
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @id = args[:id] if args.key?(:id)
298
+ @name = args[:name] if args.key?(:name)
299
+ end
300
+ end
301
+
195
302
  # Automatic scaling is based on request rate, response latencies, and other
196
303
  # application metrics.
197
304
  class AutomaticScaling
@@ -313,6 +420,36 @@ module Google
313
420
  end
314
421
  end
315
422
 
423
+ # An SSL certificate obtained from a certificate authority.
424
+ class CertificateRawData
425
+ include Google::Apis::Core::Hashable
426
+
427
+ # Unencrypted PEM encoded RSA private key. This field is set once on certificate
428
+ # creation and then encrypted. The key size must be 2048 bits or fewer. Must
429
+ # include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <
430
+ # unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly
431
+ # Corresponds to the JSON property `privateKey`
432
+ # @return [String]
433
+ attr_accessor :private_key
434
+
435
+ # PEM encoded x.509 public key certificate. This field is set once on
436
+ # certificate creation. Must include the header and footer. Example: <pre> -----
437
+ # BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>
438
+ # Corresponds to the JSON property `publicCertificate`
439
+ # @return [String]
440
+ attr_accessor :public_certificate
441
+
442
+ def initialize(**args)
443
+ update!(**args)
444
+ end
445
+
446
+ # Update properties of this object
447
+ def update!(**args)
448
+ @private_key = args[:private_key] if args.key?(:private_key)
449
+ @public_certificate = args[:public_certificate] if args.key?(:public_certificate)
450
+ end
451
+ end
452
+
316
453
  # Docker image that is used to create a container and start a VM instance for
317
454
  # the version that you deploy. Only applicable for instances running in the App
318
455
  # Engine flexible environment.
@@ -456,6 +593,65 @@ module Google
456
593
  end
457
594
  end
458
595
 
596
+ # A domain serving an App Engine application.
597
+ class DomainMapping
598
+ include Google::Apis::Core::Hashable
599
+
600
+ # Relative name of the domain serving the application. Example: example.com.
601
+ # Corresponds to the JSON property `id`
602
+ # @return [String]
603
+ attr_accessor :id
604
+
605
+ # Full path to the DomainMapping resource in the API. Example: apps/myapp/
606
+ # domainMapping/example.com.@OutputOnly
607
+ # Corresponds to the JSON property `name`
608
+ # @return [String]
609
+ attr_accessor :name
610
+
611
+ # The resource records required to configure this domain mapping. These records
612
+ # must be added to the domain's DNS configuration in order to serve the
613
+ # application via this domain mapping.@OutputOnly
614
+ # Corresponds to the JSON property `resourceRecords`
615
+ # @return [Array<Google::Apis::AppengineV1::ResourceRecord>]
616
+ attr_accessor :resource_records
617
+
618
+ # SSL configuration for a DomainMapping resource.
619
+ # Corresponds to the JSON property `sslSettings`
620
+ # @return [Google::Apis::AppengineV1::SslSettings]
621
+ attr_accessor :ssl_settings
622
+
623
+ def initialize(**args)
624
+ update!(**args)
625
+ end
626
+
627
+ # Update properties of this object
628
+ def update!(**args)
629
+ @id = args[:id] if args.key?(:id)
630
+ @name = args[:name] if args.key?(:name)
631
+ @resource_records = args[:resource_records] if args.key?(:resource_records)
632
+ @ssl_settings = args[:ssl_settings] if args.key?(:ssl_settings)
633
+ end
634
+ end
635
+
636
+ # A generic empty message that you can re-use to avoid defining duplicated empty
637
+ # messages in your APIs. A typical example is to use it as the request or the
638
+ # response type of an API method. For instance:
639
+ # service Foo `
640
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
641
+ # `
642
+ # The JSON representation for Empty is empty JSON object ``.
643
+ class Empty
644
+ include Google::Apis::Core::Hashable
645
+
646
+ def initialize(**args)
647
+ update!(**args)
648
+ end
649
+
650
+ # Update properties of this object
651
+ def update!(**args)
652
+ end
653
+ end
654
+
459
655
  # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
460
656
  # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
461
657
  # via an NGINX proxy.The fields here refer to the name and configuration id of a
@@ -823,6 +1019,81 @@ module Google
823
1019
  end
824
1020
  end
825
1021
 
1022
+ # Response message for AuthorizedCertificates.ListAuthorizedCertificates.
1023
+ class ListAuthorizedCertificatesResponse
1024
+ include Google::Apis::Core::Hashable
1025
+
1026
+ # The SSL certificates the user is authorized to administer.
1027
+ # Corresponds to the JSON property `certificates`
1028
+ # @return [Array<Google::Apis::AppengineV1::AuthorizedCertificate>]
1029
+ attr_accessor :certificates
1030
+
1031
+ # Continuation token for fetching the next page of results.
1032
+ # Corresponds to the JSON property `nextPageToken`
1033
+ # @return [String]
1034
+ attr_accessor :next_page_token
1035
+
1036
+ def initialize(**args)
1037
+ update!(**args)
1038
+ end
1039
+
1040
+ # Update properties of this object
1041
+ def update!(**args)
1042
+ @certificates = args[:certificates] if args.key?(:certificates)
1043
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1044
+ end
1045
+ end
1046
+
1047
+ # Response message for AuthorizedDomains.ListAuthorizedDomains.
1048
+ class ListAuthorizedDomainsResponse
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # The authorized domains belonging to the user.
1052
+ # Corresponds to the JSON property `domains`
1053
+ # @return [Array<Google::Apis::AppengineV1::AuthorizedDomain>]
1054
+ attr_accessor :domains
1055
+
1056
+ # Continuation token for fetching the next page of results.
1057
+ # Corresponds to the JSON property `nextPageToken`
1058
+ # @return [String]
1059
+ attr_accessor :next_page_token
1060
+
1061
+ def initialize(**args)
1062
+ update!(**args)
1063
+ end
1064
+
1065
+ # Update properties of this object
1066
+ def update!(**args)
1067
+ @domains = args[:domains] if args.key?(:domains)
1068
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1069
+ end
1070
+ end
1071
+
1072
+ # Response message for DomainMappings.ListDomainMappings.
1073
+ class ListDomainMappingsResponse
1074
+ include Google::Apis::Core::Hashable
1075
+
1076
+ # The domain mappings for the application.
1077
+ # Corresponds to the JSON property `domainMappings`
1078
+ # @return [Array<Google::Apis::AppengineV1::DomainMapping>]
1079
+ attr_accessor :domain_mappings
1080
+
1081
+ # Continuation token for fetching the next page of results.
1082
+ # Corresponds to the JSON property `nextPageToken`
1083
+ # @return [String]
1084
+ attr_accessor :next_page_token
1085
+
1086
+ def initialize(**args)
1087
+ update!(**args)
1088
+ end
1089
+
1090
+ # Update properties of this object
1091
+ def update!(**args)
1092
+ @domain_mappings = args[:domain_mappings] if args.key?(:domain_mappings)
1093
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1094
+ end
1095
+ end
1096
+
826
1097
  # Response message for Instances.ListInstances.
827
1098
  class ListInstancesResponse
828
1099
  include Google::Apis::Core::Hashable
@@ -1692,6 +1963,39 @@ module Google
1692
1963
  end
1693
1964
  end
1694
1965
 
1966
+ # A DNS resource record.
1967
+ class ResourceRecord
1968
+ include Google::Apis::Core::Hashable
1969
+
1970
+ # Relative name of the object affected by this record. Only applicable for CNAME
1971
+ # records. Example: 'www'.
1972
+ # Corresponds to the JSON property `name`
1973
+ # @return [String]
1974
+ attr_accessor :name
1975
+
1976
+ # Data for this record. Values vary by record type, as defined in RFC 1035 (
1977
+ # section 5) and RFC 1034 (section 3.6.1).
1978
+ # Corresponds to the JSON property `rrdata`
1979
+ # @return [String]
1980
+ attr_accessor :rrdata
1981
+
1982
+ # Resource record type. Example: AAAA.
1983
+ # Corresponds to the JSON property `type`
1984
+ # @return [String]
1985
+ attr_accessor :type
1986
+
1987
+ def initialize(**args)
1988
+ update!(**args)
1989
+ end
1990
+
1991
+ # Update properties of this object
1992
+ def update!(**args)
1993
+ @name = args[:name] if args.key?(:name)
1994
+ @rrdata = args[:rrdata] if args.key?(:rrdata)
1995
+ @type = args[:type] if args.key?(:type)
1996
+ end
1997
+ end
1998
+
1695
1999
  # Machine resources for a version.
1696
2000
  class Resources
1697
2001
  include Google::Apis::Core::Hashable
@@ -1787,6 +2091,26 @@ module Google
1787
2091
  end
1788
2092
  end
1789
2093
 
2094
+ # SSL configuration for a DomainMapping resource.
2095
+ class SslSettings
2096
+ include Google::Apis::Core::Hashable
2097
+
2098
+ # ID of the AuthorizedCertificate resource configuring SSL for the application.
2099
+ # Clearing this field will remove SSL support. Example: 12345.
2100
+ # Corresponds to the JSON property `certificateId`
2101
+ # @return [String]
2102
+ attr_accessor :certificate_id
2103
+
2104
+ def initialize(**args)
2105
+ update!(**args)
2106
+ end
2107
+
2108
+ # Update properties of this object
2109
+ def update!(**args)
2110
+ @certificate_id = args[:certificate_id] if args.key?(:certificate_id)
2111
+ end
2112
+ end
2113
+
1790
2114
  # Files served directly to the user for a given URL, such as images, CSS
1791
2115
  # stylesheets, or JavaScript source files. Static file handlers describe which
1792
2116
  # files in the application directory are static files, and which URLs serve them.