google-apis-backupdr_v1 0.35.0 → 0.37.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: c55b169e9f4abd6b32cfd9632eb2fb4ce635880367eb7c9308411bd0e7af1f8d
|
4
|
+
data.tar.gz: 8ab1a209944faa8122928d45eb0f5653f1066ccbecf31b219f6878dc4c1b0a63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d27de9c097d1c38695f17db32820d4bc8397e5753baba2f90f29dca0385a5134d2030c11edf0e3483927a3115375490361d5f0e8c5c9418a1152196bea26008b
|
7
|
+
data.tar.gz: 79166fa3e2733a8bea38182c70da6ef3b854d3d52aebf098f22953b282a0329b640b2430240b030e4b992d63b7799b73aa1b4fc68f19a8cd0e8db5f594031dc9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2025-08-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250730
|
6
|
+
|
7
|
+
### v0.36.0 (2025-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250723
|
10
|
+
|
3
11
|
### v0.35.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250720
|
@@ -463,7 +463,7 @@ module Google
|
|
463
463
|
attr_accessor :backup_type
|
464
464
|
|
465
465
|
# CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup
|
466
|
-
# properties.
|
466
|
+
# properties.
|
467
467
|
# Corresponds to the JSON property `cloudSqlInstanceBackupProperties`
|
468
468
|
# @return [Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties]
|
469
469
|
attr_accessor :cloud_sql_instance_backup_properties
|
@@ -1025,8 +1025,7 @@ module Google
|
|
1025
1025
|
class BackupPlan
|
1026
1026
|
include Google::Apis::Core::Hashable
|
1027
1027
|
|
1028
|
-
# Optional. The backup rules for this `BackupPlan`.
|
1029
|
-
# BackupRule` message if on_demand_retention_limit_days is not set.
|
1028
|
+
# Optional. The backup rules for this `BackupPlan`.
|
1030
1029
|
# Corresponds to the JSON property `backupRules`
|
1031
1030
|
# @return [Array<Google::Apis::BackupdrV1::BackupRule>]
|
1032
1031
|
attr_accessor :backup_rules
|
@@ -1072,9 +1071,9 @@ module Google
|
|
1072
1071
|
# @return [Hash<String,String>]
|
1073
1072
|
attr_accessor :labels
|
1074
1073
|
|
1075
|
-
# Optional.
|
1076
|
-
# stored. It is defined in “days”. This value should be greater than or
|
1077
|
-
# minimum enforced log retention duration of the backup vault.
|
1074
|
+
# Optional. Applicable only for CloudSQL resource_type. Configures how long logs
|
1075
|
+
# will be stored. It is defined in “days”. This value should be greater than or
|
1076
|
+
# equal to minimum enforced log retention duration of the backup vault.
|
1078
1077
|
# Corresponds to the JSON property `logRetentionDays`
|
1079
1078
|
# @return [Fixnum]
|
1080
1079
|
attr_accessor :log_retention_days
|
@@ -1085,7 +1084,9 @@ module Google
|
|
1085
1084
|
# @return [String]
|
1086
1085
|
attr_accessor :name
|
1087
1086
|
|
1088
|
-
# Required.
|
1087
|
+
# Required. The resource type to which the `BackupPlan` will be applied.
|
1088
|
+
# Examples include, "compute.googleapis.com/Instance", "sqladmin.googleapis.com/
|
1089
|
+
# Instance", "alloydb.googleapis.com/Cluster", "compute.googleapis.com/Disk".
|
1089
1090
|
# Corresponds to the JSON property `resourceType`
|
1090
1091
|
# @return [String]
|
1091
1092
|
attr_accessor :resource_type
|
@@ -1199,7 +1200,7 @@ module Google
|
|
1199
1200
|
# @return [String]
|
1200
1201
|
attr_accessor :resource
|
1201
1202
|
|
1202
|
-
# Required. Immutable.
|
1203
|
+
# Required. Immutable. Resource type of workload on which backupplan is applied
|
1203
1204
|
# Corresponds to the JSON property `resourceType`
|
1204
1205
|
# @return [String]
|
1205
1206
|
attr_accessor :resource_type
|
@@ -1615,7 +1616,7 @@ module Google
|
|
1615
1616
|
end
|
1616
1617
|
|
1617
1618
|
# CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup
|
1618
|
-
# properties.
|
1619
|
+
# properties.
|
1619
1620
|
class CloudSqlInstanceBackupProperties
|
1620
1621
|
include Google::Apis::Core::Hashable
|
1621
1622
|
|
@@ -1657,7 +1658,7 @@ module Google
|
|
1657
1658
|
end
|
1658
1659
|
|
1659
1660
|
# CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL
|
1660
|
-
# resource that are stored in the DataSource.
|
1661
|
+
# resource that are stored in the DataSource.
|
1661
1662
|
class CloudSqlInstanceDataSourceProperties
|
1662
1663
|
include Google::Apis::Core::Hashable
|
1663
1664
|
|
@@ -1697,7 +1698,7 @@ module Google
|
|
1697
1698
|
end
|
1698
1699
|
|
1699
1700
|
# CloudSqlInstanceDataSourceReferenceProperties represents the properties of a
|
1700
|
-
# Cloud SQL resource that are stored in the DataSourceReference.
|
1701
|
+
# Cloud SQL resource that are stored in the DataSourceReference.
|
1701
1702
|
class CloudSqlInstanceDataSourceReferenceProperties
|
1702
1703
|
include Google::Apis::Core::Hashable
|
1703
1704
|
|
@@ -2377,7 +2378,7 @@ module Google
|
|
2377
2378
|
include Google::Apis::Core::Hashable
|
2378
2379
|
|
2379
2380
|
# CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL
|
2380
|
-
# resource that are stored in the DataSource.
|
2381
|
+
# resource that are stored in the DataSource.
|
2381
2382
|
# Corresponds to the JSON property `cloudSqlInstanceDatasourceProperties`
|
2382
2383
|
# @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties]
|
2383
2384
|
attr_accessor :cloud_sql_instance_datasource_properties
|
@@ -2430,7 +2431,7 @@ module Google
|
|
2430
2431
|
include Google::Apis::Core::Hashable
|
2431
2432
|
|
2432
2433
|
# CloudSqlInstanceDataSourceReferenceProperties represents the properties of a
|
2433
|
-
# Cloud SQL resource that are stored in the DataSourceReference.
|
2434
|
+
# Cloud SQL resource that are stored in the DataSourceReference.
|
2434
2435
|
# Corresponds to the JSON property `cloudSqlInstanceProperties`
|
2435
2436
|
# @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties]
|
2436
2437
|
attr_accessor :cloud_sql_instance_properties
|
@@ -2525,6 +2526,11 @@ module Google
|
|
2525
2526
|
class DiskBackupProperties
|
2526
2527
|
include Google::Apis::Core::Hashable
|
2527
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
|
+
|
2528
2534
|
# The architecture of the source disk. Valid values are ARM64 or X86_64.
|
2529
2535
|
# Corresponds to the JSON property `architecture`
|
2530
2536
|
# @return [String]
|
@@ -2535,17 +2541,43 @@ module Google
|
|
2535
2541
|
# @return [String]
|
2536
2542
|
attr_accessor :description
|
2537
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
|
+
|
2538
2550
|
# A list of guest OS features that are applicable to this backup.
|
2539
2551
|
# Corresponds to the JSON property `guestOsFeature`
|
2540
2552
|
# @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
|
2541
2553
|
attr_accessor :guest_os_feature
|
2542
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
|
+
|
2543
2560
|
# A list of publicly available licenses that are applicable to this backup. This
|
2544
2561
|
# is applicable if the original image had licenses attached, e.g. Windows image.
|
2545
2562
|
# Corresponds to the JSON property `licenses`
|
2546
2563
|
# @return [Array<String>]
|
2547
2564
|
attr_accessor :licenses
|
2548
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
|
+
|
2549
2581
|
# Region and zone are mutually exclusive fields. The URL of the region of the
|
2550
2582
|
# source disk.
|
2551
2583
|
# Corresponds to the JSON property `region`
|
@@ -2567,6 +2599,11 @@ module Google
|
|
2567
2599
|
# @return [String]
|
2568
2600
|
attr_accessor :source_disk
|
2569
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
|
+
|
2570
2607
|
# The URL of the type of the disk.
|
2571
2608
|
# Corresponds to the JSON property `type`
|
2572
2609
|
# @return [String]
|
@@ -2583,14 +2620,21 @@ module Google
|
|
2583
2620
|
|
2584
2621
|
# Update properties of this object
|
2585
2622
|
def update!(**args)
|
2623
|
+
@access_mode = args[:access_mode] if args.key?(:access_mode)
|
2586
2624
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2587
2625
|
@description = args[:description] if args.key?(:description)
|
2626
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
2588
2627
|
@guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
|
2628
|
+
@labels = args[:labels] if args.key?(:labels)
|
2589
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)
|
2590
2633
|
@region = args[:region] if args.key?(:region)
|
2591
2634
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
2592
2635
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
2593
2636
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
2637
|
+
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
|
2594
2638
|
@type = args[:type] if args.key?(:type)
|
2595
2639
|
@zone = args[:zone] if args.key?(:zone)
|
2596
2640
|
end
|
@@ -2686,7 +2730,7 @@ module Google
|
|
2686
2730
|
# @return [Array<String>]
|
2687
2731
|
attr_accessor :licenses
|
2688
2732
|
|
2689
|
-
# Required. Name of the disk
|
2733
|
+
# Required. Name of the disk.
|
2690
2734
|
# Corresponds to the JSON property `name`
|
2691
2735
|
# @return [String]
|
2692
2736
|
attr_accessor :name
|
@@ -3831,6 +3875,25 @@ module Google
|
|
3831
3875
|
end
|
3832
3876
|
end
|
3833
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
|
+
|
3834
3897
|
# ManagementServer describes a single BackupDR ManagementServer instance.
|
3835
3898
|
class ManagementServer
|
3836
3899
|
include Google::Apis::Core::Hashable
|
@@ -5163,7 +5226,8 @@ module Google
|
|
5163
5226
|
# @return [String]
|
5164
5227
|
attr_accessor :request_id
|
5165
5228
|
|
5166
|
-
#
|
5229
|
+
# Optional. backup rule_id for which a backup needs to be triggered. If not
|
5230
|
+
# specified, on-demand backup with custom retention will be triggered.
|
5167
5231
|
# Corresponds to the JSON property `ruleId`
|
5168
5232
|
# @return [String]
|
5169
5233
|
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.37.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 = "20250730"
|
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
|
|
@@ -1307,15 +1313,22 @@ module Google
|
|
1307
1313
|
class DiskBackupProperties
|
1308
1314
|
# @private
|
1309
1315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1316
|
+
property :access_mode, as: 'accessMode'
|
1310
1317
|
property :architecture, as: 'architecture'
|
1311
1318
|
property :description, as: 'description'
|
1319
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
1312
1320
|
collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
|
1313
1321
|
|
1322
|
+
hash :labels, as: 'labels'
|
1314
1323
|
collection :licenses, as: 'licenses'
|
1324
|
+
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
1325
|
+
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
1326
|
+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
1315
1327
|
property :region, as: 'region'
|
1316
1328
|
collection :replica_zones, as: 'replicaZones'
|
1317
1329
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
1318
1330
|
property :source_disk, as: 'sourceDisk'
|
1331
|
+
property :storage_pool, as: 'storagePool'
|
1319
1332
|
property :type, as: 'type'
|
1320
1333
|
property :zone, as: 'zone'
|
1321
1334
|
end
|
@@ -1655,6 +1668,13 @@ module Google
|
|
1655
1668
|
end
|
1656
1669
|
end
|
1657
1670
|
|
1671
|
+
class LocationMetadata
|
1672
|
+
# @private
|
1673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1674
|
+
collection :unsupported_features, as: 'unsupportedFeatures'
|
1675
|
+
end
|
1676
|
+
end
|
1677
|
+
|
1658
1678
|
class ManagementServer
|
1659
1679
|
# @private
|
1660
1680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -357,7 +357,7 @@ module Google
|
|
357
357
|
execute_or_queue_command(command, &block)
|
358
358
|
end
|
359
359
|
|
360
|
-
# Update a BackupPlanAssociation
|
360
|
+
# Update a BackupPlanAssociation.
|
361
361
|
# @param [String] name
|
362
362
|
# Output only. Identifier. The resource name of BackupPlanAssociation in below
|
363
363
|
# format Format : projects/`project`/locations/`location`/backupPlanAssociations/
|
@@ -626,7 +626,7 @@ module Google
|
|
626
626
|
execute_or_queue_command(command, &block)
|
627
627
|
end
|
628
628
|
|
629
|
-
# Update a BackupPlan
|
629
|
+
# Update a BackupPlan.
|
630
630
|
# @param [String] name
|
631
631
|
# Output only. Identifier. The resource name of the `BackupPlan`. Format: `
|
632
632
|
# projects/`project`/locations/`location`/backupPlans/`backup_plan``
|
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.37.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.37.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:
|