google-apis-spanner_v1 0.52.0 → 0.53.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: c7c47a4530ab55d46aa5f1354f3058f420be8ddbd535deed8488f01cdce0364e
4
- data.tar.gz: 7b1de08f6b9a275af22cf4c00198a4e0781fdc99262820ec1baa8ed22a48d873
3
+ metadata.gz: 8b13c6cf3123aca45925064f9f9faa607f5b3323105686faee0edeaefa0aed58
4
+ data.tar.gz: 73539d3c393df1968c80b48d735aaa25eed10f99323ca17d6d8d447061eccae0
5
5
  SHA512:
6
- metadata.gz: '0709bd83dfebbf00b63d75d837b78c7a572d0739c86955fc3c3a9de5774dc6395812d4acd2fe9bb2aa265115d1ca9962fb36d5f6c8c8b069e4e94745f25e8450'
7
- data.tar.gz: 6ece55a324418459c04b43009a41ab27c84e2723aa4dacd5c3421112b7ae05561a360a4d03d3a4fe26a448f210510e64b1eb7c8af6bb94bf9fa55f3f7537bc37
6
+ metadata.gz: eac966a3a9e845af36700770bfe4a868130686a02e81b4319996d98349acbbb1f51a33dd96796af45032e3e80e057fc4bb60aefaff8059f11214f58f05df880a
7
+ data.tar.gz: dcfbe4d3e72e743b8e3b71df113f18a51c3b1b445edd23480fe85557e0b35eddeb9d396cb6964c4a289fc4cb50993dbe3de24112efed243342fc1c6b976e0148
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.53.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260501
6
+
3
7
  ### v0.52.0 (2026-04-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260330
@@ -442,7 +442,8 @@ module Google
442
442
 
443
443
  # Required for the CreateBackup operation. Name of the database from which this
444
444
  # backup was created. This needs to be in the same instance as the backup.
445
- # Values are of the form `projects//instances//databases/`.
445
+ # Values are of the form `projects/`project`/instances/`instance`/databases/`
446
+ # database``.
446
447
  # Corresponds to the JSON property `database`
447
448
  # @return [String]
448
449
  attr_accessor :database
@@ -530,11 +531,11 @@ module Google
530
531
 
531
532
  # Output only for the CreateBackup operation. Required for the UpdateBackup
532
533
  # operation. A globally unique identifier for the backup which cannot be changed.
533
- # Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final
534
- # segment of the name must be between 2 and 60 characters in length. The backup
535
- # is stored in the location(s) specified in the instance configuration of the
536
- # instance containing the backup, identified by the prefix of the backup name of
537
- # the form `projects//instances/`.
534
+ # Values are of the form `projects/`project`/instances/`instance`/backups/a-z*[
535
+ # a-z0-9]` The final segment of the name must be between 2 and 60 characters in
536
+ # length. The backup is stored in the location(s) specified in the instance
537
+ # configuration of the instance containing the backup, identified by the prefix
538
+ # of the backup name of the form `projects/`project`/instances/`instance``.
538
539
  # Corresponds to the JSON property `name`
539
540
  # @return [String]
540
541
  attr_accessor :name
@@ -550,21 +551,22 @@ module Google
550
551
  attr_accessor :oldest_version_time
551
552
 
552
553
  # Output only. The names of the destination backups being created by copying
553
- # this source backup. The backup names are of the form `projects//instances//
554
- # backups/`. Referencing backups may exist in different instances. The existence
555
- # of any referencing backup prevents the backup from being deleted. When the
556
- # copy operation is done (either successfully completed or cancelled or the
557
- # destination backup is deleted), the reference to the backup is removed.
554
+ # this source backup. The backup names are of the form `projects/`project`/
555
+ # instances/`instance`/backups/`backup``. Referencing backups may exist in
556
+ # different instances. The existence of any referencing backup prevents the
557
+ # backup from being deleted. When the copy operation is done (either
558
+ # successfully completed or cancelled or the destination backup is deleted), the
559
+ # reference to the backup is removed.
558
560
  # Corresponds to the JSON property `referencingBackups`
559
561
  # @return [Array<String>]
560
562
  attr_accessor :referencing_backups
561
563
 
562
564
  # Output only. The names of the restored databases that reference the backup.
563
- # The database names are of the form `projects//instances//databases/`.
564
- # Referencing databases may exist in different instances. The existence of any
565
- # referencing database prevents the backup from being deleted. When a restored
566
- # database from the backup enters the `READY` state, the reference to the backup
567
- # is removed.
565
+ # The database names are of the form `projects/`project`/instances/`instance`/
566
+ # databases/`database``. Referencing databases may exist in different instances.
567
+ # The existence of any referencing database prevents the backup from being
568
+ # deleted. When a restored database from the backup enters the `READY` state,
569
+ # the reference to the backup is removed.
568
570
  # Corresponds to the JSON property `referencingDatabases`
569
571
  # @return [Array<String>]
570
572
  attr_accessor :referencing_databases
@@ -662,7 +664,8 @@ module Google
662
664
  include Google::Apis::Core::Hashable
663
665
 
664
666
  # A unique identifier for the instance partition. Values are of the form `
665
- # projects//instances//instancePartitions/`
667
+ # projects/`project`/instances/`instance`/instancePartitions/`
668
+ # instance_partition_id``
666
669
  # Corresponds to the JSON property `instancePartition`
667
670
  # @return [String]
668
671
  attr_accessor :instance_partition
@@ -1491,24 +1494,25 @@ module Google
1491
1494
  # central1` or `nam3`, then the database instance must also be in `us-central1`
1492
1495
  # or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored
1493
1496
  # database. Set this field only when encryption_type is `
1494
- # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//
1495
- # keyRings//cryptoKeys/`.
1497
+ # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects/`project`/
1498
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``.
1496
1499
  # Corresponds to the JSON property `kmsKeyName`
1497
1500
  # @return [String]
1498
1501
  attr_accessor :kms_key_name
1499
1502
 
1500
1503
  # Optional. Specifies the KMS configuration for the one or more keys used to
1501
- # protect the backup. Values are of the form `projects//locations//keyRings//
1502
- # cryptoKeys/`. KMS keys specified can be in any order. The keys referenced by `
1503
- # kms_key_names` must fully cover all regions of the backup's instance
1504
- # configuration. Some examples: * For regional (single-region) instance
1505
- # configurations, specify a regional location KMS key. * For multi-region
1506
- # instance configurations of type `GOOGLE_MANAGED`, either specify a multi-
1507
- # region location KMS key or multiple regional location KMS keys that cover all
1508
- # regions in the instance configuration. * For an instance configuration of type
1509
- # `USER_MANAGED`, specify only regional location KMS keys to cover each region
1510
- # in the instance configuration. Multi-region location KMS keys aren't supported
1511
- # for `USER_MANAGED` type instance configurations.
1504
+ # protect the backup. Values are of the form `projects/`project`/locations/`
1505
+ # location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``. KMS keys specified
1506
+ # can be in any order. The keys referenced by `kms_key_names` must fully cover
1507
+ # all regions of the backup's instance configuration. Some examples: * For
1508
+ # regional (single-region) instance configurations, specify a regional location
1509
+ # KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`,
1510
+ # either specify a multi-region location KMS key or multiple regional location
1511
+ # KMS keys that cover all regions in the instance configuration. * For an
1512
+ # instance configuration of type `USER_MANAGED`, specify only regional location
1513
+ # KMS keys to cover each region in the instance configuration. Multi-region
1514
+ # location KMS keys aren't supported for `USER_MANAGED` type instance
1515
+ # configurations.
1512
1516
  # Corresponds to the JSON property `kmsKeyNames`
1513
1517
  # @return [Array<String>]
1514
1518
  attr_accessor :kms_key_names
@@ -1542,7 +1546,7 @@ module Google
1542
1546
  attr_accessor :cancel_time
1543
1547
 
1544
1548
  # The name of the backup being created through the copy operation. Values are of
1545
- # the form `projects//instances//backups/`.
1549
+ # the form `projects/`project`/instances/`instance`/backups/`backup``.
1546
1550
  # Corresponds to the JSON property `name`
1547
1551
  # @return [String]
1548
1552
  attr_accessor :name
@@ -1554,7 +1558,7 @@ module Google
1554
1558
  attr_accessor :progress
1555
1559
 
1556
1560
  # The name of the source backup that is being copied. Values are of the form `
1557
- # projects//instances//backups/`.
1561
+ # projects/`project`/instances/`instance`/backups/`backup``.
1558
1562
  # Corresponds to the JSON property `sourceBackup`
1559
1563
  # @return [String]
1560
1564
  attr_accessor :source_backup
@@ -1577,7 +1581,8 @@ module Google
1577
1581
  include Google::Apis::Core::Hashable
1578
1582
 
1579
1583
  # Required. The id of the backup copy. The `backup_id` appended to `parent`
1580
- # forms the full backup_uri of the form `projects//instances//backups/`.
1584
+ # forms the full backup_uri of the form `projects/`project`/instances/`instance`/
1585
+ # backups/`backup``.
1581
1586
  # Corresponds to the JSON property `backupId`
1582
1587
  # @return [String]
1583
1588
  attr_accessor :backup_id
@@ -1599,7 +1604,8 @@ module Google
1599
1604
  # Required. The source backup to be copied. The source backup needs to be in
1600
1605
  # READY state for it to be copied. Once CopyBackup is in progress, the source
1601
1606
  # backup cannot be deleted or cleaned up on expiration until CopyBackup is
1602
- # finished. Values are of the form: `projects//instances//backups/`.
1607
+ # finished. Values are of the form: `projects/`project`/instances/`instance`/
1608
+ # backups/`backup``.
1603
1609
  # Corresponds to the JSON property `sourceBackup`
1604
1610
  # @return [String]
1605
1611
  attr_accessor :source_backup
@@ -1633,23 +1639,24 @@ module Google
1633
1639
  # central1` or `nam3`, then the database instance must also be in `us-central1`
1634
1640
  # or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored
1635
1641
  # database. Set this field only when encryption_type is `
1636
- # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//
1637
- # keyRings//cryptoKeys/`.
1642
+ # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects/`project`/
1643
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``.
1638
1644
  # Corresponds to the JSON property `kmsKeyName`
1639
1645
  # @return [String]
1640
1646
  attr_accessor :kms_key_name
1641
1647
 
1642
1648
  # Optional. Specifies the KMS configuration for the one or more keys used to
1643
- # protect the backup. Values are of the form `projects//locations//keyRings//
1644
- # cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all
1645
- # regions of the backup's instance configuration. Some examples: * For regional (
1646
- # single-region) instance configurations, specify a regional location KMS key. *
1647
- # For multi-region instance configurations of type `GOOGLE_MANAGED`, either
1648
- # specify a multi-region location KMS key or multiple regional location KMS keys
1649
- # that cover all regions in the instance configuration. * For an instance
1650
- # configuration of type `USER_MANAGED`, specify only regional location KMS keys
1651
- # to cover each region in the instance configuration. Multi-region location KMS
1652
- # keys aren't supported for `USER_MANAGED` type instance configurations.
1649
+ # protect the backup. Values are of the form `projects/`project`/locations/`
1650
+ # location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``. The keys referenced
1651
+ # by `kms_key_names` must fully cover all regions of the backup's instance
1652
+ # configuration. Some examples: * For regional (single-region) instance
1653
+ # configurations, specify a regional location KMS key. * For multi-region
1654
+ # instance configurations of type `GOOGLE_MANAGED`, either specify a multi-
1655
+ # region location KMS key or multiple regional location KMS keys that cover all
1656
+ # regions in the instance configuration. * For an instance configuration of type
1657
+ # `USER_MANAGED`, specify only regional location KMS keys to cover each region
1658
+ # in the instance configuration. Multi-region location KMS keys aren't supported
1659
+ # for `USER_MANAGED` type instance configurations.
1653
1660
  # Corresponds to the JSON property `kmsKeyNames`
1654
1661
  # @return [Array<String>]
1655
1662
  attr_accessor :kms_key_names
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpannerV1
18
18
  # Version of the google-apis-spanner_v1 gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.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 = "20260330"
25
+ REVISION = "20260501"
26
26
  end
27
27
  end
28
28
  end
@@ -1059,7 +1059,7 @@ module Google
1059
1059
  # operation.
1060
1060
  # @param [String] parent
1061
1061
  # Required. The instance of the backup operations. Values are of the form `
1062
- # projects//instances/`.
1062
+ # projects/`project`/instances/`instance``.
1063
1063
  # @param [String] filter
1064
1064
  # An expression that filters the list of returned backup operations. A filter
1065
1065
  # expression consists of a field name, a comparison operator, and a value for
@@ -1148,7 +1148,7 @@ module Google
1148
1148
  # backup.
1149
1149
  # @param [String] parent
1150
1150
  # Required. The name of the destination instance that will contain the backup
1151
- # copy. Values are of the form: `projects//instances/`.
1151
+ # copy. Values are of the form: `projects/`project`/instances/`instance``.
1152
1152
  # @param [Google::Apis::SpannerV1::CopyBackupRequest] copy_backup_request_object
1153
1153
  # @param [String] fields
1154
1154
  # Selector specifying which fields to include in a partial response.
@@ -1190,11 +1190,13 @@ module Google
1190
1190
  # Required. The name of the instance in which the backup is created. This must
1191
1191
  # be the same instance that contains the database the backup is created from.
1192
1192
  # The backup will be stored in the locations specified in the instance
1193
- # configuration of this instance. Values are of the form `projects//instances/`.
1193
+ # configuration of this instance. Values are of the form `projects/`project`/
1194
+ # instances/`instance``.
1194
1195
  # @param [Google::Apis::SpannerV1::Backup] backup_object
1195
1196
  # @param [String] backup_id
1196
1197
  # Required. The id of the backup to be created. The `backup_id` appended to `
1197
- # parent` forms the full backup name of the form `projects//instances//backups/`.
1198
+ # parent` forms the full backup name of the form `projects/`project`/instances/`
1199
+ # instance`/backups/`backup_id``.
1198
1200
  # @param [String] encryption_config_encryption_type
1199
1201
  # Required. The encryption type of the backup.
1200
1202
  # @param [String] encryption_config_kms_key_name
@@ -1205,20 +1207,21 @@ module Google
1205
1207
  # central1` or `nam3`, then the database instance must also be in `us-central1`
1206
1208
  # or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored
1207
1209
  # database. Set this field only when encryption_type is `
1208
- # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//
1209
- # keyRings//cryptoKeys/`.
1210
+ # CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects/`project`/
1211
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``.
1210
1212
  # @param [Array<String>, String] encryption_config_kms_key_names
1211
1213
  # Optional. Specifies the KMS configuration for the one or more keys used to
1212
- # protect the backup. Values are of the form `projects//locations//keyRings//
1213
- # cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all
1214
- # regions of the backup's instance configuration. Some examples: * For regional (
1215
- # single-region) instance configurations, specify a regional location KMS key. *
1216
- # For multi-region instance configurations of type `GOOGLE_MANAGED`, either
1217
- # specify a multi-region location KMS key or multiple regional location KMS keys
1218
- # that cover all regions in the instance configuration. * For an instance
1219
- # configuration of type `USER_MANAGED`, specify only regional location KMS keys
1220
- # to cover each region in the instance configuration. Multi-region location KMS
1221
- # keys aren't supported for `USER_MANAGED` type instance configurations.
1214
+ # protect the backup. Values are of the form `projects/`project`/locations/`
1215
+ # location`/keyRings/`key_ring`/cryptoKeys/`kms_key_name``. The keys referenced
1216
+ # by `kms_key_names` must fully cover all regions of the backup's instance
1217
+ # configuration. Some examples: * For regional (single-region) instance
1218
+ # configurations, specify a regional location KMS key. * For multi-region
1219
+ # instance configurations of type `GOOGLE_MANAGED`, either specify a multi-
1220
+ # region location KMS key or multiple regional location KMS keys that cover all
1221
+ # regions in the instance configuration. * For an instance configuration of type
1222
+ # `USER_MANAGED`, specify only regional location KMS keys to cover each region
1223
+ # in the instance configuration. Multi-region location KMS keys aren't supported
1224
+ # for `USER_MANAGED` type instance configurations.
1222
1225
  # @param [String] fields
1223
1226
  # Selector specifying which fields to include in a partial response.
1224
1227
  # @param [String] quota_user
@@ -1254,8 +1257,8 @@ module Google
1254
1257
 
1255
1258
  # Deletes a pending or completed Backup.
1256
1259
  # @param [String] name
1257
- # Required. Name of the backup to delete. Values are of the form `projects//
1258
- # instances//backups/`.
1260
+ # Required. Name of the backup to delete. Values are of the form `projects/`
1261
+ # project`/instances/`instance`/backups/`backup``.
1259
1262
  # @param [String] fields
1260
1263
  # Selector specifying which fields to include in a partial response.
1261
1264
  # @param [String] quota_user
@@ -1285,8 +1288,8 @@ module Google
1285
1288
 
1286
1289
  # Gets metadata on a pending or completed Backup.
1287
1290
  # @param [String] name
1288
- # Required. Name of the backup. Values are of the form `projects//instances//
1289
- # backups/`.
1291
+ # Required. Name of the backup. Values are of the form `projects/`project`/
1292
+ # instances/`instance`/backups/`backup``.
1290
1293
  # @param [String] fields
1291
1294
  # Selector specifying which fields to include in a partial response.
1292
1295
  # @param [String] quota_user
@@ -1357,8 +1360,8 @@ module Google
1357
1360
  # Lists completed and pending backups. Backups returned are ordered by `
1358
1361
  # create_time` in descending order, starting from the most recent `create_time`.
1359
1362
  # @param [String] parent
1360
- # Required. The instance to list backups from. Values are of the form `projects//
1361
- # instances/`.
1363
+ # Required. The instance to list backups from. Values are of the form `projects/`
1364
+ # project`/instances/`instance``.
1362
1365
  # @param [String] filter
1363
1366
  # An expression that filters the list of returned backups. A filter expression
1364
1367
  # consists of a field name, a comparison operator, and a value for filtering.
@@ -1422,11 +1425,11 @@ module Google
1422
1425
  # @param [String] name
1423
1426
  # Output only for the CreateBackup operation. Required for the UpdateBackup
1424
1427
  # operation. A globally unique identifier for the backup which cannot be changed.
1425
- # Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final
1426
- # segment of the name must be between 2 and 60 characters in length. The backup
1427
- # is stored in the location(s) specified in the instance configuration of the
1428
- # instance containing the backup, identified by the prefix of the backup name of
1429
- # the form `projects//instances/`.
1428
+ # Values are of the form `projects/`project`/instances/`instance`/backups/a-z*[
1429
+ # a-z0-9]` The final segment of the name must be between 2 and 60 characters in
1430
+ # length. The backup is stored in the location(s) specified in the instance
1431
+ # configuration of the instance containing the backup, identified by the prefix
1432
+ # of the backup name of the form `projects/`project`/instances/`instance``.
1430
1433
  # @param [Google::Apis::SpannerV1::Backup] backup_object
1431
1434
  # @param [String] update_mask
1432
1435
  # Required. A mask specifying which fields (for example, `expire_time`) in the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-spanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.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-spanner_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.53.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
62
62
  rdoc_options: []
63
63
  require_paths: