google-apis-backupdr_v1 0.53.0 → 0.55.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: c32ca4034846d8d968705c62cb66ed8687d8e7d69ea23389bfc159b3407bd7bf
|
|
4
|
+
data.tar.gz: 461782ade82f75693f149eaab3e80203b1eba3a2cb5cc5e5740c9f971d77d557
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0332b79a11b2942f43ba67b6531d5d33def862535a7de44d3ef7dc7759d966b213318ab3f7e01d2979aa4166e19f3a06d0b9b1bde0d7109de9ef8ee058b87bcd
|
|
7
|
+
data.tar.gz: cc8f78782fd74e475e5e0025a5d0971fb058e7bf4de26aa1b119ce41f74c3c3053436e6f24816eea9c8d121f65b2cd27cbcc003cc2a2ef9537d2f3a43b5f0906
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
|
2
2
|
|
|
3
|
+
### v0.55.0 (2026-05-03)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260423
|
|
6
|
+
|
|
7
|
+
### v0.54.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260408
|
|
10
|
+
|
|
3
11
|
### v0.53.0 (2026-03-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260309
|
|
@@ -666,6 +666,12 @@ module Google
|
|
|
666
666
|
# @return [String]
|
|
667
667
|
attr_accessor :expire_time
|
|
668
668
|
|
|
669
|
+
# FilestoreInstanceBackupProperties represents the properties of a Filestore
|
|
670
|
+
# instance that are backed up by the datasource. .
|
|
671
|
+
# Corresponds to the JSON property `filestoreInstanceBackupProperties`
|
|
672
|
+
# @return [Google::Apis::BackupdrV1::FilestoreInstanceBackupProperties]
|
|
673
|
+
attr_accessor :filestore_instance_backup_properties
|
|
674
|
+
|
|
669
675
|
# GCPBackupPlanInfo captures the plan configuration details of Google Cloud
|
|
670
676
|
# resources at the time of backup.
|
|
671
677
|
# Corresponds to the JSON property `gcpBackupPlanInfo`
|
|
@@ -749,6 +755,7 @@ module Google
|
|
|
749
755
|
@enforced_retention_end_time = args[:enforced_retention_end_time] if args.key?(:enforced_retention_end_time)
|
|
750
756
|
@etag = args[:etag] if args.key?(:etag)
|
|
751
757
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
758
|
+
@filestore_instance_backup_properties = args[:filestore_instance_backup_properties] if args.key?(:filestore_instance_backup_properties)
|
|
752
759
|
@gcp_backup_plan_info = args[:gcp_backup_plan_info] if args.key?(:gcp_backup_plan_info)
|
|
753
760
|
@gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
|
|
754
761
|
@kms_key_versions = args[:kms_key_versions] if args.key?(:kms_key_versions)
|
|
@@ -1247,6 +1254,11 @@ module Google
|
|
|
1247
1254
|
# @return [String]
|
|
1248
1255
|
attr_accessor :backup_vault_service_account
|
|
1249
1256
|
|
|
1257
|
+
# --- ComputeInstanceBackupPlanProperties Message ---
|
|
1258
|
+
# Corresponds to the JSON property `computeInstanceBackupPlanProperties`
|
|
1259
|
+
# @return [Google::Apis::BackupdrV1::ComputeInstanceBackupPlanProperties]
|
|
1260
|
+
attr_accessor :compute_instance_backup_plan_properties
|
|
1261
|
+
|
|
1250
1262
|
# Output only. When the `BackupPlan` was created.
|
|
1251
1263
|
# Corresponds to the JSON property `createTime`
|
|
1252
1264
|
# @return [String]
|
|
@@ -1343,6 +1355,7 @@ module Google
|
|
|
1343
1355
|
@backup_rules = args[:backup_rules] if args.key?(:backup_rules)
|
|
1344
1356
|
@backup_vault = args[:backup_vault] if args.key?(:backup_vault)
|
|
1345
1357
|
@backup_vault_service_account = args[:backup_vault_service_account] if args.key?(:backup_vault_service_account)
|
|
1358
|
+
@compute_instance_backup_plan_properties = args[:compute_instance_backup_plan_properties] if args.key?(:compute_instance_backup_plan_properties)
|
|
1346
1359
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1347
1360
|
@description = args[:description] if args.key?(:description)
|
|
1348
1361
|
@disk_backup_plan_properties = args[:disk_backup_plan_properties] if args.key?(:disk_backup_plan_properties)
|
|
@@ -2016,6 +2029,28 @@ module Google
|
|
|
2016
2029
|
end
|
|
2017
2030
|
end
|
|
2018
2031
|
|
|
2032
|
+
# --- ComputeInstanceBackupPlanProperties Message ---
|
|
2033
|
+
class ComputeInstanceBackupPlanProperties
|
|
2034
|
+
include Google::Apis::Core::Hashable
|
|
2035
|
+
|
|
2036
|
+
# Optional. Indicates whether to perform a guest flush operation before taking a
|
|
2037
|
+
# compute backup. When set to false, the system will create crash-consistent
|
|
2038
|
+
# backups. Default value is false.
|
|
2039
|
+
# Corresponds to the JSON property `guestFlush`
|
|
2040
|
+
# @return [Boolean]
|
|
2041
|
+
attr_accessor :guest_flush
|
|
2042
|
+
alias_method :guest_flush?, :guest_flush
|
|
2043
|
+
|
|
2044
|
+
def initialize(**args)
|
|
2045
|
+
update!(**args)
|
|
2046
|
+
end
|
|
2047
|
+
|
|
2048
|
+
# Update properties of this object
|
|
2049
|
+
def update!(**args)
|
|
2050
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
|
2051
|
+
end
|
|
2052
|
+
end
|
|
2053
|
+
|
|
2019
2054
|
# ComputeInstanceBackupProperties represents Compute Engine instance backup
|
|
2020
2055
|
# properties.
|
|
2021
2056
|
class ComputeInstanceBackupProperties
|
|
@@ -2050,6 +2085,14 @@ module Google
|
|
|
2050
2085
|
# @return [Array<Google::Apis::BackupdrV1::AcceleratorConfig>]
|
|
2051
2086
|
attr_accessor :guest_accelerator
|
|
2052
2087
|
|
|
2088
|
+
# Optional. Indicates whether to perform a guest flush operation before taking a
|
|
2089
|
+
# compute backup. When set to false, the system will create crash-consistent
|
|
2090
|
+
# backups. Default value is false.
|
|
2091
|
+
# Corresponds to the JSON property `guestFlush`
|
|
2092
|
+
# @return [Boolean]
|
|
2093
|
+
attr_accessor :guest_flush
|
|
2094
|
+
alias_method :guest_flush?, :guest_flush
|
|
2095
|
+
|
|
2053
2096
|
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
|
2054
2097
|
# NONE". The default value is "NONE" if it is not specified.
|
|
2055
2098
|
# Corresponds to the JSON property `keyRevocationActionType`
|
|
@@ -2121,6 +2164,7 @@ module Google
|
|
|
2121
2164
|
@description = args[:description] if args.key?(:description)
|
|
2122
2165
|
@disk = args[:disk] if args.key?(:disk)
|
|
2123
2166
|
@guest_accelerator = args[:guest_accelerator] if args.key?(:guest_accelerator)
|
|
2167
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
|
2124
2168
|
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
|
|
2125
2169
|
@labels = args[:labels] if args.key?(:labels)
|
|
2126
2170
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
@@ -2660,6 +2704,12 @@ module Google
|
|
|
2660
2704
|
# @return [Google::Apis::BackupdrV1::DiskDataSourceProperties]
|
|
2661
2705
|
attr_accessor :disk_datasource_properties
|
|
2662
2706
|
|
|
2707
|
+
# FilestoreInstanceDataSourceProperties represents the properties of a Filestore
|
|
2708
|
+
# resource that are stored in the DataSource. .
|
|
2709
|
+
# Corresponds to the JSON property `filestoreInstanceDatasourceProperties`
|
|
2710
|
+
# @return [Google::Apis::BackupdrV1::FilestoreInstanceDataSourceProperties]
|
|
2711
|
+
attr_accessor :filestore_instance_datasource_properties
|
|
2712
|
+
|
|
2663
2713
|
# Output only. Full resource pathname URL of the source Google Cloud resource.
|
|
2664
2714
|
# Corresponds to the JSON property `gcpResourcename`
|
|
2665
2715
|
# @return [String]
|
|
@@ -2686,6 +2736,7 @@ module Google
|
|
|
2686
2736
|
@cloud_sql_instance_datasource_properties = args[:cloud_sql_instance_datasource_properties] if args.key?(:cloud_sql_instance_datasource_properties)
|
|
2687
2737
|
@compute_instance_datasource_properties = args[:compute_instance_datasource_properties] if args.key?(:compute_instance_datasource_properties)
|
|
2688
2738
|
@disk_datasource_properties = args[:disk_datasource_properties] if args.key?(:disk_datasource_properties)
|
|
2739
|
+
@filestore_instance_datasource_properties = args[:filestore_instance_datasource_properties] if args.key?(:filestore_instance_datasource_properties)
|
|
2689
2740
|
@gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
|
|
2690
2741
|
@location = args[:location] if args.key?(:location)
|
|
2691
2742
|
@type = args[:type] if args.key?(:type)
|
|
@@ -2708,6 +2759,12 @@ module Google
|
|
|
2708
2759
|
# @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties]
|
|
2709
2760
|
attr_accessor :cloud_sql_instance_properties
|
|
2710
2761
|
|
|
2762
|
+
# FilestoreInstanceDataSourceReferenceProperties represents the properties of a
|
|
2763
|
+
# Filestore resource that are stored in the DataSourceReference. .
|
|
2764
|
+
# Corresponds to the JSON property `filestoreInstanceProperties`
|
|
2765
|
+
# @return [Google::Apis::BackupdrV1::FilestoreInstanceDataSourceReferenceProperties]
|
|
2766
|
+
attr_accessor :filestore_instance_properties
|
|
2767
|
+
|
|
2711
2768
|
# Output only. The resource name of the Google Cloud resource. Ex: projects/`
|
|
2712
2769
|
# project`/zones/`zone`/instances/`instance`
|
|
2713
2770
|
# Corresponds to the JSON property `gcpResourcename`
|
|
@@ -2734,6 +2791,7 @@ module Google
|
|
|
2734
2791
|
def update!(**args)
|
|
2735
2792
|
@alloy_db_cluster_properties = args[:alloy_db_cluster_properties] if args.key?(:alloy_db_cluster_properties)
|
|
2736
2793
|
@cloud_sql_instance_properties = args[:cloud_sql_instance_properties] if args.key?(:cloud_sql_instance_properties)
|
|
2794
|
+
@filestore_instance_properties = args[:filestore_instance_properties] if args.key?(:filestore_instance_properties)
|
|
2737
2795
|
@gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
|
|
2738
2796
|
@location = args[:location] if args.key?(:location)
|
|
2739
2797
|
@type = args[:type] if args.key?(:type)
|
|
@@ -3477,6 +3535,31 @@ module Google
|
|
|
3477
3535
|
end
|
|
3478
3536
|
end
|
|
3479
3537
|
|
|
3538
|
+
# Response for FetchResourceBackupConfigs.
|
|
3539
|
+
class FetchResourceBackupConfigsResponse
|
|
3540
|
+
include Google::Apis::Core::Hashable
|
|
3541
|
+
|
|
3542
|
+
# A token identifying a page of results the server should return.
|
|
3543
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3544
|
+
# @return [String]
|
|
3545
|
+
attr_accessor :next_page_token
|
|
3546
|
+
|
|
3547
|
+
# The list of ResourceBackupConfigs for the specified scope.
|
|
3548
|
+
# Corresponds to the JSON property `resourceBackupConfigs`
|
|
3549
|
+
# @return [Array<Google::Apis::BackupdrV1::ResourceBackupConfig>]
|
|
3550
|
+
attr_accessor :resource_backup_configs
|
|
3551
|
+
|
|
3552
|
+
def initialize(**args)
|
|
3553
|
+
update!(**args)
|
|
3554
|
+
end
|
|
3555
|
+
|
|
3556
|
+
# Update properties of this object
|
|
3557
|
+
def update!(**args)
|
|
3558
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3559
|
+
@resource_backup_configs = args[:resource_backup_configs] if args.key?(:resource_backup_configs)
|
|
3560
|
+
end
|
|
3561
|
+
end
|
|
3562
|
+
|
|
3480
3563
|
# Response message for fetching usable BackupVaults.
|
|
3481
3564
|
class FetchUsableBackupVaultsResponse
|
|
3482
3565
|
include Google::Apis::Core::Hashable
|
|
@@ -3531,6 +3614,79 @@ module Google
|
|
|
3531
3614
|
end
|
|
3532
3615
|
end
|
|
3533
3616
|
|
|
3617
|
+
# FilestoreInstanceBackupProperties represents the properties of a Filestore
|
|
3618
|
+
# instance that are backed up by the datasource. .
|
|
3619
|
+
class FilestoreInstanceBackupProperties
|
|
3620
|
+
include Google::Apis::Core::Hashable
|
|
3621
|
+
|
|
3622
|
+
# Output only. The source instance of the backup.
|
|
3623
|
+
# Corresponds to the JSON property `sourceInstance`
|
|
3624
|
+
# @return [String]
|
|
3625
|
+
attr_accessor :source_instance
|
|
3626
|
+
|
|
3627
|
+
def initialize(**args)
|
|
3628
|
+
update!(**args)
|
|
3629
|
+
end
|
|
3630
|
+
|
|
3631
|
+
# Update properties of this object
|
|
3632
|
+
def update!(**args)
|
|
3633
|
+
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
|
3634
|
+
end
|
|
3635
|
+
end
|
|
3636
|
+
|
|
3637
|
+
# FilestoreInstanceDataSourceProperties represents the properties of a Filestore
|
|
3638
|
+
# resource that are stored in the DataSource. .
|
|
3639
|
+
class FilestoreInstanceDataSourceProperties
|
|
3640
|
+
include Google::Apis::Core::Hashable
|
|
3641
|
+
|
|
3642
|
+
# Output only. The instance creation timestamp.
|
|
3643
|
+
# Corresponds to the JSON property `instanceCreateTime`
|
|
3644
|
+
# @return [String]
|
|
3645
|
+
attr_accessor :instance_create_time
|
|
3646
|
+
|
|
3647
|
+
# Output only. Name of the Filestore instance backed up by the datasource.
|
|
3648
|
+
# Corresponds to the JSON property `name`
|
|
3649
|
+
# @return [String]
|
|
3650
|
+
attr_accessor :name
|
|
3651
|
+
|
|
3652
|
+
def initialize(**args)
|
|
3653
|
+
update!(**args)
|
|
3654
|
+
end
|
|
3655
|
+
|
|
3656
|
+
# Update properties of this object
|
|
3657
|
+
def update!(**args)
|
|
3658
|
+
@instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
|
|
3659
|
+
@name = args[:name] if args.key?(:name)
|
|
3660
|
+
end
|
|
3661
|
+
end
|
|
3662
|
+
|
|
3663
|
+
# FilestoreInstanceDataSourceReferenceProperties represents the properties of a
|
|
3664
|
+
# Filestore resource that are stored in the DataSourceReference. .
|
|
3665
|
+
class FilestoreInstanceDataSourceReferenceProperties
|
|
3666
|
+
include Google::Apis::Core::Hashable
|
|
3667
|
+
|
|
3668
|
+
# Output only. The instance creation timestamp.
|
|
3669
|
+
# Corresponds to the JSON property `instanceCreateTime`
|
|
3670
|
+
# @return [String]
|
|
3671
|
+
attr_accessor :instance_create_time
|
|
3672
|
+
|
|
3673
|
+
# Output only. Name of the Filestore instance backed up by the datasource.
|
|
3674
|
+
# Format: projects/`project`/instances/`instance`
|
|
3675
|
+
# Corresponds to the JSON property `name`
|
|
3676
|
+
# @return [String]
|
|
3677
|
+
attr_accessor :name
|
|
3678
|
+
|
|
3679
|
+
def initialize(**args)
|
|
3680
|
+
update!(**args)
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3683
|
+
# Update properties of this object
|
|
3684
|
+
def update!(**args)
|
|
3685
|
+
@instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
|
|
3686
|
+
@name = args[:name] if args.key?(:name)
|
|
3687
|
+
end
|
|
3688
|
+
end
|
|
3689
|
+
|
|
3534
3690
|
# Message for finalizing a Backup.
|
|
3535
3691
|
class FinalizeBackupRequest
|
|
3536
3692
|
include Google::Apis::Core::Hashable
|
|
@@ -3881,6 +4037,13 @@ module Google
|
|
|
3881
4037
|
# @return [String]
|
|
3882
4038
|
attr_accessor :resource_type
|
|
3883
4039
|
|
|
4040
|
+
# Optional. If set, validates the request and returns the result, but does not
|
|
4041
|
+
# actually run it.
|
|
4042
|
+
# Corresponds to the JSON property `validateOnly`
|
|
4043
|
+
# @return [Boolean]
|
|
4044
|
+
attr_accessor :validate_only
|
|
4045
|
+
alias_method :validate_only?, :validate_only
|
|
4046
|
+
|
|
3884
4047
|
def initialize(**args)
|
|
3885
4048
|
update!(**args)
|
|
3886
4049
|
end
|
|
@@ -3891,6 +4054,7 @@ module Google
|
|
|
3891
4054
|
@cloud_sql_instance_initialization_config = args[:cloud_sql_instance_initialization_config] if args.key?(:cloud_sql_instance_initialization_config)
|
|
3892
4055
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
3893
4056
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
4057
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
|
3894
4058
|
end
|
|
3895
4059
|
end
|
|
3896
4060
|
|
|
@@ -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.55.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 = "20260423"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -256,6 +256,12 @@ module Google
|
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
+
class ComputeInstanceBackupPlanProperties
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
259
265
|
class ComputeInstanceBackupProperties
|
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
267
|
|
|
@@ -436,6 +442,12 @@ module Google
|
|
|
436
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
437
443
|
end
|
|
438
444
|
|
|
445
|
+
class FetchResourceBackupConfigsResponse
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
439
451
|
class FetchUsableBackupVaultsResponse
|
|
440
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
453
|
|
|
@@ -448,6 +460,24 @@ module Google
|
|
|
448
460
|
include Google::Apis::Core::JsonObjectSupport
|
|
449
461
|
end
|
|
450
462
|
|
|
463
|
+
class FilestoreInstanceBackupProperties
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
class FilestoreInstanceDataSourceProperties
|
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
|
+
|
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
class FilestoreInstanceDataSourceReferenceProperties
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
451
481
|
class FinalizeBackupRequest
|
|
452
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
483
|
|
|
@@ -967,6 +997,8 @@ module Google
|
|
|
967
997
|
property :enforced_retention_end_time, as: 'enforcedRetentionEndTime'
|
|
968
998
|
property :etag, as: 'etag'
|
|
969
999
|
property :expire_time, as: 'expireTime'
|
|
1000
|
+
property :filestore_instance_backup_properties, as: 'filestoreInstanceBackupProperties', class: Google::Apis::BackupdrV1::FilestoreInstanceBackupProperties, decorator: Google::Apis::BackupdrV1::FilestoreInstanceBackupProperties::Representation
|
|
1001
|
+
|
|
970
1002
|
property :gcp_backup_plan_info, as: 'gcpBackupPlanInfo', class: Google::Apis::BackupdrV1::GcpBackupPlanInfo, decorator: Google::Apis::BackupdrV1::GcpBackupPlanInfo::Representation
|
|
971
1003
|
|
|
972
1004
|
property :gcp_resource, as: 'gcpResource', class: Google::Apis::BackupdrV1::BackupGcpResource, decorator: Google::Apis::BackupdrV1::BackupGcpResource::Representation
|
|
@@ -1113,6 +1145,8 @@ module Google
|
|
|
1113
1145
|
|
|
1114
1146
|
property :backup_vault, as: 'backupVault'
|
|
1115
1147
|
property :backup_vault_service_account, as: 'backupVaultServiceAccount'
|
|
1148
|
+
property :compute_instance_backup_plan_properties, as: 'computeInstanceBackupPlanProperties', class: Google::Apis::BackupdrV1::ComputeInstanceBackupPlanProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceBackupPlanProperties::Representation
|
|
1149
|
+
|
|
1116
1150
|
property :create_time, as: 'createTime'
|
|
1117
1151
|
property :description, as: 'description'
|
|
1118
1152
|
property :disk_backup_plan_properties, as: 'diskBackupPlanProperties', class: Google::Apis::BackupdrV1::DiskBackupPlanProperties, decorator: Google::Apis::BackupdrV1::DiskBackupPlanProperties::Representation
|
|
@@ -1272,6 +1306,13 @@ module Google
|
|
|
1272
1306
|
end
|
|
1273
1307
|
end
|
|
1274
1308
|
|
|
1309
|
+
class ComputeInstanceBackupPlanProperties
|
|
1310
|
+
# @private
|
|
1311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1312
|
+
property :guest_flush, as: 'guestFlush'
|
|
1313
|
+
end
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1275
1316
|
class ComputeInstanceBackupProperties
|
|
1276
1317
|
# @private
|
|
1277
1318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1281,6 +1322,7 @@ module Google
|
|
|
1281
1322
|
|
|
1282
1323
|
collection :guest_accelerator, as: 'guestAccelerator', class: Google::Apis::BackupdrV1::AcceleratorConfig, decorator: Google::Apis::BackupdrV1::AcceleratorConfig::Representation
|
|
1283
1324
|
|
|
1325
|
+
property :guest_flush, as: 'guestFlush'
|
|
1284
1326
|
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
|
1285
1327
|
hash :labels, as: 'labels'
|
|
1286
1328
|
property :machine_type, as: 'machineType'
|
|
@@ -1434,6 +1476,8 @@ module Google
|
|
|
1434
1476
|
|
|
1435
1477
|
property :disk_datasource_properties, as: 'diskDatasourceProperties', class: Google::Apis::BackupdrV1::DiskDataSourceProperties, decorator: Google::Apis::BackupdrV1::DiskDataSourceProperties::Representation
|
|
1436
1478
|
|
|
1479
|
+
property :filestore_instance_datasource_properties, as: 'filestoreInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::FilestoreInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::FilestoreInstanceDataSourceProperties::Representation
|
|
1480
|
+
|
|
1437
1481
|
property :gcp_resourcename, as: 'gcpResourcename'
|
|
1438
1482
|
property :location, as: 'location'
|
|
1439
1483
|
property :type, as: 'type'
|
|
@@ -1447,6 +1491,8 @@ module Google
|
|
|
1447
1491
|
|
|
1448
1492
|
property :cloud_sql_instance_properties, as: 'cloudSqlInstanceProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties::Representation
|
|
1449
1493
|
|
|
1494
|
+
property :filestore_instance_properties, as: 'filestoreInstanceProperties', class: Google::Apis::BackupdrV1::FilestoreInstanceDataSourceReferenceProperties, decorator: Google::Apis::BackupdrV1::FilestoreInstanceDataSourceReferenceProperties::Representation
|
|
1495
|
+
|
|
1450
1496
|
property :gcp_resourcename, as: 'gcpResourcename'
|
|
1451
1497
|
property :location, as: 'location'
|
|
1452
1498
|
property :type, as: 'type'
|
|
@@ -1647,6 +1693,15 @@ module Google
|
|
|
1647
1693
|
end
|
|
1648
1694
|
end
|
|
1649
1695
|
|
|
1696
|
+
class FetchResourceBackupConfigsResponse
|
|
1697
|
+
# @private
|
|
1698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1699
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1700
|
+
collection :resource_backup_configs, as: 'resourceBackupConfigs', class: Google::Apis::BackupdrV1::ResourceBackupConfig, decorator: Google::Apis::BackupdrV1::ResourceBackupConfig::Representation
|
|
1701
|
+
|
|
1702
|
+
end
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1650
1705
|
class FetchUsableBackupVaultsResponse
|
|
1651
1706
|
# @private
|
|
1652
1707
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1664,6 +1719,29 @@ module Google
|
|
|
1664
1719
|
end
|
|
1665
1720
|
end
|
|
1666
1721
|
|
|
1722
|
+
class FilestoreInstanceBackupProperties
|
|
1723
|
+
# @private
|
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1725
|
+
property :source_instance, as: 'sourceInstance'
|
|
1726
|
+
end
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
class FilestoreInstanceDataSourceProperties
|
|
1730
|
+
# @private
|
|
1731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1732
|
+
property :instance_create_time, as: 'instanceCreateTime'
|
|
1733
|
+
property :name, as: 'name'
|
|
1734
|
+
end
|
|
1735
|
+
end
|
|
1736
|
+
|
|
1737
|
+
class FilestoreInstanceDataSourceReferenceProperties
|
|
1738
|
+
# @private
|
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1740
|
+
property :instance_create_time, as: 'instanceCreateTime'
|
|
1741
|
+
property :name, as: 'name'
|
|
1742
|
+
end
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1667
1745
|
class FinalizeBackupRequest
|
|
1668
1746
|
# @private
|
|
1669
1747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1745,6 +1823,7 @@ module Google
|
|
|
1745
1823
|
|
|
1746
1824
|
property :request_id, as: 'requestId'
|
|
1747
1825
|
property :resource_type, as: 'resourceType'
|
|
1826
|
+
property :validate_only, as: 'validateOnly'
|
|
1748
1827
|
end
|
|
1749
1828
|
end
|
|
1750
1829
|
|
|
@@ -51,6 +51,100 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
# Fetches ResourceBackupConfigs.
|
|
55
|
+
# @param [String] parent
|
|
56
|
+
# Required. The project, folder or organization and location for which to
|
|
57
|
+
# retrieve resource backup configs. Format: 'projects/`project_id`/locations/`
|
|
58
|
+
# location`', 'folders/`folder_id`/locations/`location`', or 'organizations/`
|
|
59
|
+
# organization_id`/locations/`location`'.
|
|
60
|
+
# @param [String] filter
|
|
61
|
+
# Optional. Filtering results.
|
|
62
|
+
# @param [String] order_by
|
|
63
|
+
# Optional. Hint for how to order the results.
|
|
64
|
+
# @param [Fixnum] page_size
|
|
65
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
66
|
+
# If unspecified, server will use 100 as default. Maximum value is 500 and
|
|
67
|
+
# values above 500 will be coerced to 500.
|
|
68
|
+
# @param [String] page_token
|
|
69
|
+
# Optional. A token identifying a page of results the server should return.
|
|
70
|
+
# @param [String] fields
|
|
71
|
+
# Selector specifying which fields to include in a partial response.
|
|
72
|
+
# @param [String] quota_user
|
|
73
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
74
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
75
|
+
# @param [Google::Apis::RequestOptions] options
|
|
76
|
+
# Request-specific options
|
|
77
|
+
#
|
|
78
|
+
# @yield [result, err] Result & error if block supplied
|
|
79
|
+
# @yieldparam result [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse] parsed result object
|
|
80
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
81
|
+
#
|
|
82
|
+
# @return [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse]
|
|
83
|
+
#
|
|
84
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
85
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
86
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
87
|
+
def fetch_folder_location_resource_backup_config(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
88
|
+
command = make_simple_command(:get, 'v1/{+parent}/resourceBackupConfigs:fetch', options)
|
|
89
|
+
command.response_representation = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse::Representation
|
|
90
|
+
command.response_class = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse
|
|
91
|
+
command.params['parent'] = parent unless parent.nil?
|
|
92
|
+
command.query['filter'] = filter unless filter.nil?
|
|
93
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
94
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
95
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
96
|
+
command.query['fields'] = fields unless fields.nil?
|
|
97
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
98
|
+
execute_or_queue_command(command, &block)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Fetches ResourceBackupConfigs.
|
|
102
|
+
# @param [String] parent
|
|
103
|
+
# Required. The project, folder or organization and location for which to
|
|
104
|
+
# retrieve resource backup configs. Format: 'projects/`project_id`/locations/`
|
|
105
|
+
# location`', 'folders/`folder_id`/locations/`location`', or 'organizations/`
|
|
106
|
+
# organization_id`/locations/`location`'.
|
|
107
|
+
# @param [String] filter
|
|
108
|
+
# Optional. Filtering results.
|
|
109
|
+
# @param [String] order_by
|
|
110
|
+
# Optional. Hint for how to order the results.
|
|
111
|
+
# @param [Fixnum] page_size
|
|
112
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
113
|
+
# If unspecified, server will use 100 as default. Maximum value is 500 and
|
|
114
|
+
# values above 500 will be coerced to 500.
|
|
115
|
+
# @param [String] page_token
|
|
116
|
+
# Optional. A token identifying a page of results the server should return.
|
|
117
|
+
# @param [String] fields
|
|
118
|
+
# Selector specifying which fields to include in a partial response.
|
|
119
|
+
# @param [String] quota_user
|
|
120
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
121
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
122
|
+
# @param [Google::Apis::RequestOptions] options
|
|
123
|
+
# Request-specific options
|
|
124
|
+
#
|
|
125
|
+
# @yield [result, err] Result & error if block supplied
|
|
126
|
+
# @yieldparam result [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse] parsed result object
|
|
127
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
128
|
+
#
|
|
129
|
+
# @return [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse]
|
|
130
|
+
#
|
|
131
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
132
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
133
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
134
|
+
def fetch_organization_location_resource_backup_config(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
135
|
+
command = make_simple_command(:get, 'v1/{+parent}/resourceBackupConfigs:fetch', options)
|
|
136
|
+
command.response_representation = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse::Representation
|
|
137
|
+
command.response_class = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse
|
|
138
|
+
command.params['parent'] = parent unless parent.nil?
|
|
139
|
+
command.query['filter'] = filter unless filter.nil?
|
|
140
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
141
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
142
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
143
|
+
command.query['fields'] = fields unless fields.nil?
|
|
144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
145
|
+
execute_or_queue_command(command, &block)
|
|
146
|
+
end
|
|
147
|
+
|
|
54
148
|
# Gets information about a location.
|
|
55
149
|
# @param [String] name
|
|
56
150
|
# Resource name for the location.
|
|
@@ -114,15 +208,20 @@ module Google
|
|
|
114
208
|
end
|
|
115
209
|
|
|
116
210
|
# Lists information about the supported locations for this service. This method
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
211
|
+
# lists locations based on the resource scope provided in the
|
|
212
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
213
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
214
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
215
|
+
# method lists locations visible to that specific project. This includes public,
|
|
216
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
217
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
218
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
219
|
+
# request path based on the specific service implementation and version.
|
|
121
220
|
# @param [String] name
|
|
122
221
|
# The resource that owns the locations collection, if applicable.
|
|
123
222
|
# @param [Array<String>, String] extra_location_types
|
|
124
|
-
# Optional. Do not use this field
|
|
125
|
-
#
|
|
223
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
224
|
+
# is primarily for internal usage.
|
|
126
225
|
# @param [String] filter
|
|
127
226
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
128
227
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -2405,6 +2504,53 @@ module Google
|
|
|
2405
2504
|
execute_or_queue_command(command, &block)
|
|
2406
2505
|
end
|
|
2407
2506
|
|
|
2507
|
+
# Fetches ResourceBackupConfigs.
|
|
2508
|
+
# @param [String] parent
|
|
2509
|
+
# Required. The project, folder or organization and location for which to
|
|
2510
|
+
# retrieve resource backup configs. Format: 'projects/`project_id`/locations/`
|
|
2511
|
+
# location`', 'folders/`folder_id`/locations/`location`', or 'organizations/`
|
|
2512
|
+
# organization_id`/locations/`location`'.
|
|
2513
|
+
# @param [String] filter
|
|
2514
|
+
# Optional. Filtering results.
|
|
2515
|
+
# @param [String] order_by
|
|
2516
|
+
# Optional. Hint for how to order the results.
|
|
2517
|
+
# @param [Fixnum] page_size
|
|
2518
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
2519
|
+
# If unspecified, server will use 100 as default. Maximum value is 500 and
|
|
2520
|
+
# values above 500 will be coerced to 500.
|
|
2521
|
+
# @param [String] page_token
|
|
2522
|
+
# Optional. A token identifying a page of results the server should return.
|
|
2523
|
+
# @param [String] fields
|
|
2524
|
+
# Selector specifying which fields to include in a partial response.
|
|
2525
|
+
# @param [String] quota_user
|
|
2526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2528
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2529
|
+
# Request-specific options
|
|
2530
|
+
#
|
|
2531
|
+
# @yield [result, err] Result & error if block supplied
|
|
2532
|
+
# @yieldparam result [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse] parsed result object
|
|
2533
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2534
|
+
#
|
|
2535
|
+
# @return [Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse]
|
|
2536
|
+
#
|
|
2537
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2538
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2539
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2540
|
+
def fetch_project_location_resource_backup_config(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2541
|
+
command = make_simple_command(:get, 'v1/{+parent}/resourceBackupConfigs:fetch', options)
|
|
2542
|
+
command.response_representation = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse::Representation
|
|
2543
|
+
command.response_class = Google::Apis::BackupdrV1::FetchResourceBackupConfigsResponse
|
|
2544
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2545
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2546
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2547
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2548
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2549
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2550
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2551
|
+
execute_or_queue_command(command, &block)
|
|
2552
|
+
end
|
|
2553
|
+
|
|
2408
2554
|
# Lists ResourceBackupConfigs.
|
|
2409
2555
|
# @param [String] parent
|
|
2410
2556
|
# Required. The project and location for which to retrieve resource backup
|
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.55.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.55.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:
|