Skip to content

Commit c37fd0c

Browse files
feat: [netapp] Add a new Service Level FLEX (#5361)
* 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 Source-Link: googleapis/googleapis@a07bf82 Source-Link: googleapis/googleapis-gen@77bcbe2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiNzdiY2JlMjY3NTUyOGVlYzE1ZGM0NmNhZWJlZmYyZGI5ZGU5NjU0MyJ9 * 🦉 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>
1 parent 4185d57 commit c37fd0c

5 files changed

Lines changed: 1026 additions & 2 deletions

File tree

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/common.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ syntax = "proto3";
1616

1717
package google.cloud.netapp.v1;
1818

19+
import "google/api/field_behavior.proto";
20+
1921
option csharp_namespace = "Google.Cloud.NetApp.V1";
2022
option go_package = "cloud.google.com/go/netapp/apiv1/netapppb;netapppb";
2123
option java_multiple_files = true;
@@ -37,6 +39,9 @@ enum ServiceLevel {
3739

3840
// Standard service level.
3941
STANDARD = 3;
42+
43+
// Flex service level.
44+
FLEX = 4;
4045
}
4146

4247
// The volume encryption key source.
@@ -50,3 +55,11 @@ enum EncryptionType {
5055
// Customer managed encryption key, which is stored in KMS.
5156
CLOUD_KMS = 2;
5257
}
58+
59+
// Metadata for a given
60+
// [google.cloud.location.Location][google.cloud.location.Location].
61+
message LocationMetadata {
62+
// Output only. Supported service levels in a location.
63+
repeated ServiceLevel supported_service_levels = 1
64+
[(google.api.field_behavior) = OUTPUT_ONLY];
65+
}

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/volume.proto

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ message Volume {
383383
// Optional. List of actions that are restricted on this volume.
384384
repeated RestrictedAction restricted_actions = 31
385385
[(google.api.field_behavior) = OPTIONAL];
386+
387+
// Tiering policy for the volume.
388+
optional TieringPolicy tiering_policy = 34;
386389
}
387390

388391
// Defines the export policy for the volume.
@@ -576,4 +579,34 @@ message BackupConfig {
576579
// This field should be nil when there's no backup policy attached.
577580
optional bool scheduled_backup_enabled = 3
578581
[(google.api.field_behavior) = OPTIONAL];
582+
583+
// Output only. Total size of all backups in a chain in bytes = baseline
584+
// backup size + sum(incremental backup size).
585+
optional int64 backup_chain_bytes = 4
586+
[(google.api.field_behavior) = OUTPUT_ONLY];
587+
}
588+
589+
// Defines tiering policy for the volume.
590+
message TieringPolicy {
591+
// Tier action for the volume.
592+
enum TierAction {
593+
// Unspecified.
594+
TIER_ACTION_UNSPECIFIED = 0;
595+
596+
// When tiering is enabled, new cold data will be tiered.
597+
ENABLED = 1;
598+
599+
// When paused, tiering won't be performed on new data. Existing data stays
600+
// tiered until accessed.
601+
PAUSED = 2;
602+
}
603+
604+
// Optional. Flag indicating if the volume has tiering policy enable/pause.
605+
// Default is PAUSED.
606+
optional TierAction tier_action = 1 [(google.api.field_behavior) = OPTIONAL];
607+
608+
// Optional. Time in days to mark the volume's data block as cold and make it
609+
// eligible for tiering, can be range from 7-183. Default is 31.
610+
optional int32 cooling_threshold_days = 2
611+
[(google.api.field_behavior) = OPTIONAL];
579612
}

packages/google-cloud-netapp/protos/protos.d.ts

Lines changed: 236 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)