Skip to content

Commit

Permalink
fix: [tpu] restrict the visibility of an API (#4234)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored May 4, 2023
1 parent 9f0e301 commit 2421e93
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 884 deletions.
93 changes: 46 additions & 47 deletions packages/google-cloud-tpu/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
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
118 changes: 0 additions & 118 deletions packages/google-cloud-tpu/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2421e93

Please sign in to comment.