Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update reservation field to include NO_RESERVATION #27680

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions google-cloud-batch-v1/proto_docs/google/cloud/batch/v1/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ module V1
# Compute resource allocation for all TaskGroups in the Job.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# Labels for the Job. Labels could be user provided or system generated.
# For example,
# "labels": {
# "department": "finance",
# "environment": "test"
# }
# You can assign up to 64 labels. [Google Compute Engine label
# restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
# apply.
# Label names that start with "goog-" or "google-" are reserved.
# Custom labels to apply to the job and any Cloud Logging
# [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)
# that it generates.
#
# Use labels to group and describe the resources they are applied to. Batch
# automatically applies predefined labels and supports multiple `labels`
# fields for each job, which each let you apply custom labels to various
# resources. Label names that start with "goog-" or "google-" are
# reserved for predefined labels. For more information about labels with
# Batch, see
# [Organize resources using
# labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
# @!attribute [r] status
# @return [::Google::Cloud::Batch::V1::JobStatus]
# Output only. Job status. It is read only for users.
Expand Down Expand Up @@ -309,13 +311,17 @@ module Type
# default cloud-platform scope. (list of strings)
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# Labels applied to all VM instances and other resources
# created by AllocationPolicy.
# Labels could be user provided or system generated.
# You can assign up to 64 labels. [Google Compute Engine label
# restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
# apply.
# Label names that start with "goog-" or "google-" are reserved.
# Custom labels to apply to the job and all the Compute Engine resources
# that both are created by this allocation policy and support labels.
#
# Use labels to group and describe the resources they are applied to. Batch
# automatically applies predefined labels and supports multiple `labels`
# fields for each job, which each let you apply custom labels to various
# resources. Label names that start with "goog-" or "google-" are
# reserved for predefined labels. For more information about labels with
# Batch, see
# [Organize resources using
# labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
# @!attribute [rw] network
# @return [::Google::Cloud::Batch::V1::AllocationPolicy::NetworkPolicy]
# The network policy.
Expand Down Expand Up @@ -499,6 +505,8 @@ class Accelerator
# @return [::String]
# Optional. If specified, VMs will consume only the specified reservation.
# If not specified (default), VMs will consume any applicable reservation.
# Additionally, VMs will not consume any reservation if "NO_RESERVATION"
# is specified.
class InstancePolicy
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down