google-apis-backupdr_v1 0.46.0 → 0.48.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: fc42ed58234d567ffc0c968752ee5a2be47e21ac8f4ee8041d57be9381606a84
4
- data.tar.gz: 297a30229bb78856f2496970738af77df5c370c48bf3c3a0aa7c055c07cd3b0b
3
+ metadata.gz: 719d21b3b7c95dabc1bbc1eda77eca696eff2367c11ba23aa606b2e839f3a68c
4
+ data.tar.gz: a56f09e37f1b18076a2945f5b0701ac9478b4c2b6a947e8cf5a23f57ac1c11df
5
5
  SHA512:
6
- metadata.gz: 7a7132a5c927d6a2abe2aeedf7dbd87fb2938b78db255b9bded381ebeff8d73fd7b6797d0e51bf2d9b2c215502533baa636e7e49b8f597757658ed643d3e8d02
7
- data.tar.gz: a4a41e0e9db54bb858953c5936c1b682c533aacc6477a42e31f7b7f08c91fc05e376d441f060bc00dd95cce902b295cf4156a0a26c4497a74130e34fe23127f3
6
+ metadata.gz: d082aead247a76672e196ae0dbb463d98a22200219a2676d4d960c93bb10600de6fa77ab3b2be03a97a56d78b34eb812de06fbe4618d656fd610fa2dbb09d152
7
+ data.tar.gz: b330d2e29863a14129cde07e1e4a3cc173bdb31b14aeb47234b07361959c95bfa94d6313e558bfd08c5ff40ad27e54c3caccf5dee96adad1a7e337aeec86d23f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.48.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251130
6
+
7
+ ### v0.47.0 (2025-11-23)
8
+
9
+ * Regenerated from discovery document revision 20251112
10
+
3
11
  ### v0.46.0 (2025-11-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20251105
@@ -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
@@ -4043,8 +4062,9 @@ module Google
4043
4062
  attr_accessor :operations
4044
4063
 
4045
4064
  # Unordered list. Unreachable resources. Populated when the request sets `
4046
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
4047
- # when attempting to list all resources across all supported locations.
4065
+ # ListOperationsRequest.return_partial_success` and reads across collections.
4066
+ # For example, when attempting to list all resources across all supported
4067
+ # locations.
4048
4068
  # Corresponds to the JSON property `unreachable`
4049
4069
  # @return [Array<String>]
4050
4070
  attr_accessor :unreachable
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.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 = "20251105"
25
+ REVISION = "20251130"
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.
@@ -2356,11 +2360,12 @@ module Google
2356
2360
  # The standard list page token.
2357
2361
  # @param [Boolean] return_partial_success
2358
2362
  # When set to `true`, operations that are reachable are returned as normal, and
2359
- # those that are unreachable are returned in the [ListOperationsResponse.
2360
- # unreachable] field. This can only be `true` when reading across collections e.
2361
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2362
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2363
- # explicitly documented otherwise in service or product specific documentation.
2363
+ # those that are unreachable are returned in the ListOperationsResponse.
2364
+ # unreachable field. This can only be `true` when reading across collections.
2365
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2366
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2367
+ # if set unless explicitly documented otherwise in service or product specific
2368
+ # documentation.
2364
2369
  # @param [String] fields
2365
2370
  # Selector specifying which fields to include in a partial response.
2366
2371
  # @param [String] quota_user
@@ -2472,6 +2477,40 @@ module Google
2472
2477
  execute_or_queue_command(command, &block)
2473
2478
  end
2474
2479
 
2480
+ # Ends the trial for a project
2481
+ # @param [String] parent
2482
+ # Required. The parent resource where the trial has been created. Format:
2483
+ # projects/`project`/locations/`location`
2484
+ # @param [Google::Apis::BackupdrV1::EndTrialRequest] end_trial_request_object
2485
+ # @param [String] fields
2486
+ # Selector specifying which fields to include in a partial response.
2487
+ # @param [String] quota_user
2488
+ # Available to use for quota purposes for server-side applications. Can be any
2489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2490
+ # @param [Google::Apis::RequestOptions] options
2491
+ # Request-specific options
2492
+ #
2493
+ # @yield [result, err] Result & error if block supplied
2494
+ # @yieldparam result [Google::Apis::BackupdrV1::Trial] parsed result object
2495
+ # @yieldparam err [StandardError] error object if request failed
2496
+ #
2497
+ # @return [Google::Apis::BackupdrV1::Trial]
2498
+ #
2499
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2500
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2501
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2502
+ def end_trial(parent, end_trial_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2503
+ command = make_simple_command(:post, 'v1/{+parent}/trial:end', options)
2504
+ command.request_representation = Google::Apis::BackupdrV1::EndTrialRequest::Representation
2505
+ command.request_object = end_trial_request_object
2506
+ command.response_representation = Google::Apis::BackupdrV1::Trial::Representation
2507
+ command.response_class = Google::Apis::BackupdrV1::Trial
2508
+ command.params['parent'] = parent unless parent.nil?
2509
+ command.query['fields'] = fields unless fields.nil?
2510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2511
+ execute_or_queue_command(command, &block)
2512
+ end
2513
+
2475
2514
  # Subscribes to a trial for a project
2476
2515
  # @param [String] parent
2477
2516
  # 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.46.0
4
+ version: 0.48.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.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.48.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: