google-apis-container_v1beta1 0.4.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '085a6dc064ce7f1f7746ae9eb9f139160a0ea929ded3b70c4cbf9fb05e2265ca'
4
- data.tar.gz: c644419f4b7f067b9db131fdb01fb55b9a5606d7c449d3af8161744c0931a6c4
3
+ metadata.gz: 928cb84d4871fe5b791be84e692de93befd901897ba7009228080e0dacb14a0c
4
+ data.tar.gz: 4b37ee1dbfedc5b980884679196e37402e6260059353adc34a0702330e30f9ca
5
5
  SHA512:
6
- metadata.gz: e7aa43ba2f83a1c38dd617ed02ba5e22c10052e63cca742062c05f7eea4269c06b8f767d1874d119f979f4bbb9cdcef0ec7f19180e78401b5c53c302929a0351
7
- data.tar.gz: 37a1f5321c35f7e79afb9448897f3291c2ddf1ab63ba263fb23d878261c4084bd5dbd329af7909530de72c73c02a6d991ab432a40ba858960274b76dd2f1d676
6
+ metadata.gz: 3eeeb0caffcf5b8e1f893e548168f2440e30c2cf9d25f236bf1191ffcb84f6cae4d1cea9891183c6a57f3e383d313084019793270dedc0d6e302a4afc9956f70
7
+ data.tar.gz: 132da4b04076fb8f10b78bc71923b51295024a1fe9c6bf7d7d6afcbf1d2993533ace5b25cff6354335251948a127f9eb51d7f4456a915feb2a5f2fee712dfa8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.9.0 (2021-05-26)
4
+
5
+ * Regenerated from discovery document revision 20210517
6
+
7
+ ### v0.8.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.7.0 (2021-05-13)
12
+
13
+ * Regenerated from discovery document revision 20210429
14
+
15
+ ### v0.6.0 (2021-03-24)
16
+
17
+ * Regenerated from discovery document revision 20210312
18
+
19
+ ### v0.5.0 (2021-03-12)
20
+
21
+ * Regenerated from discovery document revision 20210226
22
+ * Regenerated using generator version 0.2.0
23
+
3
24
  ### v0.4.0 (2021-03-06)
4
25
 
5
26
  * Regenerated from discovery document revision 20210224
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -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
 
@@ -184,8 +192,7 @@ module Google
184
192
  end
185
193
  end
186
194
 
187
- # Autopilot is the configuration for Autopilot settings on the cluster. It is
188
- # the official product name of what is previously known as AutoGKE
195
+ # Autopilot is the configuration for Autopilot settings on the cluster.
189
196
  class Autopilot
190
197
  include Google::Apis::Core::Hashable
191
198
 
@@ -503,8 +510,7 @@ module Google
503
510
  # @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
504
511
  attr_accessor :authenticator_groups_config
505
512
 
506
- # Autopilot is the configuration for Autopilot settings on the cluster. It is
507
- # the official product name of what is previously known as AutoGKE
513
+ # Autopilot is the configuration for Autopilot settings on the cluster.
508
514
  # Corresponds to the JSON property `autopilot`
509
515
  # @return [Google::Apis::ContainerV1beta1::Autopilot]
510
516
  attr_accessor :autopilot
@@ -617,6 +623,11 @@ module Google
617
623
  # @return [String]
618
624
  attr_accessor :expire_time
619
625
 
626
+ # Output only. Unique id for the cluster.
627
+ # Corresponds to the JSON property `id`
628
+ # @return [String]
629
+ attr_accessor :id
630
+
620
631
  # The initial Kubernetes version for this cluster. Valid versions are those
621
632
  # found in validMasterVersions returned by getServerConfig. The version can be
622
633
  # upgraded over time; such upgrades are reflected in currentMasterVersion and
@@ -776,6 +787,11 @@ module Google
776
787
  # @return [Fixnum]
777
788
  attr_accessor :node_ipv4_cidr_size
778
789
 
790
+ # Subset of Nodepool message that has defaults.
791
+ # Corresponds to the JSON property `nodePoolDefaults`
792
+ # @return [Google::Apis::ContainerV1beta1::NodePoolDefaults]
793
+ attr_accessor :node_pool_defaults
794
+
779
795
  # The node pools associated with this cluster. This field should not be set if "
780
796
  # node_config" or "initial_node_count" are specified.
781
797
  # Corresponds to the JSON property `nodePools`
@@ -880,6 +896,11 @@ module Google
880
896
  # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
881
897
  attr_accessor :vertical_pod_autoscaling
882
898
 
899
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
900
+ # Corresponds to the JSON property `workloadCertificates`
901
+ # @return [Google::Apis::ContainerV1beta1::WorkloadCertificates]
902
+ attr_accessor :workload_certificates
903
+
883
904
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
884
905
  # Corresponds to the JSON property `workloadIdentityConfig`
885
906
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
@@ -918,6 +939,7 @@ module Google
918
939
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
919
940
  @endpoint = args[:endpoint] if args.key?(:endpoint)
920
941
  @expire_time = args[:expire_time] if args.key?(:expire_time)
942
+ @id = args[:id] if args.key?(:id)
921
943
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
922
944
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
923
945
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -939,6 +961,7 @@ module Google
939
961
  @network_policy = args[:network_policy] if args.key?(:network_policy)
940
962
  @node_config = args[:node_config] if args.key?(:node_config)
941
963
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
964
+ @node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
942
965
  @node_pools = args[:node_pools] if args.key?(:node_pools)
943
966
  @notification_config = args[:notification_config] if args.key?(:notification_config)
944
967
  @pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
@@ -956,6 +979,7 @@ module Google
956
979
  @tpu_config = args[:tpu_config] if args.key?(:tpu_config)
957
980
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
958
981
  @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
982
+ @workload_certificates = args[:workload_certificates] if args.key?(:workload_certificates)
959
983
  @workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
960
984
  @zone = args[:zone] if args.key?(:zone)
961
985
  end
@@ -1040,6 +1064,11 @@ module Google
1040
1064
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
1041
1065
  attr_accessor :desired_addons_config
1042
1066
 
1067
+ # Autopilot is the configuration for Autopilot settings on the cluster.
1068
+ # Corresponds to the JSON property `desiredAutopilot`
1069
+ # @return [Google::Apis::ContainerV1beta1::Autopilot]
1070
+ attr_accessor :desired_autopilot
1071
+
1043
1072
  # Configuration for Binary Authorization.
1044
1073
  # Corresponds to the JSON property `desiredBinaryAuthorization`
1045
1074
  # @return [Google::Apis::ContainerV1beta1::BinaryAuthorization]
@@ -1073,6 +1102,11 @@ module Google
1073
1102
  # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
1074
1103
  attr_accessor :desired_default_snat_status
1075
1104
 
1105
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
1106
+ # Corresponds to the JSON property `desiredDnsConfig`
1107
+ # @return [Google::Apis::ContainerV1beta1::DnsConfig]
1108
+ attr_accessor :desired_dns_config
1109
+
1076
1110
  # The desired image type for the node pool. NOTE: Set the "desired_node_pool"
1077
1111
  # field as well.
1078
1112
  # Corresponds to the JSON property `desiredImageType`
@@ -1221,6 +1255,11 @@ module Google
1221
1255
  # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling]
1222
1256
  attr_accessor :desired_vertical_pod_autoscaling
1223
1257
 
1258
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
1259
+ # Corresponds to the JSON property `desiredWorkloadCertificates`
1260
+ # @return [Google::Apis::ContainerV1beta1::WorkloadCertificates]
1261
+ attr_accessor :desired_workload_certificates
1262
+
1224
1263
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
1225
1264
  # Corresponds to the JSON property `desiredWorkloadIdentityConfig`
1226
1265
  # @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
@@ -1233,12 +1272,14 @@ module Google
1233
1272
  # Update properties of this object
1234
1273
  def update!(**args)
1235
1274
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1275
+ @desired_autopilot = args[:desired_autopilot] if args.key?(:desired_autopilot)
1236
1276
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1237
1277
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1238
1278
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
1239
1279
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1240
1280
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1241
1281
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1282
+ @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1242
1283
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1243
1284
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1244
1285
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
@@ -1260,6 +1301,7 @@ module Google
1260
1301
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
1261
1302
  @desired_tpu_config = args[:desired_tpu_config] if args.key?(:desired_tpu_config)
1262
1303
  @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
1304
+ @desired_workload_certificates = args[:desired_workload_certificates] if args.key?(:desired_workload_certificates)
1263
1305
  @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
1264
1306
  end
1265
1307
  end
@@ -1465,6 +1507,37 @@ module Google
1465
1507
  end
1466
1508
  end
1467
1509
 
1510
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
1511
+ class DnsConfig
1512
+ include Google::Apis::Core::Hashable
1513
+
1514
+ # cluster_dns indicates which in-cluster DNS provider should be used.
1515
+ # Corresponds to the JSON property `clusterDns`
1516
+ # @return [String]
1517
+ attr_accessor :cluster_dns
1518
+
1519
+ # cluster_dns_domain is the suffix used for all cluster service records.
1520
+ # Corresponds to the JSON property `clusterDnsDomain`
1521
+ # @return [String]
1522
+ attr_accessor :cluster_dns_domain
1523
+
1524
+ # cluster_dns_scope indicates the scope of access to cluster DNS records.
1525
+ # Corresponds to the JSON property `clusterDnsScope`
1526
+ # @return [String]
1527
+ attr_accessor :cluster_dns_scope
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @cluster_dns = args[:cluster_dns] if args.key?(:cluster_dns)
1536
+ @cluster_dns_domain = args[:cluster_dns_domain] if args.key?(:cluster_dns_domain)
1537
+ @cluster_dns_scope = args[:cluster_dns_scope] if args.key?(:cluster_dns_scope)
1538
+ end
1539
+ end
1540
+
1468
1541
  # Time window specified for daily maintenance operations.
1469
1542
  class DailyMaintenanceWindow
1470
1543
  include Google::Apis::Core::Hashable
@@ -1518,6 +1591,47 @@ module Google
1518
1591
  end
1519
1592
  end
1520
1593
 
1594
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1595
+ # day and time zone are either specified elsewhere or are insignificant. The
1596
+ # date is relative to the Gregorian Calendar. This can represent one of the
1597
+ # following: * A full date, with non-zero year, month, and day values * A month
1598
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1599
+ # with zero month and day values * A year and month value, with a zero day, such
1600
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1601
+ # google.protobuf.Timestamp`.
1602
+ class Date
1603
+ include Google::Apis::Core::Hashable
1604
+
1605
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1606
+ # specify a year by itself or a year and month where the day isn't significant.
1607
+ # Corresponds to the JSON property `day`
1608
+ # @return [Fixnum]
1609
+ attr_accessor :day
1610
+
1611
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1612
+ # and day.
1613
+ # Corresponds to the JSON property `month`
1614
+ # @return [Fixnum]
1615
+ attr_accessor :month
1616
+
1617
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1618
+ # year.
1619
+ # Corresponds to the JSON property `year`
1620
+ # @return [Fixnum]
1621
+ attr_accessor :year
1622
+
1623
+ def initialize(**args)
1624
+ update!(**args)
1625
+ end
1626
+
1627
+ # Update properties of this object
1628
+ def update!(**args)
1629
+ @day = args[:day] if args.key?(:day)
1630
+ @month = args[:month] if args.key?(:month)
1631
+ @year = args[:year] if args.key?(:year)
1632
+ end
1633
+ end
1634
+
1521
1635
  # DefaultSnatStatus contains the desired state of whether default sNAT should be
1522
1636
  # disabled on the cluster.
1523
1637
  class DefaultSnatStatus
@@ -2554,6 +2668,11 @@ module Google
2554
2668
  # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
2555
2669
  attr_accessor :default_snat_status
2556
2670
 
2671
+ # DNSConfig contains the desired set of options for configuring clusterDNS.
2672
+ # Corresponds to the JSON property `dnsConfig`
2673
+ # @return [Google::Apis::ContainerV1beta1::DnsConfig]
2674
+ attr_accessor :dns_config
2675
+
2557
2676
  # Whether Intra-node visibility is enabled for this cluster. This makes same
2558
2677
  # node pod to pod traffic visible for VPC network.
2559
2678
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -2595,6 +2714,7 @@ module Google
2595
2714
  def update!(**args)
2596
2715
  @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
2597
2716
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2717
+ @dns_config = args[:dns_config] if args.key?(:dns_config)
2598
2718
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2599
2719
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
2600
2720
  @network = args[:network] if args.key?(:network)
@@ -2653,7 +2773,7 @@ module Google
2653
2773
  end
2654
2774
 
2655
2775
  # Collection of Compute Engine network tags that can be applied to a node's
2656
- # underyling VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
2776
+ # underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
2657
2777
  # docs/reference/rest/v1/NodeConfig)).
2658
2778
  class NetworkTags
2659
2779
  include Google::Apis::Core::Hashable
@@ -2886,6 +3006,19 @@ module Google
2886
3006
  end
2887
3007
  end
2888
3008
 
3009
+ # Subset of NodeConfig message that has defaults.
3010
+ class NodeConfigDefaults
3011
+ include Google::Apis::Core::Hashable
3012
+
3013
+ def initialize(**args)
3014
+ update!(**args)
3015
+ end
3016
+
3017
+ # Update properties of this object
3018
+ def update!(**args)
3019
+ end
3020
+ end
3021
+
2889
3022
  # Node kubelet configs.
2890
3023
  class NodeKubeletConfig
2891
3024
  include Google::Apis::Core::Hashable
@@ -2992,11 +3125,10 @@ module Google
2992
3125
  class NodeNetworkConfig
2993
3126
  include Google::Apis::Core::Hashable
2994
3127
 
2995
- # Input only. [Input only] Whether to create a new range for pod IPs in this
2996
- # node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if
2997
- # they are not specified. If neither `create_pod_range` or `pod_range` are
2998
- # specified, the cluster-level default (`ip_allocation_policy.
2999
- # cluster_ipv4_cidr_block`) is used.
3128
+ # Input only. Whether to create a new range for pod IPs in this node pool.
3129
+ # Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
3130
+ # not specified. If neither `create_pod_range` or `pod_range` are specified, the
3131
+ # cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used.
3000
3132
  # Corresponds to the JSON property `createPodRange`
3001
3133
  # @return [Boolean]
3002
3134
  attr_accessor :create_pod_range
@@ -3005,14 +3137,16 @@ module Google
3005
3137
  # The IP address range for pod IPs in this node pool. Only applicable if `
3006
3138
  # create_pod_range` is true. Set to blank to have a range chosen with the
3007
3139
  # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
3008
- # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
3009
- # Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use.
3140
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
3141
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a
3142
+ # specific range to use.
3010
3143
  # Corresponds to the JSON property `podIpv4CidrBlock`
3011
3144
  # @return [String]
3012
3145
  attr_accessor :pod_ipv4_cidr_block
3013
3146
 
3014
3147
  # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
3015
- # ID is used for the new range.
3148
+ # ID is used for the new range. If `create_pod_range` is false, uses an existing
3149
+ # secondary range with this ID.
3016
3150
  # Corresponds to the JSON property `podRange`
3017
3151
  # @return [String]
3018
3152
  attr_accessor :pod_range
@@ -3211,6 +3345,25 @@ module Google
3211
3345
  end
3212
3346
  end
3213
3347
 
3348
+ # Subset of Nodepool message that has defaults.
3349
+ class NodePoolDefaults
3350
+ include Google::Apis::Core::Hashable
3351
+
3352
+ # Subset of NodeConfig message that has defaults.
3353
+ # Corresponds to the JSON property `nodeConfigDefaults`
3354
+ # @return [Google::Apis::ContainerV1beta1::NodeConfigDefaults]
3355
+ attr_accessor :node_config_defaults
3356
+
3357
+ def initialize(**args)
3358
+ update!(**args)
3359
+ end
3360
+
3361
+ # Update properties of this object
3362
+ def update!(**args)
3363
+ @node_config_defaults = args[:node_config_defaults] if args.key?(:node_config_defaults)
3364
+ end
3365
+ end
3366
+
3214
3367
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3215
3368
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
3216
3369
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -3884,6 +4037,11 @@ module Google
3884
4037
  # @return [Array<String>]
3885
4038
  attr_accessor :valid_node_versions
3886
4039
 
4040
+ # Maps of Kubernetes version and supported Windows server versions.
4041
+ # Corresponds to the JSON property `windowsVersionMaps`
4042
+ # @return [Hash<String,Google::Apis::ContainerV1beta1::WindowsVersions>]
4043
+ attr_accessor :windows_version_maps
4044
+
3887
4045
  def initialize(**args)
3888
4046
  update!(**args)
3889
4047
  end
@@ -3896,6 +4054,7 @@ module Google
3896
4054
  @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types)
3897
4055
  @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions)
3898
4056
  @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
4057
+ @windows_version_maps = args[:windows_version_maps] if args.key?(:windows_version_maps)
3899
4058
  end
3900
4059
  end
3901
4060
 
@@ -4962,7 +5121,7 @@ module Google
4962
5121
  attr_accessor :project_id
4963
5122
 
4964
5123
  # Collection of Compute Engine network tags that can be applied to a node's
4965
- # underyling VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
5124
+ # underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
4966
5125
  # docs/reference/rest/v1/NodeConfig)).
4967
5126
  # Corresponds to the JSON property `tags`
4968
5127
  # @return [Google::Apis::ContainerV1beta1::NetworkTags]
@@ -5042,8 +5201,8 @@ module Google
5042
5201
  # @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
5043
5202
  attr_accessor :release_channel
5044
5203
 
5045
- # Optional. Optional relative path to the resource. For example, the relative
5046
- # path of the node pool.
5204
+ # Optional relative path to the resource. For example, the relative path of the
5205
+ # node pool.
5047
5206
  # Corresponds to the JSON property `resource`
5048
5207
  # @return [String]
5049
5208
  attr_accessor :resource
@@ -5264,6 +5423,87 @@ module Google
5264
5423
  end
5265
5424
  end
5266
5425
 
5426
+ # Windows server version.
5427
+ class WindowsVersion
5428
+ include Google::Apis::Core::Hashable
5429
+
5430
+ # Windows server image type
5431
+ # Corresponds to the JSON property `imageType`
5432
+ # @return [String]
5433
+ attr_accessor :image_type
5434
+
5435
+ # Windows server build number
5436
+ # Corresponds to the JSON property `osVersion`
5437
+ # @return [String]
5438
+ attr_accessor :os_version
5439
+
5440
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5441
+ # day and time zone are either specified elsewhere or are insignificant. The
5442
+ # date is relative to the Gregorian Calendar. This can represent one of the
5443
+ # following: * A full date, with non-zero year, month, and day values * A month
5444
+ # and day value, with a zero year, such as an anniversary * A year on its own,
5445
+ # with zero month and day values * A year and month value, with a zero day, such
5446
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
5447
+ # google.protobuf.Timestamp`.
5448
+ # Corresponds to the JSON property `supportEndDate`
5449
+ # @return [Google::Apis::ContainerV1beta1::Date]
5450
+ attr_accessor :support_end_date
5451
+
5452
+ def initialize(**args)
5453
+ update!(**args)
5454
+ end
5455
+
5456
+ # Update properties of this object
5457
+ def update!(**args)
5458
+ @image_type = args[:image_type] if args.key?(:image_type)
5459
+ @os_version = args[:os_version] if args.key?(:os_version)
5460
+ @support_end_date = args[:support_end_date] if args.key?(:support_end_date)
5461
+ end
5462
+ end
5463
+
5464
+ # Windows server versions.
5465
+ class WindowsVersions
5466
+ include Google::Apis::Core::Hashable
5467
+
5468
+ # List of Windows server versions.
5469
+ # Corresponds to the JSON property `windowsVersions`
5470
+ # @return [Array<Google::Apis::ContainerV1beta1::WindowsVersion>]
5471
+ attr_accessor :windows_versions
5472
+
5473
+ def initialize(**args)
5474
+ update!(**args)
5475
+ end
5476
+
5477
+ # Update properties of this object
5478
+ def update!(**args)
5479
+ @windows_versions = args[:windows_versions] if args.key?(:windows_versions)
5480
+ end
5481
+ end
5482
+
5483
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
5484
+ class WorkloadCertificates
5485
+ include Google::Apis::Core::Hashable
5486
+
5487
+ # enable_certificates controls issuance of workload mTLS certificates. If set,
5488
+ # the GKE Workload Identity Certificates controller and node agent will be
5489
+ # deployed in the cluster, which can then be configured by creating a
5490
+ # WorkloadCertificateConfig Custom Resource. Requires Workload Identity (
5491
+ # workload_pool must be non-empty).
5492
+ # Corresponds to the JSON property `enableCertificates`
5493
+ # @return [Boolean]
5494
+ attr_accessor :enable_certificates
5495
+ alias_method :enable_certificates?, :enable_certificates
5496
+
5497
+ def initialize(**args)
5498
+ update!(**args)
5499
+ end
5500
+
5501
+ # Update properties of this object
5502
+ def update!(**args)
5503
+ @enable_certificates = args[:enable_certificates] if args.key?(:enable_certificates)
5504
+ end
5505
+ end
5506
+
5267
5507
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
5268
5508
  class WorkloadIdentityConfig
5269
5509
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210224"
25
+ REVISION = "20210517"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class DnsConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class DailyMaintenanceWindow
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class Date
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class DefaultSnatStatus
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -394,6 +406,12 @@ module Google
394
406
  include Google::Apis::Core::JsonObjectSupport
395
407
  end
396
408
 
409
+ class NodeConfigDefaults
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
397
415
  class NodeKubeletConfig
398
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
417
 
@@ -430,6 +448,12 @@ module Google
430
448
  include Google::Apis::Core::JsonObjectSupport
431
449
  end
432
450
 
451
+ class NodePoolDefaults
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class NodeTaint
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -706,6 +730,24 @@ module Google
706
730
  include Google::Apis::Core::JsonObjectSupport
707
731
  end
708
732
 
733
+ class WindowsVersion
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class WindowsVersions
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class WorkloadCertificates
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
709
751
  class WorkloadIdentityConfig
710
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
753
 
@@ -723,6 +765,7 @@ module Google
723
765
  class Representation < Google::Apis::Core::JsonRepresentation
724
766
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
725
767
  property :accelerator_type, as: 'acceleratorType'
768
+ property :gpu_partition_size, as: 'gpuPartitionSize'
726
769
  end
727
770
  end
728
771
 
@@ -881,6 +924,7 @@ module Google
881
924
  property :enable_tpu, as: 'enableTpu'
882
925
  property :endpoint, as: 'endpoint'
883
926
  property :expire_time, as: 'expireTime'
927
+ property :id, as: 'id'
884
928
  property :initial_cluster_version, as: 'initialClusterVersion'
885
929
  property :initial_node_count, as: 'initialNodeCount'
886
930
  collection :instance_group_urls, as: 'instanceGroupUrls'
@@ -911,6 +955,8 @@ module Google
911
955
  property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
912
956
 
913
957
  property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
958
+ property :node_pool_defaults, as: 'nodePoolDefaults', class: Google::Apis::ContainerV1beta1::NodePoolDefaults, decorator: Google::Apis::ContainerV1beta1::NodePoolDefaults::Representation
959
+
914
960
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1beta1::NodePool, decorator: Google::Apis::ContainerV1beta1::NodePool::Representation
915
961
 
916
962
  property :notification_config, as: 'notificationConfig', class: Google::Apis::ContainerV1beta1::NotificationConfig, decorator: Google::Apis::ContainerV1beta1::NotificationConfig::Representation
@@ -937,6 +983,8 @@ module Google
937
983
  property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
938
984
  property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
939
985
 
986
+ property :workload_certificates, as: 'workloadCertificates', class: Google::Apis::ContainerV1beta1::WorkloadCertificates, decorator: Google::Apis::ContainerV1beta1::WorkloadCertificates::Representation
987
+
940
988
  property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
941
989
 
942
990
  property :zone, as: 'zone'
@@ -968,6 +1016,8 @@ module Google
968
1016
  class Representation < Google::Apis::Core::JsonRepresentation
969
1017
  property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
970
1018
 
1019
+ property :desired_autopilot, as: 'desiredAutopilot', class: Google::Apis::ContainerV1beta1::Autopilot, decorator: Google::Apis::ContainerV1beta1::Autopilot::Representation
1020
+
971
1021
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
972
1022
 
973
1023
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
@@ -979,6 +1029,8 @@ module Google
979
1029
  property :desired_datapath_provider, as: 'desiredDatapathProvider'
980
1030
  property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
981
1031
 
1032
+ property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1033
+
982
1034
  property :desired_image_type, as: 'desiredImageType'
983
1035
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
984
1036
 
@@ -1013,6 +1065,8 @@ module Google
1013
1065
 
1014
1066
  property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
1015
1067
 
1068
+ property :desired_workload_certificates, as: 'desiredWorkloadCertificates', class: Google::Apis::ContainerV1beta1::WorkloadCertificates, decorator: Google::Apis::ContainerV1beta1::WorkloadCertificates::Representation
1069
+
1016
1070
  property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadIdentityConfig::Representation
1017
1071
 
1018
1072
  end
@@ -1072,6 +1126,15 @@ module Google
1072
1126
  end
1073
1127
  end
1074
1128
 
1129
+ class DnsConfig
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :cluster_dns, as: 'clusterDns'
1133
+ property :cluster_dns_domain, as: 'clusterDnsDomain'
1134
+ property :cluster_dns_scope, as: 'clusterDnsScope'
1135
+ end
1136
+ end
1137
+
1075
1138
  class DailyMaintenanceWindow
1076
1139
  # @private
1077
1140
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1088,6 +1151,15 @@ module Google
1088
1151
  end
1089
1152
  end
1090
1153
 
1154
+ class Date
1155
+ # @private
1156
+ class Representation < Google::Apis::Core::JsonRepresentation
1157
+ property :day, as: 'day'
1158
+ property :month, as: 'month'
1159
+ property :year, as: 'year'
1160
+ end
1161
+ end
1162
+
1091
1163
  class DefaultSnatStatus
1092
1164
  # @private
1093
1165
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1380,6 +1452,8 @@ module Google
1380
1452
  property :datapath_provider, as: 'datapathProvider'
1381
1453
  property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
1382
1454
 
1455
+ property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1456
+
1383
1457
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1384
1458
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1385
1459
  property :network, as: 'network'
@@ -1448,6 +1522,12 @@ module Google
1448
1522
  end
1449
1523
  end
1450
1524
 
1525
+ class NodeConfigDefaults
1526
+ # @private
1527
+ class Representation < Google::Apis::Core::JsonRepresentation
1528
+ end
1529
+ end
1530
+
1451
1531
  class NodeKubeletConfig
1452
1532
  # @private
1453
1533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1522,6 +1602,14 @@ module Google
1522
1602
  end
1523
1603
  end
1524
1604
 
1605
+ class NodePoolDefaults
1606
+ # @private
1607
+ class Representation < Google::Apis::Core::JsonRepresentation
1608
+ property :node_config_defaults, as: 'nodeConfigDefaults', class: Google::Apis::ContainerV1beta1::NodeConfigDefaults, decorator: Google::Apis::ContainerV1beta1::NodeConfigDefaults::Representation
1609
+
1610
+ end
1611
+ end
1612
+
1525
1613
  class NodeTaint
1526
1614
  # @private
1527
1615
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1705,6 +1793,8 @@ module Google
1705
1793
  collection :valid_image_types, as: 'validImageTypes'
1706
1794
  collection :valid_master_versions, as: 'validMasterVersions'
1707
1795
  collection :valid_node_versions, as: 'validNodeVersions'
1796
+ hash :windows_version_maps, as: 'windowsVersionMaps', class: Google::Apis::ContainerV1beta1::WindowsVersions, decorator: Google::Apis::ContainerV1beta1::WindowsVersions::Representation
1797
+
1708
1798
  end
1709
1799
  end
1710
1800
 
@@ -2022,6 +2112,31 @@ module Google
2022
2112
  end
2023
2113
  end
2024
2114
 
2115
+ class WindowsVersion
2116
+ # @private
2117
+ class Representation < Google::Apis::Core::JsonRepresentation
2118
+ property :image_type, as: 'imageType'
2119
+ property :os_version, as: 'osVersion'
2120
+ property :support_end_date, as: 'supportEndDate', class: Google::Apis::ContainerV1beta1::Date, decorator: Google::Apis::ContainerV1beta1::Date::Representation
2121
+
2122
+ end
2123
+ end
2124
+
2125
+ class WindowsVersions
2126
+ # @private
2127
+ class Representation < Google::Apis::Core::JsonRepresentation
2128
+ collection :windows_versions, as: 'windowsVersions', class: Google::Apis::ContainerV1beta1::WindowsVersion, decorator: Google::Apis::ContainerV1beta1::WindowsVersion::Representation
2129
+
2130
+ end
2131
+ end
2132
+
2133
+ class WorkloadCertificates
2134
+ # @private
2135
+ class Representation < Google::Apis::Core::JsonRepresentation
2136
+ property :enable_certificates, as: 'enableCertificates'
2137
+ end
2138
+ end
2139
+
2025
2140
  class WorkloadIdentityConfig
2026
2141
  # @private
2027
2142
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.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-03-08 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Kubernetes Engine API V1beta1