google-apis-container_v1 0.78.0 → 0.80.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/container_v1/classes.rb +66 -0
- data/lib/google/apis/container_v1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1/representations.rb +33 -0
- data/lib/google/apis/container_v1/service.rb +1 -1
- data/lib/google/apis/container_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58f2bd8b42d993feab4f205d172be70489eea9b0b521308c0c5d6d0bc122ad1e
|
4
|
+
data.tar.gz: 9c82b86a2f9fa8eaa1a86a64429bee975389c9f128a50ea0571f46b6d63e2be2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d59d4a54817762acc58bbdcdc26f4fc05585054ee1afe33eaa00d5bec4fc75cf258cd213f6588b8d837f015683bd55b4ec01cfa3ac5e31c46c2e08df8f2d758
|
7
|
+
data.tar.gz: 179195425648c8b1a8e2d8fee4a18698673b7275eca80f2b69420fb23dde5508677da771ca3e40c4f4f60101f3ed7ecb08e734439aea93d8ddd88c349d759fbc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
+
### v0.80.0 (2024-09-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240905
|
6
|
+
|
7
|
+
### v0.79.0 (2024-09-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240814
|
10
|
+
|
3
11
|
### v0.78.0 (2024-08-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240806
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/
|
82
|
+
The [product documentation](https://cloud.google.com/kubernetes-engine/docs/) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
# @return [Google::Apis::ContainerV1::MaxPodsConstraint]
|
107
107
|
attr_accessor :max_pods_per_node
|
108
108
|
|
109
|
+
# The name of the network attachment for pods to communicate to; cannot be
|
110
|
+
# specified along with subnetwork or secondary_pod_range.
|
111
|
+
# Corresponds to the JSON property `networkAttachment`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :network_attachment
|
114
|
+
|
109
115
|
# The name of the secondary range on the subnet which provides IP address for
|
110
116
|
# this pod range.
|
111
117
|
# Corresponds to the JSON property `secondaryPodRange`
|
@@ -124,6 +130,7 @@ module Google
|
|
124
130
|
# Update properties of this object
|
125
131
|
def update!(**args)
|
126
132
|
@max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
|
133
|
+
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
127
134
|
@secondary_pod_range = args[:secondary_pod_range] if args.key?(:secondary_pod_range)
|
128
135
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
129
136
|
end
|
@@ -932,6 +939,12 @@ module Google
|
|
932
939
|
# @return [String]
|
933
940
|
attr_accessor :cluster_ipv4_cidr
|
934
941
|
|
942
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
943
|
+
# for the Compliance Posture.
|
944
|
+
# Corresponds to the JSON property `compliancePostureConfig`
|
945
|
+
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
946
|
+
attr_accessor :compliance_posture_config
|
947
|
+
|
935
948
|
# Which conditions caused the current cluster state.
|
936
949
|
# Corresponds to the JSON property `conditions`
|
937
950
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
@@ -1369,6 +1382,7 @@ module Google
|
|
1369
1382
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
1370
1383
|
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
1371
1384
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
1385
|
+
@compliance_posture_config = args[:compliance_posture_config] if args.key?(:compliance_posture_config)
|
1372
1386
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1373
1387
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
1374
1388
|
@cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
|
@@ -1546,6 +1560,12 @@ module Google
|
|
1546
1560
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
1547
1561
|
attr_accessor :desired_cluster_autoscaling
|
1548
1562
|
|
1563
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
1564
|
+
# for the Compliance Posture.
|
1565
|
+
# Corresponds to the JSON property `desiredCompliancePostureConfig`
|
1566
|
+
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
1567
|
+
attr_accessor :desired_compliance_posture_config
|
1568
|
+
|
1549
1569
|
# ContainerdConfig contains configuration to customize containerd.
|
1550
1570
|
# Corresponds to the JSON property `desiredContainerdConfig`
|
1551
1571
|
# @return [Google::Apis::ContainerV1::ContainerdConfig]
|
@@ -1886,6 +1906,7 @@ module Google
|
|
1886
1906
|
@desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
|
1887
1907
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1888
1908
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1909
|
+
@desired_compliance_posture_config = args[:desired_compliance_posture_config] if args.key?(:desired_compliance_posture_config)
|
1889
1910
|
@desired_containerd_config = args[:desired_containerd_config] if args.key?(:desired_containerd_config)
|
1890
1911
|
@desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
|
1891
1912
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
@@ -1999,6 +2020,51 @@ module Google
|
|
1999
2020
|
end
|
2000
2021
|
end
|
2001
2022
|
|
2023
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
2024
|
+
# for the Compliance Posture.
|
2025
|
+
class CompliancePostureConfig
|
2026
|
+
include Google::Apis::Core::Hashable
|
2027
|
+
|
2028
|
+
# List of enabled compliance standards.
|
2029
|
+
# Corresponds to the JSON property `complianceStandards`
|
2030
|
+
# @return [Array<Google::Apis::ContainerV1::ComplianceStandard>]
|
2031
|
+
attr_accessor :compliance_standards
|
2032
|
+
|
2033
|
+
# Defines the enablement mode for Compliance Posture.
|
2034
|
+
# Corresponds to the JSON property `mode`
|
2035
|
+
# @return [String]
|
2036
|
+
attr_accessor :mode
|
2037
|
+
|
2038
|
+
def initialize(**args)
|
2039
|
+
update!(**args)
|
2040
|
+
end
|
2041
|
+
|
2042
|
+
# Update properties of this object
|
2043
|
+
def update!(**args)
|
2044
|
+
@compliance_standards = args[:compliance_standards] if args.key?(:compliance_standards)
|
2045
|
+
@mode = args[:mode] if args.key?(:mode)
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# Defines the details of a compliance standard.
|
2050
|
+
class ComplianceStandard
|
2051
|
+
include Google::Apis::Core::Hashable
|
2052
|
+
|
2053
|
+
# Name of the compliance standard.
|
2054
|
+
# Corresponds to the JSON property `standard`
|
2055
|
+
# @return [String]
|
2056
|
+
attr_accessor :standard
|
2057
|
+
|
2058
|
+
def initialize(**args)
|
2059
|
+
update!(**args)
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
# Update properties of this object
|
2063
|
+
def update!(**args)
|
2064
|
+
@standard = args[:standard] if args.key?(:standard)
|
2065
|
+
end
|
2066
|
+
end
|
2067
|
+
|
2002
2068
|
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
2003
2069
|
# makes nodes run on confidential VMs.
|
2004
2070
|
class ConfidentialNodes
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240905"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,18 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class CompliancePostureConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ComplianceStandard
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class ConfidentialNodes
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -1122,6 +1134,7 @@ module Google
|
|
1122
1134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1123
1135
|
property :max_pods_per_node, as: 'maxPodsPerNode', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
|
1124
1136
|
|
1137
|
+
property :network_attachment, as: 'networkAttachment'
|
1125
1138
|
property :secondary_pod_range, as: 'secondaryPodRange'
|
1126
1139
|
property :subnetwork, as: 'subnetwork'
|
1127
1140
|
end
|
@@ -1350,6 +1363,8 @@ module Google
|
|
1350
1363
|
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
1351
1364
|
|
1352
1365
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
1366
|
+
property :compliance_posture_config, as: 'compliancePostureConfig', class: Google::Apis::ContainerV1::CompliancePostureConfig, decorator: Google::Apis::ContainerV1::CompliancePostureConfig::Representation
|
1367
|
+
|
1353
1368
|
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
|
1354
1369
|
|
1355
1370
|
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
|
@@ -1488,6 +1503,8 @@ module Google
|
|
1488
1503
|
|
1489
1504
|
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
1490
1505
|
|
1506
|
+
property :desired_compliance_posture_config, as: 'desiredCompliancePostureConfig', class: Google::Apis::ContainerV1::CompliancePostureConfig, decorator: Google::Apis::ContainerV1::CompliancePostureConfig::Representation
|
1507
|
+
|
1491
1508
|
property :desired_containerd_config, as: 'desiredContainerdConfig', class: Google::Apis::ContainerV1::ContainerdConfig, decorator: Google::Apis::ContainerV1::ContainerdConfig::Representation
|
1492
1509
|
|
1493
1510
|
property :desired_cost_management_config, as: 'desiredCostManagementConfig', class: Google::Apis::ContainerV1::CostManagementConfig, decorator: Google::Apis::ContainerV1::CostManagementConfig::Representation
|
@@ -1597,6 +1614,22 @@ module Google
|
|
1597
1614
|
end
|
1598
1615
|
end
|
1599
1616
|
|
1617
|
+
class CompliancePostureConfig
|
1618
|
+
# @private
|
1619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1620
|
+
collection :compliance_standards, as: 'complianceStandards', class: Google::Apis::ContainerV1::ComplianceStandard, decorator: Google::Apis::ContainerV1::ComplianceStandard::Representation
|
1621
|
+
|
1622
|
+
property :mode, as: 'mode'
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
class ComplianceStandard
|
1627
|
+
# @private
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1629
|
+
property :standard, as: 'standard'
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1600
1633
|
class ConfidentialNodes
|
1601
1634
|
# @private
|
1602
1635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Container = Google::Apis::ContainerV1 # Alias the module
|
32
32
|
# service = Container::ContainerService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/
|
34
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/
|
35
35
|
class ContainerService < Google::Apis::Core::BaseService
|
36
36
|
DEFAULT_ENDPOINT_TEMPLATE = "https://container.$UNIVERSE_DOMAIN$/"
|
37
37
|
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# Builds and manages container-based applications, powered by the open source
|
25
25
|
# Kubernetes technology.
|
26
26
|
#
|
27
|
-
# @see https://cloud.google.com/
|
27
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/
|
28
28
|
module ContainerV1
|
29
29
|
# Version of the Kubernetes Engine API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
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.
|
4
|
+
version: 0.80.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: 2024-
|
11
|
+
date: 2024-09-22 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.80.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|