google-cloud-container-v1beta1 0.21.1 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +98 -2
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +38 -1325
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +3 -0
- data/proto_docs/google/container/v1beta1/cluster_service.rb +153 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -133,6 +133,9 @@ module Google
|
|
133
133
|
rpc :SetMaintenancePolicy, ::Google::Cloud::Container::V1beta1::SetMaintenancePolicyRequest, ::Google::Cloud::Container::V1beta1::Operation
|
134
134
|
# Lists subnetworks that can be used for creating clusters in a project.
|
135
135
|
rpc :ListUsableSubnetworks, ::Google::Cloud::Container::V1beta1::ListUsableSubnetworksRequest, ::Google::Cloud::Container::V1beta1::ListUsableSubnetworksResponse
|
136
|
+
# Checks the cluster compatibility with Autopilot mode, and returns a list of
|
137
|
+
# compatibility issues.
|
138
|
+
rpc :CheckAutopilotCompatibility, ::Google::Cloud::Container::V1beta1::CheckAutopilotCompatibilityRequest, ::Google::Cloud::Container::V1beta1::CheckAutopilotCompatibilityResponse
|
136
139
|
# Fetches locations that offer Google Kubernetes Engine.
|
137
140
|
rpc :ListLocations, ::Google::Cloud::Container::V1beta1::ListLocationsRequest, ::Google::Cloud::Container::V1beta1::ListLocationsResponse
|
138
141
|
end
|
@@ -353,6 +353,9 @@ module Google
|
|
353
353
|
# Parameters for the node ephemeral storage using Local SSDs.
|
354
354
|
# If unspecified, ephemeral storage is backed by the boot disk.
|
355
355
|
# This field is functionally equivalent to the ephemeral_storage_config
|
356
|
+
# @!attribute [rw] sole_tenant_config
|
357
|
+
# @return [::Google::Cloud::Container::V1beta1::SoleTenantConfig]
|
358
|
+
# Parameters for node pools to be backed by shared sole tenant node groups.
|
356
359
|
class NodeConfig
|
357
360
|
include ::Google::Protobuf::MessageExts
|
358
361
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -618,6 +621,46 @@ module Google
|
|
618
621
|
end
|
619
622
|
end
|
620
623
|
|
624
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
625
|
+
# tenant node groups should back the node pool.
|
626
|
+
# @!attribute [rw] node_affinities
|
627
|
+
# @return [::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>]
|
628
|
+
# NodeAffinities used to match to a shared sole tenant node group.
|
629
|
+
class SoleTenantConfig
|
630
|
+
include ::Google::Protobuf::MessageExts
|
631
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
632
|
+
|
633
|
+
# Specifies the NodeAffinity key, values, and affinity operator according to
|
634
|
+
# [shared sole tenant node group
|
635
|
+
# affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
636
|
+
# @!attribute [rw] key
|
637
|
+
# @return [::String]
|
638
|
+
# Key for NodeAffinity.
|
639
|
+
# @!attribute [rw] operator
|
640
|
+
# @return [::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator]
|
641
|
+
# Operator for NodeAffinity.
|
642
|
+
# @!attribute [rw] values
|
643
|
+
# @return [::Array<::String>]
|
644
|
+
# Values for NodeAffinity.
|
645
|
+
class NodeAffinity
|
646
|
+
include ::Google::Protobuf::MessageExts
|
647
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
648
|
+
|
649
|
+
# Operator allows user to specify affinity or anti-affinity for the
|
650
|
+
# given key values.
|
651
|
+
module Operator
|
652
|
+
# Invalid or unspecified affinity operator.
|
653
|
+
OPERATOR_UNSPECIFIED = 0
|
654
|
+
|
655
|
+
# Affinity operator.
|
656
|
+
IN = 1
|
657
|
+
|
658
|
+
# Anti-affinity operator.
|
659
|
+
NOT_IN = 2
|
660
|
+
end
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
621
664
|
# Kubernetes taint is composed of three fields: key, value, and effect. Effect
|
622
665
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
623
666
|
#
|
@@ -1490,6 +1533,9 @@ module Google
|
|
1490
1533
|
# The cluster has no SLA for uptime and master/node upgrades are disabled.
|
1491
1534
|
# Alpha enabled clusters are automatically deleted thirty days after
|
1492
1535
|
# creation.
|
1536
|
+
# @!attribute [rw] enable_k8s_beta_apis
|
1537
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
1538
|
+
# Kubernetes open source beta apis enabled on the cluster. Only beta apis.
|
1493
1539
|
# @!attribute [rw] resource_labels
|
1494
1540
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1495
1541
|
# The resource labels for the cluster to use to annotate any related
|
@@ -1777,6 +1823,15 @@ module Google
|
|
1777
1823
|
end
|
1778
1824
|
end
|
1779
1825
|
|
1826
|
+
# Kubernetes open source beta apis enabled on the cluster.
|
1827
|
+
# @!attribute [rw] enabled_apis
|
1828
|
+
# @return [::Array<::String>]
|
1829
|
+
# api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
|
1830
|
+
class K8sBetaAPIConfig
|
1831
|
+
include ::Google::Protobuf::MessageExts
|
1832
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1833
|
+
end
|
1834
|
+
|
1780
1835
|
# WorkloadConfig defines the flags to enable or disable the
|
1781
1836
|
# workload configurations for the cluster.
|
1782
1837
|
# @!attribute [rw] audit_mode
|
@@ -2087,6 +2142,15 @@ module Google
|
|
2087
2142
|
# The additional pod ranges that are to be removed from the cluster.
|
2088
2143
|
# The pod ranges specified here must have been specified earlier in the
|
2089
2144
|
# 'additional_pod_ranges_config' argument.
|
2145
|
+
# @!attribute [rw] enable_k8s_beta_apis
|
2146
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
2147
|
+
# Kubernetes open source beta apis enabled on the cluster. Only beta apis
|
2148
|
+
# @!attribute [rw] desired_enable_fqdn_network_policy
|
2149
|
+
# @return [::Boolean]
|
2150
|
+
# Enable/Disable FQDN Network Policy for the cluster.
|
2151
|
+
# @!attribute [rw] desired_k8s_beta_apis
|
2152
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
2153
|
+
# Beta APIs enabled for cluster.
|
2090
2154
|
class ClusterUpdate
|
2091
2155
|
include ::Google::Protobuf::MessageExts
|
2092
2156
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3047,6 +3111,22 @@ module Google
|
|
3047
3111
|
end
|
3048
3112
|
end
|
3049
3113
|
|
3114
|
+
# Best effort provisioning.
|
3115
|
+
# @!attribute [rw] enabled
|
3116
|
+
# @return [::Boolean]
|
3117
|
+
# When this is enabled, cluster/node pool creations will ignore non-fatal
|
3118
|
+
# errors like stockout to best provision as many nodes as possible right now
|
3119
|
+
# and eventually bring up all target number of nodes
|
3120
|
+
# @!attribute [rw] min_provision_nodes
|
3121
|
+
# @return [::Integer]
|
3122
|
+
# Minimum number of nodes to be provisioned to be considered as succeeded,
|
3123
|
+
# and the rest of nodes will be provisioned gradually and eventually when
|
3124
|
+
# stockout issue has been resolved.
|
3125
|
+
class BestEffortProvisioning
|
3126
|
+
include ::Google::Protobuf::MessageExts
|
3127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3128
|
+
end
|
3129
|
+
|
3050
3130
|
# Windows server versions.
|
3051
3131
|
# @!attribute [rw] windows_versions
|
3052
3132
|
# @return [::Array<::Google::Cloud::Container::V1beta1::WindowsVersions::WindowsVersion>]
|
@@ -3326,6 +3406,9 @@ module Google
|
|
3326
3406
|
# This checksum is computed by the server based on the value of node pool
|
3327
3407
|
# fields, and may be sent on update requests to ensure the client has an
|
3328
3408
|
# up-to-date value before proceeding.
|
3409
|
+
# @!attribute [rw] best_effort_provisioning
|
3410
|
+
# @return [::Google::Cloud::Container::V1beta1::BestEffortProvisioning]
|
3411
|
+
# Enable best effort provisioning for nodes
|
3329
3412
|
class NodePool
|
3330
3413
|
include ::Google::Protobuf::MessageExts
|
3331
3414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4416,6 +4499,9 @@ module Google
|
|
4416
4499
|
# @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
|
4417
4500
|
# GatewayAPIConfig contains the desired config of Gateway API on this
|
4418
4501
|
# cluster.
|
4502
|
+
# @!attribute [rw] enable_fqdn_network_policy
|
4503
|
+
# @return [::Boolean]
|
4504
|
+
# Whether FQDN Network Policy is enabled on this cluster.
|
4419
4505
|
class NetworkConfig
|
4420
4506
|
include ::Google::Protobuf::MessageExts
|
4421
4507
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4900,6 +4986,73 @@ module Google
|
|
4900
4986
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4901
4987
|
end
|
4902
4988
|
|
4989
|
+
# CheckAutopilotCompatibilityRequest requests getting the blockers for the
|
4990
|
+
# given operation in the cluster.
|
4991
|
+
# @!attribute [rw] name
|
4992
|
+
# @return [::String]
|
4993
|
+
# The name (project, location, cluster) of the cluster to retrieve.
|
4994
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
4995
|
+
class CheckAutopilotCompatibilityRequest
|
4996
|
+
include ::Google::Protobuf::MessageExts
|
4997
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4998
|
+
end
|
4999
|
+
|
5000
|
+
# AutopilotCompatibilityIssue contains information about a specific
|
5001
|
+
# compatibility issue with Autopilot mode.
|
5002
|
+
# @!attribute [rw] last_observation
|
5003
|
+
# @return [::Google::Protobuf::Timestamp]
|
5004
|
+
# The last time when this issue was observed.
|
5005
|
+
# @!attribute [rw] constraint_type
|
5006
|
+
# @return [::String]
|
5007
|
+
# The constraint type of the issue.
|
5008
|
+
# @!attribute [rw] incompatibility_type
|
5009
|
+
# @return [::Google::Cloud::Container::V1beta1::AutopilotCompatibilityIssue::IssueType]
|
5010
|
+
# The incompatibility type of this issue.
|
5011
|
+
# @!attribute [rw] subjects
|
5012
|
+
# @return [::Array<::String>]
|
5013
|
+
# The name of the resources which are subject to this issue.
|
5014
|
+
# @!attribute [rw] documentation_url
|
5015
|
+
# @return [::String]
|
5016
|
+
# A URL to a public documnetation, which addresses resolving this issue.
|
5017
|
+
# @!attribute [rw] description
|
5018
|
+
# @return [::String]
|
5019
|
+
# The description of the issue.
|
5020
|
+
class AutopilotCompatibilityIssue
|
5021
|
+
include ::Google::Protobuf::MessageExts
|
5022
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5023
|
+
|
5024
|
+
# The type of the reported issue.
|
5025
|
+
module IssueType
|
5026
|
+
# Default value, should not be used.
|
5027
|
+
UNSPECIFIED = 0
|
5028
|
+
|
5029
|
+
# Indicates that the issue is a known incompatibility between the
|
5030
|
+
# cluster and Autopilot mode.
|
5031
|
+
INCOMPATIBILITY = 1
|
5032
|
+
|
5033
|
+
# Indicates the issue is an incompatibility if customers take no further
|
5034
|
+
# action to resolve.
|
5035
|
+
ADDITIONAL_CONFIG_REQUIRED = 2
|
5036
|
+
|
5037
|
+
# Indicates the issue is not an incompatibility, but depending on the
|
5038
|
+
# workloads business logic, there is a potential that they won't work on
|
5039
|
+
# Autopilot.
|
5040
|
+
PASSED_WITH_OPTIONAL_CONFIG = 3
|
5041
|
+
end
|
5042
|
+
end
|
5043
|
+
|
5044
|
+
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
5045
|
+
# @!attribute [rw] issues
|
5046
|
+
# @return [::Array<::Google::Cloud::Container::V1beta1::AutopilotCompatibilityIssue>]
|
5047
|
+
# The list of issues for the given operation.
|
5048
|
+
# @!attribute [rw] summary
|
5049
|
+
# @return [::String]
|
5050
|
+
# The summary of the autopilot compatibility response.
|
5051
|
+
class CheckAutopilotCompatibilityResponse
|
5052
|
+
include ::Google::Protobuf::MessageExts
|
5053
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5054
|
+
end
|
5055
|
+
|
4903
5056
|
# ReleaseChannel indicates which release channel a cluster is
|
4904
5057
|
# subscribed to. Release channels are arranged in order of risk.
|
4905
5058
|
#
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|