google-apis-container_v1beta1 0.39.0 → 0.40.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: 35291b4c83e31bbaa5f42e8f03b0d8cd9d29131db03f363ca3fb0351e570e165
4
- data.tar.gz: a8fefb4cbabc5b3befc33ed03efed0b2418dc24fe49b1e8fe07023b3dd7918d8
3
+ metadata.gz: 1091a2d7d41dd84ddc7536ef75cf0fc39f8436f650aab1f783e4aa9c65b62f01
4
+ data.tar.gz: 1ff272a7955adaf9b89e389c0f0f11277d9f1c50a9cb06450b2058a7a500b83a
5
5
  SHA512:
6
- metadata.gz: e2d80cd0f217abb37893517fbdfc8cb4e4c887308f035ae8abb6661f2933827f4fbb43907e9626aa85922ff1c53fb9f2fac93f843500d8b9ddfd8b36a97fd17e
7
- data.tar.gz: 56d62f73b139ecc83d9bf4c3d0503ebdfc04b17587fe4e82976b87690a043fc04f97857dea48752fab8eb531f197adb44abb009f0480e5e305ea1f1a4ef1c807
6
+ metadata.gz: e06d4be79cb1405233cfc88c56a8685cfb53663bf34c6bba63420cf749b3850ae15ea1f348f74d8808e4a68490baaa2455acaa2db001c0b2e69cadf02e9b130a
7
+ data.tar.gz: fe3e2776f9f4d03fadc70cce21d412f7507340f2580cbe68dc3a6aa2e7bb41eaf86c436a1b8f3f3ce08ee7191e97b422ed8400877bb4a3aab677157686feb23d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.40.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221017
6
+
3
7
  ### v0.39.0 (2022-10-19)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -1302,6 +1302,17 @@ module Google
1302
1302
  # @return [Google::Apis::ContainerV1beta1::DnsConfig]
1303
1303
  attr_accessor :desired_dns_config
1304
1304
 
1305
+ # Enable/Disable private endpoint for the cluster's master.
1306
+ # Corresponds to the JSON property `desiredEnablePrivateEndpoint`
1307
+ # @return [Boolean]
1308
+ attr_accessor :desired_enable_private_endpoint
1309
+ alias_method :desired_enable_private_endpoint?, :desired_enable_private_endpoint
1310
+
1311
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
1312
+ # Corresponds to the JSON property `desiredGatewayApiConfig`
1313
+ # @return [Google::Apis::ContainerV1beta1::GatewayApiConfig]
1314
+ attr_accessor :desired_gateway_api_config
1315
+
1305
1316
  # GcfsConfig contains configurations of Google Container File System.
1306
1317
  # Corresponds to the JSON property `desiredGcfsConfig`
1307
1318
  # @return [Google::Apis::ContainerV1beta1::GcfsConfig]
@@ -1530,6 +1541,8 @@ module Google
1530
1541
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1531
1542
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1532
1543
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1544
+ @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1545
+ @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
1533
1546
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1534
1547
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
1535
1548
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
@@ -2066,6 +2079,25 @@ module Google
2066
2079
  end
2067
2080
  end
2068
2081
 
2082
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
2083
+ class GatewayApiConfig
2084
+ include Google::Apis::Core::Hashable
2085
+
2086
+ # The Gateway API release channel to use for Gateway API.
2087
+ # Corresponds to the JSON property `channel`
2088
+ # @return [String]
2089
+ attr_accessor :channel
2090
+
2091
+ def initialize(**args)
2092
+ update!(**args)
2093
+ end
2094
+
2095
+ # Update properties of this object
2096
+ def update!(**args)
2097
+ @channel = args[:channel] if args.key?(:channel)
2098
+ end
2099
+ end
2100
+
2069
2101
  # Configuration for the Compute Engine PD CSI driver.
2070
2102
  class GcePersistentDiskCsiDriverConfig
2071
2103
  include Google::Apis::Core::Hashable
@@ -3148,6 +3180,12 @@ module Google
3148
3180
  attr_accessor :enabled
3149
3181
  alias_method :enabled?, :enabled
3150
3182
 
3183
+ # Whether master is accessbile via Google Compute Engine Public IP addresses.
3184
+ # Corresponds to the JSON property `gcpPublicCidrsAccessEnabled`
3185
+ # @return [Boolean]
3186
+ attr_accessor :gcp_public_cidrs_access_enabled
3187
+ alias_method :gcp_public_cidrs_access_enabled?, :gcp_public_cidrs_access_enabled
3188
+
3151
3189
  def initialize(**args)
3152
3190
  update!(**args)
3153
3191
  end
@@ -3156,6 +3194,7 @@ module Google
3156
3194
  def update!(**args)
3157
3195
  @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
3158
3196
  @enabled = args[:enabled] if args.key?(:enabled)
3197
+ @gcp_public_cidrs_access_enabled = args[:gcp_public_cidrs_access_enabled] if args.key?(:gcp_public_cidrs_access_enabled)
3159
3198
  end
3160
3199
  end
3161
3200
 
@@ -3319,6 +3358,11 @@ module Google
3319
3358
  attr_accessor :enable_l4ilb_subsetting
3320
3359
  alias_method :enable_l4ilb_subsetting?, :enable_l4ilb_subsetting
3321
3360
 
3361
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
3362
+ # Corresponds to the JSON property `gatewayApiConfig`
3363
+ # @return [Google::Apis::ContainerV1beta1::GatewayApiConfig]
3364
+ attr_accessor :gateway_api_config
3365
+
3322
3366
  # Output only. The relative name of the Google Compute Engine network(https://
3323
3367
  # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
3324
3368
  # cluster is connected. Example: projects/my-project/global/networks/my-network
@@ -3355,6 +3399,7 @@ module Google
3355
3399
  @dns_config = args[:dns_config] if args.key?(:dns_config)
3356
3400
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
3357
3401
  @enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
3402
+ @gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
3358
3403
  @network = args[:network] if args.key?(:network)
3359
3404
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
3360
3405
  @service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
@@ -3628,6 +3673,12 @@ module Google
3628
3673
  # @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
3629
3674
  attr_accessor :reservation_affinity
3630
3675
 
3676
+ # The resource labels for the node pool to use to annotate any related Google
3677
+ # Compute Engine resources.
3678
+ # Corresponds to the JSON property `resourceLabels`
3679
+ # @return [Hash<String,String>]
3680
+ attr_accessor :resource_labels
3681
+
3631
3682
  # SandboxConfig contains configurations of the sandbox to use for the node.
3632
3683
  # Corresponds to the JSON property `sandboxConfig`
3633
3684
  # @return [Google::Apis::ContainerV1beta1::SandboxConfig]
@@ -3701,6 +3752,7 @@ module Google
3701
3752
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
3702
3753
  @preemptible = args[:preemptible] if args.key?(:preemptible)
3703
3754
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
3755
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
3704
3756
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
3705
3757
  @service_account = args[:service_account] if args.key?(:service_account)
3706
3758
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -3861,6 +3913,14 @@ module Google
3861
3913
  attr_accessor :create_pod_range
3862
3914
  alias_method :create_pod_range?, :create_pod_range
3863
3915
 
3916
+ # Whether nodes have internal IP addresses only. If enable_private_nodes is not
3917
+ # specified, then the value is derived from cluster.privateClusterConfig.
3918
+ # enablePrivateNodes
3919
+ # Corresponds to the JSON property `enablePrivateNodes`
3920
+ # @return [Boolean]
3921
+ attr_accessor :enable_private_nodes
3922
+ alias_method :enable_private_nodes?, :enable_private_nodes
3923
+
3864
3924
  # Configuration of all network bandwidth tiers
3865
3925
  # Corresponds to the JSON property `networkPerformanceConfig`
3866
3926
  # @return [Google::Apis::ContainerV1beta1::NetworkPerformanceConfig]
@@ -3893,6 +3953,7 @@ module Google
3893
3953
  # Update properties of this object
3894
3954
  def update!(**args)
3895
3955
  @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
3956
+ @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
3896
3957
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
3897
3958
  @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
3898
3959
  @pod_range = args[:pod_range] if args.key?(:pod_range)
@@ -4509,6 +4570,12 @@ module Google
4509
4570
  # @return [String]
4510
4571
  attr_accessor :private_endpoint
4511
4572
 
4573
+ # Subnet to provision the master's private endpoint during cluster creation.
4574
+ # Specified in projects/*/regions/*/subnetworks/* format.
4575
+ # Corresponds to the JSON property `privateEndpointSubnetwork`
4576
+ # @return [String]
4577
+ attr_accessor :private_endpoint_subnetwork
4578
+
4512
4579
  # Output only. The external IP address of this cluster's master endpoint.
4513
4580
  # Corresponds to the JSON property `publicEndpoint`
4514
4581
  # @return [String]
@@ -4526,6 +4593,7 @@ module Google
4526
4593
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
4527
4594
  @peering_name = args[:peering_name] if args.key?(:peering_name)
4528
4595
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
4596
+ @private_endpoint_subnetwork = args[:private_endpoint_subnetwork] if args.key?(:private_endpoint_subnetwork)
4529
4597
  @public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
4530
4598
  end
4531
4599
  end
@@ -4747,6 +4815,26 @@ module Google
4747
4815
  end
4748
4816
  end
4749
4817
 
4818
+ # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/
4819
+ # creating-managing-labels).
4820
+ class ResourceLabels
4821
+ include Google::Apis::Core::Hashable
4822
+
4823
+ # Map of node label keys and node label values.
4824
+ # Corresponds to the JSON property `labels`
4825
+ # @return [Hash<String,String>]
4826
+ attr_accessor :labels
4827
+
4828
+ def initialize(**args)
4829
+ update!(**args)
4830
+ end
4831
+
4832
+ # Update properties of this object
4833
+ def update!(**args)
4834
+ @labels = args[:labels] if args.key?(:labels)
4835
+ end
4836
+ end
4837
+
4750
4838
  # Contains information about amount of some resource in the cluster. For memory,
4751
4839
  # value should be in GB.
4752
4840
  class ResourceLimit
@@ -5769,7 +5857,7 @@ module Google
5769
5857
  # @return [Fixnum]
5770
5858
  attr_accessor :batch_node_count
5771
5859
 
5772
- # Percentage of the bool pool nodes to drain in a batch. The range of this field
5860
+ # Percentage of the blue pool nodes to drain in a batch. The range of this field
5773
5861
  # should be (0.0, 1.0].
5774
5862
  # Corresponds to the JSON property `batchPercentage`
5775
5863
  # @return [Float]
@@ -6201,6 +6289,12 @@ module Google
6201
6289
  # @return [String]
6202
6290
  attr_accessor :project_id
6203
6291
 
6292
+ # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/
6293
+ # creating-managing-labels).
6294
+ # Corresponds to the JSON property `resourceLabels`
6295
+ # @return [Google::Apis::ContainerV1beta1::ResourceLabels]
6296
+ attr_accessor :resource_labels
6297
+
6204
6298
  # Collection of Compute Engine network tags that can be applied to a node's
6205
6299
  # underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/
6206
6300
  # docs/reference/rest/v1/NodeConfig)).
@@ -6269,6 +6363,7 @@ module Google
6269
6363
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
6270
6364
  @node_version = args[:node_version] if args.key?(:node_version)
6271
6365
  @project_id = args[:project_id] if args.key?(:project_id)
6366
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
6272
6367
  @tags = args[:tags] if args.key?(:tags)
6273
6368
  @taints = args[:taints] if args.key?(:taints)
6274
6369
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
@@ -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.39.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220923"
25
+ REVISION = "20221017"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class GatewayApiConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class GcePersistentDiskCsiDriverConfig
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -676,6 +682,12 @@ module Google
676
682
  include Google::Apis::Core::JsonObjectSupport
677
683
  end
678
684
 
685
+ class ResourceLabels
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
679
691
  class ResourceLimit
680
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
693
 
@@ -1271,6 +1283,9 @@ module Google
1271
1283
 
1272
1284
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1273
1285
 
1286
+ property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1287
+ property :desired_gateway_api_config, as: 'desiredGatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
1288
+
1274
1289
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
1275
1290
 
1276
1291
  property :desired_identity_service_config, as: 'desiredIdentityServiceConfig', class: Google::Apis::ContainerV1beta1::IdentityServiceConfig, decorator: Google::Apis::ContainerV1beta1::IdentityServiceConfig::Representation
@@ -1475,6 +1490,13 @@ module Google
1475
1490
  end
1476
1491
  end
1477
1492
 
1493
+ class GatewayApiConfig
1494
+ # @private
1495
+ class Representation < Google::Apis::Core::JsonRepresentation
1496
+ property :channel, as: 'channel'
1497
+ end
1498
+ end
1499
+
1478
1500
  class GcePersistentDiskCsiDriverConfig
1479
1501
  # @private
1480
1502
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1783,6 +1805,7 @@ module Google
1783
1805
  collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ContainerV1beta1::CidrBlock, decorator: Google::Apis::ContainerV1beta1::CidrBlock::Representation
1784
1806
 
1785
1807
  property :enabled, as: 'enabled'
1808
+ property :gcp_public_cidrs_access_enabled, as: 'gcpPublicCidrsAccessEnabled'
1786
1809
  end
1787
1810
  end
1788
1811
 
@@ -1837,6 +1860,8 @@ module Google
1837
1860
 
1838
1861
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1839
1862
  property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
1863
+ property :gateway_api_config, as: 'gatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
1864
+
1840
1865
  property :network, as: 'network'
1841
1866
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1842
1867
  property :service_external_ips_config, as: 'serviceExternalIpsConfig', class: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1beta1::ServiceExternalIPsConfig::Representation
@@ -1910,6 +1935,7 @@ module Google
1910
1935
  property :preemptible, as: 'preemptible'
1911
1936
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1beta1::ReservationAffinity, decorator: Google::Apis::ContainerV1beta1::ReservationAffinity::Representation
1912
1937
 
1938
+ hash :resource_labels, as: 'resourceLabels'
1913
1939
  property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
1914
1940
 
1915
1941
  property :service_account, as: 'serviceAccount'
@@ -1965,6 +1991,7 @@ module Google
1965
1991
  # @private
1966
1992
  class Representation < Google::Apis::Core::JsonRepresentation
1967
1993
  property :create_pod_range, as: 'createPodRange'
1994
+ property :enable_private_nodes, as: 'enablePrivateNodes'
1968
1995
  property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ContainerV1beta1::NetworkPerformanceConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPerformanceConfig::Representation
1969
1996
 
1970
1997
  property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
@@ -2128,6 +2155,7 @@ module Google
2128
2155
  property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
2129
2156
  property :peering_name, as: 'peeringName'
2130
2157
  property :private_endpoint, as: 'privateEndpoint'
2158
+ property :private_endpoint_subnetwork, as: 'privateEndpointSubnetwork'
2131
2159
  property :public_endpoint, as: 'publicEndpoint'
2132
2160
  end
2133
2161
  end
@@ -2194,6 +2222,13 @@ module Google
2194
2222
  end
2195
2223
  end
2196
2224
 
2225
+ class ResourceLabels
2226
+ # @private
2227
+ class Representation < Google::Apis::Core::JsonRepresentation
2228
+ hash :labels, as: 'labels'
2229
+ end
2230
+ end
2231
+
2197
2232
  class ResourceLimit
2198
2233
  # @private
2199
2234
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2544,6 +2579,8 @@ module Google
2544
2579
  property :node_pool_id, as: 'nodePoolId'
2545
2580
  property :node_version, as: 'nodeVersion'
2546
2581
  property :project_id, as: 'projectId'
2582
+ property :resource_labels, as: 'resourceLabels', class: Google::Apis::ContainerV1beta1::ResourceLabels, decorator: Google::Apis::ContainerV1beta1::ResourceLabels::Representation
2583
+
2547
2584
  property :tags, as: 'tags', class: Google::Apis::ContainerV1beta1::NetworkTags, decorator: Google::Apis::ContainerV1beta1::NetworkTags::Representation
2548
2585
 
2549
2586
  property :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaints, decorator: Google::Apis::ContainerV1beta1::NodeTaints::Representation
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.39.0
4
+ version: 0.40.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2022-11-07 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/main/generated/google-apis-container_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []