Skip to content

Commit

Permalink
feat: add Pipeline.secret_environment, Action.secret_environment, Vir…
Browse files Browse the repository at this point in the history
…tualMachine.reservation (#3634)

- [ ] Regenerate this pull request now.

chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java)
PiperOrigin-RevId: 493113566

Source-Link: https://togithub.com/googleapis/googleapis/commit/758f0d1217d9c7fe398aa5efb1057ce4b6409e55

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/78bd8f05e1276363eb14eae70e91fe4bc20703ab
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWxpZmVzY2llbmNlcy8uT3dsQm90LnlhbWwiLCJoIjoiNzhiZDhmMDVlMTI3NjM2M2ViMTRlYWU3MGU5MWZlNGJjMjA3MDNhYiJ9

BEGIN_NESTED_COMMIT
feat: add Pipeline.secret_environment, Action.secret_environment, VirtualMachine.reservation
PiperOrigin-RevId: 488460572

Source-Link: https://togithub.com/googleapis/googleapis/commit/c2f6dac411677a57ddce5c8a232c764e6640d968

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/2b4b17aeaa09c61bf86c702502bdf2d1644afb79
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWxpZmVzY2llbmNlcy8uT3dsQm90LnlhbWwiLCJoIjoiMmI0YjE3YWVhYTA5YzYxYmY4NmM3MDI1MDJiZGYyZDE2NDRhZmI3OSJ9
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] authored Dec 8, 2022
1 parent db012f5 commit cafa199
Show file tree
Hide file tree
Showing 6 changed files with 967 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,12 +17,12 @@ syntax = "proto3";
package google.cloud.lifesciences.v2beta;

import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/code.proto";
import "google/api/client.proto";

option csharp_namespace = "Google.Cloud.LifeSciences.V2Beta";
option go_package = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta;lifesciences";
Expand Down Expand Up @@ -112,6 +112,15 @@ message Pipeline {
// (though they can overwrite it with a different value).
map<string, string> environment = 3;

// The encrypted environment to pass into every action. Each action can also
// specify its own encrypted environment.
//
// The secret must decrypt to a JSON-encoded dictionary where key-value pairs
// serve as environment variable names and their values. The decoded
// environment variables can overwrite the values specified by the
// `environment` field.
Secret encrypted_environment = 5;

// The maximum amount of time to give the pipeline to complete. This includes
// the time spent waiting for a worker to be allocated. If the pipeline fails
// to complete before the timeout, it will be cancelled and the error code
Expand Down Expand Up @@ -172,6 +181,17 @@ message Action {
// authors to determine whether an individual action has succeeded or failed.
map<string, string> environment = 5;

// The encrypted environment to pass into the container. This environment is
// merged with values specified in the
// [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
// duplicate values.
//
// The secret must decrypt to a JSON-encoded dictionary where key-value pairs
// serve as environment variable names and their values. The decoded
// environment variables can overwrite the values specified by the
// `environment` field.
Secret encrypted_environment = 21;

// An optional identifier for a PID namespace to run the action inside.
// Multiple actions should use the same string to share a namespace. If
// unspecified, a separate isolated namespace is used.
Expand Down Expand Up @@ -408,6 +428,10 @@ message VirtualMachine {
//
// Specify either the `volumes[]` field or the `disks[]` field, but not both.
repeated Volume volumes = 14;

// If specified, the VM will only be allocated inside the matching
// reservation. It will fail if the VM parameters don't match the reservation.
string reservation = 15;
}

// Carries information about a Google Cloud service account.
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-lifesciences/protos/protos.d.ts

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

Loading

0 comments on commit cafa199

Please sign in to comment.