google-apis-backupdr_v1 0.54.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
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
|
@@ -1687,6 +1693,15 @@ module Google
|
|
|
1687
1693
|
end
|
|
1688
1694
|
end
|
|
1689
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
|
+
|
|
1690
1705
|
class FetchUsableBackupVaultsResponse
|
|
1691
1706
|
# @private
|
|
1692
1707
|
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.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:
|