From 989670e868daaad6ce0306e6ec1b9ff40659c19e Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 23 Sep 2020 14:49:46 -0700 Subject: [PATCH] feat: update third party protos with URLs and latest fields PiperOrigin-RevId: 333377977 --- google/cloud/notebooks/v1beta1/instance.proto | 16 ++++++++++++++-- .../notebooks/v1beta1/notebooks_v1beta1.yaml | 6 ++---- google/cloud/notebooks/v1beta1/service.proto | 19 +++++++++++++------ 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/google/cloud/notebooks/v1beta1/instance.proto b/google/cloud/notebooks/v1beta1/instance.proto index 9ac89233..e1cf91f9 100644 --- a/google/cloud/notebooks/v1beta1/instance.proto +++ b/google/cloud/notebooks/v1beta1/instance.proto @@ -22,9 +22,9 @@ import "google/cloud/notebooks/v1beta1/environment.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; option csharp_namespace = "Google.Cloud.Notebooks.V1Beta1"; -option php_namespace = "Google\\Cloud\\Notebooks\\V1Beta1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; +option php_namespace = "Google\\Cloud\\Notebooks\\V1beta1"; option ruby_package = "Google::Cloud::Notebooks::V1beta1"; option java_multiple_files = true; option java_outer_classname = "InstanceProto"; @@ -109,6 +109,15 @@ message Instance { // The instance is deleted. DELETED = 6; + + // The instance is upgrading. + UPGRADING = 7; + + // The instance is being created. + INITIALIZING = 8; + + // The instance is getting registered. + REGISTERING = 9; } // Possible disk types for notebook instances. @@ -121,6 +130,9 @@ message Instance { // SSD persistent disk type. PD_SSD = 2; + + // Balanced persistent disk type. + PD_BALANCED = 3; } // Definition of the disk encryption options. diff --git a/google/cloud/notebooks/v1beta1/notebooks_v1beta1.yaml b/google/cloud/notebooks/v1beta1/notebooks_v1beta1.yaml index f1311f94..92243150 100644 --- a/google/cloud/notebooks/v1beta1/notebooks_v1beta1.yaml +++ b/google/cloud/notebooks/v1beta1/notebooks_v1beta1.yaml @@ -11,10 +11,8 @@ types: documentation: summary: |- - AI Platform Notebooks API (beta) is used to manage notebook resources in - Google Cloud. AI Platform Notebooks API is in a pre-release state and - might change or have limited support. For more information, see the product launch stages. + AI Platform Notebooks API is used to manage notebook resources in Google + Cloud. rules: - selector: google.iam.v1.IAMPolicy.GetIamPolicy description: |- diff --git a/google/cloud/notebooks/v1beta1/service.proto b/google/cloud/notebooks/v1beta1/service.proto index f1e7f2fb..8c1b58c8 100644 --- a/google/cloud/notebooks/v1beta1/service.proto +++ b/google/cloud/notebooks/v1beta1/service.proto @@ -24,15 +24,15 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; import "google/api/client.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; option csharp_namespace = "Google.Cloud.Notebooks.V1Beta1"; -option php_namespace = "Google\\Cloud\\Notebooks\\V1Beta1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; +option php_namespace = "Google\\Cloud\\Notebooks\\V1beta1"; option ruby_package = "Google::Cloud::Notebooks::V1beta1"; option java_multiple_files = true; option java_outer_classname = "NotebooksProto"; option java_package = "com.google.cloud.notebooks.v1beta1"; -// API service for Cloud AI Platform Notebooks. +// API v1beta1 service for Cloud AI Platform Notebooks. service NotebookService { option (google.api.default_host) = "notebooks.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; @@ -271,6 +271,9 @@ message OperationMetadata { // API version used to start the operation. string api_version = 7; + + // API endpoint name of this operation. + string endpoint = 8; } // Request for listing notebook instances. @@ -346,8 +349,8 @@ message SetInstanceAcceleratorRequest { // Required. Count of cores of this accelerator. Note that not all combinations // of `type` and `core_count` are valid. Check [GPUs on - // Compute Engine](/compute/docs/gpus/#gpus-list) to find a valid - // combination. TPUs are not supported. + // Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to + // find a valid combination. TPUs are not supported. int64 core_count = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -357,7 +360,8 @@ message SetInstanceMachineTypeRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}` string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The [Compute Engine machine type](/compute/docs/machine-types). + // Required. The [Compute Engine machine + // type](https://cloud.google.com/compute/docs/machine-types). string machine_type = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -430,6 +434,9 @@ message IsInstanceUpgradeableResponse { // The version this instance will be upgraded to if calling the upgrade // endpoint. This field will only be populated if field upgradeable is true. string upgrade_version = 2; + + // Additional information about upgrade. + string upgrade_info = 3; } // Request for upgrading a notebook instance