google-apis-backupdr_v1 0.36.0 → 0.38.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: fbf94be3e14e737abb11999a94ff21c0ae3c3ff5b9d2ea4e6bc05c2cf8be74aa
|
4
|
+
data.tar.gz: 3eec3849278656258de8c6f366b014913bed6fe088dd766700fd2b7ed6d4197d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe46e170e156abe036d6e4fad97e24cc4a8620397637d29938f8b298112d1ed74327851ba3e305dbca1ced409d7e3a5e805458e36a7099a4e76773cb002c275d
|
7
|
+
data.tar.gz: 5e6ad191b7c9b4de5108d61d074ce50d63752daa116811c5750e41f32059993f175c2dddb161071cb21f125c7caed11186cf7ca23a1f5b6db581ee36482ca577
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250825
|
6
|
+
|
7
|
+
### v0.37.0 (2025-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250730
|
10
|
+
|
3
11
|
### v0.36.0 (2025-08-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250723
|
@@ -2526,6 +2526,11 @@ module Google
|
|
2526
2526
|
class DiskBackupProperties
|
2527
2527
|
include Google::Apis::Core::Hashable
|
2528
2528
|
|
2529
|
+
# The access mode of the source disk.
|
2530
|
+
# Corresponds to the JSON property `accessMode`
|
2531
|
+
# @return [String]
|
2532
|
+
attr_accessor :access_mode
|
2533
|
+
|
2529
2534
|
# The architecture of the source disk. Valid values are ARM64 or X86_64.
|
2530
2535
|
# Corresponds to the JSON property `architecture`
|
2531
2536
|
# @return [String]
|
@@ -2536,17 +2541,43 @@ module Google
|
|
2536
2541
|
# @return [String]
|
2537
2542
|
attr_accessor :description
|
2538
2543
|
|
2544
|
+
# Indicates whether the source disk is using confidential compute mode.
|
2545
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
2546
|
+
# @return [Boolean]
|
2547
|
+
attr_accessor :enable_confidential_compute
|
2548
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
2549
|
+
|
2539
2550
|
# A list of guest OS features that are applicable to this backup.
|
2540
2551
|
# Corresponds to the JSON property `guestOsFeature`
|
2541
2552
|
# @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
|
2542
2553
|
attr_accessor :guest_os_feature
|
2543
2554
|
|
2555
|
+
# The labels of the source disk.
|
2556
|
+
# Corresponds to the JSON property `labels`
|
2557
|
+
# @return [Hash<String,String>]
|
2558
|
+
attr_accessor :labels
|
2559
|
+
|
2544
2560
|
# A list of publicly available licenses that are applicable to this backup. This
|
2545
2561
|
# is applicable if the original image had licenses attached, e.g. Windows image.
|
2546
2562
|
# Corresponds to the JSON property `licenses`
|
2547
2563
|
# @return [Array<String>]
|
2548
2564
|
attr_accessor :licenses
|
2549
2565
|
|
2566
|
+
# The physical block size of the source disk.
|
2567
|
+
# Corresponds to the JSON property `physicalBlockSizeBytes`
|
2568
|
+
# @return [Fixnum]
|
2569
|
+
attr_accessor :physical_block_size_bytes
|
2570
|
+
|
2571
|
+
# The number of IOPS provisioned for the source disk.
|
2572
|
+
# Corresponds to the JSON property `provisionedIops`
|
2573
|
+
# @return [Fixnum]
|
2574
|
+
attr_accessor :provisioned_iops
|
2575
|
+
|
2576
|
+
# The number of throughput provisioned for the source disk.
|
2577
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
2578
|
+
# @return [Fixnum]
|
2579
|
+
attr_accessor :provisioned_throughput
|
2580
|
+
|
2550
2581
|
# Region and zone are mutually exclusive fields. The URL of the region of the
|
2551
2582
|
# source disk.
|
2552
2583
|
# Corresponds to the JSON property `region`
|
@@ -2568,6 +2599,11 @@ module Google
|
|
2568
2599
|
# @return [String]
|
2569
2600
|
attr_accessor :source_disk
|
2570
2601
|
|
2602
|
+
# The storage pool of the source disk.
|
2603
|
+
# Corresponds to the JSON property `storagePool`
|
2604
|
+
# @return [String]
|
2605
|
+
attr_accessor :storage_pool
|
2606
|
+
|
2571
2607
|
# The URL of the type of the disk.
|
2572
2608
|
# Corresponds to the JSON property `type`
|
2573
2609
|
# @return [String]
|
@@ -2584,14 +2620,21 @@ module Google
|
|
2584
2620
|
|
2585
2621
|
# Update properties of this object
|
2586
2622
|
def update!(**args)
|
2623
|
+
@access_mode = args[:access_mode] if args.key?(:access_mode)
|
2587
2624
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2588
2625
|
@description = args[:description] if args.key?(:description)
|
2626
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
2589
2627
|
@guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
|
2628
|
+
@labels = args[:labels] if args.key?(:labels)
|
2590
2629
|
@licenses = args[:licenses] if args.key?(:licenses)
|
2630
|
+
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
2631
|
+
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
2632
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
2591
2633
|
@region = args[:region] if args.key?(:region)
|
2592
2634
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
2593
2635
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
2594
2636
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
2637
|
+
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
|
2595
2638
|
@type = args[:type] if args.key?(:type)
|
2596
2639
|
@zone = args[:zone] if args.key?(:zone)
|
2597
2640
|
end
|
@@ -3832,6 +3875,25 @@ module Google
|
|
3832
3875
|
end
|
3833
3876
|
end
|
3834
3877
|
|
3878
|
+
#
|
3879
|
+
class LocationMetadata
|
3880
|
+
include Google::Apis::Core::Hashable
|
3881
|
+
|
3882
|
+
#
|
3883
|
+
# Corresponds to the JSON property `unsupportedFeatures`
|
3884
|
+
# @return [Array<String>]
|
3885
|
+
attr_accessor :unsupported_features
|
3886
|
+
|
3887
|
+
def initialize(**args)
|
3888
|
+
update!(**args)
|
3889
|
+
end
|
3890
|
+
|
3891
|
+
# Update properties of this object
|
3892
|
+
def update!(**args)
|
3893
|
+
@unsupported_features = args[:unsupported_features] if args.key?(:unsupported_features)
|
3894
|
+
end
|
3895
|
+
end
|
3896
|
+
|
3835
3897
|
# ManagementServer describes a single BackupDR ManagementServer instance.
|
3836
3898
|
class ManagementServer
|
3837
3899
|
include Google::Apis::Core::Hashable
|
@@ -5067,6 +5129,19 @@ module Google
|
|
5067
5129
|
end
|
5068
5130
|
end
|
5069
5131
|
|
5132
|
+
# Request message for subscribing to a trial.
|
5133
|
+
class SubscribeTrialRequest
|
5134
|
+
include Google::Apis::Core::Hashable
|
5135
|
+
|
5136
|
+
def initialize(**args)
|
5137
|
+
update!(**args)
|
5138
|
+
end
|
5139
|
+
|
5140
|
+
# Update properties of this object
|
5141
|
+
def update!(**args)
|
5142
|
+
end
|
5143
|
+
end
|
5144
|
+
|
5070
5145
|
# A set of instance tags.
|
5071
5146
|
class Tags
|
5072
5147
|
include Google::Apis::Core::Hashable
|
@@ -5146,6 +5221,44 @@ module Google
|
|
5146
5221
|
end
|
5147
5222
|
end
|
5148
5223
|
|
5224
|
+
# Represents a Trial for a project.
|
5225
|
+
class Trial
|
5226
|
+
include Google::Apis::Core::Hashable
|
5227
|
+
|
5228
|
+
# Output only. The time when the trial will expire.
|
5229
|
+
# Corresponds to the JSON property `endTime`
|
5230
|
+
# @return [String]
|
5231
|
+
attr_accessor :end_time
|
5232
|
+
|
5233
|
+
# Identifier. The resource name of the trial. Format: projects/`project`/
|
5234
|
+
# locations/`location`/trial
|
5235
|
+
# Corresponds to the JSON property `name`
|
5236
|
+
# @return [String]
|
5237
|
+
attr_accessor :name
|
5238
|
+
|
5239
|
+
# Output only. The time when the trial was subscribed.
|
5240
|
+
# Corresponds to the JSON property `startTime`
|
5241
|
+
# @return [String]
|
5242
|
+
attr_accessor :start_time
|
5243
|
+
|
5244
|
+
# Output only. The state of the trial.
|
5245
|
+
# Corresponds to the JSON property `state`
|
5246
|
+
# @return [String]
|
5247
|
+
attr_accessor :state
|
5248
|
+
|
5249
|
+
def initialize(**args)
|
5250
|
+
update!(**args)
|
5251
|
+
end
|
5252
|
+
|
5253
|
+
# Update properties of this object
|
5254
|
+
def update!(**args)
|
5255
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
5256
|
+
@name = args[:name] if args.key?(:name)
|
5257
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
5258
|
+
@state = args[:state] if args.key?(:state)
|
5259
|
+
end
|
5260
|
+
end
|
5261
|
+
|
5149
5262
|
# Request message for triggering a backup.
|
5150
5263
|
class TriggerBackupRequest
|
5151
5264
|
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.38.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 = "20250825"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -508,6 +508,12 @@ module Google
|
|
508
508
|
include Google::Apis::Core::JsonObjectSupport
|
509
509
|
end
|
510
510
|
|
511
|
+
class LocationMetadata
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
511
517
|
class ManagementServer
|
512
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
519
|
|
@@ -664,6 +670,12 @@ module Google
|
|
664
670
|
include Google::Apis::Core::JsonObjectSupport
|
665
671
|
end
|
666
672
|
|
673
|
+
class SubscribeTrialRequest
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
667
679
|
class Tags
|
668
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
681
|
|
@@ -688,6 +700,12 @@ module Google
|
|
688
700
|
include Google::Apis::Core::JsonObjectSupport
|
689
701
|
end
|
690
702
|
|
703
|
+
class Trial
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
691
709
|
class TriggerBackupRequest
|
692
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
711
|
|
@@ -1307,15 +1325,22 @@ module Google
|
|
1307
1325
|
class DiskBackupProperties
|
1308
1326
|
# @private
|
1309
1327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1328
|
+
property :access_mode, as: 'accessMode'
|
1310
1329
|
property :architecture, as: 'architecture'
|
1311
1330
|
property :description, as: 'description'
|
1331
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
1312
1332
|
collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
|
1313
1333
|
|
1334
|
+
hash :labels, as: 'labels'
|
1314
1335
|
collection :licenses, as: 'licenses'
|
1336
|
+
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
1337
|
+
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
1338
|
+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
1315
1339
|
property :region, as: 'region'
|
1316
1340
|
collection :replica_zones, as: 'replicaZones'
|
1317
1341
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
1318
1342
|
property :source_disk, as: 'sourceDisk'
|
1343
|
+
property :storage_pool, as: 'storagePool'
|
1319
1344
|
property :type, as: 'type'
|
1320
1345
|
property :zone, as: 'zone'
|
1321
1346
|
end
|
@@ -1655,6 +1680,13 @@ module Google
|
|
1655
1680
|
end
|
1656
1681
|
end
|
1657
1682
|
|
1683
|
+
class LocationMetadata
|
1684
|
+
# @private
|
1685
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1686
|
+
collection :unsupported_features, as: 'unsupportedFeatures'
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1658
1690
|
class ManagementServer
|
1659
1691
|
# @private
|
1660
1692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1945,6 +1977,12 @@ module Google
|
|
1945
1977
|
end
|
1946
1978
|
end
|
1947
1979
|
|
1980
|
+
class SubscribeTrialRequest
|
1981
|
+
# @private
|
1982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1983
|
+
end
|
1984
|
+
end
|
1985
|
+
|
1948
1986
|
class Tags
|
1949
1987
|
# @private
|
1950
1988
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1974,6 +2012,16 @@ module Google
|
|
1974
2012
|
end
|
1975
2013
|
end
|
1976
2014
|
|
2015
|
+
class Trial
|
2016
|
+
# @private
|
2017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2018
|
+
property :end_time, as: 'endTime'
|
2019
|
+
property :name, as: 'name'
|
2020
|
+
property :start_time, as: 'startTime'
|
2021
|
+
property :state, as: 'state'
|
2022
|
+
end
|
2023
|
+
end
|
2024
|
+
|
1977
2025
|
class TriggerBackupRequest
|
1978
2026
|
# @private
|
1979
2027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -81,12 +81,42 @@ module Google
|
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
+
# Gets the Trial state for a given project
|
85
|
+
# @param [String] name
|
86
|
+
# Required. The name of the trial to retrieve.
|
87
|
+
# @param [String] fields
|
88
|
+
# Selector specifying which fields to include in a partial response.
|
89
|
+
# @param [String] quota_user
|
90
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
91
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
92
|
+
# @param [Google::Apis::RequestOptions] options
|
93
|
+
# Request-specific options
|
94
|
+
#
|
95
|
+
# @yield [result, err] Result & error if block supplied
|
96
|
+
# @yieldparam result [Google::Apis::BackupdrV1::Trial] parsed result object
|
97
|
+
# @yieldparam err [StandardError] error object if request failed
|
98
|
+
#
|
99
|
+
# @return [Google::Apis::BackupdrV1::Trial]
|
100
|
+
#
|
101
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
+
def get_project_location_trial(name, fields: nil, quota_user: nil, options: nil, &block)
|
105
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
106
|
+
command.response_representation = Google::Apis::BackupdrV1::Trial::Representation
|
107
|
+
command.response_class = Google::Apis::BackupdrV1::Trial
|
108
|
+
command.params['name'] = name unless name.nil?
|
109
|
+
command.query['fields'] = fields unless fields.nil?
|
110
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
|
+
execute_or_queue_command(command, &block)
|
112
|
+
end
|
113
|
+
|
84
114
|
# Lists information about the supported locations for this service.
|
85
115
|
# @param [String] name
|
86
116
|
# The resource that owns the locations collection, if applicable.
|
87
117
|
# @param [Array<String>, String] extra_location_types
|
88
|
-
# Optional.
|
89
|
-
#
|
118
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
119
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
90
120
|
# @param [String] filter
|
91
121
|
# A filter to narrow down results to a preferred subset. The filtering language
|
92
122
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -2317,6 +2347,39 @@ module Google
|
|
2317
2347
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2318
2348
|
execute_or_queue_command(command, &block)
|
2319
2349
|
end
|
2350
|
+
|
2351
|
+
# Subscribes to a trial for a project
|
2352
|
+
# @param [String] parent
|
2353
|
+
# Required. The parent resource where this trial will be created.
|
2354
|
+
# @param [Google::Apis::BackupdrV1::SubscribeTrialRequest] subscribe_trial_request_object
|
2355
|
+
# @param [String] fields
|
2356
|
+
# Selector specifying which fields to include in a partial response.
|
2357
|
+
# @param [String] quota_user
|
2358
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2359
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2360
|
+
# @param [Google::Apis::RequestOptions] options
|
2361
|
+
# Request-specific options
|
2362
|
+
#
|
2363
|
+
# @yield [result, err] Result & error if block supplied
|
2364
|
+
# @yieldparam result [Google::Apis::BackupdrV1::Trial] parsed result object
|
2365
|
+
# @yieldparam err [StandardError] error object if request failed
|
2366
|
+
#
|
2367
|
+
# @return [Google::Apis::BackupdrV1::Trial]
|
2368
|
+
#
|
2369
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2370
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2371
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2372
|
+
def subscribe_trial(parent, subscribe_trial_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2373
|
+
command = make_simple_command(:post, 'v1/{+parent}/trial:subscribe', options)
|
2374
|
+
command.request_representation = Google::Apis::BackupdrV1::SubscribeTrialRequest::Representation
|
2375
|
+
command.request_object = subscribe_trial_request_object
|
2376
|
+
command.response_representation = Google::Apis::BackupdrV1::Trial::Representation
|
2377
|
+
command.response_class = Google::Apis::BackupdrV1::Trial
|
2378
|
+
command.params['parent'] = parent unless parent.nil?
|
2379
|
+
command.query['fields'] = fields unless fields.nil?
|
2380
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2381
|
+
execute_or_queue_command(command, &block)
|
2382
|
+
end
|
2320
2383
|
|
2321
2384
|
protected
|
2322
2385
|
|
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.38.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.38.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:
|