google-apis-backupdr_v1 0.16.0 → 0.18.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: d9850d84bf82433a9f22b0fe24d341017401dd71e2bcd483c6d8926991be4157
|
4
|
+
data.tar.gz: b099641c033a631bf211b197ec1dd954b814af64126d2c2cc00fecff2f09a1da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff48928000cee59d57a0f505601a4de50a882234734f3a11d4b985ce58a59d34858c275b0bbe59947824c9901faaa45a4e4c34b3607bd8ea6a3b6a03192de5f
|
7
|
+
data.tar.gz: 0eae5cc7d018af6a16ebbb64841aa71659bb924c41d863a56f949fd08537bcc89206faba6ce5bd5e0331ec54cb02959681af4ec1436da4a179065bce4abaaec3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2024-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240918
|
6
|
+
|
7
|
+
### v0.17.0 (2024-09-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240913
|
10
|
+
|
3
11
|
### v0.16.0 (2024-09-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240904
|
@@ -557,7 +557,10 @@ module Google
|
|
557
557
|
# @return [Hash<String,String>]
|
558
558
|
attr_accessor :labels
|
559
559
|
|
560
|
-
# Output only. Identifier. Name of the
|
560
|
+
# Output only. Identifier. Name of the backup to create. It must have the format`
|
561
|
+
# "projects//locations//backupVaults//dataSources/`datasource`/backups/`backup`"`
|
562
|
+
# . ``backup`` cannot be changed after creation. It must be between 3-63
|
563
|
+
# characters long and must be unique within the datasource.
|
561
564
|
# Corresponds to the JSON property `name`
|
562
565
|
# @return [String]
|
563
566
|
attr_accessor :name
|
@@ -1057,6 +1060,13 @@ module Google
|
|
1057
1060
|
class BackupVault
|
1058
1061
|
include Google::Apis::Core::Hashable
|
1059
1062
|
|
1063
|
+
# Optional. Note: This field is added for future use case and will not be
|
1064
|
+
# supported in the current release. Optional. Access restriction for the backup
|
1065
|
+
# vault. Default value is WITHIN_ORGANIZATION if not provided during creation.
|
1066
|
+
# Corresponds to the JSON property `accessRestriction`
|
1067
|
+
# @return [String]
|
1068
|
+
attr_accessor :access_restriction
|
1069
|
+
|
1060
1070
|
# Optional. User annotations. See https://google.aip.dev/128#annotations Stores
|
1061
1071
|
# small amounts of arbitrary data.
|
1062
1072
|
# Corresponds to the JSON property `annotations`
|
@@ -1108,7 +1118,10 @@ module Google
|
|
1108
1118
|
# @return [Hash<String,String>]
|
1109
1119
|
attr_accessor :labels
|
1110
1120
|
|
1111
|
-
# Output only. Identifier.
|
1121
|
+
# Output only. Identifier. Name of the backup vault to create. It must have the
|
1122
|
+
# format`"projects/`project`/locations/`location`/backupVaults/`backupvault`"`. `
|
1123
|
+
# `backupvault`` cannot be changed after creation. It must be between 3-63
|
1124
|
+
# characters long and must be unique within the project and location.
|
1112
1125
|
# Corresponds to the JSON property `name`
|
1113
1126
|
# @return [String]
|
1114
1127
|
attr_accessor :name
|
@@ -1147,6 +1160,7 @@ module Google
|
|
1147
1160
|
|
1148
1161
|
# Update properties of this object
|
1149
1162
|
def update!(**args)
|
1163
|
+
@access_restriction = args[:access_restriction] if args.key?(:access_restriction)
|
1150
1164
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1151
1165
|
@backup_count = args[:backup_count] if args.key?(:backup_count)
|
1152
1166
|
@backup_minimum_enforced_retention_duration = args[:backup_minimum_enforced_retention_duration] if args.key?(:backup_minimum_enforced_retention_duration)
|
@@ -1850,7 +1864,11 @@ module Google
|
|
1850
1864
|
# @return [Hash<String,String>]
|
1851
1865
|
attr_accessor :labels
|
1852
1866
|
|
1853
|
-
# Output only. Identifier.
|
1867
|
+
# Output only. Identifier. Name of the datasource to create. It must have the
|
1868
|
+
# format`"projects/`project`/locations/`location`/backupVaults/`backupvault`/
|
1869
|
+
# dataSources/`datasource`"`. ``datasource`` cannot be changed after creation.
|
1870
|
+
# It must be between 3-63 characters long and must be unique within the backup
|
1871
|
+
# vault.
|
1854
1872
|
# Corresponds to the JSON property `name`
|
1855
1873
|
# @return [String]
|
1856
1874
|
attr_accessor :name
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240918"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -859,6 +859,7 @@ module Google
|
|
859
859
|
class BackupVault
|
860
860
|
# @private
|
861
861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
862
|
+
property :access_restriction, as: 'accessRestriction'
|
862
863
|
hash :annotations, as: 'annotations'
|
863
864
|
property :backup_count, :numeric_string => true, as: 'backupCount'
|
864
865
|
property :backup_minimum_enforced_retention_duration, as: 'backupMinimumEnforcedRetentionDuration'
|
@@ -509,7 +509,7 @@ module Google
|
|
509
509
|
execute_or_queue_command(command, &block)
|
510
510
|
end
|
511
511
|
|
512
|
-
#
|
512
|
+
# Creates a new BackupVault in a given project and location.
|
513
513
|
# @param [String] parent
|
514
514
|
# Required. Value for parent.
|
515
515
|
# @param [Google::Apis::BackupdrV1::BackupVault] backup_vault_object
|
@@ -673,6 +673,9 @@ module Google
|
|
673
673
|
# @param [String] name
|
674
674
|
# Required. Name of the backupvault store resource name, in the format 'projects/
|
675
675
|
# `project_id`/locations/`location`/backupVaults/`resource_name`'
|
676
|
+
# @param [String] view
|
677
|
+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
|
678
|
+
# Vault
|
676
679
|
# @param [String] fields
|
677
680
|
# Selector specifying which fields to include in a partial response.
|
678
681
|
# @param [String] quota_user
|
@@ -690,11 +693,12 @@ module Google
|
|
690
693
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
691
694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
692
695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
693
|
-
def get_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
+
def get_project_location_backup_vault(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
694
697
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
695
698
|
command.response_representation = Google::Apis::BackupdrV1::BackupVault::Representation
|
696
699
|
command.response_class = Google::Apis::BackupdrV1::BackupVault
|
697
700
|
command.params['name'] = name unless name.nil?
|
701
|
+
command.query['view'] = view unless view.nil?
|
698
702
|
command.query['fields'] = fields unless fields.nil?
|
699
703
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
700
704
|
execute_or_queue_command(command, &block)
|
@@ -716,6 +720,9 @@ module Google
|
|
716
720
|
# If unspecified, server will pick an appropriate default.
|
717
721
|
# @param [String] page_token
|
718
722
|
# Optional. A token identifying a page of results the server should return.
|
723
|
+
# @param [String] view
|
724
|
+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
|
725
|
+
# Vault.
|
719
726
|
# @param [String] fields
|
720
727
|
# Selector specifying which fields to include in a partial response.
|
721
728
|
# @param [String] quota_user
|
@@ -733,7 +740,7 @@ module Google
|
|
733
740
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
734
741
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
735
742
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
736
|
-
def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
743
|
+
def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
737
744
|
command = make_simple_command(:get, 'v1/{+parent}/backupVaults', options)
|
738
745
|
command.response_representation = Google::Apis::BackupdrV1::ListBackupVaultsResponse::Representation
|
739
746
|
command.response_class = Google::Apis::BackupdrV1::ListBackupVaultsResponse
|
@@ -742,6 +749,7 @@ module Google
|
|
742
749
|
command.query['orderBy'] = order_by unless order_by.nil?
|
743
750
|
command.query['pageSize'] = page_size unless page_size.nil?
|
744
751
|
command.query['pageToken'] = page_token unless page_token.nil?
|
752
|
+
command.query['view'] = view unless view.nil?
|
745
753
|
command.query['fields'] = fields unless fields.nil?
|
746
754
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
747
755
|
execute_or_queue_command(command, &block)
|
@@ -749,7 +757,10 @@ module Google
|
|
749
757
|
|
750
758
|
# Updates the settings of a BackupVault.
|
751
759
|
# @param [String] name
|
752
|
-
# Output only. Identifier.
|
760
|
+
# Output only. Identifier. Name of the backup vault to create. It must have the
|
761
|
+
# format`"projects/`project`/locations/`location`/backupVaults/`backupvault`"`. `
|
762
|
+
# `backupvault`` cannot be changed after creation. It must be between 3-63
|
763
|
+
# characters long and must be unique within the project and location.
|
753
764
|
# @param [Google::Apis::BackupdrV1::BackupVault] backup_vault_object
|
754
765
|
# @param [Boolean] force
|
755
766
|
# Optional. If set to true, will not check plan duration against backup vault
|
@@ -1061,7 +1072,11 @@ module Google
|
|
1061
1072
|
|
1062
1073
|
# Updates the settings of a DataSource.
|
1063
1074
|
# @param [String] name
|
1064
|
-
# Output only. Identifier.
|
1075
|
+
# Output only. Identifier. Name of the datasource to create. It must have the
|
1076
|
+
# format`"projects/`project`/locations/`location`/backupVaults/`backupvault`/
|
1077
|
+
# dataSources/`datasource`"`. ``datasource`` cannot be changed after creation.
|
1078
|
+
# It must be between 3-63 characters long and must be unique within the backup
|
1079
|
+
# vault.
|
1065
1080
|
# @param [Google::Apis::BackupdrV1::DataSource] data_source_object
|
1066
1081
|
# @param [Boolean] allow_missing
|
1067
1082
|
# Optional. Enable upsert.
|
@@ -1230,6 +1245,9 @@ module Google
|
|
1230
1245
|
# Required. Name of the data source resource name, in the format 'projects/`
|
1231
1246
|
# project_id`/locations/`location`/backupVaults/`backupVault`/dataSources/`
|
1232
1247
|
# datasource`/backups/`backup`'
|
1248
|
+
# @param [String] view
|
1249
|
+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
|
1250
|
+
# resource.
|
1233
1251
|
# @param [String] fields
|
1234
1252
|
# Selector specifying which fields to include in a partial response.
|
1235
1253
|
# @param [String] quota_user
|
@@ -1247,11 +1265,12 @@ module Google
|
|
1247
1265
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1248
1266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1249
1267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1250
|
-
def get_project_location_backup_vault_data_source_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
1268
|
+
def get_project_location_backup_vault_data_source_backup(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1251
1269
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1252
1270
|
command.response_representation = Google::Apis::BackupdrV1::Backup::Representation
|
1253
1271
|
command.response_class = Google::Apis::BackupdrV1::Backup
|
1254
1272
|
command.params['name'] = name unless name.nil?
|
1273
|
+
command.query['view'] = view unless view.nil?
|
1255
1274
|
command.query['fields'] = fields unless fields.nil?
|
1256
1275
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1257
1276
|
execute_or_queue_command(command, &block)
|
@@ -1272,6 +1291,9 @@ module Google
|
|
1272
1291
|
# If unspecified, server will pick an appropriate default.
|
1273
1292
|
# @param [String] page_token
|
1274
1293
|
# Optional. A token identifying a page of results the server should return.
|
1294
|
+
# @param [String] view
|
1295
|
+
# Optional. Reserved for future use to provide a BASIC & FULL view of Backup
|
1296
|
+
# resource.
|
1275
1297
|
# @param [String] fields
|
1276
1298
|
# Selector specifying which fields to include in a partial response.
|
1277
1299
|
# @param [String] quota_user
|
@@ -1289,7 +1311,7 @@ module Google
|
|
1289
1311
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1290
1312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1291
1313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1292
|
-
def list_project_location_backup_vault_data_source_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1314
|
+
def list_project_location_backup_vault_data_source_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1293
1315
|
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
|
1294
1316
|
command.response_representation = Google::Apis::BackupdrV1::ListBackupsResponse::Representation
|
1295
1317
|
command.response_class = Google::Apis::BackupdrV1::ListBackupsResponse
|
@@ -1298,6 +1320,7 @@ module Google
|
|
1298
1320
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1299
1321
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1300
1322
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1323
|
+
command.query['view'] = view unless view.nil?
|
1301
1324
|
command.query['fields'] = fields unless fields.nil?
|
1302
1325
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1303
1326
|
execute_or_queue_command(command, &block)
|
@@ -1305,7 +1328,10 @@ module Google
|
|
1305
1328
|
|
1306
1329
|
# Updates the settings of a Backup.
|
1307
1330
|
# @param [String] name
|
1308
|
-
# Output only. Identifier. Name of the
|
1331
|
+
# Output only. Identifier. Name of the backup to create. It must have the format`
|
1332
|
+
# "projects//locations//backupVaults//dataSources/`datasource`/backups/`backup`"`
|
1333
|
+
# . ``backup`` cannot be changed after creation. It must be between 3-63
|
1334
|
+
# characters long and must be unique within the datasource.
|
1309
1335
|
# @param [Google::Apis::BackupdrV1::Backup] backup_object
|
1310
1336
|
# @param [String] request_id
|
1311
1337
|
# Optional. An optional request ID to identify requests. Specify a unique
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|