google-cloud-sql-v1 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,6 +139,9 @@ module Google
139
139
  # @!attribute [r] backup_id
140
140
  # @return [::String]
141
141
  # Output only. The base backup ID associated with the workload capture.
142
+ # @!attribute [r] capture_mode
143
+ # @return [::Google::Cloud::Sql::V1::WorkloadCapture::WorkloadCaptureMode]
144
+ # Output only. The capture mode of the workload capture.
142
145
  class WorkloadCapture
143
146
  include ::Google::Protobuf::MessageExts
144
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -163,6 +166,19 @@ module Google
163
166
  # or when the maximum duration is reached.
164
167
  TERMINATED = 4
165
168
  end
169
+
170
+ # Specifies the mode of the workload capture.
171
+ module WorkloadCaptureMode
172
+ # Default value. This value is unused.
173
+ WORKLOAD_CAPTURE_MODE_UNSPECIFIED = 0
174
+
175
+ # Records and stores the workload without live replay.
176
+ CAPTURE_ONLY = 1
177
+
178
+ # Records the workload and simultaneously replays it on a live replay
179
+ # instance.
180
+ CAPTURE_AND_LIVE_REPLAY = 2
181
+ end
166
182
  end
167
183
  end
168
184
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-sql-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC