aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2024-05-16 14:04:11 -0700
committerCopybara-Service <copybara-worker@google.com>2024-05-16 14:05:04 -0700
commita07bf82eb48d79bc113620b3fb517a3ebe92989c (patch)
treed73b6f0594894d477b426d8973268ebe72c93c1f
parent3cba4738844f57da2272c4e23db3f5e9bf30bb81 (diff)
downloadgoogleapis-a07bf82eb48d79bc113620b3fb517a3ebe92989c.tar.gz
feat: Add a new Service Level FLEX
feat: Add Tiering Policy to Volume feat: Add backup chain bytes to BackupConfig in Volume feat: Add Location metadata support PiperOrigin-RevId: 634521970
-rw-r--r--google/cloud/netapp/v1/common.proto13
-rw-r--r--google/cloud/netapp/v1/netapp_v1.yaml1
-rw-r--r--google/cloud/netapp/v1/volume.proto33
3 files changed, 47 insertions, 0 deletions
diff --git a/google/cloud/netapp/v1/common.proto b/google/cloud/netapp/v1/common.proto
index 77290403a..5123776af 100644
--- a/google/cloud/netapp/v1/common.proto
+++ b/google/cloud/netapp/v1/common.proto
@@ -16,6 +16,8 @@ syntax = "proto3";
package google.cloud.netapp.v1;
+import "google/api/field_behavior.proto";
+
option csharp_namespace = "Google.Cloud.NetApp.V1";
option go_package = "cloud.google.com/go/netapp/apiv1/netapppb;netapppb";
option java_multiple_files = true;
@@ -37,6 +39,9 @@ enum ServiceLevel {
// Standard service level.
STANDARD = 3;
+
+ // Flex service level.
+ FLEX = 4;
}
// The volume encryption key source.
@@ -50,3 +55,11 @@ enum EncryptionType {
// Customer managed encryption key, which is stored in KMS.
CLOUD_KMS = 2;
}
+
+// Metadata for a given
+// [google.cloud.location.Location][google.cloud.location.Location].
+message LocationMetadata {
+ // Output only. Supported service levels in a location.
+ repeated ServiceLevel supported_service_levels = 1
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/google/cloud/netapp/v1/netapp_v1.yaml b/google/cloud/netapp/v1/netapp_v1.yaml
index e6e55fc64..7e6eec4df 100644
--- a/google/cloud/netapp/v1/netapp_v1.yaml
+++ b/google/cloud/netapp/v1/netapp_v1.yaml
@@ -9,6 +9,7 @@ apis:
- name: google.longrunning.Operations
types:
+- name: google.cloud.netapp.v1.LocationMetadata
- name: google.cloud.netapp.v1.OperationMetadata
documentation:
diff --git a/google/cloud/netapp/v1/volume.proto b/google/cloud/netapp/v1/volume.proto
index 1cabdcbbb..49f3b11bf 100644
--- a/google/cloud/netapp/v1/volume.proto
+++ b/google/cloud/netapp/v1/volume.proto
@@ -383,6 +383,9 @@ message Volume {
// Optional. List of actions that are restricted on this volume.
repeated RestrictedAction restricted_actions = 31
[(google.api.field_behavior) = OPTIONAL];
+
+ // Tiering policy for the volume.
+ optional TieringPolicy tiering_policy = 34;
}
// Defines the export policy for the volume.
@@ -576,4 +579,34 @@ message BackupConfig {
// This field should be nil when there's no backup policy attached.
optional bool scheduled_backup_enabled = 3
[(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Total size of all backups in a chain in bytes = baseline
+ // backup size + sum(incremental backup size).
+ optional int64 backup_chain_bytes = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Defines tiering policy for the volume.
+message TieringPolicy {
+ // Tier action for the volume.
+ enum TierAction {
+ // Unspecified.
+ TIER_ACTION_UNSPECIFIED = 0;
+
+ // When tiering is enabled, new cold data will be tiered.
+ ENABLED = 1;
+
+ // When paused, tiering won't be performed on new data. Existing data stays
+ // tiered until accessed.
+ PAUSED = 2;
+ }
+
+ // Optional. Flag indicating if the volume has tiering policy enable/pause.
+ // Default is PAUSED.
+ optional TierAction tier_action = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Time in days to mark the volume's data block as cold and make it
+ // eligible for tiering, can be range from 7-183. Default is 31.
+ optional int32 cooling_threshold_days = 2
+ [(google.api.field_behavior) = OPTIONAL];
}