From 2428362137f0833a0d98c797b1b0a4a0f940af62 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 14 Nov 2023 14:25:10 -0800 Subject: [PATCH] feat: Added REGIONAL tier support in the v1beta1 API PiperOrigin-RevId: 582440606 --- .../v1beta1/cloud_filestore_service.proto | 23 ++++++++++++++----- .../cloud/filestore/v1beta1/file_v1beta1.yaml | 11 --------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google/cloud/filestore/v1beta1/cloud_filestore_service.proto b/google/cloud/filestore/v1beta1/cloud_filestore_service.proto index 5c11d8cc04..07ce66e3b6 100644 --- a/google/cloud/filestore/v1beta1/cloud_filestore_service.proto +++ b/google/cloud/filestore/v1beta1/cloud_filestore_service.proto @@ -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). @@ -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. @@ -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; @@ -780,8 +788,8 @@ 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" } @@ -789,7 +797,7 @@ message RevertInstanceRequest { // 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]; } @@ -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]; } diff --git a/google/cloud/filestore/v1beta1/file_v1beta1.yaml b/google/cloud/filestore/v1beta1/file_v1beta1.yaml index a06cca64de..c250ecebbd 100644 --- a/google/cloud/filestore/v1beta1/file_v1beta1.yaml +++ b/google/cloud/filestore/v1beta1/file_v1beta1.yaml @@ -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