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

feat(v1): promote block_project_ssh_keys support to batch v1 API #27288

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion google-cloud-batch-v1/lib/google/cloud/batch/v1/job_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 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 @@ -532,6 +532,25 @@ class InstancePolicy
# @return [::Boolean]
# Optional. Set this field true if you want Batch to install Ops Agent on
# your behalf. Default is false.
# @!attribute [rw] block_project_ssh_keys
# @return [::Boolean]
# Optional. Set this field to `true` if you want Batch to block
# project-level SSH keys from accessing this job's VMs. Alternatively, you
# can configure the job to specify a VM instance template that blocks
# project-level SSH keys. In either case, Batch blocks project-level SSH
# keys while creating the VMs for this job.
#
# Batch allows project-level SSH keys for a job's VMs only if all
# the following are true:
#
# + This field is undefined or set to `false`.
# + The job's VM instance template (if any) doesn't block project-level
# SSH keys.
#
# Notably, you can override this behavior by manually updating a VM to
# block or allow project-level SSH keys. For more information about
# blocking project-level SSH keys, see the Compute Engine documentation:
# https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys
class InstancePolicyOrTemplate
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down