Class: Google::Apis::AlloydbV1alpha::BackupDrPitrSource
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::BackupDrPitrSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
Message describing a BackupDrPitrSource.
Instance Attribute Summary collapse
-
#data_source ⇒ String
Required.
-
#point_in_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupDrPitrSource
constructor
A new instance of BackupDrPitrSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrPitrSource
Returns a new instance of BackupDrPitrSource.
489 490 491 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source ⇒ String
Required. The name of the backup resource with the format: * projects/project
/locations/location/backupVaults/backupvault_id/dataSources/datasource_id
Corresponds to the JSON property dataSource
482 483 484 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 482 def data_source @data_source end |
#point_in_time ⇒ String
Required. The point in time to restore to.
Corresponds to the JSON property pointInTime
487 488 489 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 487 def point_in_time @point_in_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 494 def update!(**args) @data_source = args[:data_source] if args.key?(:data_source) @point_in_time = args[:point_in_time] if args.key?(:point_in_time) end |