BackupPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Backup Policy.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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,
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 |
State
State(value)