google-apis-sqladmin_v1beta4 0.107.0 → 0.108.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 594a6ae1007a4079be8b36782677a7392347b8d78181eb9275454c8d051738ac
|
|
4
|
+
data.tar.gz: dcbfa0177fbee116e68c65e6fa34c22428ebb24d9146823e0f9ab65ec8b1ea37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f88f12bae5fcfb54c1e911bd72b702f92cca367bdb6cab09ef73bad58e43ccbb461de003098785aa5eb0409572d56307408a148b2568a947689ebb4be9c807f
|
|
7
|
+
data.tar.gz: 758a748d134e2b356dfa2c114ff45275a5441dffe3c3b2bb754be1c9540bcf79b7cc56f15e9f068b544182fdd934ef111c8b63c688b94f514d611357c43a946a
|
data/CHANGELOG.md
CHANGED
|
@@ -4509,9 +4509,9 @@ module Google
|
|
|
4509
4509
|
# @return [Google::Apis::SqladminV1beta4::StopWorkloadCaptureContext]
|
|
4510
4510
|
attr_accessor :stop_workload_capture_context
|
|
4511
4511
|
|
|
4512
|
-
# The context for the `StopWorkloadReplay` operation, which
|
|
4513
|
-
#
|
|
4514
|
-
#
|
|
4512
|
+
# The context for the `StopWorkloadReplay` operation, which represents an
|
|
4513
|
+
# operation that stops an active workload replay on a target Cloud SQL replay
|
|
4514
|
+
# instance.
|
|
4515
4515
|
# Corresponds to the JSON property `stopWorkloadReplayContext`
|
|
4516
4516
|
# @return [Google::Apis::SqladminV1beta4::StopWorkloadReplayContext]
|
|
4517
4517
|
attr_accessor :stop_workload_replay_context
|
|
@@ -6830,13 +6830,14 @@ module Google
|
|
|
6830
6830
|
end
|
|
6831
6831
|
end
|
|
6832
6832
|
|
|
6833
|
-
# Request to stop
|
|
6833
|
+
# Request to stop an active workload replay on a target Cloud SQL replay
|
|
6834
|
+
# instance.
|
|
6834
6835
|
class SqlWorkloadCapturesStopReplayRequest
|
|
6835
6836
|
include Google::Apis::Core::Hashable
|
|
6836
6837
|
|
|
6837
|
-
# The context for the `StopWorkloadReplay` operation, which
|
|
6838
|
-
#
|
|
6839
|
-
#
|
|
6838
|
+
# The context for the `StopWorkloadReplay` operation, which represents an
|
|
6839
|
+
# operation that stops an active workload replay on a target Cloud SQL replay
|
|
6840
|
+
# instance.
|
|
6840
6841
|
# Corresponds to the JSON property `stopWorkloadReplayContext`
|
|
6841
6842
|
# @return [Google::Apis::SqladminV1beta4::StopWorkloadReplayContext]
|
|
6842
6843
|
attr_accessor :stop_workload_replay_context
|
|
@@ -7211,37 +7212,18 @@ module Google
|
|
|
7211
7212
|
end
|
|
7212
7213
|
end
|
|
7213
7214
|
|
|
7214
|
-
# The context for the `StopWorkloadReplay` operation, which
|
|
7215
|
-
#
|
|
7216
|
-
#
|
|
7215
|
+
# The context for the `StopWorkloadReplay` operation, which represents an
|
|
7216
|
+
# operation that stops an active workload replay on a target Cloud SQL replay
|
|
7217
|
+
# instance.
|
|
7217
7218
|
class StopWorkloadReplayContext
|
|
7218
7219
|
include Google::Apis::Core::Hashable
|
|
7219
7220
|
|
|
7220
|
-
# Required. The name of the Cloud SQL instance where the captured workload (SQL
|
|
7221
|
-
# queries) is being executed, excluding the project ID (for example, `my-replay-
|
|
7222
|
-
# instance`). The instance name must start with a lowercase letter and contain
|
|
7223
|
-
# only lowercase letters, numbers, and hyphens. The combined length of `project-
|
|
7224
|
-
# ID:instance-name` must be 98 characters or less.
|
|
7225
|
-
# Corresponds to the JSON property `replayInstance`
|
|
7226
|
-
# @return [String]
|
|
7227
|
-
attr_accessor :replay_instance
|
|
7228
|
-
|
|
7229
|
-
# Output only. The ID of the workload to stop executing on the replay instance.
|
|
7230
|
-
# Each workload capture generates a unique ID in the format `workload-` (for
|
|
7231
|
-
# example, `workload-1786046400`). Use this ID to stop executing the recorded
|
|
7232
|
-
# SQL queries.
|
|
7233
|
-
# Corresponds to the JSON property `workloadId`
|
|
7234
|
-
# @return [String]
|
|
7235
|
-
attr_accessor :workload_id
|
|
7236
|
-
|
|
7237
7221
|
def initialize(**args)
|
|
7238
7222
|
update!(**args)
|
|
7239
7223
|
end
|
|
7240
7224
|
|
|
7241
7225
|
# Update properties of this object
|
|
7242
7226
|
def update!(**args)
|
|
7243
|
-
@replay_instance = args[:replay_instance] if args.key?(:replay_instance)
|
|
7244
|
-
@workload_id = args[:workload_id] if args.key?(:workload_id)
|
|
7245
7227
|
end
|
|
7246
7228
|
end
|
|
7247
7229
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SqladminV1beta4
|
|
18
18
|
# Version of the google-apis-sqladmin_v1beta4 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.108.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261006"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2902,8 +2902,6 @@ module Google
|
|
|
2902
2902
|
class StopWorkloadReplayContext
|
|
2903
2903
|
# @private
|
|
2904
2904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2905
|
-
property :replay_instance, as: 'replayInstance'
|
|
2906
|
-
property :workload_id, as: 'workloadId'
|
|
2907
2905
|
end
|
|
2908
2906
|
end
|
|
2909
2907
|
|
|
@@ -3352,13 +3352,12 @@ module Google
|
|
|
3352
3352
|
execute_or_queue_command(command, &block)
|
|
3353
3353
|
end
|
|
3354
3354
|
|
|
3355
|
-
# Stops
|
|
3355
|
+
# Stops an active workload replay on the target Cloud SQL replay instance.
|
|
3356
3356
|
# @param [String] project
|
|
3357
|
-
# Required. Project ID of the project that contains the instance.
|
|
3357
|
+
# Required. Project ID of the project that contains the target replay instance.
|
|
3358
3358
|
# @param [String] instance
|
|
3359
|
-
# Required. Cloud SQL instance ID. This does not
|
|
3360
|
-
#
|
|
3361
|
-
# Required. The ID of the workload to replay.
|
|
3359
|
+
# Required. Cloud SQL instance ID of the target replay instance. This does not
|
|
3360
|
+
# include the project ID.
|
|
3362
3361
|
# @param [Google::Apis::SqladminV1beta4::SqlWorkloadCapturesStopReplayRequest] sql_workload_captures_stop_replay_request_object
|
|
3363
3362
|
# @param [String] fields
|
|
3364
3363
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3377,15 +3376,14 @@ module Google
|
|
|
3377
3376
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3378
3377
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3379
3378
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3380
|
-
def stop_workload_capture_replay(project, instance,
|
|
3381
|
-
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures
|
|
3379
|
+
def stop_workload_capture_replay(project, instance, sql_workload_captures_stop_replay_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3380
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stopReplay', options)
|
|
3382
3381
|
command.request_representation = Google::Apis::SqladminV1beta4::SqlWorkloadCapturesStopReplayRequest::Representation
|
|
3383
3382
|
command.request_object = sql_workload_captures_stop_replay_request_object
|
|
3384
3383
|
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
|
3385
3384
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
|
3386
3385
|
command.params['project'] = project unless project.nil?
|
|
3387
3386
|
command.params['instance'] = instance unless instance.nil?
|
|
3388
|
-
command.params['workloadId'] = workload_id unless workload_id.nil?
|
|
3389
3387
|
command.query['fields'] = fields unless fields.nil?
|
|
3390
3388
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3391
3389
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-sqladmin_v1beta4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.108.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.108.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|