NAME

Google::Cloud::Netapp::V1::Volume - Compiled Protocol Buffers messages for google/cloud/netapp/v1/volume.proto

SYNOPSIS

use Google::Cloud::Netapp::V1::Volume;

my $msg = Google::Cloud::Netapp::V1::Volume::ListVolumesRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::Volume::ListVolumesRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/volume.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Netapp::V1::Volume::ListVolumesRequest

Message for requesting list of Volumes

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListVolumesRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Hint for how to order the results

Google::Cloud::Netapp::V1::Volume::ListVolumesResponse

Message for response to listing Volumes

Inherits from Protobuf::Message.

Accessors

  • $msg->volumes() / $msg->volumes($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::Volume)

    The list of Volume

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Netapp::V1::Volume::ListBackupConfigsRequest

Message for requesting list of BackupConfigs in a StoragePool.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The ONTAP StoragePool for which to retrieve backup configuration information, in the format `projects/{project}/locations/{location}/storagePools/{storage_pool}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default of 50 will be used.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The next_page_token value to use if there are additional results to retrieve for this list request.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort results. Supported values are "volume_id" or ""

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. The standard list filter.

Google::Cloud::Netapp::V1::Volume::ListBackupConfigsResponse

Message for response to listing BackupConfigs in an ONTAP StoragePool.

Inherits from Protobuf::Message.

Accessors

  • $msg->volume_backup_configs() / $msg->volume_backup_configs($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::VolumeBackupConfig)

    A list of backup configurations for volumes in the pool.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Netapp::V1::Volume::VolumeBackupConfig

Backup configuration for a volume in a pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->volume_uuid() / $msg->volume_uuid($value)

    Type: String

    Provides the Ontap UUID of the volume within the pool.

  • $msg->backup_config() / $msg->backup_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BackupConfig)

    Backup configuration for the volume.

Google::Cloud::Netapp::V1::Volume::GetVolumeRequest

Message for getting a Volume

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the volume

Google::Cloud::Netapp::V1::Volume::CreateVolumeRequest

Message for creating a Volume

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Value for parent.

  • $msg->volume_id() / $msg->volume_id($value)

    Type: String

    Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

  • $msg->volume() / $msg->volume($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::Volume)

    Required. The volume being created.

Google::Cloud::Netapp::V1::Volume::UpdateVolumeRequest

Message for updating a Volume

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the Volume resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->volume() / $msg->volume($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::Volume)

    Required. The volume being updated

Google::Cloud::Netapp::V1::Volume::DeleteVolumeRequest

Message for deleting a Volume

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the volume

  • $msg->force() / $msg->force($value)

    Type: Bool

    If this field is set as true, CCFE will not block the volume resource deletion even if it has any snapshots resource. (Otherwise, the request will only work if the volume has no snapshots.)

Google::Cloud::Netapp::V1::Volume::RevertVolumeRequest

RevertVolumeRequest reverts the given volume to the specified snapshot.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the volume, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}.

  • $msg->snapshot_id() / $msg->snapshot_id($value)

    Type: String

    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}/volumes/{volume_id}/snapshots/{snapshot_id}

Google::Cloud::Netapp::V1::Volume::StartSplitRequest

Request message for splitting a volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

Google::Cloud::Netapp::V1::Volume::GetSplitStatusRequest

Request message for GetSplitStatus.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The full name of the volume. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

Google::Cloud::Netapp::V1::Volume::SplitStatus

Message for SplitStatus.

Inherits from Protobuf::Message.

Accessors

  • $msg->split_state() / $msg->split_state($value)

    Type: Enum (Google::Cloud::Netapp::V1::SplitState)

    Output only. The current state of the clone split operation.

  • $msg->state_details() / $msg->state_details($value)

    Type: String

    Output only. Human-readable details about the current state. Mostly used for displaying error messages during split failure Examples: "Split in progress", "Error: insufficient capacity".

  • $msg->progress_percent() / $msg->progress_percent($value)

    Type: Int32

    Output only. The estimated progress percentage of the split operation (0-100). This is meaningful primarily when split_state is IN_PROGRESS.

Google::Cloud::Netapp::V1::Volume::Volume

Volume provides a filesystem that you can mount.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Name of the volume

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Netapp::V1::Volume::State)

    Output only. State of the volume

  • $msg->state_details() / $msg->state_details($value)

    Type: String

    Output only. State details of the volume

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the volume

  • $msg->share_name() / $msg->share_name($value)

    Type: String

    Required. Share name of the volume

  • $msg->psa_range() / $msg->psa_range($value)

    Type: String

    Output only. This field is not implemented. The values provided in this field are ignored.

  • $msg->storage_pool() / $msg->storage_pool($value)

    Type: String

    Required. StoragePool name of the volume

  • $msg->network() / $msg->network($value)

    Type: String

    Output only. VPC Network name. Format: projects/{project}/global/networks/{network}

  • $msg->service_level() / $msg->service_level($value)

    Type: Enum (Google::Cloud::Netapp::V1::ServiceLevel)

    Output only. Service level of the volume

  • $msg->capacity_gib() / $msg->capacity_gib($value)

    Type: Int64

    Required. Capacity in GIB of the volume

  • $msg->export_policy() / $msg->export_policy($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::ExportPolicy)

    Optional. Export policy of the volume

  • $msg->protocols() / $msg->protocols($value)

    Type: Enum (Google::Cloud::Netapp::V1::Protocols)

    Required. Protocols required for the volume

  • $msg->smb_settings() / $msg->smb_settings($value)

    Type: Enum (Google::Cloud::Netapp::V1::SMBSettings)

    Optional. SMB share settings for the volume.

  • $msg->mount_options() / $msg->mount_options($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::MountOption)

    Output only. Mount options of this volume

  • $msg->unix_permissions() / $msg->unix_permissions($value)

    Type: String

    Optional. Default unix style permission (e.g. 777) the mount point will be created with. Applicable for NFS protocol types only.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::Volume::LabelsEntry)

    Optional. Labels as key value pairs

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Description of the volume

  • $msg->snapshot_policy() / $msg->snapshot_policy($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::SnapshotPolicy)

    Optional. SnapshotPolicy for a volume.

  • $msg->snap_reserve() / $msg->snap_reserve($value)

    Type: Double

    Optional. Snap_reserve specifies percentage of volume storage reserved for snapshot storage. Default is 0 percent.

  • $msg->snapshot_directory() / $msg->snapshot_directory($value)

    Type: Bool

    Optional. Snapshot_directory if enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots.

  • $msg->used_gib() / $msg->used_gib($value)

    Type: Int64

    Output only. Used capacity in GIB of the volume. This is computed periodically and it does not represent the realtime usage.

  • $msg->security_style() / $msg->security_style($value)

    Type: Enum (Google::Cloud::Netapp::V1::SecurityStyle)

    Optional. Security Style of the Volume

  • $msg->kerberos_enabled() / $msg->kerberos_enabled($value)

    Type: Bool

    Optional. Flag indicating if the volume is a kerberos volume or not, export policy rules control kerberos security modes (krb5, krb5i, krb5p).

  • $msg->ldap_enabled() / $msg->ldap_enabled($value)

    Type: Bool

    Output only. Flag indicating if the volume is NFS LDAP enabled or not.

  • $msg->active_directory() / $msg->active_directory($value)

    Type: String

    Output only. Specifies the ActiveDirectory name of a SMB volume.

  • $msg->restore_parameters() / $msg->restore_parameters($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::RestoreParameters)

    Optional. Specifies the source of the volume to be created from.

  • $msg->kms_config() / $msg->kms_config($value)

    Type: String

    Output only. Specifies the KMS config to be used for volume encryption.

  • $msg->encryption_type() / $msg->encryption_type($value)

    Type: Enum (Google::Cloud::Netapp::V1::EncryptionType)

    Output only. Specified the current volume encryption key source.

  • $msg->has_replication() / $msg->has_replication($value)

    Type: Bool

    Output only. Indicates whether the volume is part of a replication relationship.

  • $msg->backup_config() / $msg->backup_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BackupConfig)

    BackupConfig of the volume.

  • $msg->restricted_actions() / $msg->restricted_actions($value)

    Type: Enum (Google::Cloud::Netapp::V1::RestrictedAction)

    Optional. List of actions that are restricted on this volume.

  • $msg->large_capacity() / $msg->large_capacity($value)

    Type: Bool

    Optional. Flag indicating if the volume will be a large capacity volume or a regular volume. This field is used for legacy FILE pools. For Unified pools, use the `large_capacity_config` field instead. This field and `large_capacity_config` are mutually exclusive.

  • $msg->multiple_endpoints() / $msg->multiple_endpoints($value)

    Type: Bool

    Optional. Flag indicating if the volume will have an IP address per node for volumes supporting multiple IP endpoints. Only the volume with large_capacity will be allowed to have multiple endpoints.

  • $msg->tiering_policy() / $msg->tiering_policy($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::TieringPolicy)

    Tiering policy for the volume.

  • $msg->replica_zone() / $msg->replica_zone($value)

    Type: String

    Output only. Specifies the replica zone for regional volume.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Output only. Specifies the active zone for regional volume.

  • $msg->cold_tier_size_gib() / $msg->cold_tier_size_gib($value)

    Type: Int64

    Output only. Size of the volume cold tier data rounded down to the nearest GiB.

  • $msg->hybrid_replication_parameters() / $msg->hybrid_replication_parameters($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::HybridReplicationParameters)

    Optional. The Hybrid Replication parameters for the volume.

  • $msg->throughput_mibps() / $msg->throughput_mibps($value)

    Type: Double

    Optional. Throughput of the volume (in MiB/s)

  • $msg->cache_parameters() / $msg->cache_parameters($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::CacheParameters)

    Optional. Cache parameters for the volume.

  • $msg->hot_tier_size_used_gib() / $msg->hot_tier_size_used_gib($value)

    Type: Int64

    Output only. Total hot tier data rounded down to the nearest GiB used by the Volume. This field is only used for flex Service Level

  • $msg->block_devices() / $msg->block_devices($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BlockDevice)

    Optional. Block devices for the volume. Currently, only one block device is permitted per Volume.

  • $msg->large_capacity_config() / $msg->large_capacity_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::LargeCapacityConfig)

    Optional. Large capacity config for the volume. Enables and configures large capacity for volumes in Unified pools with File protocols. Not applicable for Block protocols in Unified pools. This field and the legacy `large_capacity` boolean field are mutually exclusive.

  • $msg->clone_details() / $msg->clone_details($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::Volume::CloneDetails)

    Output only. If this volume is a clone, this field contains details about the clone.

Enum: Volume::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

  • UPDATING => 4

  • RESTORING => 5

  • DISABLED => 6

  • ERROR => 7

  • PREPARING => 8

  • READ_ONLY => 9

Google::Cloud::Netapp::V1::Volume::LargeCapacityConfig

Configuration for a Large Capacity Volume. A Large Capacity Volume supports sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal constituents, and must be created in a large capacity pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->constituent_count() / $msg->constituent_count($value)

    Type: Int32

    Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The minimum number of constituents is 2.

Google::Cloud::Netapp::V1::Volume::ExportPolicy

Defines the export policy for the volume.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Netapp::V1::Volume::SimpleExportPolicyRule

An export policy rule describing various export options.

Inherits from Protobuf::Message.

Accessors

  • $msg->allowed_clients() / $msg->allowed_clients($value)

    Type: String

    Comma separated list of allowed clients IP addresses

  • $msg->has_root_access() / $msg->has_root_access($value)

    Type: String

    Whether Unix root access will be granted.

  • $msg->access_type() / $msg->access_type($value)

    Type: Enum (Google::Cloud::Netapp::V1::AccessType)

    Access type (ReadWrite, ReadOnly, None)

  • $msg->nfsv3() / $msg->nfsv3($value)

    Type: Bool

    NFS V3 protocol.

  • $msg->nfsv4() / $msg->nfsv4($value)

    Type: Bool

    NFS V4 protocol.

  • $msg->kerberos_5_read_only() / $msg->kerberos_5_read_only($value)

    Type: Bool

    If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.

  • $msg->kerberos_5_read_write() / $msg->kerberos_5_read_write($value)

    Type: Bool

    If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value be ignored if this is enabled.

  • $msg->kerberos_5i_read_only() / $msg->kerberos_5i_read_only($value)

    Type: Bool

    If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.

  • $msg->kerberos_5i_read_write() / $msg->kerberos_5i_read_write($value)

    Type: Bool

    If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value be ignored if this is enabled.

  • $msg->kerberos_5p_read_only() / $msg->kerberos_5p_read_only($value)

    Type: Bool

    If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.

  • $msg->kerberos_5p_read_write() / $msg->kerberos_5p_read_write($value)

    Type: Bool

    If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value be ignored if this is enabled.

  • $msg->squash_mode() / $msg->squash_mode($value)

    Type: Enum (Google::Cloud::Netapp::V1::SimpleExportPolicyRule::SquashMode)

    Optional. Defines how user identity squashing is applied for this export rule. This field is the preferred way to configure squashing behavior and takes precedence over `has_root_access` if both are provided.

  • $msg->anon_uid() / $msg->anon_uid($value)

    Type: Int64

    Optional. An integer representing the anonymous user ID. Range is 0 to `4294967295`. Required when `squash_mode` is `ROOT_SQUASH` or `ALL_SQUASH`.

Enum: SimpleExportPolicyRule::SquashMode

  • SQUASH_MODE_UNSPECIFIED => 0

  • NO_ROOT_SQUASH => 1

  • ROOT_SQUASH => 2

  • ALL_SQUASH => 3

Google::Cloud::Netapp::V1::Volume::SnapshotPolicy

Snapshot Policy for a volume.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Netapp::V1::Volume::HourlySchedule

Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.

Inherits from Protobuf::Message.

Accessors

  • $msg->snapshots_to_keep() / $msg->snapshots_to_keep($value)

    Type: Double

    The maximum number of Snapshots to keep for the hourly schedule

  • $msg->minute() / $msg->minute($value)

    Type: Double

    Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

Google::Cloud::Netapp::V1::Volume::DailySchedule

Make a snapshot every day e.g. at 04:00, 05:20, 23:50

Inherits from Protobuf::Message.

Accessors

  • $msg->snapshots_to_keep() / $msg->snapshots_to_keep($value)

    Type: Double

    The maximum number of Snapshots to keep for the hourly schedule

  • $msg->minute() / $msg->minute($value)

    Type: Double

    Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

  • $msg->hour() / $msg->hour($value)

    Type: Double

    Set the hour to start the snapshot (0-23), defaults to midnight (0).

Google::Cloud::Netapp::V1::Volume::WeeklySchedule

Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50

Inherits from Protobuf::Message.

Accessors

  • $msg->snapshots_to_keep() / $msg->snapshots_to_keep($value)

    Type: Double

    The maximum number of Snapshots to keep for the hourly schedule

  • $msg->minute() / $msg->minute($value)

    Type: Double

    Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

  • $msg->hour() / $msg->hour($value)

    Type: Double

    Set the hour to start the snapshot (0-23), defaults to midnight (0).

  • $msg->day() / $msg->day($value)

    Type: String

    Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

Google::Cloud::Netapp::V1::Volume::MonthlySchedule

Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50

Inherits from Protobuf::Message.

Accessors

  • $msg->snapshots_to_keep() / $msg->snapshots_to_keep($value)

    Type: Double

    The maximum number of Snapshots to keep for the hourly schedule

  • $msg->minute() / $msg->minute($value)

    Type: Double

    Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

  • $msg->hour() / $msg->hour($value)

    Type: Double

    Set the hour to start the snapshot (0-23), defaults to midnight (0).

  • $msg->days_of_month() / $msg->days_of_month($value)

    Type: String

    Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.

Google::Cloud::Netapp::V1::Volume::MountOption

View only mount options for a volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->export() / $msg->export($value)

    Type: String

    Export string

  • $msg->export_full() / $msg->export_full($value)

    Type: String

    Full export string

  • $msg->protocol() / $msg->protocol($value)

    Type: Enum (Google::Cloud::Netapp::V1::Protocols)

    Protocol to mount with.

  • $msg->instructions() / $msg->instructions($value)

    Type: String

    Instructions for mounting

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    Output only. IP Address.

Google::Cloud::Netapp::V1::Volume::RestoreParameters

The RestoreParameters if volume is created from a snapshot or backup.

Inherits from Protobuf::Message.

Accessors

  • $msg->source_snapshot() / $msg->source_snapshot($value)

    Type: String

    Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

  • $msg->source_backup() / $msg->source_backup($value)

    Type: String

    Full name of the backup resource. Format for standard backup: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}. Format for BackupDR backup: projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}

Google::Cloud::Netapp::V1::Volume::BackupConfig

BackupConfig contains backup related config on a volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->backup_policies() / $msg->backup_policies($value)

    Type: String

    Optional. When specified, schedule backups will be created based on the policy configuration.

  • $msg->backup_vault() / $msg->backup_vault($value)

    Type: String

    Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

  • $msg->scheduled_backup_enabled() / $msg->scheduled_backup_enabled($value)

    Type: Bool

    Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.

  • $msg->backup_chain_bytes() / $msg->backup_chain_bytes($value)

    Type: Int64

    Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).

Google::Cloud::Netapp::V1::Volume::TieringPolicy

Defines tiering policy for the volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->tier_action() / $msg->tier_action($value)

    Type: Enum (Google::Cloud::Netapp::V1::TieringPolicy::TierAction)

    Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.

  • $msg->cooling_threshold_days() / $msg->cooling_threshold_days($value)

    Type: Int32

    Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183. Default is 31.

  • $msg->hot_tier_bypass_mode_enabled() / $msg->hot_tier_bypass_mode_enabled($value)

    Type: Bool

    Optional. Flag indicating that the hot tier bypass mode is enabled. Default is false. This is only applicable to Flex service level.

Enum: TieringPolicy::TierAction

  • TIER_ACTION_UNSPECIFIED => 0

  • ENABLED => 1

  • PAUSED => 2

Google::Cloud::Netapp::V1::Volume::HybridReplicationParameters

The Hybrid Replication parameters for the volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->replication() / $msg->replication($value)

    Type: String

    Required. Desired name for the replication of this volume.

  • $msg->peer_volume_name() / $msg->peer_volume_name($value)

    Type: String

    Required. Name of the user's local source volume to be peered with the destination volume.

  • $msg->peer_cluster_name() / $msg->peer_cluster_name($value)

    Type: String

    Required. Name of the user's local source cluster to be peered with the destination cluster.

  • $msg->peer_svm_name() / $msg->peer_svm_name($value)

    Type: String

    Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.

  • $msg->peer_ip_addresses() / $msg->peer_ip_addresses($value)

    Type: String

    Required. List of node ip addresses to be peered with.

  • $msg->cluster_location() / $msg->cluster_location($value)

    Type: String

    Optional. Name of source cluster location associated with the Hybrid replication. This is a free-form field for the display purpose only.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Description of the replication.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::HybridReplicationParameters::LabelsEntry)

    Optional. Labels to be added to the replication as the key value pairs.

  • $msg->replication_schedule() / $msg->replication_schedule($value)

    Type: Enum (Google::Cloud::Netapp::V1::HybridReplicationSchedule)

    Optional. Replication Schedule for the replication created.

  • $msg->hybrid_replication_type() / $msg->hybrid_replication_type($value)

    Type: Enum (Google::Cloud::Netapp::V1::HybridReplicationParameters::VolumeHybridReplicationType)

    Optional. Type of the hybrid replication.

  • $msg->large_volume_constituent_count() / $msg->large_volume_constituent_count($value)

    Type: Int32

    Optional. Constituent volume count for large volume.

Enum: HybridReplicationParameters::VolumeHybridReplicationType

  • VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED => 0

  • MIGRATION => 1

  • CONTINUOUS_REPLICATION => 2

  • ONPREM_REPLICATION => 3

  • REVERSE_ONPREM_REPLICATION => 4

Google::Cloud::Netapp::V1::Volume::CacheParameters

Cache Parameters for the volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->peer_volume_name() / $msg->peer_volume_name($value)

    Type: String

    Required. Name of the origin volume for the cache volume.

  • $msg->peer_cluster_name() / $msg->peer_cluster_name($value)

    Type: String

    Required. Name of the origin volume's ONTAP cluster.

  • $msg->peer_svm_name() / $msg->peer_svm_name($value)

    Type: String

    Required. Name of the origin volume's SVM.

  • $msg->peer_ip_addresses() / $msg->peer_ip_addresses($value)

    Type: String

    Required. List of IC LIF addresses of the origin volume's ONTAP cluster.

  • $msg->enable_global_file_lock() / $msg->enable_global_file_lock($value)

    Type: Bool

    Optional. Indicates whether the cache volume has global file lock enabled.

  • $msg->cache_config() / $msg->cache_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::CacheConfig)

    Optional. Configuration of the cache volume.

  • $msg->cache_state() / $msg->cache_state($value)

    Type: Enum (Google::Cloud::Netapp::V1::CacheParameters::CacheState)

    Output only. State of the cache volume indicating the peering status.

  • $msg->command() / $msg->command($value)

    Type: String

    Output only. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.

  • $msg->peering_command_expiry_time() / $msg->peering_command_expiry_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Optional. Expiration time for the peering command to be executed on user's ONTAP.

  • $msg->passphrase() / $msg->passphrase($value)

    Type: String

    Output only. Temporary passphrase generated to accept cluster peering command.

  • $msg->state_details() / $msg->state_details($value)

    Type: String

    Output only. Detailed description of the current cache state.

Enum: CacheParameters::CacheState

  • CACHE_STATE_UNSPECIFIED => 0

  • PENDING_CLUSTER_PEERING => 1

  • PENDING_SVM_PEERING => 2

  • PEERED => 3

  • ERROR => 4

Google::Cloud::Netapp::V1::Volume::CacheConfig

Configuration of the cache volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->cache_pre_populate() / $msg->cache_pre_populate($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::CachePrePopulate)

    Optional. Pre-populate cache volume with data from the origin volume.

  • $msg->writeback_enabled() / $msg->writeback_enabled($value)

    Type: Bool

    Optional. Flag indicating whether writeback is enabled for the FlexCache volume.

  • $msg->cifs_change_notify_enabled() / $msg->cifs_change_notify_enabled($value)

    Type: Bool

    Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

  • $msg->cache_pre_populate_state() / $msg->cache_pre_populate_state($value)

    Type: Enum (Google::Cloud::Netapp::V1::CacheConfig::CachePrePopulateState)

    Output only. State of the prepopulation job indicating how the prepopulation is progressing.

Enum: CacheConfig::CachePrePopulateState

  • CACHE_PRE_POPULATE_STATE_UNSPECIFIED => 0

  • NOT_NEEDED => 1

  • IN_PROGRESS => 2

  • COMPLETE => 3

  • ERROR => 4

Google::Cloud::Netapp::V1::Volume::CachePrePopulate

Pre-populate cache volume with data from the origin volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->path_list() / $msg->path_list($value)

    Type: String

    Optional. List of directory-paths to be pre-populated for the FlexCache volume.

  • $msg->exclude_path_list() / $msg->exclude_path_list($value)

    Type: String

    Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.

  • $msg->recursion() / $msg->recursion($value)

    Type: Bool

    Optional. Flag indicating whether the directories listed with the `path_list` need to be recursively pre-populated.

Google::Cloud::Netapp::V1::Volume::BlockDevice

Block device represents the device(s) which are stored in the block volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Optional. User-defined name for the block device, unique within the volume. In case no user input is provided, name will be auto-generated in the backend. The name must meet the following requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{", ".". * Spaces are not allowed.

  • $msg->host_groups() / $msg->host_groups($value)

    Type: String

    Optional. A list of host groups that identify hosts that can mount the block volume. Format: `projects/{project_id}/locations/{location}/hostGroups/{host_group_id}` This field can be updated after the block device is created.

  • $msg->identifier() / $msg->identifier($value)

    Type: String

    Output only. Device identifier of the block volume. This represents `lun_serial_number` for iSCSI volumes.

  • $msg->size_gib() / $msg->size_gib($value)

    Type: Int64

    Optional. The size of the block device in GiB. Any value provided for the `size_gib` field during volume creation is ignored. The block device's size is system-managed and will be set to match the parent Volume's `capacity_gib`.

  • $msg->os_type() / $msg->os_type($value)

    Type: Enum (Google::Cloud::Netapp::V1::OsType)

    Required. Immutable. The OS type of the volume. This field can't be changed after the block device is created.

Google::Cloud::Netapp::V1::Volume::RestoreBackupFilesRequest

RestoreBackupFilesRequest restores files from a backup to a volume.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The volume resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`

  • $msg->backup() / $msg->backup($value)

    Type: String

    Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`

  • $msg->file_list() / $msg->file_list($value)

    Type: String

    Required. List of files to be restored, specified by their absolute path in the source volume.

  • $msg->restore_destination_path() / $msg->restore_destination_path($value)

    Type: String

    Optional. Absolute directory path in the destination volume. This is required if the `file_list` is provided.

Google::Cloud::Netapp::V1::Volume::RestoreBackupFilesResponse

RestoreBackupFilesResponse is the result of RestoreBackupFilesRequest.

Inherits from Protobuf::Message.

Google::Cloud::Netapp::V1::Volume::RestoreVolumeRequest

Request message for `RestoreVolume` API.

Inherits from Protobuf::Message.

Accessors

  • $msg->backup_source() / $msg->backup_source($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BackupSource)

    The backup source of the restore operation.

  • $msg->ontap_volume_target() / $msg->ontap_volume_target($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::OntapVolumeTarget)

    The ONTAP volume target of the restore operation.

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project}/locations/{location}/storagePools/{storage_pool}`

Google::Cloud::Netapp::V1::Volume::BackupSource

Represents the backup source of the restore operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->backup() / $msg->backup($value)

    Type: String

    Required. The backup resource name.

  • $msg->file_list() / $msg->file_list($value)

    Type: String

    Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)

Google::Cloud::Netapp::V1::Volume::OntapVolumeTarget

Represents the ONTAP volume target of the restore operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->volume_uuid() / $msg->volume_uuid($value)

    Type: String

    Required. The UUID of the ONTAP volume to restore to.

  • $msg->restore_destination_path() / $msg->restore_destination_path($value)

    Type: String

    Optional. Absolute directory path in the destination volume.

Google::Cloud::Netapp::V1::Volume::RestoreVolumeResponse

Response message for `RestoreVolume` API.

Inherits from Protobuf::Message.

Google::Cloud::Netapp::V1::Volume::EstablishVolumePeeringRequest

EstablishVolumePeeringRequest establishes cluster and svm peerings between the source and destination clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The volume resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`

  • $msg->peer_cluster_name() / $msg->peer_cluster_name($value)

    Type: String

    Required. Name of the user's local source cluster to be peered with the destination cluster.

  • $msg->peer_svm_name() / $msg->peer_svm_name($value)

    Type: String

    Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.

  • $msg->peer_ip_addresses() / $msg->peer_ip_addresses($value)

    Type: String

    Optional. List of IPv4 IP addresses to be used for peering.

  • $msg->peer_volume_name() / $msg->peer_volume_name($value)

    Type: String

    Required. Name of the user's local source volume to be peered with the destination volume.

Google::Cloud::Netapp::V1::Volume::UpdateBackupConfigRequest

Request message for UpdateBackupConfig

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

  • $msg->volume_uuid() / $msg->volume_uuid($value)

    Type: String

    Required. The UUID of the ONTAP-mode volume.

  • $msg->backup_config() / $msg->backup_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BackupConfig)

    Required. Backup configuration to apply.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

Google::Cloud::Netapp::V1::Volume::UpdateBackupConfigResponse

Response message for UpdateBackupConfig

Inherits from Protobuf::Message.

Accessors

  • $msg->volume_uuid() / $msg->volume_uuid($value)

    Type: String

    The UUID of the ONTAP-mode volume.

  • $msg->backup_config() / $msg->backup_config($value)

    Type: Message (Google::Cloud::Netapp::V1::Volume::BackupConfig)

    The updated Backup configuration for the volume.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::Volume::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.