google-apis-backupdr_v1 0.45.0 → 0.46.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: fc42ed58234d567ffc0c968752ee5a2be47e21ac8f4ee8041d57be9381606a84
|
|
4
|
+
data.tar.gz: 297a30229bb78856f2496970738af77df5c370c48bf3c3a0aa7c055c07cd3b0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a7132a5c927d6a2abe2aeedf7dbd87fb2938b78db255b9bded381ebeff8d73fd7b6797d0e51bf2d9b2c215502533baa636e7e49b8f597757658ed643d3e8d02
|
|
7
|
+
data.tar.gz: a4a41e0e9db54bb858953c5936c1b682c533aacc6477a42e31f7b7f08c91fc05e376d441f060bc00dd95cce902b295cf4156a0a26c4497a74130e34fe23127f3
|
data/CHANGELOG.md
CHANGED
|
@@ -522,6 +522,12 @@ module Google
|
|
|
522
522
|
# @return [Array<Google::Apis::BackupdrV1::BackupLock>]
|
|
523
523
|
attr_accessor :backup_appliance_locks
|
|
524
524
|
|
|
525
|
+
# Output only. Setting for how the enforced retention end time is inherited.
|
|
526
|
+
# This value is copied from this backup's BackupVault.
|
|
527
|
+
# Corresponds to the JSON property `backupRetentionInheritance`
|
|
528
|
+
# @return [String]
|
|
529
|
+
attr_accessor :backup_retention_inheritance
|
|
530
|
+
|
|
525
531
|
# Output only. Type of the backup, unspecified, scheduled or ondemand.
|
|
526
532
|
# Corresponds to the JSON property `backupType`
|
|
527
533
|
# @return [String]
|
|
@@ -585,6 +591,11 @@ module Google
|
|
|
585
591
|
# @return [Google::Apis::BackupdrV1::BackupGcpResource]
|
|
586
592
|
attr_accessor :gcp_resource
|
|
587
593
|
|
|
594
|
+
# Optional. Output only. The list of KMS key versions used to encrypt the backup.
|
|
595
|
+
# Corresponds to the JSON property `kmsKeyVersions`
|
|
596
|
+
# @return [Array<String>]
|
|
597
|
+
attr_accessor :kms_key_versions
|
|
598
|
+
|
|
588
599
|
# Optional. Resource labels to represent user provided metadata. No labels
|
|
589
600
|
# currently defined.
|
|
590
601
|
# Corresponds to the JSON property `labels`
|
|
@@ -641,6 +652,7 @@ module Google
|
|
|
641
652
|
@alloy_db_backup_properties = args[:alloy_db_backup_properties] if args.key?(:alloy_db_backup_properties)
|
|
642
653
|
@backup_appliance_backup_properties = args[:backup_appliance_backup_properties] if args.key?(:backup_appliance_backup_properties)
|
|
643
654
|
@backup_appliance_locks = args[:backup_appliance_locks] if args.key?(:backup_appliance_locks)
|
|
655
|
+
@backup_retention_inheritance = args[:backup_retention_inheritance] if args.key?(:backup_retention_inheritance)
|
|
644
656
|
@backup_type = args[:backup_type] if args.key?(:backup_type)
|
|
645
657
|
@cloud_sql_instance_backup_properties = args[:cloud_sql_instance_backup_properties] if args.key?(:cloud_sql_instance_backup_properties)
|
|
646
658
|
@compute_instance_backup_properties = args[:compute_instance_backup_properties] if args.key?(:compute_instance_backup_properties)
|
|
@@ -653,6 +665,7 @@ module Google
|
|
|
653
665
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
654
666
|
@gcp_backup_plan_info = args[:gcp_backup_plan_info] if args.key?(:gcp_backup_plan_info)
|
|
655
667
|
@gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
|
|
668
|
+
@kms_key_versions = args[:kms_key_versions] if args.key?(:kms_key_versions)
|
|
656
669
|
@labels = args[:labels] if args.key?(:labels)
|
|
657
670
|
@name = args[:name] if args.key?(:name)
|
|
658
671
|
@resource_size_bytes = args[:resource_size_bytes] if args.key?(:resource_size_bytes)
|
|
@@ -1475,6 +1488,11 @@ module Google
|
|
|
1475
1488
|
# @return [String]
|
|
1476
1489
|
attr_accessor :backup_minimum_enforced_retention_duration
|
|
1477
1490
|
|
|
1491
|
+
# Optional. Setting for how a backup's enforced retention end time is inherited.
|
|
1492
|
+
# Corresponds to the JSON property `backupRetentionInheritance`
|
|
1493
|
+
# @return [String]
|
|
1494
|
+
attr_accessor :backup_retention_inheritance
|
|
1495
|
+
|
|
1478
1496
|
# Output only. The time when the instance was created.
|
|
1479
1497
|
# Corresponds to the JSON property `createTime`
|
|
1480
1498
|
# @return [String]
|
|
@@ -1497,6 +1515,12 @@ module Google
|
|
|
1497
1515
|
# @return [String]
|
|
1498
1516
|
attr_accessor :effective_time
|
|
1499
1517
|
|
|
1518
|
+
# Message describing the EncryptionConfig of backup vault. This determines how
|
|
1519
|
+
# data within the vault is encrypted at rest.
|
|
1520
|
+
# Corresponds to the JSON property `encryptionConfig`
|
|
1521
|
+
# @return [Google::Apis::BackupdrV1::EncryptionConfig]
|
|
1522
|
+
attr_accessor :encryption_config
|
|
1523
|
+
|
|
1500
1524
|
# Optional. Server specified ETag for the backup vault resource to prevent
|
|
1501
1525
|
# simultaneous updates from overwiting each other.
|
|
1502
1526
|
# Corresponds to the JSON property `etag`
|
|
@@ -1554,10 +1578,12 @@ module Google
|
|
|
1554
1578
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
1555
1579
|
@backup_count = args[:backup_count] if args.key?(:backup_count)
|
|
1556
1580
|
@backup_minimum_enforced_retention_duration = args[:backup_minimum_enforced_retention_duration] if args.key?(:backup_minimum_enforced_retention_duration)
|
|
1581
|
+
@backup_retention_inheritance = args[:backup_retention_inheritance] if args.key?(:backup_retention_inheritance)
|
|
1557
1582
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1558
1583
|
@deletable = args[:deletable] if args.key?(:deletable)
|
|
1559
1584
|
@description = args[:description] if args.key?(:description)
|
|
1560
1585
|
@effective_time = args[:effective_time] if args.key?(:effective_time)
|
|
1586
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
|
1561
1587
|
@etag = args[:etag] if args.key?(:etag)
|
|
1562
1588
|
@labels = args[:labels] if args.key?(:labels)
|
|
1563
1589
|
@name = args[:name] if args.key?(:name)
|
|
@@ -3010,6 +3036,29 @@ module Google
|
|
|
3010
3036
|
end
|
|
3011
3037
|
end
|
|
3012
3038
|
|
|
3039
|
+
# Message describing the EncryptionConfig of backup vault. This determines how
|
|
3040
|
+
# data within the vault is encrypted at rest.
|
|
3041
|
+
class EncryptionConfig
|
|
3042
|
+
include Google::Apis::Core::Hashable
|
|
3043
|
+
|
|
3044
|
+
# Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must
|
|
3045
|
+
# be in the same region as the vault. Some workload backups like compute disk
|
|
3046
|
+
# backups may use their inherited source key instead. Format: projects/`project`/
|
|
3047
|
+
# locations/`location`/keyRings/`ring`/cryptoKeys/`key`
|
|
3048
|
+
# Corresponds to the JSON property `kmsKeyName`
|
|
3049
|
+
# @return [String]
|
|
3050
|
+
attr_accessor :kms_key_name
|
|
3051
|
+
|
|
3052
|
+
def initialize(**args)
|
|
3053
|
+
update!(**args)
|
|
3054
|
+
end
|
|
3055
|
+
|
|
3056
|
+
# Update properties of this object
|
|
3057
|
+
def update!(**args)
|
|
3058
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
3059
|
+
end
|
|
3060
|
+
end
|
|
3061
|
+
|
|
3013
3062
|
# A key/value pair to be used for storing metadata.
|
|
3014
3063
|
class Entry
|
|
3015
3064
|
include Google::Apis::Core::Hashable
|
|
@@ -4848,6 +4897,17 @@ module Google
|
|
|
4848
4897
|
class RestoreBackupRequest
|
|
4849
4898
|
include Google::Apis::Core::Hashable
|
|
4850
4899
|
|
|
4900
|
+
# Optional. A field mask used to clear server-side default values for fields
|
|
4901
|
+
# within the `instance_properties` oneof. When a field in this mask is cleared,
|
|
4902
|
+
# the server will not apply its default logic (like inheriting a value from the
|
|
4903
|
+
# source) for that field. The most common current use case is clearing default
|
|
4904
|
+
# encryption keys. Examples of field mask paths: - Compute Instance Disks: `
|
|
4905
|
+
# compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk:
|
|
4906
|
+
# `disk_restore_properties.disk_encryption_key`
|
|
4907
|
+
# Corresponds to the JSON property `clearOverridesFieldMask`
|
|
4908
|
+
# @return [String]
|
|
4909
|
+
attr_accessor :clear_overrides_field_mask
|
|
4910
|
+
|
|
4851
4911
|
# ComputeInstanceRestoreProperties represents Compute Engine instance properties
|
|
4852
4912
|
# to be overridden during restore.
|
|
4853
4913
|
# Corresponds to the JSON property `computeInstanceRestoreProperties`
|
|
@@ -4895,6 +4955,7 @@ module Google
|
|
|
4895
4955
|
|
|
4896
4956
|
# Update properties of this object
|
|
4897
4957
|
def update!(**args)
|
|
4958
|
+
@clear_overrides_field_mask = args[:clear_overrides_field_mask] if args.key?(:clear_overrides_field_mask)
|
|
4898
4959
|
@compute_instance_restore_properties = args[:compute_instance_restore_properties] if args.key?(:compute_instance_restore_properties)
|
|
4899
4960
|
@compute_instance_target_environment = args[:compute_instance_target_environment] if args.key?(:compute_instance_target_environment)
|
|
4900
4961
|
@disk_restore_properties = args[:disk_restore_properties] if args.key?(:disk_restore_properties)
|
|
@@ -5485,6 +5546,11 @@ module Google
|
|
|
5485
5546
|
# @return [Fixnum]
|
|
5486
5547
|
attr_accessor :custom_retention_days
|
|
5487
5548
|
|
|
5549
|
+
# Optional. Labels to be applied on the backup.
|
|
5550
|
+
# Corresponds to the JSON property `labels`
|
|
5551
|
+
# @return [Hash<String,String>]
|
|
5552
|
+
attr_accessor :labels
|
|
5553
|
+
|
|
5488
5554
|
# Optional. An optional request ID to identify requests. Specify a unique
|
|
5489
5555
|
# request ID so that if you must retry your request, the server will know to
|
|
5490
5556
|
# ignore the request if it has already been completed. The server will guarantee
|
|
@@ -5512,6 +5578,7 @@ module Google
|
|
|
5512
5578
|
# Update properties of this object
|
|
5513
5579
|
def update!(**args)
|
|
5514
5580
|
@custom_retention_days = args[:custom_retention_days] if args.key?(:custom_retention_days)
|
|
5581
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
5515
5582
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
5516
5583
|
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
|
5517
5584
|
end
|
|
@@ -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.46.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 = "20251105"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -346,6 +346,12 @@ module Google
|
|
|
346
346
|
include Google::Apis::Core::JsonObjectSupport
|
|
347
347
|
end
|
|
348
348
|
|
|
349
|
+
class EncryptionConfig
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
349
355
|
class Entry
|
|
350
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
357
|
|
|
@@ -885,6 +891,7 @@ module Google
|
|
|
885
891
|
|
|
886
892
|
collection :backup_appliance_locks, as: 'backupApplianceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
|
|
887
893
|
|
|
894
|
+
property :backup_retention_inheritance, as: 'backupRetentionInheritance'
|
|
888
895
|
property :backup_type, as: 'backupType'
|
|
889
896
|
property :cloud_sql_instance_backup_properties, as: 'cloudSqlInstanceBackupProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties::Representation
|
|
890
897
|
|
|
@@ -902,6 +909,7 @@ module Google
|
|
|
902
909
|
|
|
903
910
|
property :gcp_resource, as: 'gcpResource', class: Google::Apis::BackupdrV1::BackupGcpResource, decorator: Google::Apis::BackupdrV1::BackupGcpResource::Representation
|
|
904
911
|
|
|
912
|
+
collection :kms_key_versions, as: 'kmsKeyVersions'
|
|
905
913
|
hash :labels, as: 'labels'
|
|
906
914
|
property :name, as: 'name'
|
|
907
915
|
property :resource_size_bytes, :numeric_string => true, as: 'resourceSizeBytes'
|
|
@@ -1108,10 +1116,13 @@ module Google
|
|
|
1108
1116
|
hash :annotations, as: 'annotations'
|
|
1109
1117
|
property :backup_count, :numeric_string => true, as: 'backupCount'
|
|
1110
1118
|
property :backup_minimum_enforced_retention_duration, as: 'backupMinimumEnforcedRetentionDuration'
|
|
1119
|
+
property :backup_retention_inheritance, as: 'backupRetentionInheritance'
|
|
1111
1120
|
property :create_time, as: 'createTime'
|
|
1112
1121
|
property :deletable, as: 'deletable'
|
|
1113
1122
|
property :description, as: 'description'
|
|
1114
1123
|
property :effective_time, as: 'effectiveTime'
|
|
1124
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BackupdrV1::EncryptionConfig, decorator: Google::Apis::BackupdrV1::EncryptionConfig::Representation
|
|
1125
|
+
|
|
1115
1126
|
property :etag, as: 'etag'
|
|
1116
1127
|
hash :labels, as: 'labels'
|
|
1117
1128
|
property :name, as: 'name'
|
|
@@ -1468,6 +1479,13 @@ module Google
|
|
|
1468
1479
|
end
|
|
1469
1480
|
end
|
|
1470
1481
|
|
|
1482
|
+
class EncryptionConfig
|
|
1483
|
+
# @private
|
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1485
|
+
property :kms_key_name, as: 'kmsKeyName'
|
|
1486
|
+
end
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1471
1489
|
class Entry
|
|
1472
1490
|
# @private
|
|
1473
1491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1942,6 +1960,7 @@ module Google
|
|
|
1942
1960
|
class RestoreBackupRequest
|
|
1943
1961
|
# @private
|
|
1944
1962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1963
|
+
property :clear_overrides_field_mask, as: 'clearOverridesFieldMask'
|
|
1945
1964
|
property :compute_instance_restore_properties, as: 'computeInstanceRestoreProperties', class: Google::Apis::BackupdrV1::ComputeInstanceRestoreProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceRestoreProperties::Representation
|
|
1946
1965
|
|
|
1947
1966
|
property :compute_instance_target_environment, as: 'computeInstanceTargetEnvironment', class: Google::Apis::BackupdrV1::ComputeInstanceTargetEnvironment, decorator: Google::Apis::BackupdrV1::ComputeInstanceTargetEnvironment::Representation
|
|
@@ -2113,6 +2132,7 @@ module Google
|
|
|
2113
2132
|
# @private
|
|
2114
2133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2115
2134
|
property :custom_retention_days, as: 'customRetentionDays'
|
|
2135
|
+
hash :labels, as: 'labels'
|
|
2116
2136
|
property :request_id, as: 'requestId'
|
|
2117
2137
|
property :rule_id, as: 'ruleId'
|
|
2118
2138
|
end
|
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.46.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.46.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:
|