Skip to content

Commit 932807b

Browse files
Google APIscopybara-github
authored andcommitted
fix: restrict the visibility of an API
PiperOrigin-RevId: 529123224
1 parent 4f9e1a0 commit 932807b

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

google/cloud/tpu/v2alpha1/cloud_tpu.proto

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -164,20 +164,6 @@ service Tpu {
164164
};
165165
}
166166

167-
// Resets a QueuedResource TPU instance
168-
rpc ResetQueuedResource(ResetQueuedResourceRequest)
169-
returns (google.longrunning.Operation) {
170-
option (google.api.http) = {
171-
post: "/v2alpha1/{name=projects/*/locations/*/queuedResources/*}:reset"
172-
body: "*"
173-
};
174-
option (google.api.method_signature) = "name";
175-
option (google.longrunning.operation_info) = {
176-
response_type: "QueuedResource"
177-
metadata_type: "OperationMetadata"
178-
};
179-
}
180-
181167
// Generates the Cloud TPU service identity for the project.
182168
rpc GenerateServiceIdentity(GenerateServiceIdentityRequest)
183169
returns (GenerateServiceIdentityResponse) {
@@ -928,18 +914,6 @@ message DeleteQueuedResourceRequest {
928914
string request_id = 2;
929915
}
930916

931-
// Request for
932-
// [ResetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.ResetQueuedResource].
933-
message ResetQueuedResourceRequest {
934-
// Required. The name of the queued resource.
935-
string name = 1 [
936-
(google.api.field_behavior) = REQUIRED,
937-
(google.api.resource_reference) = {
938-
type: "tpu.googleapis.com/QueuedResource"
939-
}
940-
];
941-
}
942-
943917
// The per-product per-project service identity for Cloud TPU service.
944918
message ServiceIdentity {
945919
// The email address of the service identity.

0 commit comments

Comments
 (0)