google-api-client 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -8
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +28 -184
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +56 -0
  9. data/generated/google/apis/analyticsreporting_v4/representations.rb +18 -0
  10. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  11. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  12. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +116 -0
  13. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
  14. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  15. data/generated/google/apis/cloudtasks_v2beta2/service.rb +2 -0
  16. data/generated/google/apis/cloudtrace_v1.rb +4 -5
  17. data/generated/google/apis/cloudtrace_v1/service.rb +3 -4
  18. data/generated/google/apis/cloudtrace_v2.rb +4 -5
  19. data/generated/google/apis/cloudtrace_v2/classes.rb +18 -16
  20. data/generated/google/apis/cloudtrace_v2/service.rb +13 -16
  21. data/generated/google/apis/container_v1.rb +1 -1
  22. data/generated/google/apis/container_v1/classes.rb +1 -1
  23. data/generated/google/apis/container_v1beta1.rb +1 -1
  24. data/generated/google/apis/container_v1beta1/classes.rb +335 -1
  25. data/generated/google/apis/container_v1beta1/representations.rb +107 -0
  26. data/generated/google/apis/container_v1beta1/service.rb +482 -0
  27. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  28. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2 -1
  29. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  30. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
  31. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  32. data/generated/google/apis/dfareporting_v2_7/classes.rb +6 -3
  33. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  34. data/generated/google/apis/dfareporting_v2_8/classes.rb +8 -5
  35. data/generated/google/apis/dfareporting_v3_0.rb +40 -0
  36. data/generated/google/apis/dfareporting_v3_0/classes.rb +12117 -0
  37. data/generated/google/apis/dfareporting_v3_0/representations.rb +4336 -0
  38. data/generated/google/apis/dfareporting_v3_0/service.rb +9108 -0
  39. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  40. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +9 -0
  41. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  42. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  43. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -0
  44. data/generated/google/apis/ml_v1.rb +1 -1
  45. data/generated/google/apis/ml_v1/classes.rb +76 -3
  46. data/generated/google/apis/ml_v1/representations.rb +7 -0
  47. data/generated/google/apis/ml_v1/service.rb +53 -0
  48. data/generated/google/apis/monitoring_v3.rb +1 -1
  49. data/generated/google/apis/monitoring_v3/service.rb +1 -5
  50. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  51. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  52. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  53. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  54. data/generated/google/apis/people_v1.rb +1 -1
  55. data/generated/google/apis/people_v1/classes.rb +2 -0
  56. data/generated/google/apis/people_v1/service.rb +0 -4
  57. data/generated/google/apis/script_v1.rb +1 -1
  58. data/generated/google/apis/script_v1/classes.rb +5 -6
  59. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  60. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -8
  61. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  62. data/generated/google/apis/serviceuser_v1.rb +1 -1
  63. data/generated/google/apis/serviceuser_v1/classes.rb +0 -8
  64. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
  65. data/generated/google/apis/spanner_v1.rb +1 -1
  66. data/generated/google/apis/spanner_v1/classes.rb +13 -14
  67. data/generated/google/apis/spanner_v1/service.rb +13 -13
  68. data/generated/google/apis/tagmanager_v1.rb +1 -1
  69. data/generated/google/apis/tagmanager_v1/classes.rb +70 -9
  70. data/generated/google/apis/tagmanager_v1/representations.rb +22 -3
  71. data/generated/google/apis/tagmanager_v2.rb +1 -1
  72. data/generated/google/apis/tagmanager_v2/classes.rb +7 -0
  73. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  74. data/generated/google/apis/vision_v1.rb +1 -1
  75. data/generated/google/apis/vision_v1/classes.rb +434 -434
  76. data/generated/google/apis/vision_v1/representations.rb +178 -178
  77. data/generated/google/apis/vision_v1/service.rb +8 -8
  78. data/generated/google/apis/vision_v1p1beta1.rb +39 -0
  79. data/generated/google/apis/vision_v1p1beta1/classes.rb +1800 -0
  80. data/generated/google/apis/vision_v1p1beta1/representations.rb +728 -0
  81. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -0
  82. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  83. data/lib/google/apis/version.rb +1 -1
  84. metadata +10 -2
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class SetAddonsConfigRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class SetLabelsRequest
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -244,6 +250,12 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class SetLocationsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class SetLoggingServiceRequest
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -262,12 +274,24 @@ module Google
262
274
  include Google::Apis::Core::JsonObjectSupport
263
275
  end
264
276
 
277
+ class SetMonitoringServiceRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
265
283
  class SetNetworkPolicyRequest
266
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
285
 
268
286
  include Google::Apis::Core::JsonObjectSupport
269
287
  end
270
288
 
289
+ class SetNodePoolAutoscalingRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
271
295
  class SetNodePoolManagementRequest
272
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
297
 
@@ -286,6 +310,18 @@ module Google
286
310
  include Google::Apis::Core::JsonObjectSupport
287
311
  end
288
312
 
313
+ class UpdateMasterRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class UpdateNodePoolRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
289
325
  class AcceleratorConfig
290
326
  # @private
291
327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -688,6 +724,18 @@ module Google
688
724
  end
689
725
  end
690
726
 
727
+ class SetAddonsConfigRequest
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
731
+
732
+ property :cluster_id, as: 'clusterId'
733
+ property :name, as: 'name'
734
+ property :project_id, as: 'projectId'
735
+ property :zone, as: 'zone'
736
+ end
737
+ end
738
+
691
739
  class SetLabelsRequest
692
740
  # @private
693
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -711,6 +759,17 @@ module Google
711
759
  end
712
760
  end
713
761
 
762
+ class SetLocationsRequest
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :cluster_id, as: 'clusterId'
766
+ collection :locations, as: 'locations'
767
+ property :name, as: 'name'
768
+ property :project_id, as: 'projectId'
769
+ property :zone, as: 'zone'
770
+ end
771
+ end
772
+
714
773
  class SetLoggingServiceRequest
715
774
  # @private
716
775
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -747,6 +806,17 @@ module Google
747
806
  end
748
807
  end
749
808
 
809
+ class SetMonitoringServiceRequest
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :cluster_id, as: 'clusterId'
813
+ property :monitoring_service, as: 'monitoringService'
814
+ property :name, as: 'name'
815
+ property :project_id, as: 'projectId'
816
+ property :zone, as: 'zone'
817
+ end
818
+ end
819
+
750
820
  class SetNetworkPolicyRequest
751
821
  # @private
752
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -759,6 +829,19 @@ module Google
759
829
  end
760
830
  end
761
831
 
832
+ class SetNodePoolAutoscalingRequest
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
836
+
837
+ property :cluster_id, as: 'clusterId'
838
+ property :name, as: 'name'
839
+ property :node_pool_id, as: 'nodePoolId'
840
+ property :project_id, as: 'projectId'
841
+ property :zone, as: 'zone'
842
+ end
843
+ end
844
+
762
845
  class SetNodePoolManagementRequest
763
846
  # @private
764
847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -793,6 +876,30 @@ module Google
793
876
  property :zone, as: 'zone'
794
877
  end
795
878
  end
879
+
880
+ class UpdateMasterRequest
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :cluster_id, as: 'clusterId'
884
+ property :master_version, as: 'masterVersion'
885
+ property :name, as: 'name'
886
+ property :project_id, as: 'projectId'
887
+ property :zone, as: 'zone'
888
+ end
889
+ end
890
+
891
+ class UpdateNodePoolRequest
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ property :cluster_id, as: 'clusterId'
895
+ property :image_type, as: 'imageType'
896
+ property :name, as: 'name'
897
+ property :node_pool_id, as: 'nodePoolId'
898
+ property :node_version, as: 'nodeVersion'
899
+ property :project_id, as: 'projectId'
900
+ property :zone, as: 'zone'
901
+ end
902
+ end
796
903
  end
797
904
  end
798
905
  end
@@ -309,6 +309,40 @@ module Google
309
309
  execute_or_queue_command(command, &block)
310
310
  end
311
311
 
312
+ # Sets the addons of a specific cluster.
313
+ # @param [String] name
314
+ # The name (project, location, cluster) of the cluster to set addons.
315
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
316
+ # @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object
317
+ # @param [String] fields
318
+ # Selector specifying which fields to include in a partial response.
319
+ # @param [String] quota_user
320
+ # Available to use for quota purposes for server-side applications. Can be any
321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
322
+ # @param [Google::Apis::RequestOptions] options
323
+ # Request-specific options
324
+ #
325
+ # @yield [result, err] Result & error if block supplied
326
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
327
+ # @yieldparam err [StandardError] error object if request failed
328
+ #
329
+ # @return [Google::Apis::ContainerV1beta1::Operation]
330
+ #
331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
334
+ def set_cluster_addons_config(name, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
335
+ command = make_simple_command(:post, 'v1beta1/{+name}:setAddons', options)
336
+ command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
337
+ command.request_object = set_addons_config_request_object
338
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
339
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
340
+ command.params['name'] = name unless name.nil?
341
+ command.query['fields'] = fields unless fields.nil?
342
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
343
+ execute_or_queue_command(command, &block)
344
+ end
345
+
312
346
  # Enables or disables the ABAC authorization mechanism on a cluster.
313
347
  # @param [String] name
314
348
  # The name (project, location, cluster id) of the cluster to set legacy abac.
@@ -343,6 +377,40 @@ module Google
343
377
  execute_or_queue_command(command, &block)
344
378
  end
345
379
 
380
+ # Sets the locations of a specific cluster.
381
+ # @param [String] name
382
+ # The name (project, location, cluster) of the cluster to set locations.
383
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
384
+ # @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object
385
+ # @param [String] fields
386
+ # Selector specifying which fields to include in a partial response.
387
+ # @param [String] quota_user
388
+ # Available to use for quota purposes for server-side applications. Can be any
389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
390
+ # @param [Google::Apis::RequestOptions] options
391
+ # Request-specific options
392
+ #
393
+ # @yield [result, err] Result & error if block supplied
394
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
395
+ # @yieldparam err [StandardError] error object if request failed
396
+ #
397
+ # @return [Google::Apis::ContainerV1beta1::Operation]
398
+ #
399
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
400
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
401
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
402
+ def set_cluster_locations(name, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
403
+ command = make_simple_command(:post, 'v1beta1/{+name}:setLocations', options)
404
+ command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
405
+ command.request_object = set_locations_request_object
406
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
407
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
408
+ command.params['name'] = name unless name.nil?
409
+ command.query['fields'] = fields unless fields.nil?
410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
411
+ execute_or_queue_command(command, &block)
412
+ end
413
+
346
414
  # Sets the logging service of a specific cluster.
347
415
  # @param [String] name
348
416
  # The name (project, location, cluster) of the cluster to set logging.
@@ -449,6 +517,40 @@ module Google
449
517
  execute_or_queue_command(command, &block)
450
518
  end
451
519
 
520
+ # Sets the monitoring service of a specific cluster.
521
+ # @param [String] name
522
+ # The name (project, location, cluster) of the cluster to set monitoring.
523
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
524
+ # @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object
525
+ # @param [String] fields
526
+ # Selector specifying which fields to include in a partial response.
527
+ # @param [String] quota_user
528
+ # Available to use for quota purposes for server-side applications. Can be any
529
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
530
+ # @param [Google::Apis::RequestOptions] options
531
+ # Request-specific options
532
+ #
533
+ # @yield [result, err] Result & error if block supplied
534
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
535
+ # @yieldparam err [StandardError] error object if request failed
536
+ #
537
+ # @return [Google::Apis::ContainerV1beta1::Operation]
538
+ #
539
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
540
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
541
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
542
+ def set_cluster_monitoring_service(name, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
543
+ command = make_simple_command(:post, 'v1beta1/{+name}:setMonitoring', options)
544
+ command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
545
+ command.request_object = set_monitoring_service_request_object
546
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
547
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
548
+ command.params['name'] = name unless name.nil?
549
+ command.query['fields'] = fields unless fields.nil?
550
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
551
+ execute_or_queue_command(command, &block)
552
+ end
553
+
452
554
  # Enables/Disables Network Policy for a cluster.
453
555
  # @param [String] name
454
556
  # The name (project, location, cluster id) of the cluster to set networking
@@ -586,6 +688,40 @@ module Google
586
688
  execute_or_queue_command(command, &block)
587
689
  end
588
690
 
691
+ # Updates the master of a specific cluster.
692
+ # @param [String] name
693
+ # The name (project, location, cluster) of the cluster to update.
694
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
695
+ # @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object
696
+ # @param [String] fields
697
+ # Selector specifying which fields to include in a partial response.
698
+ # @param [String] quota_user
699
+ # Available to use for quota purposes for server-side applications. Can be any
700
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
701
+ # @param [Google::Apis::RequestOptions] options
702
+ # Request-specific options
703
+ #
704
+ # @yield [result, err] Result & error if block supplied
705
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
706
+ # @yieldparam err [StandardError] error object if request failed
707
+ #
708
+ # @return [Google::Apis::ContainerV1beta1::Operation]
709
+ #
710
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
711
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
712
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
713
+ def update_cluster_master(name, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
714
+ command = make_simple_command(:post, 'v1beta1/{+name}:updateMaster', options)
715
+ command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
716
+ command.request_object = update_master_request_object
717
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
718
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
719
+ command.params['name'] = name unless name.nil?
720
+ command.query['fields'] = fields unless fields.nil?
721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
722
+ execute_or_queue_command(command, &block)
723
+ end
724
+
589
725
  # Creates a node pool for a cluster.
590
726
  # @param [String] parent
591
727
  # The parent (project, location, cluster id) where the node pool will be created.
@@ -802,6 +938,41 @@ module Google
802
938
  execute_or_queue_command(command, &block)
803
939
  end
804
940
 
941
+ # Sets the autoscaling settings of a specific node pool.
942
+ # @param [String] name
943
+ # The name (project, location, cluster, node pool) of the node pool to set
944
+ # autoscaler settings. Specified in the format
945
+ # 'projects/*/locations/*/clusters/*/nodePools/*'.
946
+ # @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
947
+ # @param [String] fields
948
+ # Selector specifying which fields to include in a partial response.
949
+ # @param [String] quota_user
950
+ # Available to use for quota purposes for server-side applications. Can be any
951
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
952
+ # @param [Google::Apis::RequestOptions] options
953
+ # Request-specific options
954
+ #
955
+ # @yield [result, err] Result & error if block supplied
956
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
957
+ # @yieldparam err [StandardError] error object if request failed
958
+ #
959
+ # @return [Google::Apis::ContainerV1beta1::Operation]
960
+ #
961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
964
+ def set_project_location_cluster_node_pool_autoscaling(name, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
965
+ command = make_simple_command(:post, 'v1beta1/{+name}:setAutoscaling', options)
966
+ command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
967
+ command.request_object = set_node_pool_autoscaling_request_object
968
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
969
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
970
+ command.params['name'] = name unless name.nil?
971
+ command.query['fields'] = fields unless fields.nil?
972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
973
+ execute_or_queue_command(command, &block)
974
+ end
975
+
805
976
  # Sets the NodeManagement options for a node pool.
806
977
  # @param [String] name
807
978
  # The name (project, location, cluster, node pool id) of the node pool to set
@@ -837,6 +1008,40 @@ module Google
837
1008
  execute_or_queue_command(command, &block)
838
1009
  end
839
1010
 
1011
+ # Updates the version and/or iamge type of a specific node pool.
1012
+ # @param [String] name
1013
+ # The name (project, location, cluster, node pool) of the node pool to update.
1014
+ # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
1015
+ # @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
1016
+ # @param [String] fields
1017
+ # Selector specifying which fields to include in a partial response.
1018
+ # @param [String] quota_user
1019
+ # Available to use for quota purposes for server-side applications. Can be any
1020
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1021
+ # @param [Google::Apis::RequestOptions] options
1022
+ # Request-specific options
1023
+ #
1024
+ # @yield [result, err] Result & error if block supplied
1025
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1026
+ # @yieldparam err [StandardError] error object if request failed
1027
+ #
1028
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1029
+ #
1030
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1031
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1032
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1033
+ def update_project_location_cluster_node_pool(name, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1034
+ command = make_simple_command(:put, 'v1beta1/{+name}', options)
1035
+ command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
1036
+ command.request_object = update_node_pool_request_object
1037
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1038
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1039
+ command.params['name'] = name unless name.nil?
1040
+ command.query['fields'] = fields unless fields.nil?
1041
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1042
+ execute_or_queue_command(command, &block)
1043
+ end
1044
+
840
1045
  # Cancels the specified operation.
841
1046
  # @param [String] name
842
1047
  # The name (project, location, operation id) of the operation to cancel.
@@ -1000,6 +1205,51 @@ module Google
1000
1205
  execute_or_queue_command(command, &block)
1001
1206
  end
1002
1207
 
1208
+ # Sets the addons of a specific cluster.
1209
+ # @param [String] project_id
1210
+ # The Google Developers Console [project ID or project
1211
+ # number](https://support.google.com/cloud/answer/6158840).
1212
+ # This field is deprecated, use name instead.
1213
+ # @param [String] zone
1214
+ # The name of the Google Compute Engine
1215
+ # [zone](/compute/docs/zones#available) in which the cluster
1216
+ # resides.
1217
+ # This field is deprecated, use name instead.
1218
+ # @param [String] cluster_id
1219
+ # The name of the cluster to upgrade.
1220
+ # This field is deprecated, use name instead.
1221
+ # @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object
1222
+ # @param [String] fields
1223
+ # Selector specifying which fields to include in a partial response.
1224
+ # @param [String] quota_user
1225
+ # Available to use for quota purposes for server-side applications. Can be any
1226
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1227
+ # @param [Google::Apis::RequestOptions] options
1228
+ # Request-specific options
1229
+ #
1230
+ # @yield [result, err] Result & error if block supplied
1231
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1232
+ # @yieldparam err [StandardError] error object if request failed
1233
+ #
1234
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1235
+ #
1236
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1237
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1238
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1239
+ def addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1240
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
1241
+ command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
1242
+ command.request_object = set_addons_config_request_object
1243
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1244
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1245
+ command.params['projectId'] = project_id unless project_id.nil?
1246
+ command.params['zone'] = zone unless zone.nil?
1247
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1248
+ command.query['fields'] = fields unless fields.nil?
1249
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1250
+ execute_or_queue_command(command, &block)
1251
+ end
1252
+
1003
1253
  # Completes master IP rotation.
1004
1254
  # @param [String] project_id
1005
1255
  # The Google Developers Console [project ID or project
@@ -1282,6 +1532,51 @@ module Google
1282
1532
  execute_or_queue_command(command, &block)
1283
1533
  end
1284
1534
 
1535
+ # Sets the locations of a specific cluster.
1536
+ # @param [String] project_id
1537
+ # The Google Developers Console [project ID or project
1538
+ # number](https://support.google.com/cloud/answer/6158840).
1539
+ # This field is deprecated, use name instead.
1540
+ # @param [String] zone
1541
+ # The name of the Google Compute Engine
1542
+ # [zone](/compute/docs/zones#available) in which the cluster
1543
+ # resides.
1544
+ # This field is deprecated, use name instead.
1545
+ # @param [String] cluster_id
1546
+ # The name of the cluster to upgrade.
1547
+ # This field is deprecated, use name instead.
1548
+ # @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object
1549
+ # @param [String] fields
1550
+ # Selector specifying which fields to include in a partial response.
1551
+ # @param [String] quota_user
1552
+ # Available to use for quota purposes for server-side applications. Can be any
1553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1554
+ # @param [Google::Apis::RequestOptions] options
1555
+ # Request-specific options
1556
+ #
1557
+ # @yield [result, err] Result & error if block supplied
1558
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1559
+ # @yieldparam err [StandardError] error object if request failed
1560
+ #
1561
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1562
+ #
1563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1566
+ def locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1567
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
1568
+ command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
1569
+ command.request_object = set_locations_request_object
1570
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1571
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1572
+ command.params['projectId'] = project_id unless project_id.nil?
1573
+ command.params['zone'] = zone unless zone.nil?
1574
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1575
+ command.query['fields'] = fields unless fields.nil?
1576
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1577
+ execute_or_queue_command(command, &block)
1578
+ end
1579
+
1285
1580
  # Sets the logging service of a specific cluster.
1286
1581
  # @param [String] project_id
1287
1582
  # The Google Developers Console [project ID or project
@@ -1326,6 +1621,95 @@ module Google
1326
1621
  execute_or_queue_command(command, &block)
1327
1622
  end
1328
1623
 
1624
+ # Updates the master of a specific cluster.
1625
+ # @param [String] project_id
1626
+ # The Google Developers Console [project ID or project
1627
+ # number](https://support.google.com/cloud/answer/6158840).
1628
+ # @param [String] zone
1629
+ # The name of the Google Compute Engine
1630
+ # [zone](/compute/docs/zones#available) in which the cluster
1631
+ # resides.
1632
+ # This field is deprecated, use name instead.
1633
+ # @param [String] cluster_id
1634
+ # The name of the cluster to upgrade.
1635
+ # This field is deprecated, use name instead.
1636
+ # @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object
1637
+ # @param [String] fields
1638
+ # Selector specifying which fields to include in a partial response.
1639
+ # @param [String] quota_user
1640
+ # Available to use for quota purposes for server-side applications. Can be any
1641
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1642
+ # @param [Google::Apis::RequestOptions] options
1643
+ # Request-specific options
1644
+ #
1645
+ # @yield [result, err] Result & error if block supplied
1646
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1647
+ # @yieldparam err [StandardError] error object if request failed
1648
+ #
1649
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1650
+ #
1651
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1652
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1653
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1654
+ def master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1655
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
1656
+ command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
1657
+ command.request_object = update_master_request_object
1658
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1659
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1660
+ command.params['projectId'] = project_id unless project_id.nil?
1661
+ command.params['zone'] = zone unless zone.nil?
1662
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1663
+ command.query['fields'] = fields unless fields.nil?
1664
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1665
+ execute_or_queue_command(command, &block)
1666
+ end
1667
+
1668
+ # Sets the monitoring service of a specific cluster.
1669
+ # @param [String] project_id
1670
+ # The Google Developers Console [project ID or project
1671
+ # number](https://support.google.com/cloud/answer/6158840).
1672
+ # This field is deprecated, use name instead.
1673
+ # @param [String] zone
1674
+ # The name of the Google Compute Engine
1675
+ # [zone](/compute/docs/zones#available) in which the cluster
1676
+ # resides.
1677
+ # This field is deprecated, use name instead.
1678
+ # @param [String] cluster_id
1679
+ # The name of the cluster to upgrade.
1680
+ # This field is deprecated, use name instead.
1681
+ # @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object
1682
+ # @param [String] fields
1683
+ # Selector specifying which fields to include in a partial response.
1684
+ # @param [String] quota_user
1685
+ # Available to use for quota purposes for server-side applications. Can be any
1686
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1687
+ # @param [Google::Apis::RequestOptions] options
1688
+ # Request-specific options
1689
+ #
1690
+ # @yield [result, err] Result & error if block supplied
1691
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1692
+ # @yieldparam err [StandardError] error object if request failed
1693
+ #
1694
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1695
+ #
1696
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1697
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1698
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1699
+ def monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1700
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
1701
+ command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
1702
+ command.request_object = set_monitoring_service_request_object
1703
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1704
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1705
+ command.params['projectId'] = project_id unless project_id.nil?
1706
+ command.params['zone'] = zone unless zone.nil?
1707
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1708
+ command.query['fields'] = fields unless fields.nil?
1709
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1710
+ execute_or_queue_command(command, &block)
1711
+ end
1712
+
1329
1713
  # Sets labels on a cluster.
1330
1714
  # @param [String] project_id
1331
1715
  # The Google Developers Console [project ID or project
@@ -1596,6 +1980,55 @@ module Google
1596
1980
  execute_or_queue_command(command, &block)
1597
1981
  end
1598
1982
 
1983
+ # Sets the autoscaling settings of a specific node pool.
1984
+ # @param [String] project_id
1985
+ # The Google Developers Console [project ID or project
1986
+ # number](https://support.google.com/cloud/answer/6158840).
1987
+ # This field is deprecated, use name instead.
1988
+ # @param [String] zone
1989
+ # The name of the Google Compute Engine
1990
+ # [zone](/compute/docs/zones#available) in which the cluster
1991
+ # resides.
1992
+ # This field is deprecated, use name instead.
1993
+ # @param [String] cluster_id
1994
+ # The name of the cluster to upgrade.
1995
+ # This field is deprecated, use name instead.
1996
+ # @param [String] node_pool_id
1997
+ # The name of the node pool to upgrade.
1998
+ # This field is deprecated, use name instead.
1999
+ # @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
2000
+ # @param [String] fields
2001
+ # Selector specifying which fields to include in a partial response.
2002
+ # @param [String] quota_user
2003
+ # Available to use for quota purposes for server-side applications. Can be any
2004
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2005
+ # @param [Google::Apis::RequestOptions] options
2006
+ # Request-specific options
2007
+ #
2008
+ # @yield [result, err] Result & error if block supplied
2009
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
2010
+ # @yieldparam err [StandardError] error object if request failed
2011
+ #
2012
+ # @return [Google::Apis::ContainerV1beta1::Operation]
2013
+ #
2014
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2015
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2016
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2017
+ def autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2018
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
2019
+ command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
2020
+ command.request_object = set_node_pool_autoscaling_request_object
2021
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
2022
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
2023
+ command.params['projectId'] = project_id unless project_id.nil?
2024
+ command.params['zone'] = zone unless zone.nil?
2025
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
2026
+ command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
2027
+ command.query['fields'] = fields unless fields.nil?
2028
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2029
+ execute_or_queue_command(command, &block)
2030
+ end
2031
+
1599
2032
  # Creates a node pool for a cluster.
1600
2033
  # @param [String] project_id
1601
2034
  # The Google Developers Console [project ID or project
@@ -1886,6 +2319,55 @@ module Google
1886
2319
  execute_or_queue_command(command, &block)
1887
2320
  end
1888
2321
 
2322
+ # Updates the version and/or iamge type of a specific node pool.
2323
+ # @param [String] project_id
2324
+ # The Google Developers Console [project ID or project
2325
+ # number](https://support.google.com/cloud/answer/6158840).
2326
+ # This field is deprecated, use name instead.
2327
+ # @param [String] zone
2328
+ # The name of the Google Compute Engine
2329
+ # [zone](/compute/docs/zones#available) in which the cluster
2330
+ # resides.
2331
+ # This field is deprecated, use name instead.
2332
+ # @param [String] cluster_id
2333
+ # The name of the cluster to upgrade.
2334
+ # This field is deprecated, use name instead.
2335
+ # @param [String] node_pool_id
2336
+ # The name of the node pool to upgrade.
2337
+ # This field is deprecated, use name instead.
2338
+ # @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
2339
+ # @param [String] fields
2340
+ # Selector specifying which fields to include in a partial response.
2341
+ # @param [String] quota_user
2342
+ # Available to use for quota purposes for server-side applications. Can be any
2343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2344
+ # @param [Google::Apis::RequestOptions] options
2345
+ # Request-specific options
2346
+ #
2347
+ # @yield [result, err] Result & error if block supplied
2348
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
2349
+ # @yieldparam err [StandardError] error object if request failed
2350
+ #
2351
+ # @return [Google::Apis::ContainerV1beta1::Operation]
2352
+ #
2353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2356
+ def update_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2357
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
2358
+ command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
2359
+ command.request_object = update_node_pool_request_object
2360
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
2361
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
2362
+ command.params['projectId'] = project_id unless project_id.nil?
2363
+ command.params['zone'] = zone unless zone.nil?
2364
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
2365
+ command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
2366
+ command.query['fields'] = fields unless fields.nil?
2367
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2368
+ execute_or_queue_command(command, &block)
2369
+ end
2370
+
1889
2371
  # Cancels the specified operation.
1890
2372
  # @param [String] project_id
1891
2373
  # The Google Developers Console [project ID or project