google-api-client 0.9.6 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/api_names.yaml +15 -0
  4. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
  6. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
  8. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  15. data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
  16. data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
  17. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  18. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
  20. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  21. data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
  26. data/generated/google/apis/appstate_v1.rb +1 -1
  27. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  28. data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
  29. data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
  30. data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +97 -61
  33. data/generated/google/apis/bigquery_v2/representations.rb +23 -18
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +23 -2
  36. data/generated/google/apis/classroom_v1/classes.rb +920 -6
  37. data/generated/google/apis/classroom_v1/representations.rb +419 -0
  38. data/generated/google/apis/classroom_v1/service.rb +507 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
  41. data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
  42. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  43. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
  49. data/generated/google/apis/cloudtrace_v1.rb +11 -3
  50. data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
  51. data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
  52. data/generated/google/apis/compute_beta.rb +2 -2
  53. data/generated/google/apis/compute_beta/classes.rb +162 -32
  54. data/generated/google/apis/compute_beta/representations.rb +58 -0
  55. data/generated/google/apis/compute_beta/service.rb +392 -267
  56. data/generated/google/apis/compute_v1.rb +2 -2
  57. data/generated/google/apis/compute_v1/classes.rb +21 -9
  58. data/generated/google/apis/compute_v1/representations.rb +1 -0
  59. data/generated/google/apis/compute_v1/service.rb +291 -253
  60. data/generated/google/apis/container_v1.rb +1 -1
  61. data/generated/google/apis/container_v1/classes.rb +148 -0
  62. data/generated/google/apis/container_v1/representations.rb +55 -0
  63. data/generated/google/apis/container_v1/service.rb +161 -0
  64. data/generated/google/apis/content_v2.rb +1 -1
  65. data/generated/google/apis/content_v2/classes.rb +18 -6
  66. data/generated/google/apis/content_v2/representations.rb +1 -0
  67. data/generated/google/apis/customsearch_v1.rb +1 -1
  68. data/generated/google/apis/dataproc_v1.rb +2 -11
  69. data/generated/google/apis/dataproc_v1/classes.rb +0 -19
  70. data/generated/google/apis/dataproc_v1/representations.rb +0 -13
  71. data/generated/google/apis/dataproc_v1/service.rb +8 -87
  72. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  73. data/generated/google/apis/dfareporting_v2_3.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
  75. data/generated/google/apis/discovery_v1.rb +2 -2
  76. data/generated/google/apis/discovery_v1/service.rb +2 -2
  77. data/generated/google/apis/dns_v1.rb +2 -3
  78. data/generated/google/apis/dns_v1/service.rb +1 -2
  79. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +3 -2
  82. data/generated/google/apis/drive_v2/service.rb +2 -1
  83. data/generated/google/apis/drive_v3.rb +3 -2
  84. data/generated/google/apis/drive_v3/service.rb +2 -1
  85. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  86. data/generated/google/apis/games_management_v1management.rb +1 -1
  87. data/generated/google/apis/games_management_v1management/classes.rb +34 -0
  88. data/generated/google/apis/games_management_v1management/representations.rb +16 -0
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/games_v1/classes.rb +34 -0
  91. data/generated/google/apis/games_v1/representations.rb +16 -0
  92. data/generated/google/apis/games_v1/service.rb +212 -53
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1/classes.rb +18 -0
  95. data/generated/google/apis/genomics_v1/representations.rb +3 -0
  96. data/generated/google/apis/genomics_v1/service.rb +2 -2
  97. data/generated/google/apis/gmail_v1.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  99. data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
  100. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
  101. data/generated/google/apis/mybusiness_v3.rb +32 -0
  102. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  103. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  104. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +2 -2
  107. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  108. data/generated/google/apis/plus_v1.rb +2 -2
  109. data/generated/google/apis/plus_v1/service.rb +1 -1
  110. data/generated/google/apis/prediction_v1_6.rb +4 -1
  111. data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
  112. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
  113. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
  114. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
  115. data/generated/google/apis/replicapool_v1beta2.rb +3 -3
  116. data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
  117. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  118. data/generated/google/apis/script_v1.rb +6 -3
  119. data/generated/google/apis/script_v1/service.rb +2 -2
  120. data/generated/google/apis/sheets_v4.rb +43 -0
  121. data/generated/google/apis/sheets_v4/classes.rb +5425 -0
  122. data/generated/google/apis/sheets_v4/representations.rb +2070 -0
  123. data/generated/google/apis/sheets_v4/service.rb +402 -0
  124. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  125. data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
  126. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  127. data/generated/google/apis/storage_v1.rb +1 -1
  128. data/generated/google/apis/storage_v1/classes.rb +2 -1
  129. data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
  130. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
  131. data/generated/google/apis/vision_v1.rb +4 -5
  132. data/generated/google/apis/vision_v1/classes.rb +69 -68
  133. data/generated/google/apis/vision_v1/representations.rb +13 -13
  134. data/generated/google/apis/vision_v1/service.rb +3 -4
  135. data/generated/google/apis/youtube_analytics_v1.rb +2 -2
  136. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  137. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  138. data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
  139. data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
  140. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  141. data/generated/google/apis/youtube_v3.rb +1 -1
  142. data/generated/google/apis/youtube_v3/classes.rb +24 -0
  143. data/generated/google/apis/youtube_v3/representations.rb +4 -0
  144. data/generated/google/apis/youtubereporting_v1.rb +3 -3
  145. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
  146. data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
  147. data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +14 -2
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class Comment
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DeveloperComment
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Entitlement
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -244,6 +256,36 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class Review
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ReviewReplyResult
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ReviewsListResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ReviewsReplyRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ReviewsReplyResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
247
289
  class Season
248
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
291
 
@@ -280,6 +322,12 @@ module Google
280
322
  include Google::Apis::Core::JsonObjectSupport
281
323
  end
282
324
 
325
+ class Timestamp
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
283
331
  class TokenPagination
284
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
333
 
@@ -298,6 +346,12 @@ module Google
298
346
  include Google::Apis::Core::JsonObjectSupport
299
347
  end
300
348
 
349
+ class UserComment
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
301
355
  class Apk
302
356
  # @private
303
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -374,6 +428,25 @@ module Google
374
428
  end
375
429
  end
376
430
 
431
+ class Comment
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :developer_comment, as: 'developerComment', class: Google::Apis::AndroidpublisherV2::DeveloperComment, decorator: Google::Apis::AndroidpublisherV2::DeveloperComment::Representation
435
+
436
+ property :user_comment, as: 'userComment', class: Google::Apis::AndroidpublisherV2::UserComment, decorator: Google::Apis::AndroidpublisherV2::UserComment::Representation
437
+
438
+ end
439
+ end
440
+
441
+ class DeveloperComment
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
445
+
446
+ property :text, as: 'text'
447
+ end
448
+ end
449
+
377
450
  class Entitlement
378
451
  # @private
379
452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -655,6 +728,52 @@ module Google
655
728
  end
656
729
  end
657
730
 
731
+ class Review
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :author_name, as: 'authorName'
735
+ collection :comments, as: 'comments', class: Google::Apis::AndroidpublisherV2::Comment, decorator: Google::Apis::AndroidpublisherV2::Comment::Representation
736
+
737
+ property :review_id, as: 'reviewId'
738
+ end
739
+ end
740
+
741
+ class ReviewReplyResult
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :last_edited, as: 'lastEdited', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
745
+
746
+ property :reply_text, as: 'replyText'
747
+ end
748
+ end
749
+
750
+ class ReviewsListResponse
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
754
+
755
+ collection :reviews, as: 'reviews', class: Google::Apis::AndroidpublisherV2::Review, decorator: Google::Apis::AndroidpublisherV2::Review::Representation
756
+
757
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
758
+
759
+ end
760
+ end
761
+
762
+ class ReviewsReplyRequest
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :reply_text, as: 'replyText'
766
+ end
767
+ end
768
+
769
+ class ReviewsReplyResponse
770
+ # @private
771
+ class Representation < Google::Apis::Core::JsonRepresentation
772
+ property :result, as: 'result', class: Google::Apis::AndroidpublisherV2::ReviewReplyResult, decorator: Google::Apis::AndroidpublisherV2::ReviewReplyResult::Representation
773
+
774
+ end
775
+ end
776
+
658
777
  class Season
659
778
  # @private
660
779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -714,6 +833,14 @@ module Google
714
833
  end
715
834
  end
716
835
 
836
+ class Timestamp
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :nanos, as: 'nanos'
840
+ property :seconds, as: 'seconds'
841
+ end
842
+ end
843
+
717
844
  class TokenPagination
718
845
  # @private
719
846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -739,6 +866,21 @@ module Google
739
866
 
740
867
  end
741
868
  end
869
+
870
+ class UserComment
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ property :android_os_version, as: 'androidOsVersion'
874
+ property :app_version_code, as: 'appVersionCode'
875
+ property :app_version_name, as: 'appVersionName'
876
+ property :device, as: 'device'
877
+ property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
878
+
879
+ property :reviewer_language, as: 'reviewerLanguage'
880
+ property :star_rating, as: 'starRating'
881
+ property :text, as: 'text'
882
+ end
883
+ end
742
884
  end
743
885
  end
744
886
  end
@@ -2324,6 +2324,127 @@ module Google
2324
2324
  command.query['userIp'] = user_ip unless user_ip.nil?
2325
2325
  execute_or_queue_command(command, &block)
2326
2326
  end
2327
+
2328
+ # Returns a single review.
2329
+ # @param [String] package_name
2330
+ # Unique identifier for the Android app for which we want reviews; for example, "
2331
+ # com.spiffygame".
2332
+ # @param [String] review_id
2333
+ # @param [String] fields
2334
+ # Selector specifying which fields to include in a partial response.
2335
+ # @param [String] quota_user
2336
+ # Available to use for quota purposes for server-side applications. Can be any
2337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2338
+ # Overrides userIp if both are provided.
2339
+ # @param [String] user_ip
2340
+ # IP address of the site where the request originates. Use this if you want to
2341
+ # enforce per-user limits.
2342
+ # @param [Google::Apis::RequestOptions] options
2343
+ # Request-specific options
2344
+ #
2345
+ # @yield [result, err] Result & error if block supplied
2346
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::Review] parsed result object
2347
+ # @yieldparam err [StandardError] error object if request failed
2348
+ #
2349
+ # @return [Google::Apis::AndroidpublisherV2::Review]
2350
+ #
2351
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2352
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2353
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2354
+ def get_review(package_name, review_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2355
+ command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
2356
+ command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation
2357
+ command.response_class = Google::Apis::AndroidpublisherV2::Review
2358
+ command.params['packageName'] = package_name unless package_name.nil?
2359
+ command.params['reviewId'] = review_id unless review_id.nil?
2360
+ command.query['fields'] = fields unless fields.nil?
2361
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2362
+ command.query['userIp'] = user_ip unless user_ip.nil?
2363
+ execute_or_queue_command(command, &block)
2364
+ end
2365
+
2366
+ # Returns a list of reviews.
2367
+ # @param [String] package_name
2368
+ # Unique identifier for the Android app for which we want reviews; for example, "
2369
+ # com.spiffygame".
2370
+ # @param [Fixnum] max_results
2371
+ # @param [Fixnum] start_index
2372
+ # @param [String] token
2373
+ # @param [String] fields
2374
+ # Selector specifying which fields to include in a partial response.
2375
+ # @param [String] quota_user
2376
+ # Available to use for quota purposes for server-side applications. Can be any
2377
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2378
+ # Overrides userIp if both are provided.
2379
+ # @param [String] user_ip
2380
+ # IP address of the site where the request originates. Use this if you want to
2381
+ # enforce per-user limits.
2382
+ # @param [Google::Apis::RequestOptions] options
2383
+ # Request-specific options
2384
+ #
2385
+ # @yield [result, err] Result & error if block supplied
2386
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::ReviewsListResponse] parsed result object
2387
+ # @yieldparam err [StandardError] error object if request failed
2388
+ #
2389
+ # @return [Google::Apis::AndroidpublisherV2::ReviewsListResponse]
2390
+ #
2391
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2392
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2393
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2394
+ def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2395
+ command = make_simple_command(:get, '{packageName}/reviews', options)
2396
+ command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation
2397
+ command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse
2398
+ command.params['packageName'] = package_name unless package_name.nil?
2399
+ command.query['maxResults'] = max_results unless max_results.nil?
2400
+ command.query['startIndex'] = start_index unless start_index.nil?
2401
+ command.query['token'] = token unless token.nil?
2402
+ command.query['fields'] = fields unless fields.nil?
2403
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2404
+ command.query['userIp'] = user_ip unless user_ip.nil?
2405
+ execute_or_queue_command(command, &block)
2406
+ end
2407
+
2408
+ # Reply to a single review, or update an existing reply.
2409
+ # @param [String] package_name
2410
+ # Unique identifier for the Android app for which we want reviews; for example, "
2411
+ # com.spiffygame".
2412
+ # @param [String] review_id
2413
+ # @param [Google::Apis::AndroidpublisherV2::ReviewsReplyRequest] reviews_reply_request_object
2414
+ # @param [String] fields
2415
+ # Selector specifying which fields to include in a partial response.
2416
+ # @param [String] quota_user
2417
+ # Available to use for quota purposes for server-side applications. Can be any
2418
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2419
+ # Overrides userIp if both are provided.
2420
+ # @param [String] user_ip
2421
+ # IP address of the site where the request originates. Use this if you want to
2422
+ # enforce per-user limits.
2423
+ # @param [Google::Apis::RequestOptions] options
2424
+ # Request-specific options
2425
+ #
2426
+ # @yield [result, err] Result & error if block supplied
2427
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::ReviewsReplyResponse] parsed result object
2428
+ # @yieldparam err [StandardError] error object if request failed
2429
+ #
2430
+ # @return [Google::Apis::AndroidpublisherV2::ReviewsReplyResponse]
2431
+ #
2432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2435
+ def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2436
+ command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
2437
+ command.request_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyRequest::Representation
2438
+ command.request_object = reviews_reply_request_object
2439
+ command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse::Representation
2440
+ command.response_class = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse
2441
+ command.params['packageName'] = package_name unless package_name.nil?
2442
+ command.params['reviewId'] = review_id unless review_id.nil?
2443
+ command.query['fields'] = fields unless fields.nil?
2444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2445
+ command.query['userIp'] = user_ip unless user_ip.nil?
2446
+ execute_or_queue_command(command, &block)
2447
+ end
2327
2448
 
2328
2449
  protected
2329
2450
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/web/api/states
26
26
  module AppstateV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160407'
28
+ REVISION = '20160519'
29
29
 
30
30
  # View and manage your data for this application
31
31
  AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see http://developers.google.com/compute/docs/autoscaler
27
27
  module AutoscalerV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20150629'
29
+ REVISION = '20160511'
30
30
 
31
31
  # View and manage your Google Compute Engine resources
32
32
  AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
@@ -308,6 +308,11 @@ module Google
308
308
  # @return [String]
309
309
  attr_accessor :creation_timestamp
310
310
 
311
+ #
312
+ # Corresponds to the JSON property `description`
313
+ # @return [String]
314
+ attr_accessor :description
315
+
311
316
  #
312
317
  # Corresponds to the JSON property `endTime`
313
318
  # @return [String]
@@ -338,7 +343,7 @@ module Google
338
343
  # @return [String]
339
344
  attr_accessor :insert_time
340
345
 
341
- # [Output Only] Type of the resource. Always compute#Operation for Operation
346
+ # [Output Only] Type of the resource. Always compute#operation for Operation
342
347
  # resources.
343
348
  # Corresponds to the JSON property `kind`
344
349
  # @return [String]
@@ -417,6 +422,7 @@ module Google
417
422
  def update!(**args)
418
423
  @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
419
424
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
425
+ @description = args[:description] if args.key?(:description)
420
426
  @end_time = args[:end_time] if args.key?(:end_time)
421
427
  @error = args[:error] if args.key?(:error)
422
428
  @http_error_message = args[:http_error_message] if args.key?(:http_error_message)
@@ -614,16 +620,11 @@ module Google
614
620
  # @return [String]
615
621
  attr_accessor :id
616
622
 
617
- # [Output Only] Type of the resource. Always kind#zone for zones.
623
+ # [Output Only] Type of the resource. Always compute#zone for zones.
618
624
  # Corresponds to the JSON property `kind`
619
625
  # @return [String]
620
626
  attr_accessor :kind
621
627
 
622
- #
623
- # Corresponds to the JSON property `maintenanceWindows`
624
- # @return [Array<Google::Apis::AutoscalerV1beta2::Zone::MaintenanceWindow>]
625
- attr_accessor :maintenance_windows
626
-
627
628
  #
628
629
  # Corresponds to the JSON property `name`
629
630
  # @return [String]
@@ -634,7 +635,7 @@ module Google
634
635
  # @return [String]
635
636
  attr_accessor :region
636
637
 
637
- # [Output Only] Server defined URL for the resource.
638
+ #
638
639
  # Corresponds to the JSON property `selfLink`
639
640
  # @return [String]
640
641
  attr_accessor :self_link
@@ -655,49 +656,11 @@ module Google
655
656
  @description = args[:description] if args.key?(:description)
656
657
  @id = args[:id] if args.key?(:id)
657
658
  @kind = args[:kind] if args.key?(:kind)
658
- @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
659
659
  @name = args[:name] if args.key?(:name)
660
660
  @region = args[:region] if args.key?(:region)
661
661
  @self_link = args[:self_link] if args.key?(:self_link)
662
662
  @status = args[:status] if args.key?(:status)
663
663
  end
664
-
665
- #
666
- class MaintenanceWindow
667
- include Google::Apis::Core::Hashable
668
-
669
- #
670
- # Corresponds to the JSON property `beginTime`
671
- # @return [String]
672
- attr_accessor :begin_time
673
-
674
- #
675
- # Corresponds to the JSON property `description`
676
- # @return [String]
677
- attr_accessor :description
678
-
679
- #
680
- # Corresponds to the JSON property `endTime`
681
- # @return [String]
682
- attr_accessor :end_time
683
-
684
- #
685
- # Corresponds to the JSON property `name`
686
- # @return [String]
687
- attr_accessor :name
688
-
689
- def initialize(**args)
690
- update!(**args)
691
- end
692
-
693
- # Update properties of this object
694
- def update!(**args)
695
- @begin_time = args[:begin_time] if args.key?(:begin_time)
696
- @description = args[:description] if args.key?(:description)
697
- @end_time = args[:end_time] if args.key?(:end_time)
698
- @name = args[:name] if args.key?(:name)
699
- end
700
- end
701
664
  end
702
665
 
703
666
  #
@@ -724,7 +687,7 @@ module Google
724
687
  # @return [String]
725
688
  attr_accessor :next_page_token
726
689
 
727
- # Server defined URL for this resource (output only).
690
+ # [Output Only] Server-defined URL for this resource.
728
691
  # Corresponds to the JSON property `selfLink`
729
692
  # @return [String]
730
693
  attr_accessor :self_link