google-apis-backupdr_v1 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6962aab514748f9aceacf43f1810ce2029559004b88d9791a4f4975dda918356
|
4
|
+
data.tar.gz: 4398da4e63a8425e4c2a008bbe19a4e44536dc68cdc38f5b77979ca500232a8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 176cce93f614ffae4b3ba1aa0781b98b73aacb52d884f73ea44bef66b0978c544db4c4f158137ec3d17469c4d7b529f6fcb6ee5aaac6203c91b62e458bd801e5
|
7
|
+
data.tar.gz: 589ea07735a804fd04812636f62b15d919d325a0b0cc17c7a92190879237ea0ea96d2dc6cd8574a820229c65a38d22755b848d1f6b641ac00a384b30fad54152
|
data/CHANGELOG.md
CHANGED
@@ -523,6 +523,18 @@ module Google
|
|
523
523
|
# @return [Fixnum]
|
524
524
|
attr_accessor :resource_size_bytes
|
525
525
|
|
526
|
+
# Optional. Output only. Reserved for future use.
|
527
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
528
|
+
# @return [Boolean]
|
529
|
+
attr_accessor :satisfies_pzi
|
530
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
531
|
+
|
532
|
+
# Optional. Output only. Reserved for future use.
|
533
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
534
|
+
# @return [Boolean]
|
535
|
+
attr_accessor :satisfies_pzs
|
536
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
537
|
+
|
526
538
|
# Output only. The list of BackupLocks taken by the service to prevent the
|
527
539
|
# deletion of the backup.
|
528
540
|
# Corresponds to the JSON property `serviceLocks`
|
@@ -559,6 +571,8 @@ module Google
|
|
559
571
|
@labels = args[:labels] if args.key?(:labels)
|
560
572
|
@name = args[:name] if args.key?(:name)
|
561
573
|
@resource_size_bytes = args[:resource_size_bytes] if args.key?(:resource_size_bytes)
|
574
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
575
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
562
576
|
@service_locks = args[:service_locks] if args.key?(:service_locks)
|
563
577
|
@state = args[:state] if args.key?(:state)
|
564
578
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -862,7 +876,7 @@ module Google
|
|
862
876
|
|
863
877
|
# Required. The resource type to which the `BackupPlan` will be applied.
|
864
878
|
# Examples include, "compute.googleapis.com/Instance", "sqladmin.googleapis.com/
|
865
|
-
# Instance"
|
879
|
+
# Instance", or "alloydb.googleapis.com/Cluster".
|
866
880
|
# Corresponds to the JSON property `resourceType`
|
867
881
|
# @return [String]
|
868
882
|
attr_accessor :resource_type
|
@@ -913,9 +927,9 @@ module Google
|
|
913
927
|
# @return [String]
|
914
928
|
attr_accessor :create_time
|
915
929
|
|
916
|
-
# Output only.
|
917
|
-
#
|
918
|
-
#
|
930
|
+
# Output only. Resource name of data source which will be used as storage
|
931
|
+
# location for backups taken. Format : projects/`project`/locations/`location`/
|
932
|
+
# backupVaults/`backupvault`/dataSources/`datasource`
|
919
933
|
# Corresponds to the JSON property `dataSource`
|
920
934
|
# @return [String]
|
921
935
|
attr_accessor :data_source
|
@@ -932,7 +946,7 @@ module Google
|
|
932
946
|
# @return [String]
|
933
947
|
attr_accessor :resource
|
934
948
|
|
935
|
-
#
|
949
|
+
# Required. Immutable. Resource type of workload on which backupplan is applied
|
936
950
|
# Corresponds to the JSON property `resourceType`
|
937
951
|
# @return [String]
|
938
952
|
attr_accessor :resource_type
|
@@ -980,7 +994,7 @@ module Google
|
|
980
994
|
# is 90 for hourly backups. Minimum value is 1 and maximum value is 90 for daily
|
981
995
|
# backups. Minimum value is 7 and maximum value is 186 for weekly backups.
|
982
996
|
# Minimum value is 30 and maximum value is 732 for monthly backups. Minimum
|
983
|
-
# value is
|
997
|
+
# value is 365 and maximum value is 36159 for yearly backups.
|
984
998
|
# Corresponds to the JSON property `backupRetentionDays`
|
985
999
|
# @return [Fixnum]
|
986
1000
|
attr_accessor :backup_retention_days
|
@@ -1017,8 +1031,8 @@ module Google
|
|
1017
1031
|
include Google::Apis::Core::Hashable
|
1018
1032
|
|
1019
1033
|
# Optional. Note: This field is added for future use case and will not be
|
1020
|
-
# supported in the current release.
|
1021
|
-
#
|
1034
|
+
# supported in the current release. Access restriction for the backup vault.
|
1035
|
+
# Default value is WITHIN_ORGANIZATION if not provided during creation.
|
1022
1036
|
# Corresponds to the JSON property `accessRestriction`
|
1023
1037
|
# @return [String]
|
1024
1038
|
attr_accessor :access_restriction
|
@@ -1099,8 +1113,7 @@ module Google
|
|
1099
1113
|
# @return [Fixnum]
|
1100
1114
|
attr_accessor :total_stored_bytes
|
1101
1115
|
|
1102
|
-
# Output only.
|
1103
|
-
# deletion.
|
1116
|
+
# Output only. Immutable after resource creation until resource deletion.
|
1104
1117
|
# Corresponds to the JSON property `uid`
|
1105
1118
|
# @return [String]
|
1106
1119
|
attr_accessor :uid
|
@@ -2323,6 +2336,42 @@ module Google
|
|
2323
2336
|
end
|
2324
2337
|
end
|
2325
2338
|
|
2339
|
+
# Request message for initializing the service.
|
2340
|
+
class InitializeServiceRequest
|
2341
|
+
include Google::Apis::Core::Hashable
|
2342
|
+
|
2343
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2344
|
+
# request ID so that if you must retry your request, the server will know to
|
2345
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2346
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2347
|
+
# situation where you make an initial request and t he request times out. If you
|
2348
|
+
# make the request again with the same request ID, the server can check if
|
2349
|
+
# original operation with the same request ID was received, and if so, will
|
2350
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2351
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2352
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2353
|
+
# Corresponds to the JSON property `requestId`
|
2354
|
+
# @return [String]
|
2355
|
+
attr_accessor :request_id
|
2356
|
+
|
2357
|
+
# Required. The resource type to which the default service config will be
|
2358
|
+
# applied. Examples include, "compute.googleapis.com/Instance" and "storage.
|
2359
|
+
# googleapis.com/Bucket".
|
2360
|
+
# Corresponds to the JSON property `resourceType`
|
2361
|
+
# @return [String]
|
2362
|
+
attr_accessor :resource_type
|
2363
|
+
|
2364
|
+
def initialize(**args)
|
2365
|
+
update!(**args)
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# Update properties of this object
|
2369
|
+
def update!(**args)
|
2370
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2371
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
2372
|
+
end
|
2373
|
+
end
|
2374
|
+
|
2326
2375
|
# request message for InitiateBackup.
|
2327
2376
|
class InitiateBackupRequest
|
2328
2377
|
include Google::Apis::Core::Hashable
|
@@ -3166,9 +3215,9 @@ module Google
|
|
3166
3215
|
attr_accessor :end_time
|
3167
3216
|
|
3168
3217
|
# Output only. Identifies whether the user has requested cancellation of the
|
3169
|
-
# operation. Operations that have successfully been cancelled have
|
3170
|
-
# error value with a google.rpc.Status.code of 1,
|
3171
|
-
# CANCELLED'.
|
3218
|
+
# operation. Operations that have successfully been cancelled have google.
|
3219
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of 1,
|
3220
|
+
# corresponding to 'Code.CANCELLED'.
|
3172
3221
|
# Corresponds to the JSON property `requestedCancellation`
|
3173
3222
|
# @return [Boolean]
|
3174
3223
|
attr_accessor :requested_cancellation
|
@@ -3415,7 +3464,7 @@ module Google
|
|
3415
3464
|
# @return [String]
|
3416
3465
|
attr_accessor :last_successful_backup_consistency_time
|
3417
3466
|
|
3418
|
-
# Output only.
|
3467
|
+
# Output only. Backup Rule id fetched from backup plan.
|
3419
3468
|
# Corresponds to the JSON property `ruleId`
|
3420
3469
|
# @return [String]
|
3421
3470
|
attr_accessor :rule_id
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,6 +286,12 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
+
class InitializeServiceRequest
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
289
295
|
class InitiateBackupRequest
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
297
|
|
@@ -664,6 +670,8 @@ module Google
|
|
664
670
|
hash :labels, as: 'labels'
|
665
671
|
property :name, as: 'name'
|
666
672
|
property :resource_size_bytes, :numeric_string => true, as: 'resourceSizeBytes'
|
673
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
674
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
667
675
|
collection :service_locks, as: 'serviceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
|
668
676
|
|
669
677
|
property :state, as: 'state'
|
@@ -1087,6 +1095,14 @@ module Google
|
|
1087
1095
|
end
|
1088
1096
|
end
|
1089
1097
|
|
1098
|
+
class InitializeServiceRequest
|
1099
|
+
# @private
|
1100
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1101
|
+
property :request_id, as: 'requestId'
|
1102
|
+
property :resource_type, as: 'resourceType'
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1090
1106
|
class InitiateBackupRequest
|
1091
1107
|
# @private
|
1092
1108
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1717,8 +1717,8 @@ module Google
|
|
1717
1717
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
1718
1718
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
1719
1719
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1720
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
1721
|
-
# corresponding to `Code.CANCELLED`.
|
1720
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1721
|
+
# , corresponding to `Code.CANCELLED`.
|
1722
1722
|
# @param [String] name
|
1723
1723
|
# The name of the operation resource to be cancelled.
|
1724
1724
|
# @param [Google::Apis::BackupdrV1::CancelOperationRequest] cancel_operation_request_object
|
@@ -1854,6 +1854,40 @@ module Google
|
|
1854
1854
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1855
1855
|
execute_or_queue_command(command, &block)
|
1856
1856
|
end
|
1857
|
+
|
1858
|
+
# Initializes the service related config for a project.
|
1859
|
+
# @param [String] name
|
1860
|
+
# Required. The resource name of the serviceConfig used to initialize the
|
1861
|
+
# service. Format: `projects/`project_id`/locations/`location`/serviceConfig`.
|
1862
|
+
# @param [Google::Apis::BackupdrV1::InitializeServiceRequest] initialize_service_request_object
|
1863
|
+
# @param [String] fields
|
1864
|
+
# Selector specifying which fields to include in a partial response.
|
1865
|
+
# @param [String] quota_user
|
1866
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1867
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1868
|
+
# @param [Google::Apis::RequestOptions] options
|
1869
|
+
# Request-specific options
|
1870
|
+
#
|
1871
|
+
# @yield [result, err] Result & error if block supplied
|
1872
|
+
# @yieldparam result [Google::Apis::BackupdrV1::Operation] parsed result object
|
1873
|
+
# @yieldparam err [StandardError] error object if request failed
|
1874
|
+
#
|
1875
|
+
# @return [Google::Apis::BackupdrV1::Operation]
|
1876
|
+
#
|
1877
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1878
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1879
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1880
|
+
def initialize_service_config_service(name, initialize_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1881
|
+
command = make_simple_command(:post, 'v1/{+name}:initialize', options)
|
1882
|
+
command.request_representation = Google::Apis::BackupdrV1::InitializeServiceRequest::Representation
|
1883
|
+
command.request_object = initialize_service_request_object
|
1884
|
+
command.response_representation = Google::Apis::BackupdrV1::Operation::Representation
|
1885
|
+
command.response_class = Google::Apis::BackupdrV1::Operation
|
1886
|
+
command.params['name'] = name unless name.nil?
|
1887
|
+
command.query['fields'] = fields unless fields.nil?
|
1888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1889
|
+
execute_or_queue_command(command, &block)
|
1890
|
+
end
|
1857
1891
|
|
1858
1892
|
protected
|
1859
1893
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Backup and DR Service API V1
|