google-api-client 0.9.25 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +279 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +110 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +25 -25
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +145 -145
  8. data/generated/google/apis/adsense_v1_4.rb +1 -1
  9. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  10. data/generated/google/apis/calendar_v3.rb +1 -1
  11. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  12. data/generated/google/apis/cloudbuild_v1/classes.rb +419 -419
  13. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -73
  14. data/generated/google/apis/cloudbuild_v1/service.rb +86 -86
  15. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  16. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  17. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  18. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  19. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  20. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +478 -478
  21. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +96 -96
  22. data/generated/google/apis/cloudresourcemanager_v1/service.rb +271 -271
  23. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  24. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +353 -353
  25. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +81 -81
  26. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +299 -299
  27. data/generated/google/apis/container_v1.rb +1 -1
  28. data/generated/google/apis/container_v1/classes.rb +287 -16
  29. data/generated/google/apis/container_v1/representations.rb +113 -2
  30. data/generated/google/apis/container_v1/service.rb +130 -0
  31. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  32. data/generated/google/apis/drive_v2.rb +1 -1
  33. data/generated/google/apis/drive_v3.rb +1 -1
  34. data/generated/google/apis/genomics_v1.rb +8 -8
  35. data/generated/google/apis/genomics_v1/classes.rb +2259 -2257
  36. data/generated/google/apis/genomics_v1/representations.rb +461 -526
  37. data/generated/google/apis/genomics_v1/service.rb +1203 -1105
  38. data/generated/google/apis/gmail_v1.rb +1 -1
  39. data/generated/google/apis/logging_v2beta1.rb +1 -1
  40. data/generated/google/apis/logging_v2beta1/classes.rb +852 -852
  41. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  42. data/generated/google/apis/logging_v2beta1/service.rb +230 -230
  43. data/generated/google/apis/manufacturers_v1.rb +34 -0
  44. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  45. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  46. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  47. data/generated/google/apis/monitoring_v3.rb +7 -7
  48. data/generated/google/apis/monitoring_v3/classes.rb +744 -744
  49. data/generated/google/apis/monitoring_v3/representations.rb +164 -164
  50. data/generated/google/apis/monitoring_v3/service.rb +335 -335
  51. data/generated/google/apis/plus_domains_v1.rb +1 -1
  52. data/generated/google/apis/plus_v1.rb +1 -1
  53. data/generated/google/apis/pubsub_v1.rb +3 -3
  54. data/generated/google/apis/pubsub_v1/classes.rb +325 -325
  55. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  56. data/generated/google/apis/pubsub_v1/service.rb +256 -256
  57. data/generated/google/apis/sheets_v4.rb +3 -3
  58. data/generated/google/apis/sheets_v4/classes.rb +4283 -4283
  59. data/generated/google/apis/sheets_v4/representations.rb +833 -833
  60. data/generated/google/apis/sheets_v4/service.rb +184 -184
  61. data/generated/google/apis/speech_v1beta1.rb +1 -1
  62. data/generated/google/apis/speech_v1beta1/classes.rb +213 -211
  63. data/generated/google/apis/speech_v1beta1/representations.rb +49 -49
  64. data/generated/google/apis/speech_v1beta1/service.rb +71 -71
  65. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  66. data/generated/google/apis/sqladmin_v1beta4/classes.rb +20 -0
  67. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  68. data/generated/google/apis/vision_v1.rb +1 -1
  69. data/generated/google/apis/vision_v1/classes.rb +861 -859
  70. data/generated/google/apis/vision_v1/representations.rb +140 -140
  71. data/generated/google/apis/vision_v1/service.rb +4 -4
  72. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  73. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  74. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  75. data/generated/google/apis/youtubereporting_v1/classes.rb +139 -139
  76. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  77. data/generated/google/apis/youtubereporting_v1/service.rb +152 -152
  78. data/lib/google/apis/version.rb +1 -1
  79. metadata +9 -1
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20160421'
29
+ REVISION = '20161024'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -129,8 +129,7 @@ module Google
129
129
  # @return [String]
130
130
  attr_accessor :subnetwork
131
131
 
132
- # The node pools associated with this cluster. When creating a new cluster, only
133
- # a single node pool should be specified. This field should not be set if "
132
+ # The node pools associated with this cluster. This field should not be set if "
134
133
  # node_config" or "initial_node_count" are specified.
135
134
  # Corresponds to the JSON property `nodePools`
136
135
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
@@ -142,6 +141,16 @@ module Google
142
141
  # @return [Array<String>]
143
142
  attr_accessor :locations
144
143
 
144
+ # Kubernetes alpha features are enabled on this cluster. This includes alpha API
145
+ # groups (e.g. v1alpha1) and features that may not be production ready in the
146
+ # kubernetes version of the master and nodes. The cluster has no SLA for uptime
147
+ # and master/node upgrades are disabled. Alpha enabled clusters are
148
+ # automatically deleted thirty days after creation.
149
+ # Corresponds to the JSON property `enableKubernetesAlpha`
150
+ # @return [Boolean]
151
+ attr_accessor :enable_kubernetes_alpha
152
+ alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
153
+
145
154
  # [Output only] Server-defined URL for the resource.
146
155
  # Corresponds to the JSON property `selfLink`
147
156
  # @return [String]
@@ -221,6 +230,12 @@ module Google
221
230
  # @return [Fixnum]
222
231
  attr_accessor :current_node_count
223
232
 
233
+ # [Output only] The time the cluster will be automatically deleted in [RFC3339](
234
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
235
+ # Corresponds to the JSON property `expireTime`
236
+ # @return [String]
237
+ attr_accessor :expire_time
238
+
224
239
  def initialize(**args)
225
240
  update!(**args)
226
241
  end
@@ -240,6 +255,7 @@ module Google
240
255
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
241
256
  @node_pools = args[:node_pools] if args.key?(:node_pools)
242
257
  @locations = args[:locations] if args.key?(:locations)
258
+ @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
243
259
  @self_link = args[:self_link] if args.key?(:self_link)
244
260
  @zone = args[:zone] if args.key?(:zone)
245
261
  @endpoint = args[:endpoint] if args.key?(:endpoint)
@@ -253,6 +269,7 @@ module Google
253
269
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
254
270
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
255
271
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
272
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
256
273
  end
257
274
  end
258
275
 
@@ -285,6 +302,12 @@ module Google
285
302
  # @return [Array<String>]
286
303
  attr_accessor :oauth_scopes
287
304
 
305
+ # The Google Cloud Platform Service Account to be used by the node VMs. If no
306
+ # Service Account is specified, the "default" service account is used.
307
+ # Corresponds to the JSON property `serviceAccount`
308
+ # @return [String]
309
+ attr_accessor :service_account
310
+
288
311
  # The metadata key/value pairs assigned to instances in the cluster. Keys must
289
312
  # conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length.
290
313
  # These are reflected as part of a URL in the metadata server. Additionally, to
@@ -298,6 +321,47 @@ module Google
298
321
  # @return [Hash<String,String>]
299
322
  attr_accessor :metadata
300
323
 
324
+ # The image type to use for this node. Note that for a given image type, the
325
+ # latest version of it will be used.
326
+ # Corresponds to the JSON property `imageType`
327
+ # @return [String]
328
+ attr_accessor :image_type
329
+
330
+ # The map of Kubernetes labels (key/value pairs) to be applied to each node.
331
+ # These will added in addition to any default label(s) that Kubernetes may apply
332
+ # to the node. In case of conflict in label keys, the applied set may differ
333
+ # depending on the Kubernetes version -- it's best to assume the behavior is
334
+ # undefined and conflicts should be avoided. For more information, including
335
+ # usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/
336
+ # labels.html
337
+ # Corresponds to the JSON property `labels`
338
+ # @return [Hash<String,String>]
339
+ attr_accessor :labels
340
+
341
+ # The number of local SSD disks to be attached to the node. The limit for this
342
+ # value is dependant upon the maximum number of disks available on a machine per
343
+ # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#
344
+ # local_ssd_limits for more information.
345
+ # Corresponds to the JSON property `localSsdCount`
346
+ # @return [Fixnum]
347
+ attr_accessor :local_ssd_count
348
+
349
+ # The list of instance tags applied to all nodes. Tags are used to identify
350
+ # valid sources or targets for network firewalls and are specified by the client
351
+ # during cluster or node pool creation. Each tag within the list must comply
352
+ # with RFC1035.
353
+ # Corresponds to the JSON property `tags`
354
+ # @return [Array<String>]
355
+ attr_accessor :tags
356
+
357
+ # Whether the nodes are created as preemptible VM instances. See: https://cloud.
358
+ # google.com/compute/docs/instances/preemptible for more inforamtion about
359
+ # preemptible VM instances.
360
+ # Corresponds to the JSON property `preemptible`
361
+ # @return [Boolean]
362
+ attr_accessor :preemptible
363
+ alias_method :preemptible?, :preemptible
364
+
301
365
  def initialize(**args)
302
366
  update!(**args)
303
367
  end
@@ -307,7 +371,13 @@ module Google
307
371
  @machine_type = args[:machine_type] if args.key?(:machine_type)
308
372
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
309
373
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
374
+ @service_account = args[:service_account] if args.key?(:service_account)
310
375
  @metadata = args[:metadata] if args.key?(:metadata)
376
+ @image_type = args[:image_type] if args.key?(:image_type)
377
+ @labels = args[:labels] if args.key?(:labels)
378
+ @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
379
+ @tags = args[:tags] if args.key?(:tags)
380
+ @preemptible = args[:preemptible] if args.key?(:preemptible)
311
381
  end
312
382
  end
313
383
 
@@ -461,12 +531,12 @@ module Google
461
531
  # @return [Fixnum]
462
532
  attr_accessor :initial_node_count
463
533
 
464
- # Server-defined URL for the resource.
534
+ # [Output only] Server-defined URL for the resource.
465
535
  # Corresponds to the JSON property `selfLink`
466
536
  # @return [String]
467
537
  attr_accessor :self_link
468
538
 
469
- # The version of the Kubernetes of this node.
539
+ # [Output only] The version of the Kubernetes of this node.
470
540
  # Corresponds to the JSON property `version`
471
541
  # @return [String]
472
542
  attr_accessor :version
@@ -477,7 +547,7 @@ module Google
477
547
  # @return [Array<String>]
478
548
  attr_accessor :instance_group_urls
479
549
 
480
- # The status of the nodes in this pool instance.
550
+ # [Output only] The status of the nodes in this pool instance.
481
551
  # Corresponds to the JSON property `status`
482
552
  # @return [String]
483
553
  attr_accessor :status
@@ -488,6 +558,18 @@ module Google
488
558
  # @return [String]
489
559
  attr_accessor :status_message
490
560
 
561
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
562
+ # adjust the size of the node pool to the current cluster usage.
563
+ # Corresponds to the JSON property `autoscaling`
564
+ # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
565
+ attr_accessor :autoscaling
566
+
567
+ # NodeManagement defines the set of node management services turned on for the
568
+ # node pool.
569
+ # Corresponds to the JSON property `management`
570
+ # @return [Google::Apis::ContainerV1::NodeManagement]
571
+ attr_accessor :management
572
+
491
573
  def initialize(**args)
492
574
  update!(**args)
493
575
  end
@@ -502,6 +584,99 @@ module Google
502
584
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
503
585
  @status = args[:status] if args.key?(:status)
504
586
  @status_message = args[:status_message] if args.key?(:status_message)
587
+ @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
588
+ @management = args[:management] if args.key?(:management)
589
+ end
590
+ end
591
+
592
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
593
+ # adjust the size of the node pool to the current cluster usage.
594
+ class NodePoolAutoscaling
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # Is autoscaling enabled for this node pool.
598
+ # Corresponds to the JSON property `enabled`
599
+ # @return [Boolean]
600
+ attr_accessor :enabled
601
+ alias_method :enabled?, :enabled
602
+
603
+ # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
604
+ # Corresponds to the JSON property `minNodeCount`
605
+ # @return [Fixnum]
606
+ attr_accessor :min_node_count
607
+
608
+ # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
609
+ # to enough quota to scale up the cluster.
610
+ # Corresponds to the JSON property `maxNodeCount`
611
+ # @return [Fixnum]
612
+ attr_accessor :max_node_count
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @enabled = args[:enabled] if args.key?(:enabled)
621
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
622
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
623
+ end
624
+ end
625
+
626
+ # NodeManagement defines the set of node management services turned on for the
627
+ # node pool.
628
+ class NodeManagement
629
+ include Google::Apis::Core::Hashable
630
+
631
+ # Whether the nodes will be automatically upgraded.
632
+ # Corresponds to the JSON property `autoUpgrade`
633
+ # @return [Boolean]
634
+ attr_accessor :auto_upgrade
635
+ alias_method :auto_upgrade?, :auto_upgrade
636
+
637
+ # AutoUpgradeOptions defines the set of options for the user to control how the
638
+ # Auto Upgrades will proceed.
639
+ # Corresponds to the JSON property `upgradeOptions`
640
+ # @return [Google::Apis::ContainerV1::AutoUpgradeOptions]
641
+ attr_accessor :upgrade_options
642
+
643
+ def initialize(**args)
644
+ update!(**args)
645
+ end
646
+
647
+ # Update properties of this object
648
+ def update!(**args)
649
+ @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade)
650
+ @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options)
651
+ end
652
+ end
653
+
654
+ # AutoUpgradeOptions defines the set of options for the user to control how the
655
+ # Auto Upgrades will proceed.
656
+ class AutoUpgradeOptions
657
+ include Google::Apis::Core::Hashable
658
+
659
+ # [Output only] This field is set when upgrades are about to commence with the
660
+ # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
661
+ # rfc3339.txt) text format.
662
+ # Corresponds to the JSON property `autoUpgradeStartTime`
663
+ # @return [String]
664
+ attr_accessor :auto_upgrade_start_time
665
+
666
+ # [Output only] This field is set when upgrades are about to commence with the
667
+ # description of the upgrade.
668
+ # Corresponds to the JSON property `description`
669
+ # @return [String]
670
+ attr_accessor :description
671
+
672
+ def initialize(**args)
673
+ update!(**args)
674
+ end
675
+
676
+ # Update properties of this object
677
+ def update!(**args)
678
+ @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time)
679
+ @description = args[:description] if args.key?(:description)
505
680
  end
506
681
  end
507
682
 
@@ -631,13 +806,34 @@ module Google
631
806
  # @return [Google::Apis::ContainerV1::AddonsConfig]
632
807
  attr_accessor :desired_addons_config
633
808
 
634
- # The node pool to be upgraded. This field is mandatory if the "
635
- # desired_node_version" or "desired_image_family" is specified and there is more
636
- # than one node pool on the cluster.
809
+ # The node pool to be upgraded. This field is mandatory if "desired_node_version"
810
+ # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and
811
+ # there is more than one node pool on the cluster.
637
812
  # Corresponds to the JSON property `desiredNodePoolId`
638
813
  # @return [String]
639
814
  attr_accessor :desired_node_pool_id
640
815
 
816
+ # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
817
+ # field as well.
818
+ # Corresponds to the JSON property `desiredImageType`
819
+ # @return [String]
820
+ attr_accessor :desired_image_type
821
+
822
+ # NodePoolAutoscaling contains information required by cluster autoscaler to
823
+ # adjust the size of the node pool to the current cluster usage.
824
+ # Corresponds to the JSON property `desiredNodePoolAutoscaling`
825
+ # @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
826
+ attr_accessor :desired_node_pool_autoscaling
827
+
828
+ # The desired list of Google Compute Engine [locations](/compute/docs/zones#
829
+ # available) in which the cluster's nodes should be located. Changing the
830
+ # locations a cluster is in will result in nodes being either created or removed
831
+ # from the cluster, depending on whether locations are being added or removed.
832
+ # This list must always include the cluster's primary zone.
833
+ # Corresponds to the JSON property `desiredLocations`
834
+ # @return [Array<String>]
835
+ attr_accessor :desired_locations
836
+
641
837
  # The Kubernetes version to change the master to. The only valid value is the
642
838
  # latest supported version. Use "-" to have the server automatically select the
643
839
  # latest version.
@@ -655,6 +851,9 @@ module Google
655
851
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
656
852
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
657
853
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
854
+ @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
855
+ @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
856
+ @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
658
857
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
659
858
  end
660
859
  end
@@ -685,6 +884,36 @@ module Google
685
884
  end
686
885
  end
687
886
 
887
+ # CancelOperationRequest cancels a single operation.
888
+ class CancelOperationRequest
889
+ include Google::Apis::Core::Hashable
890
+
891
+ def initialize(**args)
892
+ update!(**args)
893
+ end
894
+
895
+ # Update properties of this object
896
+ def update!(**args)
897
+ end
898
+ end
899
+
900
+ # A generic empty message that you can re-use to avoid defining duplicated empty
901
+ # messages in your APIs. A typical example is to use it as the request or the
902
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
903
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
904
+ # `Empty` is empty JSON object ````.
905
+ class Empty
906
+ include Google::Apis::Core::Hashable
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ end
915
+ end
916
+
688
917
  # Container Engine service configuration.
689
918
  class ServerConfig
690
919
  include Google::Apis::Core::Hashable
@@ -699,15 +928,20 @@ module Google
699
928
  # @return [Array<String>]
700
929
  attr_accessor :valid_node_versions
701
930
 
702
- # Default image family.
703
- # Corresponds to the JSON property `defaultImageFamily`
931
+ # Default image type.
932
+ # Corresponds to the JSON property `defaultImageType`
704
933
  # @return [String]
705
- attr_accessor :default_image_family
934
+ attr_accessor :default_image_type
706
935
 
707
- # List of valid image families.
708
- # Corresponds to the JSON property `validImageFamilies`
936
+ # List of valid image types.
937
+ # Corresponds to the JSON property `validImageTypes`
709
938
  # @return [Array<String>]
710
- attr_accessor :valid_image_families
939
+ attr_accessor :valid_image_types
940
+
941
+ # List of valid master versions.
942
+ # Corresponds to the JSON property `validMasterVersions`
943
+ # @return [Array<String>]
944
+ attr_accessor :valid_master_versions
711
945
 
712
946
  def initialize(**args)
713
947
  update!(**args)
@@ -717,8 +951,9 @@ module Google
717
951
  def update!(**args)
718
952
  @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
719
953
  @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
720
- @default_image_family = args[:default_image_family] if args.key?(:default_image_family)
721
- @valid_image_families = args[:valid_image_families] if args.key?(:valid_image_families)
954
+ @default_image_type = args[:default_image_type] if args.key?(:default_image_type)
955
+ @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
956
+ @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
722
957
  end
723
958
  end
724
959
 
@@ -764,6 +999,42 @@ module Google
764
999
  @node_pool = args[:node_pool] if args.key?(:node_pool)
765
1000
  end
766
1001
  end
1002
+
1003
+ # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
1004
+ # NodePool upgrade. This will be an no-op if the last upgrade successfully
1005
+ # completed.
1006
+ class RollbackNodePoolUpgradeRequest
1007
+ include Google::Apis::Core::Hashable
1008
+
1009
+ def initialize(**args)
1010
+ update!(**args)
1011
+ end
1012
+
1013
+ # Update properties of this object
1014
+ def update!(**args)
1015
+ end
1016
+ end
1017
+
1018
+ # SetNodePoolManagementRequest sets the node management properties of a node
1019
+ # pool.
1020
+ class SetNodePoolManagementRequest
1021
+ include Google::Apis::Core::Hashable
1022
+
1023
+ # NodeManagement defines the set of node management services turned on for the
1024
+ # node pool.
1025
+ # Corresponds to the JSON property `management`
1026
+ # @return [Google::Apis::ContainerV1::NodeManagement]
1027
+ attr_accessor :management
1028
+
1029
+ def initialize(**args)
1030
+ update!(**args)
1031
+ end
1032
+
1033
+ # Update properties of this object
1034
+ def update!(**args)
1035
+ @management = args[:management] if args.key?(:management)
1036
+ end
1037
+ end
767
1038
  end
768
1039
  end
769
1040
  end
@@ -70,6 +70,24 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class NodePoolAutoscaling
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class NodeManagement
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AutoUpgradeOptions
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class CreateClusterRequest
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -100,6 +118,18 @@ module Google
100
118
  include Google::Apis::Core::JsonObjectSupport
101
119
  end
102
120
 
121
+ class CancelOperationRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Empty
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
103
133
  class ServerConfig
104
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
135
 
@@ -118,6 +148,18 @@ module Google
118
148
  include Google::Apis::Core::JsonObjectSupport
119
149
  end
120
150
 
151
+ class RollbackNodePoolUpgradeRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class SetNodePoolManagementRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
121
163
  class ListClustersResponse
122
164
  # @private
123
165
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -147,6 +189,7 @@ module Google
147
189
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
148
190
 
149
191
  collection :locations, as: 'locations'
192
+ property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
150
193
  property :self_link, as: 'selfLink'
151
194
  property :zone, as: 'zone'
152
195
  property :endpoint, as: 'endpoint'
@@ -160,6 +203,7 @@ module Google
160
203
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
161
204
  collection :instance_group_urls, as: 'instanceGroupUrls'
162
205
  property :current_node_count, as: 'currentNodeCount'
206
+ property :expire_time, as: 'expireTime'
163
207
  end
164
208
  end
165
209
 
@@ -169,7 +213,13 @@ module Google
169
213
  property :machine_type, as: 'machineType'
170
214
  property :disk_size_gb, as: 'diskSizeGb'
171
215
  collection :oauth_scopes, as: 'oauthScopes'
216
+ property :service_account, as: 'serviceAccount'
172
217
  hash :metadata, as: 'metadata'
218
+ property :image_type, as: 'imageType'
219
+ hash :labels, as: 'labels'
220
+ property :local_ssd_count, as: 'localSsdCount'
221
+ collection :tags, as: 'tags'
222
+ property :preemptible, as: 'preemptible'
173
223
  end
174
224
  end
175
225
 
@@ -220,6 +270,36 @@ module Google
220
270
  collection :instance_group_urls, as: 'instanceGroupUrls'
221
271
  property :status, as: 'status'
222
272
  property :status_message, as: 'statusMessage'
273
+ property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
274
+
275
+ property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
276
+
277
+ end
278
+ end
279
+
280
+ class NodePoolAutoscaling
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :enabled, as: 'enabled'
284
+ property :min_node_count, as: 'minNodeCount'
285
+ property :max_node_count, as: 'maxNodeCount'
286
+ end
287
+ end
288
+
289
+ class NodeManagement
290
+ # @private
291
+ class Representation < Google::Apis::Core::JsonRepresentation
292
+ property :auto_upgrade, as: 'autoUpgrade'
293
+ property :upgrade_options, as: 'upgradeOptions', class: Google::Apis::ContainerV1::AutoUpgradeOptions, decorator: Google::Apis::ContainerV1::AutoUpgradeOptions::Representation
294
+
295
+ end
296
+ end
297
+
298
+ class AutoUpgradeOptions
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :auto_upgrade_start_time, as: 'autoUpgradeStartTime'
302
+ property :description, as: 'description'
223
303
  end
224
304
  end
225
305
 
@@ -261,6 +341,10 @@ module Google
261
341
  property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
262
342
 
263
343
  property :desired_node_pool_id, as: 'desiredNodePoolId'
344
+ property :desired_image_type, as: 'desiredImageType'
345
+ property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
346
+
347
+ collection :desired_locations, as: 'desiredLocations'
264
348
  property :desired_master_version, as: 'desiredMasterVersion'
265
349
  end
266
350
  end
@@ -274,13 +358,26 @@ module Google
274
358
  end
275
359
  end
276
360
 
361
+ class CancelOperationRequest
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ end
365
+ end
366
+
367
+ class Empty
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ end
371
+ end
372
+
277
373
  class ServerConfig
278
374
  # @private
279
375
  class Representation < Google::Apis::Core::JsonRepresentation
280
376
  property :default_cluster_version, as: 'defaultClusterVersion'
281
377
  collection :valid_node_versions, as: 'validNodeVersions'
282
- property :default_image_family, as: 'defaultImageFamily'
283
- collection :valid_image_families, as: 'validImageFamilies'
378
+ property :default_image_type, as: 'defaultImageType'
379
+ collection :valid_image_types, as: 'validImageTypes'
380
+ collection :valid_master_versions, as: 'validMasterVersions'
284
381
  end
285
382
  end
286
383
 
@@ -299,6 +396,20 @@ module Google
299
396
 
300
397
  end
301
398
  end
399
+
400
+ class RollbackNodePoolUpgradeRequest
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ end
404
+ end
405
+
406
+ class SetNodePoolManagementRequest
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
410
+
411
+ end
412
+ end
302
413
  end
303
414
  end
304
415
  end