google-apis-container_v1 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d494084330f4be087fd54bf1239814e039b36ff47c51e5fd1fee44c766e5ba8
4
- data.tar.gz: eba379e9f0d2346801fc9ee2e99591067586b8dfb5f22eb02e9b6212500abae2
3
+ metadata.gz: 8fed29d86613f9e5c87c4c6933103198f905b964aaf9bd2d59734ab7fb8704a8
4
+ data.tar.gz: 1a84235186900de4f2f8f8bd1819265e2562b1d511f8a99676cb255c9fdc5156
5
5
  SHA512:
6
- metadata.gz: 18bed542a9047f62d1801dc730fdd3ab2e9e9a245e5ba0ad9a5aa53f54651fb6717dbd2ab080f10a12d41379d425bd6d8c438a0c9a01698a9a71bc684fbee0e5
7
- data.tar.gz: 98e9e6f655298073f9283bbcd4c9260b09eba94759cdbff8cb2df99f200947b32818c16663e9f79c2c89935b999b8a601aa9846c6df2ea199f0a31f3efab6836
6
+ metadata.gz: '01194209ba78dce6f05ce0e3a62a056972bcc74e1693d85f3a6bdc03f11fed1872436ee871c4703040a704c1f3635b45bd745b3d05ab7d6b218b2a7ccb0f8c8e'
7
+ data.tar.gz: bc2ab38813dc2b304123cc18b3aaccbe8087b8fa09521e6ec137c366f173cdc981fbf8117c5ef5223623914751d2008d038e214c68a71694762ccc57314e5b68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.16.0 (2021-09-03)
4
+
5
+ * Regenerated from discovery document revision 20210820
6
+
3
7
  ### v0.15.0 (2021-08-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20210722
@@ -37,6 +37,13 @@ module Google
37
37
  # @return [String]
38
38
  attr_accessor :accelerator_type
39
39
 
40
+ # Size of partitions to create on the GPU. Valid values are described in the
41
+ # NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
42
+ # guide/#partitioning).
43
+ # Corresponds to the JSON property `gpuPartitionSize`
44
+ # @return [String]
45
+ attr_accessor :gpu_partition_size
46
+
40
47
  def initialize(**args)
41
48
  update!(**args)
42
49
  end
@@ -45,6 +52,7 @@ module Google
45
52
  def update!(**args)
46
53
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
47
54
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
55
+ @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
48
56
  end
49
57
  end
50
58
 
@@ -73,6 +81,11 @@ module Google
73
81
  # @return [Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig]
74
82
  attr_accessor :gce_persistent_disk_csi_driver_config
75
83
 
84
+ # Configuration for the GCP Filestore CSI driver.
85
+ # Corresponds to the JSON property `gcpFilestoreCsiDriverConfig`
86
+ # @return [Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig]
87
+ attr_accessor :gcp_filestore_csi_driver_config
88
+
76
89
  # Configuration options for the horizontal pod autoscaling feature, which
77
90
  # increases or decreases the number of replica pods a replication controller has
78
91
  # based on the resource usage of the existing pods.
@@ -108,6 +121,7 @@ module Google
108
121
  @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
109
122
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
110
123
  @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
124
+ @gcp_filestore_csi_driver_config = args[:gcp_filestore_csi_driver_config] if args.key?(:gcp_filestore_csi_driver_config)
111
125
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
112
126
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
113
127
  @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@@ -1507,6 +1521,26 @@ module Google
1507
1521
  end
1508
1522
  end
1509
1523
 
1524
+ # Configuration for the GCP Filestore CSI driver.
1525
+ class GcpFilestoreCsiDriverConfig
1526
+ include Google::Apis::Core::Hashable
1527
+
1528
+ # Whether the GCP Filestore CSI driver is enabled for this cluster.
1529
+ # Corresponds to the JSON property `enabled`
1530
+ # @return [Boolean]
1531
+ attr_accessor :enabled
1532
+ alias_method :enabled?, :enabled
1533
+
1534
+ def initialize(**args)
1535
+ update!(**args)
1536
+ end
1537
+
1538
+ # Update properties of this object
1539
+ def update!(**args)
1540
+ @enabled = args[:enabled] if args.key?(:enabled)
1541
+ end
1542
+ end
1543
+
1510
1544
  # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
1511
1545
  class GetJsonWebKeysResponse
1512
1546
  include Google::Apis::Core::Hashable
@@ -2512,6 +2546,11 @@ module Google
2512
2546
  # @return [String]
2513
2547
  attr_accessor :disk_type
2514
2548
 
2549
+ # Configuration of gVNIC feature.
2550
+ # Corresponds to the JSON property `gvnic`
2551
+ # @return [Google::Apis::ContainerV1::VirtualNic]
2552
+ attr_accessor :gvnic
2553
+
2515
2554
  # The image type to use for this node. Note that for a given image type, the
2516
2555
  # latest version of it will be used.
2517
2556
  # Corresponds to the JSON property `imageType`
@@ -2563,9 +2602,8 @@ module Google
2563
2602
  # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2564
2603
  # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2565
2604
  # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2566
- # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2567
- # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2568
- # form strings, and only have meaning as interpreted by the image running in the
2605
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form
2606
+ # strings, and only have meaning as interpreted by the image running in the
2569
2607
  # instance. The only restriction placed on them is that each value's size must
2570
2608
  # be less than or equal to 32 KB. The total size of all keys and values must be
2571
2609
  # less than 512 KB.
@@ -2666,6 +2704,7 @@ module Google
2666
2704
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
2667
2705
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2668
2706
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2707
+ @gvnic = args[:gvnic] if args.key?(:gvnic)
2669
2708
  @image_type = args[:image_type] if args.key?(:image_type)
2670
2709
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
2671
2710
  @labels = args[:labels] if args.key?(:labels)
@@ -4604,6 +4643,11 @@ module Google
4604
4643
  # @return [String]
4605
4644
  attr_accessor :cluster_id
4606
4645
 
4646
+ # Configuration of gVNIC feature.
4647
+ # Corresponds to the JSON property `gvnic`
4648
+ # @return [Google::Apis::ContainerV1::VirtualNic]
4649
+ attr_accessor :gvnic
4650
+
4607
4651
  # Required. The desired image type for the node pool.
4608
4652
  # Corresponds to the JSON property `imageType`
4609
4653
  # @return [String]
@@ -4696,6 +4740,7 @@ module Google
4696
4740
  # Update properties of this object
4697
4741
  def update!(**args)
4698
4742
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
4743
+ @gvnic = args[:gvnic] if args.key?(:gvnic)
4699
4744
  @image_type = args[:image_type] if args.key?(:image_type)
4700
4745
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4701
4746
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
@@ -4945,6 +4990,26 @@ module Google
4945
4990
  end
4946
4991
  end
4947
4992
 
4993
+ # Configuration of gVNIC feature.
4994
+ class VirtualNic
4995
+ include Google::Apis::Core::Hashable
4996
+
4997
+ # Whether gVNIC features are enabled in the node pool.
4998
+ # Corresponds to the JSON property `enabled`
4999
+ # @return [Boolean]
5000
+ attr_accessor :enabled
5001
+ alias_method :enabled?, :enabled
5002
+
5003
+ def initialize(**args)
5004
+ update!(**args)
5005
+ end
5006
+
5007
+ # Update properties of this object
5008
+ def update!(**args)
5009
+ @enabled = args[:enabled] if args.key?(:enabled)
5010
+ end
5011
+ end
5012
+
4948
5013
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4949
5014
  class WorkloadIdentityConfig
4950
5015
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210722"
25
+ REVISION = "20210820"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class GcpFilestoreCsiDriverConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class GetJsonWebKeysResponse
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -652,6 +658,12 @@ module Google
652
658
  include Google::Apis::Core::JsonObjectSupport
653
659
  end
654
660
 
661
+ class VirtualNic
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
655
667
  class WorkloadIdentityConfig
656
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
669
 
@@ -669,6 +681,7 @@ module Google
669
681
  class Representation < Google::Apis::Core::JsonRepresentation
670
682
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
671
683
  property :accelerator_type, as: 'acceleratorType'
684
+ property :gpu_partition_size, as: 'gpuPartitionSize'
672
685
  end
673
686
  end
674
687
 
@@ -683,6 +696,8 @@ module Google
683
696
 
684
697
  property :gce_persistent_disk_csi_driver_config, as: 'gcePersistentDiskCsiDriverConfig', class: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig::Representation
685
698
 
699
+ property :gcp_filestore_csi_driver_config, as: 'gcpFilestoreCsiDriverConfig', class: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig::Representation
700
+
686
701
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
687
702
 
688
703
  property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
@@ -1038,6 +1053,13 @@ module Google
1038
1053
  end
1039
1054
  end
1040
1055
 
1056
+ class GcpFilestoreCsiDriverConfig
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :enabled, as: 'enabled'
1060
+ end
1061
+ end
1062
+
1041
1063
  class GetJsonWebKeysResponse
1042
1064
  # @private
1043
1065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1317,6 +1339,8 @@ module Google
1317
1339
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1318
1340
  property :disk_size_gb, as: 'diskSizeGb'
1319
1341
  property :disk_type, as: 'diskType'
1342
+ property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1343
+
1320
1344
  property :image_type, as: 'imageType'
1321
1345
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1322
1346
 
@@ -1802,6 +1826,8 @@ module Google
1802
1826
  # @private
1803
1827
  class Representation < Google::Apis::Core::JsonRepresentation
1804
1828
  property :cluster_id, as: 'clusterId'
1829
+ property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1830
+
1805
1831
  property :image_type, as: 'imageType'
1806
1832
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1807
1833
 
@@ -1879,6 +1905,13 @@ module Google
1879
1905
  end
1880
1906
  end
1881
1907
 
1908
+ class VirtualNic
1909
+ # @private
1910
+ class Representation < Google::Apis::Core::JsonRepresentation
1911
+ property :enabled, as: 'enabled'
1912
+ end
1913
+ end
1914
+
1882
1915
  class WorkloadIdentityConfig
1883
1916
  # @private
1884
1917
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []