Skip to content

Commit

Permalink
feat: Added REGIONAL tier support in the v1beta1 API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 582440606
  • Loading branch information
Google APIs authored and Copybara-Service committed Nov 14, 2023
1 parent 8aa1ad7 commit 2428362
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
23 changes: 17 additions & 6 deletions google/cloud/filestore/v1beta1/cloud_filestore_service.proto
Expand Up @@ -385,9 +385,10 @@ message NetworkConfig {

// File share configuration for the instance.
message FileShareConfig {
// The name of the file share (must be 32 characters or less for
// Enterprise and High Scale SSD tiers and 16 characters or less for all other
// tiers).
// Required. The name of the file share. Must use 1-16 characters for the
// basic service tier and 1-63 characters for all other service tiers.
// Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must
// start with a letter. Immutable.
string name = 1;

// File share capacity in gigabytes (GB).
Expand Down Expand Up @@ -597,6 +598,10 @@ message Instance {
// ZONAL instances offer expanded capacity and performance scaling
// capabilities.
ZONAL = 8;

// REGIONAL instances offer the features and availability needed for
// mission-critical workloads.
REGIONAL = 9;
}

// SuspensionReason contains the possible reasons for a suspension.
Expand Down Expand Up @@ -660,6 +665,9 @@ message Instance {
google.protobuf.BoolValue satisfies_pzs = 13
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 26 [(google.api.field_behavior) = OUTPUT_ONLY];

// KMS key name used for data encryption.
string kms_key_name = 14;

Expand Down Expand Up @@ -780,16 +788,16 @@ message RestoreInstanceRequest {
// specified snapshot.
message RevertInstanceRequest {
// Required.
// projects/{project_id}/locations/{location_id}/instances/{instance_id}. The
// resource name of the instance, in the format
// `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
// The resource name of the instance, in the format
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = { type: "file.googleapis.com/Instance" }
];

// Required. The snapshot resource ID, in the format 'my-snapshot', where the
// specified ID is the {snapshot_id} of the fully qualified name like
// projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
// `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`
string target_snapshot_id = 2 [(google.api.field_behavior) = REQUIRED];
}

Expand Down Expand Up @@ -1063,6 +1071,9 @@ message Backup {
google.protobuf.BoolValue satisfies_pzs = 12
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reserved for future use.
bool satisfies_pzi = 14 [(google.api.field_behavior) = OUTPUT_ONLY];

// Immutable. KMS key name used for data encryption.
string kms_key_name = 13 [(google.api.field_behavior) = IMMUTABLE];
}
Expand Down
11 changes: 0 additions & 11 deletions google/cloud/filestore/v1beta1/file_v1beta1.yaml
Expand Up @@ -19,17 +19,6 @@ documentation:
- selector: google.cloud.location.Locations.ListLocations
description: Lists information about the supported locations for this service.

backend:
rules:
- selector: 'google.cloud.filestore.v1beta1.CloudFilestoreManager.*'
deadline: 60.0
- selector: google.cloud.location.Locations.GetLocation
deadline: 60.0
- selector: google.cloud.location.Locations.ListLocations
deadline: 60.0
- selector: 'google.longrunning.Operations.*'
deadline: 60.0

http:
rules:
- selector: google.cloud.location.Locations.GetLocation
Expand Down

0 comments on commit 2428362

Please sign in to comment.