google-apis-backupdr_v1 0.46.0 → 0.47.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: 549efdb104eefac307e91ef8a2a8c06eaf33a9a5c91d149ab21dac8c2a51e999
|
|
4
|
+
data.tar.gz: 04bd5726119b97e19432d60992dee6ced819d93920ddf83102810e5fa82db1cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e77170b74c8968d6623e4313cbd8c02a7a7f0957ca59ef2d936629c9c2385fe82ff725f0f2dc4e50f0aae6abfff45e8e0001d348ecd392197dc61d3466adbe5d
|
|
7
|
+
data.tar.gz: 12d99978cf69de1d07e9ea37e9fc751d6b2e9d9933a539349ff6301216950bd8f01b357508c96e4d47f083ae18e0f334ee955c44c7f2d342dccb8239d86cce8f
|
data/CHANGELOG.md
CHANGED
|
@@ -3059,6 +3059,25 @@ module Google
|
|
|
3059
3059
|
end
|
|
3060
3060
|
end
|
|
3061
3061
|
|
|
3062
|
+
# Request message for ending a trial.
|
|
3063
|
+
class EndTrialRequest
|
|
3064
|
+
include Google::Apis::Core::Hashable
|
|
3065
|
+
|
|
3066
|
+
# Required. The reason for ending the trial.
|
|
3067
|
+
# Corresponds to the JSON property `endReason`
|
|
3068
|
+
# @return [String]
|
|
3069
|
+
attr_accessor :end_reason
|
|
3070
|
+
|
|
3071
|
+
def initialize(**args)
|
|
3072
|
+
update!(**args)
|
|
3073
|
+
end
|
|
3074
|
+
|
|
3075
|
+
# Update properties of this object
|
|
3076
|
+
def update!(**args)
|
|
3077
|
+
@end_reason = args[:end_reason] if args.key?(:end_reason)
|
|
3078
|
+
end
|
|
3079
|
+
end
|
|
3080
|
+
|
|
3062
3081
|
# A key/value pair to be used for storing metadata.
|
|
3063
3082
|
class Entry
|
|
3064
3083
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BackupdrV1
|
|
18
18
|
# Version of the google-apis-backupdr_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.47.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251112"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -352,6 +352,12 @@ module Google
|
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
353
|
end
|
|
354
354
|
|
|
355
|
+
class EndTrialRequest
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
355
361
|
class Entry
|
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
363
|
|
|
@@ -1486,6 +1492,13 @@ module Google
|
|
|
1486
1492
|
end
|
|
1487
1493
|
end
|
|
1488
1494
|
|
|
1495
|
+
class EndTrialRequest
|
|
1496
|
+
# @private
|
|
1497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1498
|
+
property :end_reason, as: 'endReason'
|
|
1499
|
+
end
|
|
1500
|
+
end
|
|
1501
|
+
|
|
1489
1502
|
class Entry
|
|
1490
1503
|
# @private
|
|
1491
1504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1538,10 +1538,14 @@ module Google
|
|
|
1538
1538
|
# @param [String] filter
|
|
1539
1539
|
# Optional. A filter expression that filters the results fetched in the response.
|
|
1540
1540
|
# The expression must specify the field name, a comparison operator, and the
|
|
1541
|
-
# value that you want to use for filtering. Supported fields:
|
|
1541
|
+
# value that you want to use for filtering. Supported fields: * name * state *
|
|
1542
|
+
# backup_type * create_time * expire_time * enforced_retention_end_time *
|
|
1543
|
+
# gcp_backup_plan_info.backup_plan * cloud_sql_instance_backup_properties.
|
|
1544
|
+
# instance_tier * cloud_sql_instance_backup_properties.
|
|
1545
|
+
# database_installed_version
|
|
1542
1546
|
# @param [String] order_by
|
|
1543
1547
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
|
1544
|
-
# order. Use "desc" after a field name for descending.
|
|
1548
|
+
# order. Use "desc" after a field name for descending. Supported fields: * name
|
|
1545
1549
|
# @param [Fixnum] page_size
|
|
1546
1550
|
# Optional. The maximum number of Backups to return. The service may return
|
|
1547
1551
|
# fewer than this value. If unspecified, at most 50 Backups will be returned.
|
|
@@ -2472,6 +2476,39 @@ module Google
|
|
|
2472
2476
|
execute_or_queue_command(command, &block)
|
|
2473
2477
|
end
|
|
2474
2478
|
|
|
2479
|
+
# Ends the trial for a project
|
|
2480
|
+
# @param [String] parent
|
|
2481
|
+
# Required. The parent resource where this trial will be ended.
|
|
2482
|
+
# @param [Google::Apis::BackupdrV1::EndTrialRequest] end_trial_request_object
|
|
2483
|
+
# @param [String] fields
|
|
2484
|
+
# Selector specifying which fields to include in a partial response.
|
|
2485
|
+
# @param [String] quota_user
|
|
2486
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2487
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2488
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2489
|
+
# Request-specific options
|
|
2490
|
+
#
|
|
2491
|
+
# @yield [result, err] Result & error if block supplied
|
|
2492
|
+
# @yieldparam result [Google::Apis::BackupdrV1::Trial] parsed result object
|
|
2493
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2494
|
+
#
|
|
2495
|
+
# @return [Google::Apis::BackupdrV1::Trial]
|
|
2496
|
+
#
|
|
2497
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2498
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2499
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2500
|
+
def end_trial(parent, end_trial_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2501
|
+
command = make_simple_command(:post, 'v1/{+parent}/trial:end', options)
|
|
2502
|
+
command.request_representation = Google::Apis::BackupdrV1::EndTrialRequest::Representation
|
|
2503
|
+
command.request_object = end_trial_request_object
|
|
2504
|
+
command.response_representation = Google::Apis::BackupdrV1::Trial::Representation
|
|
2505
|
+
command.response_class = Google::Apis::BackupdrV1::Trial
|
|
2506
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2507
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2509
|
+
execute_or_queue_command(command, &block)
|
|
2510
|
+
end
|
|
2511
|
+
|
|
2475
2512
|
# Subscribes to a trial for a project
|
|
2476
2513
|
# @param [String] parent
|
|
2477
2514
|
# Required. The project where this trial will be created. Format: projects/`
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-backupdr_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.47.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-backupdr_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.47.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|