Skip to content

Commit

Permalink
feat: [google-cloud-container] add Provisioning Request API (#12030)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 583194664

Source-Link:
googleapis/googleapis@a241916

Source-Link:
googleapis/googleapis-gen@a060717
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYTA2MDcxNzZmMzYzNWI4MGJjZmIyMjRjNzg3NjczNzczNmMzYjE4NCJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 17, 2023
1 parent d2edc64 commit c858b5a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -5638,6 +5638,9 @@ class NodePool(proto.Message):
on the value of node pool fields, and may be
sent on update requests to ensure the client has
an up-to-date value before proceeding.
queued_provisioning (google.cloud.container_v1.types.NodePool.QueuedProvisioning):
Specifies the configuration of queued
provisioning.
best_effort_provisioning (google.cloud.container_v1.types.BestEffortProvisioning):
Enable best effort provisioning for nodes
"""
Expand Down Expand Up @@ -5916,6 +5919,23 @@ class Type(proto.Enum):
number=3,
)

class QueuedProvisioning(proto.Message):
r"""QueuedProvisioning defines the queued provisioning used by
the node pool.
Attributes:
enabled (bool):
Denotes that this nodepool is QRM specific,
meaning nodes can be only obtained through
queuing via the Cluster Autoscaler
ProvisioningRequest API.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)

name: str = proto.Field(
proto.STRING,
number=1,
Expand Down Expand Up @@ -6002,6 +6022,11 @@ class Type(proto.Enum):
proto.STRING,
number=110,
)
queued_provisioning: QueuedProvisioning = proto.Field(
proto.MESSAGE,
number=112,
message=QueuedProvisioning,
)
best_effort_provisioning: "BestEffortProvisioning" = proto.Field(
proto.MESSAGE,
number=113,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.34.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.34.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit c858b5a

Please sign in to comment.