fix: restrict the visibility of an API

PiperOrigin-RevId: 529123224
pull/799/head
Google APIs 2 years ago committed by Copybara-Service
parent 4f9e1a058e
commit 932807b279
  1. 26
      google/cloud/tpu/v2alpha1/cloud_tpu.proto

@ -164,20 +164,6 @@ service Tpu {
};
}
// Resets a QueuedResource TPU instance
rpc ResetQueuedResource(ResetQueuedResourceRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v2alpha1/{name=projects/*/locations/*/queuedResources/*}:reset"
body: "*"
};
option (google.api.method_signature) = "name";
option (google.longrunning.operation_info) = {
response_type: "QueuedResource"
metadata_type: "OperationMetadata"
};
}
// Generates the Cloud TPU service identity for the project.
rpc GenerateServiceIdentity(GenerateServiceIdentityRequest)
returns (GenerateServiceIdentityResponse) {
@ -928,18 +914,6 @@ message DeleteQueuedResourceRequest {
string request_id = 2;
}
// Request for
// [ResetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.ResetQueuedResource].
message ResetQueuedResourceRequest {
// Required. The name of the queued resource.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "tpu.googleapis.com/QueuedResource"
}
];
}
// The per-product per-project service identity for Cloud TPU service.
message ServiceIdentity {
// The email address of the service identity.

Loading…
Cancel
Save