Class: Google::Apis::OracledatabaseV1::AutonomousDatabaseBackup
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::AutonomousDatabaseBackup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
Details of the Autonomous Database Backup resource. https://docs.oracle.com/en- us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/
Instance Attribute Summary collapse
-
#autonomous_database ⇒ String
Required.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Identifier.
-
#properties ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabaseBackupProperties
Properties of the Autonomous Database Backup resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutonomousDatabaseBackup
constructor
A new instance of AutonomousDatabaseBackup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutonomousDatabaseBackup
Returns a new instance of AutonomousDatabaseBackup.
202 203 204 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autonomous_database ⇒ String
Required. The name of the Autonomous Database resource for which the backup is
being created. Format: projects/project
/locations/region
/
autonomousDatabases/autonomous_database
Corresponds to the JSON property autonomousDatabase
177 178 179 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 177 def autonomous_database @autonomous_database end |
#display_name ⇒ String
Optional. User friendly name for the Backup. The name does not have to be
unique.
Corresponds to the JSON property displayName
183 184 185 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 183 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Optional. labels or tags associated with the resource.
Corresponds to the JSON property labels
188 189 190 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 188 def labels @labels end |
#name ⇒ String
Identifier. The name of the Autonomous Database Backup resource with the
format: projects/project
/locations/region
/autonomousDatabaseBackups/
autonomous_database_backup
Corresponds to the JSON property name
195 196 197 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 195 def name @name end |
#properties ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabaseBackupProperties
Properties of the Autonomous Database Backup resource.
Corresponds to the JSON property properties
200 201 202 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 200 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
207 208 209 210 211 212 213 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 207 def update!(**args) @autonomous_database = args[:autonomous_database] if args.key?(:autonomous_database) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) end |