google-apis-backupdr_v1 0.17.0 → 0.19.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: 3ff414f9e63737ef7f4c7fd7f7b26b9943791a3e3320e7e39066f74a6c8f897c
4
+ data.tar.gz: 76e1e504a1cb4cdd070af8d2a8bc6f63c64c348d46d20521d9fb82d6a7dfb456
5
5
  SHA512:
6
- metadata.gz: 3a36f84e23504ea6227e7a486c2d60d44b1d925b6e2023fc0ba1e91b8dcb96405bfe7afa55b62b2aa7f1c5ef8a7386ca0544afae36ab711de1f375d329d8de5b
7
- data.tar.gz: 714b7829040835aec60c52ad2f2ff756eca9d761730abb2194b224ddf2a98d694c774c060026a67e454bd960b0303ffd890e404edc8a0841257ddc63de345136
6
+ metadata.gz: 6fe0b56483f3305f58241826fbf815f8ed707b507391131a9727237c32e990c4957f77382576f8a37e5dbcd1f59079784b0a561b00024224bdd5be22a6211dbe
7
+ data.tar.gz: 93142d1c0761acd93c2b8fbb985e176f4a81bb4c409359f72951caed5eba253183aa01a036b5be98eb313245e54a8daf4f2c0c9be183fb74e9ecc1e232f8705e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.19.0 (2024-10-06)
4
+
5
+ * Regenerated from discovery document revision 20240920
6
+
7
+ ### v0.18.0 (2024-09-29)
8
+
9
+ * Regenerated from discovery document revision 20240918
10
+
3
11
  ### v0.17.0 (2024-09-22)
4
12
 
5
13
  * 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
@@ -2374,6 +2392,38 @@ module Google
2374
2392
  end
2375
2393
  end
2376
2394
 
2395
+ # Minimum details to identify a Google Cloud resource
2396
+ class GcpResource
2397
+ include Google::Apis::Core::Hashable
2398
+
2399
+ # Name of the Google Cloud resource.
2400
+ # Corresponds to the JSON property `gcpResourcename`
2401
+ # @return [String]
2402
+ attr_accessor :gcp_resourcename
2403
+
2404
+ # Location of the resource: //"global"/"unspecified".
2405
+ # Corresponds to the JSON property `location`
2406
+ # @return [String]
2407
+ attr_accessor :location
2408
+
2409
+ # Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.
2410
+ # com/Instance.
2411
+ # Corresponds to the JSON property `type`
2412
+ # @return [String]
2413
+ attr_accessor :type
2414
+
2415
+ def initialize(**args)
2416
+ update!(**args)
2417
+ end
2418
+
2419
+ # Update properties of this object
2420
+ def update!(**args)
2421
+ @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
2422
+ @location = args[:location] if args.key?(:location)
2423
+ @type = args[:type] if args.key?(:type)
2424
+ end
2425
+ end
2426
+
2377
2427
  # Feature type of the Guest OS.
2378
2428
  class GuestOsFeature
2379
2429
  include Google::Apis::Core::Hashable
@@ -3680,6 +3730,25 @@ module Google
3680
3730
  end
3681
3731
  end
3682
3732
 
3733
+ # Response message for restoring from a Backup.
3734
+ class RestoreBackupResponse
3735
+ include Google::Apis::Core::Hashable
3736
+
3737
+ # Details of the target resource created/modified as part of restore.
3738
+ # Corresponds to the JSON property `targetResource`
3739
+ # @return [Google::Apis::BackupdrV1::TargetResource]
3740
+ attr_accessor :target_resource
3741
+
3742
+ def initialize(**args)
3743
+ update!(**args)
3744
+ end
3745
+
3746
+ # Update properties of this object
3747
+ def update!(**args)
3748
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
3749
+ end
3750
+ end
3751
+
3683
3752
  # Message for rules config info.
3684
3753
  class RuleConfigInfo
3685
3754
  include Google::Apis::Core::Hashable
@@ -3960,6 +4029,19 @@ module Google
3960
4029
  end
3961
4030
  end
3962
4031
 
4032
+ # Response message from SetStatusInternal method.
4033
+ class SetInternalStatusResponse
4034
+ include Google::Apis::Core::Hashable
4035
+
4036
+ def initialize(**args)
4037
+ update!(**args)
4038
+ end
4039
+
4040
+ # Update properties of this object
4041
+ def update!(**args)
4042
+ end
4043
+ end
4044
+
3963
4045
  #
3964
4046
  class SpannerLocation
3965
4047
  include Google::Apis::Core::Hashable
@@ -4128,6 +4210,25 @@ module Google
4128
4210
  end
4129
4211
  end
4130
4212
 
4213
+ # Details of the target resource created/modified as part of restore.
4214
+ class TargetResource
4215
+ include Google::Apis::Core::Hashable
4216
+
4217
+ # Minimum details to identify a Google Cloud resource
4218
+ # Corresponds to the JSON property `gcpResource`
4219
+ # @return [Google::Apis::BackupdrV1::GcpResource]
4220
+ attr_accessor :gcp_resource
4221
+
4222
+ def initialize(**args)
4223
+ update!(**args)
4224
+ end
4225
+
4226
+ # Update properties of this object
4227
+ def update!(**args)
4228
+ @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
4229
+ end
4230
+ end
4231
+
4131
4232
  #
4132
4233
  class TenantProjectProxy
4133
4234
  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.17.0"
19
+ GEM_VERSION = "0.19.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 = "20240920"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GcpResource
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GuestOsFeature
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -496,6 +502,12 @@ module Google
496
502
  include Google::Apis::Core::JsonObjectSupport
497
503
  end
498
504
 
505
+ class RestoreBackupResponse
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
499
511
  class RuleConfigInfo
500
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
513
 
@@ -538,6 +550,12 @@ module Google
538
550
  include Google::Apis::Core::JsonObjectSupport
539
551
  end
540
552
 
553
+ class SetInternalStatusResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
541
559
  class SpannerLocation
542
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
561
 
@@ -562,6 +580,12 @@ module Google
562
580
  include Google::Apis::Core::JsonObjectSupport
563
581
  end
564
582
 
583
+ class TargetResource
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
565
589
  class TenantProjectProxy
566
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
591
 
@@ -859,6 +883,7 @@ module Google
859
883
  class BackupVault
860
884
  # @private
861
885
  class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :access_restriction, as: 'accessRestriction'
862
887
  hash :annotations, as: 'annotations'
863
888
  property :backup_count, :numeric_string => true, as: 'backupCount'
864
889
  property :backup_minimum_enforced_retention_duration, as: 'backupMinimumEnforcedRetentionDuration'
@@ -1182,6 +1207,15 @@ module Google
1182
1207
  end
1183
1208
  end
1184
1209
 
1210
+ class GcpResource
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ property :gcp_resourcename, as: 'gcpResourcename'
1214
+ property :location, as: 'location'
1215
+ property :type, as: 'type'
1216
+ end
1217
+ end
1218
+
1185
1219
  class GuestOsFeature
1186
1220
  # @private
1187
1221
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1520,6 +1554,14 @@ module Google
1520
1554
  end
1521
1555
  end
1522
1556
 
1557
+ class RestoreBackupResponse
1558
+ # @private
1559
+ class Representation < Google::Apis::Core::JsonRepresentation
1560
+ property :target_resource, as: 'targetResource', class: Google::Apis::BackupdrV1::TargetResource, decorator: Google::Apis::BackupdrV1::TargetResource::Representation
1561
+
1562
+ end
1563
+ end
1564
+
1523
1565
  class RuleConfigInfo
1524
1566
  # @private
1525
1567
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1588,6 +1630,12 @@ module Google
1588
1630
  end
1589
1631
  end
1590
1632
 
1633
+ class SetInternalStatusResponse
1634
+ # @private
1635
+ class Representation < Google::Apis::Core::JsonRepresentation
1636
+ end
1637
+ end
1638
+
1591
1639
  class SpannerLocation
1592
1640
  # @private
1593
1641
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1628,6 +1676,14 @@ module Google
1628
1676
  end
1629
1677
  end
1630
1678
 
1679
+ class TargetResource
1680
+ # @private
1681
+ class Representation < Google::Apis::Core::JsonRepresentation
1682
+ property :gcp_resource, as: 'gcpResource', class: Google::Apis::BackupdrV1::GcpResource, decorator: Google::Apis::BackupdrV1::GcpResource::Representation
1683
+
1684
+ end
1685
+ end
1686
+
1631
1687
  class TenantProjectProxy
1632
1688
  # @private
1633
1689
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.19.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-10-06 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.19.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: []