Skip to content

Commit c858b5a

Browse files
feat: [google-cloud-container] add Provisioning Request API (googleapis#12030)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 583194664 Source-Link: googleapis/googleapis@a241916 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a0607176f3635b80bcfb224c7876737736c3b184 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYTA2MDcxNzZmMzYzNWI4MGJjZmIyMjRjNzg3NjczNzczNmMzYjE4NCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d2edc64 commit c858b5a

6 files changed

Lines changed: 30 additions & 5 deletions

File tree

packages/google-cloud-container/google/cloud/container/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.34.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.34.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5638,6 +5638,9 @@ class NodePool(proto.Message):
56385638
on the value of node pool fields, and may be
56395639
sent on update requests to ensure the client has
56405640
an up-to-date value before proceeding.
5641+
queued_provisioning (google.cloud.container_v1.types.NodePool.QueuedProvisioning):
5642+
Specifies the configuration of queued
5643+
provisioning.
56415644
best_effort_provisioning (google.cloud.container_v1.types.BestEffortProvisioning):
56425645
Enable best effort provisioning for nodes
56435646
"""
@@ -5916,6 +5919,23 @@ class Type(proto.Enum):
59165919
number=3,
59175920
)
59185921

5922+
class QueuedProvisioning(proto.Message):
5923+
r"""QueuedProvisioning defines the queued provisioning used by
5924+
the node pool.
5925+
5926+
Attributes:
5927+
enabled (bool):
5928+
Denotes that this nodepool is QRM specific,
5929+
meaning nodes can be only obtained through
5930+
queuing via the Cluster Autoscaler
5931+
ProvisioningRequest API.
5932+
"""
5933+
5934+
enabled: bool = proto.Field(
5935+
proto.BOOL,
5936+
number=1,
5937+
)
5938+
59195939
name: str = proto.Field(
59205940
proto.STRING,
59215941
number=1,
@@ -6002,6 +6022,11 @@ class Type(proto.Enum):
60026022
proto.STRING,
60036023
number=110,
60046024
)
6025+
queued_provisioning: QueuedProvisioning = proto.Field(
6026+
proto.MESSAGE,
6027+
number=112,
6028+
message=QueuedProvisioning,
6029+
)
60056030
best_effort_provisioning: "BestEffortProvisioning" = proto.Field(
60066031
proto.MESSAGE,
60076032
number=113,

packages/google-cloud-container/google/cloud/container_v1beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.34.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.34.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.34.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)