google-apis-backupdr_v1 0.17.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: bffe6bbe1212ed1e7a6d598948bf95ee43d204fa5bac068f835484505ef373d4
4
- data.tar.gz: e9f0f5fd8ec8ac6152a652becf751a15f0e01490a994ecec13385c3b373cafad
3
+ metadata.gz: d9850d84bf82433a9f22b0fe24d341017401dd71e2bcd483c6d8926991be4157
4
+ data.tar.gz: b099641c033a631bf211b197ec1dd954b814af64126d2c2cc00fecff2f09a1da
5
5
  SHA512:
6
- metadata.gz: 3a36f84e23504ea6227e7a486c2d60d44b1d925b6e2023fc0ba1e91b8dcb96405bfe7afa55b62b2aa7f1c5ef8a7386ca0544afae36ab711de1f375d329d8de5b
7
- data.tar.gz: 714b7829040835aec60c52ad2f2ff756eca9d761730abb2194b224ddf2a98d694c774c060026a67e454bd960b0303ffd890e404edc8a0841257ddc63de345136
6
+ metadata.gz: dff48928000cee59d57a0f505601a4de50a882234734f3a11d4b985ce58a59d34858c275b0bbe59947824c9901faaa45a4e4c34b3607bd8ea6a3b6a03192de5f
7
+ data.tar.gz: 0eae5cc7d018af6a16ebbb64841aa71659bb924c41d863a56f949fd08537bcc89206faba6ce5bd5e0331ec54cb02959681af4ec1436da4a179065bce4abaaec3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.17.0 (2024-09-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20240913
@@ -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 resource.
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. The resource name.
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. The resource name.
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.17.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 = "20240913"
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
@@ -757,7 +757,10 @@ module Google
757
757
 
758
758
  # Updates the settings of a BackupVault.
759
759
  # @param [String] name
760
- # Output only. Identifier. The resource name.
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.
761
764
  # @param [Google::Apis::BackupdrV1::BackupVault] backup_vault_object
762
765
  # @param [Boolean] force
763
766
  # Optional. If set to true, will not check plan duration against backup vault
@@ -1069,7 +1072,11 @@ module Google
1069
1072
 
1070
1073
  # Updates the settings of a DataSource.
1071
1074
  # @param [String] name
1072
- # Output only. Identifier. The resource name.
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.
1073
1080
  # @param [Google::Apis::BackupdrV1::DataSource] data_source_object
1074
1081
  # @param [Boolean] allow_missing
1075
1082
  # Optional. Enable upsert.
@@ -1321,7 +1328,10 @@ module Google
1321
1328
 
1322
1329
  # Updates the settings of a Backup.
1323
1330
  # @param [String] name
1324
- # Output only. Identifier. Name of the resource.
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.
1325
1335
  # @param [Google::Apis::BackupdrV1::Backup] backup_object
1326
1336
  # @param [String] request_id
1327
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.17.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-22 00:00:00.000000000 Z
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.17.0
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: []