Class: Google::Apis::AlloydbV1::ContinuousBackupSource
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::ContinuousBackupSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
Message describing a ContinuousBackupSource.
Instance Attribute Summary collapse
-
#cluster ⇒ String
Required.
-
#point_in_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContinuousBackupSource
constructor
A new instance of ContinuousBackupSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContinuousBackupSource
Returns a new instance of ContinuousBackupSource.
1131 1132 1133 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
Required. The source cluster from which to restore. This cluster must have
continuous backup enabled for this operation to succeed. For the required
format, see the comment on the Cluster.name field.
Corresponds to the JSON property cluster
1124 1125 1126 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1124 def cluster @cluster end |
#point_in_time ⇒ String
Required. The point in time to restore to.
Corresponds to the JSON property pointInTime
1129 1130 1131 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1129 def point_in_time @point_in_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1136 1137 1138 1139 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1136 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @point_in_time = args[:point_in_time] if args.key?(:point_in_time) end |