google-apis-backupdr_v1 0.54.0 → 0.56.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: 4db1cde1c8c6fa746cd23f751b718243b25aeecbe0901d8b714aaaf1d17b9c87
|
|
4
|
+
data.tar.gz: c3b89135951ce06ea7284a87d0763d8b5b7a2826f6c4e3e162dcdc32e37ef6f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3411a19e3fecd35fd8146d8520765e57b05b6e6e15cd35ce826b4ad4be8d4a7a401ac4c2128b7fffec8dad2dcea5f890c108d33f6a6b5bddab24c8c21c34070
|
|
7
|
+
data.tar.gz: 54ce1c29fdf8202d9dbec21eb359aabdd0ed673574486af28a8d88be293353af0f993a429ded48c5a8be56d9025cbeb5a95b077fb9f4c12ddfad39a5f17ca266
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
|
2
2
|
|
|
3
|
+
### v0.56.0 (2026-05-17)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260510
|
|
6
|
+
|
|
7
|
+
### v0.55.0 (2026-05-03)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260423
|
|
10
|
+
|
|
3
11
|
### v0.54.0 (2026-04-19)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260408
|
|
@@ -1254,7 +1254,7 @@ module Google
|
|
|
1254
1254
|
# @return [String]
|
|
1255
1255
|
attr_accessor :backup_vault_service_account
|
|
1256
1256
|
|
|
1257
|
-
#
|
|
1257
|
+
# Properties for a compute instance backup plan.
|
|
1258
1258
|
# Corresponds to the JSON property `computeInstanceBackupPlanProperties`
|
|
1259
1259
|
# @return [Google::Apis::BackupdrV1::ComputeInstanceBackupPlanProperties]
|
|
1260
1260
|
attr_accessor :compute_instance_backup_plan_properties
|
|
@@ -1273,7 +1273,7 @@ module Google
|
|
|
1273
1273
|
# @return [String]
|
|
1274
1274
|
attr_accessor :description
|
|
1275
1275
|
|
|
1276
|
-
#
|
|
1276
|
+
# Properties for a disk backup plan.
|
|
1277
1277
|
# Corresponds to the JSON property `diskBackupPlanProperties`
|
|
1278
1278
|
# @return [Google::Apis::BackupdrV1::DiskBackupPlanProperties]
|
|
1279
1279
|
attr_accessor :disk_backup_plan_properties
|
|
@@ -2029,7 +2029,7 @@ module Google
|
|
|
2029
2029
|
end
|
|
2030
2030
|
end
|
|
2031
2031
|
|
|
2032
|
-
#
|
|
2032
|
+
# Properties for a compute instance backup plan.
|
|
2033
2033
|
class ComputeInstanceBackupPlanProperties
|
|
2034
2034
|
include Google::Apis::Core::Hashable
|
|
2035
2035
|
|
|
@@ -2862,7 +2862,7 @@ module Google
|
|
|
2862
2862
|
end
|
|
2863
2863
|
end
|
|
2864
2864
|
|
|
2865
|
-
#
|
|
2865
|
+
# Properties for a disk backup plan.
|
|
2866
2866
|
class DiskBackupPlanProperties
|
|
2867
2867
|
include Google::Apis::Core::Hashable
|
|
2868
2868
|
|
|
@@ -3535,6 +3535,31 @@ module Google
|
|
|
3535
3535
|
end
|
|
3536
3536
|
end
|
|
3537
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
|
+
|
|
3538
3563
|
# Response message for fetching usable BackupVaults.
|
|
3539
3564
|
class FetchUsableBackupVaultsResponse
|
|
3540
3565
|
include Google::Apis::Core::Hashable
|
|
@@ -4972,6 +4997,72 @@ module Google
|
|
|
4972
4997
|
end
|
|
4973
4998
|
end
|
|
4974
4999
|
|
|
5000
|
+
# Represents the metadata of the long-running operation.
|
|
5001
|
+
class OperationMetadata
|
|
5002
|
+
include Google::Apis::Core::Hashable
|
|
5003
|
+
|
|
5004
|
+
# Output only. AdditionalInfo contains additional Info related to backup plan
|
|
5005
|
+
# association resource.
|
|
5006
|
+
# Corresponds to the JSON property `additionalInfo`
|
|
5007
|
+
# @return [Hash<String,String>]
|
|
5008
|
+
attr_accessor :additional_info
|
|
5009
|
+
|
|
5010
|
+
# Output only. API version used to start the operation.
|
|
5011
|
+
# Corresponds to the JSON property `apiVersion`
|
|
5012
|
+
# @return [String]
|
|
5013
|
+
attr_accessor :api_version
|
|
5014
|
+
|
|
5015
|
+
# Output only. The time the operation was created.
|
|
5016
|
+
# Corresponds to the JSON property `createTime`
|
|
5017
|
+
# @return [String]
|
|
5018
|
+
attr_accessor :create_time
|
|
5019
|
+
|
|
5020
|
+
# Output only. The time the operation finished running.
|
|
5021
|
+
# Corresponds to the JSON property `endTime`
|
|
5022
|
+
# @return [String]
|
|
5023
|
+
attr_accessor :end_time
|
|
5024
|
+
|
|
5025
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
5026
|
+
# operation. Operations that have successfully been cancelled have google.
|
|
5027
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of 1,
|
|
5028
|
+
# corresponding to 'Code.CANCELLED'.
|
|
5029
|
+
# Corresponds to the JSON property `requestedCancellation`
|
|
5030
|
+
# @return [Boolean]
|
|
5031
|
+
attr_accessor :requested_cancellation
|
|
5032
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
|
5033
|
+
|
|
5034
|
+
# Output only. Human-readable status of the operation, if any.
|
|
5035
|
+
# Corresponds to the JSON property `statusMessage`
|
|
5036
|
+
# @return [String]
|
|
5037
|
+
attr_accessor :status_message
|
|
5038
|
+
|
|
5039
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
5040
|
+
# Corresponds to the JSON property `target`
|
|
5041
|
+
# @return [String]
|
|
5042
|
+
attr_accessor :target
|
|
5043
|
+
|
|
5044
|
+
# Output only. Name of the verb executed by the operation.
|
|
5045
|
+
# Corresponds to the JSON property `verb`
|
|
5046
|
+
# @return [String]
|
|
5047
|
+
attr_accessor :verb
|
|
5048
|
+
|
|
5049
|
+
def initialize(**args)
|
|
5050
|
+
update!(**args)
|
|
5051
|
+
end
|
|
5052
|
+
|
|
5053
|
+
# Update properties of this object
|
|
5054
|
+
def update!(**args)
|
|
5055
|
+
@additional_info = args[:additional_info] if args.key?(:additional_info)
|
|
5056
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
5057
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5058
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
5059
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
5060
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
5061
|
+
@target = args[:target] if args.key?(:target)
|
|
5062
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
5063
|
+
end
|
|
5064
|
+
end
|
|
5065
|
+
|
|
4975
5066
|
# Point in time recovery settings of the backup configuration resource.
|
|
4976
5067
|
class PitrSettings
|
|
4977
5068
|
include Google::Apis::Core::Hashable
|
|
@@ -5635,15 +5726,16 @@ module Google
|
|
|
5635
5726
|
# @return [Array<String>]
|
|
5636
5727
|
attr_accessor :days_of_week
|
|
5637
5728
|
|
|
5638
|
-
# Optional. Specifies frequency for hourly backups. A hourly frequency of
|
|
5639
|
-
# means jobs will run every
|
|
5729
|
+
# Optional. Specifies frequency for hourly backups. A hourly frequency of 1
|
|
5730
|
+
# means jobs will run every 1 hour from start time till end time defined. This
|
|
5640
5731
|
# is required for `recurrence_type`, `HOURLY` and is not applicable otherwise. A
|
|
5641
5732
|
# validation error will occur if a value is supplied and `recurrence_type` is
|
|
5642
|
-
# not `HOURLY`.
|
|
5643
|
-
#
|
|
5644
|
-
#
|
|
5645
|
-
#
|
|
5646
|
-
#
|
|
5733
|
+
# not `HOURLY`. The supported values for each resource type are as follows: * `
|
|
5734
|
+
# compute.googleapis.com/Instance`: 4-23 * `compute.googleapis.com/Disk`: 1-23 *
|
|
5735
|
+
# `sqladmin.googleapis.com/Instance`: 6-23 * `alloydb.googleapis.com/Cluster`: 1-
|
|
5736
|
+
# 23 * `file.googleapis.com/Instance`: 1-23 Refer to link https://cloud.google.
|
|
5737
|
+
# com/backup-disaster-recovery/docs/concepts/cloud_best_practices for more
|
|
5738
|
+
# details.
|
|
5647
5739
|
# Corresponds to the JSON property `hourlyFrequency`
|
|
5648
5740
|
# @return [Fixnum]
|
|
5649
5741
|
attr_accessor :hourly_frequency
|
|
@@ -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.56.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 = "20260510"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -442,6 +442,12 @@ module Google
|
|
|
442
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
443
|
end
|
|
444
444
|
|
|
445
|
+
class FetchResourceBackupConfigsResponse
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
445
451
|
class FetchUsableBackupVaultsResponse
|
|
446
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
453
|
|
|
@@ -664,6 +670,12 @@ module Google
|
|
|
664
670
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
671
|
end
|
|
666
672
|
|
|
673
|
+
class OperationMetadata
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
|
+
|
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
677
|
+
end
|
|
678
|
+
|
|
667
679
|
class PitrSettings
|
|
668
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
681
|
|
|
@@ -1687,6 +1699,15 @@ module Google
|
|
|
1687
1699
|
end
|
|
1688
1700
|
end
|
|
1689
1701
|
|
|
1702
|
+
class FetchResourceBackupConfigsResponse
|
|
1703
|
+
# @private
|
|
1704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1705
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1706
|
+
collection :resource_backup_configs, as: 'resourceBackupConfigs', class: Google::Apis::BackupdrV1::ResourceBackupConfig, decorator: Google::Apis::BackupdrV1::ResourceBackupConfig::Representation
|
|
1707
|
+
|
|
1708
|
+
end
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1690
1711
|
class FetchUsableBackupVaultsResponse
|
|
1691
1712
|
# @private
|
|
1692
1713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2063,6 +2084,20 @@ module Google
|
|
|
2063
2084
|
end
|
|
2064
2085
|
end
|
|
2065
2086
|
|
|
2087
|
+
class OperationMetadata
|
|
2088
|
+
# @private
|
|
2089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2090
|
+
hash :additional_info, as: 'additionalInfo'
|
|
2091
|
+
property :api_version, as: 'apiVersion'
|
|
2092
|
+
property :create_time, as: 'createTime'
|
|
2093
|
+
property :end_time, as: 'endTime'
|
|
2094
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
|
2095
|
+
property :status_message, as: 'statusMessage'
|
|
2096
|
+
property :target, as: 'target'
|
|
2097
|
+
property :verb, as: 'verb'
|
|
2098
|
+
end
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2066
2101
|
class PitrSettings
|
|
2067
2102
|
# @private
|
|
2068
2103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -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,8 +208,8 @@ module Google
|
|
|
114
208
|
end
|
|
115
209
|
|
|
116
210
|
# Lists information about the supported locations for this service. This method
|
|
117
|
-
# lists locations based on the resource scope provided in the
|
|
118
|
-
# ListLocationsRequest.name
|
|
211
|
+
# lists locations based on the resource scope provided in the
|
|
212
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
119
213
|
# the method lists the public locations available to all projects. * **Project-
|
|
120
214
|
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
121
215
|
# method lists locations visible to that specific project. This includes public,
|
|
@@ -126,8 +220,8 @@ module Google
|
|
|
126
220
|
# @param [String] name
|
|
127
221
|
# The resource that owns the locations collection, if applicable.
|
|
128
222
|
# @param [Array<String>, String] extra_location_types
|
|
129
|
-
# Optional. Do not use this field
|
|
130
|
-
#
|
|
223
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
224
|
+
# is primarily for internal usage.
|
|
131
225
|
# @param [String] filter
|
|
132
226
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
133
227
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -2410,6 +2504,53 @@ module Google
|
|
|
2410
2504
|
execute_or_queue_command(command, &block)
|
|
2411
2505
|
end
|
|
2412
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
|
+
|
|
2413
2554
|
# Lists ResourceBackupConfigs.
|
|
2414
2555
|
# @param [String] parent
|
|
2415
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.56.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.56.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:
|