-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Enable requesting numeric enums in "transport=rest" responses …
…for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport (#3659) * feat: added UpdateRuntime, UpgradeRuntime, DiagnoseRuntime, DiagnoseInstance to v1 API feat: add Instance.reservation_affinity, nic_type, can_ip_forward to v1beta1 API feat: add IsInstanceUpgradeableResponse.upgrade_image to v1beta1 API feat: added Location and IAM methods fix: deprecate AcceleratorType.NVIDIA_TESLA_K80 PiperOrigin-RevId: 489032946 Source-Link: googleapis/googleapis@1d21a86 Source-Link: googleapis/googleapis-gen@6da6c08 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5vdGVib29rcy8uT3dsQm90LnlhbWwiLCJoIjoiNmRhNmMwODUwYjAyYjJmMGQ2YWI5YzU4NjJkMDIxYzRkMTZkYWRjOSJ9 * docs: fix minor docstring formatting PiperOrigin-RevId: 491386965 Source-Link: googleapis/googleapis@b706495 Source-Link: googleapis/googleapis-gen@889a92f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5vdGVib29rcy8uT3dsQm90LnlhbWwiLCJoIjoiODg5YTkyZjc2MzFhYmVhZjdjZDI0MzY4YWU2MzJkM2U0YmUyMjc3ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Enable requesting numeric enums in "transport=rest" responses for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport 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: googleapis/googleapis@758f0d1 Source-Link: googleapis/googleapis-gen@78bd8f0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5vdGVib29rcy8uT3dsQm90LnlhbWwiLCJoIjoiNzhiZDhmMDVlMTI3NjM2M2ViMTRlYWU3MGU5MWZlNGJjMjA3MDNhYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * revert change to containeranalysis Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]> Co-authored-by: Sofia Leon <[email protected]>
- Loading branch information
1 parent
363067c
commit 6237ae9
Showing
31 changed files
with
10,098 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
packages/google-cloud-notebooks/protos/google/cloud/notebooks/v1/diagnostic_config.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// 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. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.notebooks.v1; | ||
|
||
import "google/api/field_behavior.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "DiagnosticConfigProto"; | ||
option java_package = "com.google.cloud.notebooks.v1"; | ||
|
||
// Defines flags that are used to run the diagnostic tool | ||
message DiagnosticConfig { | ||
// Required. User Cloud Storage bucket location (REQUIRED). | ||
// Must be formatted with path prefix (`gs://$GCS_BUCKET`). | ||
// | ||
// Permissions: | ||
// User Managed Notebooks: | ||
// - storage.buckets.writer: Must be given to the project's service account | ||
// attached to VM. | ||
// Google Managed Notebooks: | ||
// - storage.buckets.writer: Must be given to the project's service account or | ||
// user credentials attached to VM depending on authentication mode. | ||
// | ||
// Cloud Storage bucket Log file will be written to | ||
// `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz` | ||
string gcs_bucket = 1 [(google.api.field_behavior) = REQUIRED]; | ||
|
||
// Optional. Defines the relative storage path in the Cloud Storage bucket | ||
// where the diagnostic logs will be written: Default path will be the root | ||
// directory of the Cloud Storage bucket | ||
// (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) | ||
// Example of full path where Log file will be written: | ||
// `gs://$GCS_BUCKET/$RELATIVE_PATH/` | ||
string relative_path = 2 [(google.api.field_behavior) = OPTIONAL]; | ||
|
||
// Optional. Enables flag to repair service for instance | ||
bool repair_flag_enabled = 3 [(google.api.field_behavior) = OPTIONAL]; | ||
|
||
// Optional. Enables flag to capture packets from the instance for 30 seconds | ||
bool packet_capture_flag_enabled = 4 [(google.api.field_behavior) = OPTIONAL]; | ||
|
||
// Optional. Enables flag to copy all `/home/jupyter` folder contents | ||
bool copy_home_files_flag_enabled = 5 | ||
[(google.api.field_behavior) = OPTIONAL]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.