Skip to content

Commit

Permalink
feat: [parallelstore] A new enum DeploymentType is added (#5863)
Browse files Browse the repository at this point in the history
* feat: A new enum `DeploymentType` is added
feat: A new field `deployment_type` is added to message `.google.cloud.parallelstore.v1beta.Instance`

PiperOrigin-RevId: 702831788

Source-Link: googleapis/googleapis@9ea2c56

Source-Link: googleapis/googleapis-gen@75e8105
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXBhcmFsbGVsc3RvcmUvLk93bEJvdC55YW1sIiwiaCI6Ijc1ZTgxMDU1YTk3ZjA0ZWY1M2U1YjNmNDcwMzk4MWYzZGU4ODUyYTIifQ==

* 🦉 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: d-goog <[email protected]>
  • Loading branch information
3 people authored Dec 9, 2024
1 parent a74f107 commit 9f8c0c2
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,19 @@ enum DirectoryStripeLevel {
DIRECTORY_STRIPE_LEVEL_MAX = 3;
}

// Represents the deployment type for the instance.
enum DeploymentType {
// Default Deployment Type
// It is equivalent to SCRATCH
DEPLOYMENT_TYPE_UNSPECIFIED = 0;

// Scratch
SCRATCH = 1;

// Persistent
PERSISTENT = 2;
}

// A Parallelstore instance.
message Instance {
option (google.api.resource) = {
Expand Down Expand Up @@ -307,6 +320,12 @@ message Instance {
// number of files.
DirectoryStripeLevel directory_stripe_level = 16
[(google.api.field_behavior) = OPTIONAL];

// Optional. The deployment type of the instance. Allowed values are:
//
// * `SCRATCH`: the instance is a scratch instance.
// * `PERSISTENT`: the instance is a persistent instance.
DeploymentType deployment_type = 17 [(google.api.field_behavior) = OPTIONAL];
}

// List instances request.
Expand Down
13 changes: 13 additions & 0 deletions packages/google-cloud-parallelstore/protos/protos.d.ts

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

63 changes: 63 additions & 0 deletions packages/google-cloud-parallelstore/protos/protos.js

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

14 changes: 14 additions & 0 deletions packages/google-cloud-parallelstore/protos/protos.json

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

0 comments on commit 9f8c0c2

Please sign in to comment.