feat: update third party protos with URLs and latest fields
PiperOrigin-RevId: 333377977
This commit is contained in:
parent
0fd468f90d
commit
989670e868
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 <a
|
||||
href="/products#product-launch-stages">product launch stages</a>.
|
||||
AI Platform Notebooks API is used to manage notebook resources in Google
|
||||
Cloud.
|
||||
rules:
|
||||
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
|
||||
description: |-
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue