Server IP : 103.119.228.120 / Your IP : 3.148.106.49 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/database/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class DbBackupConfig(object): """ Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm """ #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_ONE" AUTO_BACKUP_WINDOW_SLOT_ONE = "SLOT_ONE" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TWO" AUTO_BACKUP_WINDOW_SLOT_TWO = "SLOT_TWO" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_THREE" AUTO_BACKUP_WINDOW_SLOT_THREE = "SLOT_THREE" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_FOUR" AUTO_BACKUP_WINDOW_SLOT_FOUR = "SLOT_FOUR" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_FIVE" AUTO_BACKUP_WINDOW_SLOT_FIVE = "SLOT_FIVE" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_SIX" AUTO_BACKUP_WINDOW_SLOT_SIX = "SLOT_SIX" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_SEVEN" AUTO_BACKUP_WINDOW_SLOT_SEVEN = "SLOT_SEVEN" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_EIGHT" AUTO_BACKUP_WINDOW_SLOT_EIGHT = "SLOT_EIGHT" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_NINE" AUTO_BACKUP_WINDOW_SLOT_NINE = "SLOT_NINE" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TEN" AUTO_BACKUP_WINDOW_SLOT_TEN = "SLOT_TEN" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_ELEVEN" AUTO_BACKUP_WINDOW_SLOT_ELEVEN = "SLOT_ELEVEN" #: A constant which can be used with the auto_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TWELVE" AUTO_BACKUP_WINDOW_SLOT_TWELVE = "SLOT_TWELVE" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_ONE" AUTO_FULL_BACKUP_WINDOW_SLOT_ONE = "SLOT_ONE" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TWO" AUTO_FULL_BACKUP_WINDOW_SLOT_TWO = "SLOT_TWO" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_THREE" AUTO_FULL_BACKUP_WINDOW_SLOT_THREE = "SLOT_THREE" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_FOUR" AUTO_FULL_BACKUP_WINDOW_SLOT_FOUR = "SLOT_FOUR" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_FIVE" AUTO_FULL_BACKUP_WINDOW_SLOT_FIVE = "SLOT_FIVE" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_SIX" AUTO_FULL_BACKUP_WINDOW_SLOT_SIX = "SLOT_SIX" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_SEVEN" AUTO_FULL_BACKUP_WINDOW_SLOT_SEVEN = "SLOT_SEVEN" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_EIGHT" AUTO_FULL_BACKUP_WINDOW_SLOT_EIGHT = "SLOT_EIGHT" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_NINE" AUTO_FULL_BACKUP_WINDOW_SLOT_NINE = "SLOT_NINE" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TEN" AUTO_FULL_BACKUP_WINDOW_SLOT_TEN = "SLOT_TEN" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_ELEVEN" AUTO_FULL_BACKUP_WINDOW_SLOT_ELEVEN = "SLOT_ELEVEN" #: A constant which can be used with the auto_full_backup_window property of a DbBackupConfig. #: This constant has a value of "SLOT_TWELVE" AUTO_FULL_BACKUP_WINDOW_SLOT_TWELVE = "SLOT_TWELVE" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "SUNDAY" AUTO_FULL_BACKUP_DAY_SUNDAY = "SUNDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "MONDAY" AUTO_FULL_BACKUP_DAY_MONDAY = "MONDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "TUESDAY" AUTO_FULL_BACKUP_DAY_TUESDAY = "TUESDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "WEDNESDAY" AUTO_FULL_BACKUP_DAY_WEDNESDAY = "WEDNESDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "THURSDAY" AUTO_FULL_BACKUP_DAY_THURSDAY = "THURSDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "FRIDAY" AUTO_FULL_BACKUP_DAY_FRIDAY = "FRIDAY" #: A constant which can be used with the auto_full_backup_day property of a DbBackupConfig. #: This constant has a value of "SATURDAY" AUTO_FULL_BACKUP_DAY_SATURDAY = "SATURDAY" #: A constant which can be used with the backup_deletion_policy property of a DbBackupConfig. #: This constant has a value of "DELETE_IMMEDIATELY" BACKUP_DELETION_POLICY_DELETE_IMMEDIATELY = "DELETE_IMMEDIATELY" #: A constant which can be used with the backup_deletion_policy property of a DbBackupConfig. #: This constant has a value of "DELETE_AFTER_RETENTION_PERIOD" BACKUP_DELETION_POLICY_DELETE_AFTER_RETENTION_PERIOD = "DELETE_AFTER_RETENTION_PERIOD" def __init__(self, **kwargs): """ Initializes a new DbBackupConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param auto_backup_enabled: The value to assign to the auto_backup_enabled property of this DbBackupConfig. :type auto_backup_enabled: bool :param recovery_window_in_days: The value to assign to the recovery_window_in_days property of this DbBackupConfig. :type recovery_window_in_days: int :param auto_backup_window: The value to assign to the auto_backup_window property of this DbBackupConfig. Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_backup_window: str :param auto_full_backup_window: The value to assign to the auto_full_backup_window property of this DbBackupConfig. Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_full_backup_window: str :param auto_full_backup_day: The value to assign to the auto_full_backup_day property of this DbBackupConfig. Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_full_backup_day: str :param run_immediate_full_backup: The value to assign to the run_immediate_full_backup property of this DbBackupConfig. :type run_immediate_full_backup: bool :param backup_destination_details: The value to assign to the backup_destination_details property of this DbBackupConfig. :type backup_destination_details: list[oci.database.models.BackupDestinationDetails] :param backup_deletion_policy: The value to assign to the backup_deletion_policy property of this DbBackupConfig. Allowed values for this property are: "DELETE_IMMEDIATELY", "DELETE_AFTER_RETENTION_PERIOD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type backup_deletion_policy: str """ self.swagger_types = { 'auto_backup_enabled': 'bool', 'recovery_window_in_days': 'int', 'auto_backup_window': 'str', 'auto_full_backup_window': 'str', 'auto_full_backup_day': 'str', 'run_immediate_full_backup': 'bool', 'backup_destination_details': 'list[BackupDestinationDetails]', 'backup_deletion_policy': 'str' } self.attribute_map = { 'auto_backup_enabled': 'autoBackupEnabled', 'recovery_window_in_days': 'recoveryWindowInDays', 'auto_backup_window': 'autoBackupWindow', 'auto_full_backup_window': 'autoFullBackupWindow', 'auto_full_backup_day': 'autoFullBackupDay', 'run_immediate_full_backup': 'runImmediateFullBackup', 'backup_destination_details': 'backupDestinationDetails', 'backup_deletion_policy': 'backupDeletionPolicy' } self._auto_backup_enabled = None self._recovery_window_in_days = None self._auto_backup_window = None self._auto_full_backup_window = None self._auto_full_backup_day = None self._run_immediate_full_backup = None self._backup_destination_details = None self._backup_deletion_policy = None @property def auto_backup_enabled(self): """ Gets the auto_backup_enabled of this DbBackupConfig. If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. :return: The auto_backup_enabled of this DbBackupConfig. :rtype: bool """ return self._auto_backup_enabled @auto_backup_enabled.setter def auto_backup_enabled(self, auto_backup_enabled): """ Sets the auto_backup_enabled of this DbBackupConfig. If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. :param auto_backup_enabled: The auto_backup_enabled of this DbBackupConfig. :type: bool """ self._auto_backup_enabled = auto_backup_enabled @property def recovery_window_in_days(self): """ Gets the recovery_window_in_days of this DbBackupConfig. Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :return: The recovery_window_in_days of this DbBackupConfig. :rtype: int """ return self._recovery_window_in_days @recovery_window_in_days.setter def recovery_window_in_days(self, recovery_window_in_days): """ Sets the recovery_window_in_days of this DbBackupConfig. Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param recovery_window_in_days: The recovery_window_in_days of this DbBackupConfig. :type: int """ self._recovery_window_in_days = recovery_window_in_days @property def auto_backup_window(self): """ Gets the auto_backup_window of this DbBackupConfig. Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: `SLOT_TWO` Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The auto_backup_window of this DbBackupConfig. :rtype: str """ return self._auto_backup_window @auto_backup_window.setter def auto_backup_window(self, auto_backup_window): """ Sets the auto_backup_window of this DbBackupConfig. Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: `SLOT_TWO` :param auto_backup_window: The auto_backup_window of this DbBackupConfig. :type: str """ allowed_values = ["SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE"] if not value_allowed_none_or_none_sentinel(auto_backup_window, allowed_values): auto_backup_window = 'UNKNOWN_ENUM_VALUE' self._auto_backup_window = auto_backup_window @property def auto_full_backup_window(self): """ Gets the auto_full_backup_window of this DbBackupConfig. Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: `SLOT_TWO` Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The auto_full_backup_window of this DbBackupConfig. :rtype: str """ return self._auto_full_backup_window @auto_full_backup_window.setter def auto_full_backup_window(self, auto_full_backup_window): """ Sets the auto_full_backup_window of this DbBackupConfig. Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: `SLOT_TWO` :param auto_full_backup_window: The auto_full_backup_window of this DbBackupConfig. :type: str """ allowed_values = ["SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE"] if not value_allowed_none_or_none_sentinel(auto_full_backup_window, allowed_values): auto_full_backup_window = 'UNKNOWN_ENUM_VALUE' self._auto_full_backup_window = auto_full_backup_window @property def auto_full_backup_day(self): """ Gets the auto_full_backup_day of this DbBackupConfig. Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday. Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The auto_full_backup_day of this DbBackupConfig. :rtype: str """ return self._auto_full_backup_day @auto_full_backup_day.setter def auto_full_backup_day(self, auto_full_backup_day): """ Sets the auto_full_backup_day of this DbBackupConfig. Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday. :param auto_full_backup_day: The auto_full_backup_day of this DbBackupConfig. :type: str """ allowed_values = ["SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"] if not value_allowed_none_or_none_sentinel(auto_full_backup_day, allowed_values): auto_full_backup_day = 'UNKNOWN_ENUM_VALUE' self._auto_full_backup_day = auto_full_backup_day @property def run_immediate_full_backup(self): """ Gets the run_immediate_full_backup of this DbBackupConfig. If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. :return: The run_immediate_full_backup of this DbBackupConfig. :rtype: bool """ return self._run_immediate_full_backup @run_immediate_full_backup.setter def run_immediate_full_backup(self, run_immediate_full_backup): """ Sets the run_immediate_full_backup of this DbBackupConfig. If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. :param run_immediate_full_backup: The run_immediate_full_backup of this DbBackupConfig. :type: bool """ self._run_immediate_full_backup = run_immediate_full_backup @property def backup_destination_details(self): """ Gets the backup_destination_details of this DbBackupConfig. Backup destination details. :return: The backup_destination_details of this DbBackupConfig. :rtype: list[oci.database.models.BackupDestinationDetails] """ return self._backup_destination_details @backup_destination_details.setter def backup_destination_details(self, backup_destination_details): """ Sets the backup_destination_details of this DbBackupConfig. Backup destination details. :param backup_destination_details: The backup_destination_details of this DbBackupConfig. :type: list[oci.database.models.BackupDestinationDetails] """ self._backup_destination_details = backup_destination_details @property def backup_deletion_policy(self): """ Gets the backup_deletion_policy of this DbBackupConfig. This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups. Allowed values for this property are: "DELETE_IMMEDIATELY", "DELETE_AFTER_RETENTION_PERIOD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The backup_deletion_policy of this DbBackupConfig. :rtype: str """ return self._backup_deletion_policy @backup_deletion_policy.setter def backup_deletion_policy(self, backup_deletion_policy): """ Sets the backup_deletion_policy of this DbBackupConfig. This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups. :param backup_deletion_policy: The backup_deletion_policy of this DbBackupConfig. :type: str """ allowed_values = ["DELETE_IMMEDIATELY", "DELETE_AFTER_RETENTION_PERIOD"] if not value_allowed_none_or_none_sentinel(backup_deletion_policy, allowed_values): backup_deletion_policy = 'UNKNOWN_ENUM_VALUE' self._backup_deletion_policy = backup_deletion_policy def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other