Class BackupPolicy (0.3.15)

BackupPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
name str
Identifier. The resource name of the backup policy. Format: projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}.
daily_backup_limit int
Number of daily backups to keep. Note that the minimum daily backup limit is 2. This field is a member of oneof_ _daily_backup_limit.
weekly_backup_limit int
Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1. This field is a member of oneof_ _weekly_backup_limit.
monthly_backup_limit int
Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1. This field is a member of oneof_ _monthly_backup_limit.
description str
Description of the backup policy. This field is a member of oneof_ _description.
enabled bool
If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true. This field is a member of oneof_ _enabled.
assigned_volume_count int
Output only. The total number of volumes assigned by this backup policy. This field is a member of oneof_ _assigned_volume_count.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the backup policy was created.
labels MutableMapping[str, str]
Resource labels to represent user provided metadata.
state google.cloud.netapp_v1.types.BackupPolicy.State
Output only. The backup policy state.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)