Skip to content

Commit 2421e93

Browse files
fix: [tpu] restrict the visibility of an API (#4234)
* fix: restrict the visibility of an API PiperOrigin-RevId: 529123224 Source-Link: googleapis/googleapis@932807b Source-Link: googleapis/googleapis-gen@439eee4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiNDM5ZWVlNDdlMzE4M2NkYjk4OGYxOTM2MmU2ZWVhNWY5YTAwNTBlOCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent 9f0e301 commit 2421e93

11 files changed

Lines changed: 46 additions & 884 deletions

File tree

packages/google-cloud-tpu/README.md

Lines changed: 46 additions & 47 deletions
Large diffs are not rendered by default.

packages/google-cloud-tpu/protos/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.

packages/google-cloud-tpu/protos/protos.d.ts

Lines changed: 0 additions & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)