Skip to content

Commit

Permalink
fix: restrict the visibility of an API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 529123224
  • Loading branch information
Google APIs authored and Copybara-Service committed May 3, 2023
1 parent 4f9e1a0 commit 932807b
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions google/cloud/tpu/v2alpha1/cloud_tpu.proto
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 932807b

Please sign in to comment.