google-apis-firestore_v1 0.69.0 → 0.70.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d16f471b3b40e5ab66b70ad798c3c7d85b1ec87a8da42b04069323a8c66df9e
4
- data.tar.gz: 3e88e8f1dad470cda3250815b666ec872fb53aa456fc98c6f32cdac014526e7d
3
+ metadata.gz: cd9814c9ea47ad8137d7cb51d9e958f6353147866479f43c8a39ae4303c3ceed
4
+ data.tar.gz: 8fbd0f080975a9f6c9f1c521e655881de21ee98ccbe5c4e9fbc73e13a7212c34
5
5
  SHA512:
6
- metadata.gz: a7003b7135a8b834a42c37715dc0cb9dfe010d51576cb489a7584f05f861106f691ee464d8e9a3fc5b0ab54faef4dd290fafdefc775d044f369b2742359e9832
7
- data.tar.gz: fec0d84aae9cf40d6989162a13e0209c5cd2e2aa73b9bbaab5b2202ce0f513d672c13cd66631395e98397405c33fa2c97353eaf47cc62b8a9ad248322c384404
6
+ metadata.gz: df4834a5c9031374ef3d6189444136d69211904d361059c0141358c96ec6d4fcaeb550642ee3c92e1118aa5c4dbabf9750a34e3d9cbac3778831fe49ed43499d
7
+ data.tar.gz: 964f83ec219d45851c43a0a80ee1995784fc2727f2dc6887ee268d554af4bf0ef2caef7dc3a40636406d684cccd5e6c1a6844fd47e0c70f34cb0a8b090a26d82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.70.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240804
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.69.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240713
@@ -637,10 +637,7 @@ module Google
637
637
  # A Document has changed. May be the result of multiple writes, including
638
638
  # deletes, that ultimately resulted in a new value for the Document. Multiple
639
639
  # DocumentChange messages may be returned for the same logical change, if
640
- # multiple targets are affected. For PipelineQueryTargets, `document` will be in
641
- # the new pipeline format, For a Listen stream with both QueryTargets and
642
- # PipelineQueryTargets present, if a document matches both types of queries,
643
- # then a separate DocumentChange messages will be sent out one for each set.
640
+ # multiple targets are affected.
644
641
  class DocumentChange
645
642
  include Google::Apis::Core::Hashable
646
643
 
@@ -1409,6 +1406,31 @@ module Google
1409
1406
  end
1410
1407
  end
1411
1408
 
1409
+ # The configuration options for using CMEK (Customer Managed Encryption Key)
1410
+ # encryption.
1411
+ class GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
1412
+ include Google::Apis::Core::Hashable
1413
+
1414
+ # Required. Only keys in the same location as the database are allowed to be
1415
+ # used for encryption. For Firestore's nam5 multi-region, this corresponds to
1416
+ # Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds
1417
+ # to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/
1418
+ # locations. The expected format is `projects/`project_id`/locations/`
1419
+ # kms_location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
1420
+ # Corresponds to the JSON property `kmsKeyName`
1421
+ # @return [String]
1422
+ attr_accessor :kms_key_name
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1431
+ end
1432
+ end
1433
+
1412
1434
  # Represents a recurring schedule that runs every day. The time zone is UTC.
1413
1435
  class GoogleFirestoreAdminV1DailyRecurrence
1414
1436
  include Google::Apis::Core::Hashable
@@ -1575,6 +1597,39 @@ module Google
1575
1597
  end
1576
1598
  end
1577
1599
 
1600
+ # Encryption configuration for a new database being created from another source.
1601
+ # The source could be a Backup or a DatabaseSnapshot.
1602
+ class GoogleFirestoreAdminV1EncryptionConfig
1603
+ include Google::Apis::Core::Hashable
1604
+
1605
+ # The configuration options for using CMEK (Customer Managed Encryption Key)
1606
+ # encryption.
1607
+ # Corresponds to the JSON property `customerManagedEncryption`
1608
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions]
1609
+ attr_accessor :customer_managed_encryption
1610
+
1611
+ # The configuration options for using Google default encryption.
1612
+ # Corresponds to the JSON property `googleDefaultEncryption`
1613
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions]
1614
+ attr_accessor :google_default_encryption
1615
+
1616
+ # The configuration options for using the same encryption method as the source.
1617
+ # Corresponds to the JSON property `useSourceEncryption`
1618
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceEncryptionOptions]
1619
+ attr_accessor :use_source_encryption
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
1628
+ @google_default_encryption = args[:google_default_encryption] if args.key?(:google_default_encryption)
1629
+ @use_source_encryption = args[:use_source_encryption] if args.key?(:use_source_encryption)
1630
+ end
1631
+ end
1632
+
1578
1633
  # Metadata for google.longrunning.Operation results from FirestoreAdmin.
1579
1634
  # ExportDocuments.
1580
1635
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
@@ -1854,6 +1909,19 @@ module Google
1854
1909
  end
1855
1910
  end
1856
1911
 
1912
+ # The configuration options for using Google default encryption.
1913
+ class GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
1914
+ include Google::Apis::Core::Hashable
1915
+
1916
+ def initialize(**args)
1917
+ update!(**args)
1918
+ end
1919
+
1920
+ # Update properties of this object
1921
+ def update!(**args)
1922
+ end
1923
+ end
1924
+
1857
1925
  # Metadata for google.longrunning.Operation results from FirestoreAdmin.
1858
1926
  # ImportDocuments.
1859
1927
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
@@ -2425,32 +2493,11 @@ module Google
2425
2493
  # @return [String]
2426
2494
  attr_accessor :database_id
2427
2495
 
2428
- # Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the
2429
- # same location as the restored database are allowed to be used for encryption.
2430
- # For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region
2431
- # us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-
2432
- # region europe. See https://cloud.google.com/kms/docs/locations. The expected
2433
- # format is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
2434
- # cryptoKeys/`crypto_key``.
2435
- # Corresponds to the JSON property `kmsKeyName`
2436
- # @return [String]
2437
- attr_accessor :kms_key_name
2438
-
2439
- # A generic empty message that you can re-use to avoid defining duplicated empty
2440
- # messages in your APIs. A typical example is to use it as the request or the
2441
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
2442
- # protobuf.Empty) returns (google.protobuf.Empty); `
2443
- # Corresponds to the JSON property `useBackupEncryption`
2444
- # @return [Google::Apis::FirestoreV1::Empty]
2445
- attr_accessor :use_backup_encryption
2446
-
2447
- # A generic empty message that you can re-use to avoid defining duplicated empty
2448
- # messages in your APIs. A typical example is to use it as the request or the
2449
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
2450
- # protobuf.Empty) returns (google.protobuf.Empty); `
2451
- # Corresponds to the JSON property `useGoogleDefaultEncryption`
2452
- # @return [Google::Apis::FirestoreV1::Empty]
2453
- attr_accessor :use_google_default_encryption
2496
+ # Encryption configuration for a new database being created from another source.
2497
+ # The source could be a Backup or a DatabaseSnapshot.
2498
+ # Corresponds to the JSON property `encryptionConfig`
2499
+ # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig]
2500
+ attr_accessor :encryption_config
2454
2501
 
2455
2502
  def initialize(**args)
2456
2503
  update!(**args)
@@ -2460,9 +2507,20 @@ module Google
2460
2507
  def update!(**args)
2461
2508
  @backup = args[:backup] if args.key?(:backup)
2462
2509
  @database_id = args[:database_id] if args.key?(:database_id)
2463
- @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2464
- @use_backup_encryption = args[:use_backup_encryption] if args.key?(:use_backup_encryption)
2465
- @use_google_default_encryption = args[:use_google_default_encryption] if args.key?(:use_google_default_encryption)
2510
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
2511
+ end
2512
+ end
2513
+
2514
+ # The configuration options for using the same encryption method as the source.
2515
+ class GoogleFirestoreAdminV1SourceEncryptionOptions
2516
+ include Google::Apis::Core::Hashable
2517
+
2518
+ def initialize(**args)
2519
+ update!(**args)
2520
+ end
2521
+
2522
+ # Update properties of this object
2523
+ def update!(**args)
2466
2524
  end
2467
2525
  end
2468
2526
 
@@ -2877,10 +2935,7 @@ module Google
2877
2935
  # A Document has changed. May be the result of multiple writes, including
2878
2936
  # deletes, that ultimately resulted in a new value for the Document. Multiple
2879
2937
  # DocumentChange messages may be returned for the same logical change, if
2880
- # multiple targets are affected. For PipelineQueryTargets, `document` will be in
2881
- # the new pipeline format, For a Listen stream with both QueryTargets and
2882
- # PipelineQueryTargets present, if a document matches both types of queries,
2883
- # then a separate DocumentChange messages will be sent out one for each set.
2938
+ # multiple targets are affected.
2884
2939
  # Corresponds to the JSON property `documentChange`
2885
2940
  # @return [Google::Apis::FirestoreV1::DocumentChange]
2886
2941
  attr_accessor :document_change
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1
18
18
  # Version of the google-apis-firestore_v1 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240713"
25
+ REVISION = "20240804"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class GoogleFirestoreAdminV1DailyRecurrence
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class GoogleFirestoreAdminV1EncryptionConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -322,6 +334,12 @@ module Google
322
334
  include Google::Apis::Core::JsonObjectSupport
323
335
  end
324
336
 
337
+ class GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
325
343
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
326
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
345
 
@@ -418,6 +436,12 @@ module Google
418
436
  include Google::Apis::Core::JsonObjectSupport
419
437
  end
420
438
 
439
+ class GoogleFirestoreAdminV1SourceEncryptionOptions
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
421
445
  class GoogleFirestoreAdminV1Stats
422
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
447
 
@@ -1082,6 +1106,13 @@ module Google
1082
1106
  end
1083
1107
  end
1084
1108
 
1109
+ class GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ property :kms_key_name, as: 'kmsKeyName'
1113
+ end
1114
+ end
1115
+
1085
1116
  class GoogleFirestoreAdminV1DailyRecurrence
1086
1117
  # @private
1087
1118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1118,6 +1149,18 @@ module Google
1118
1149
  end
1119
1150
  end
1120
1151
 
1152
+ class GoogleFirestoreAdminV1EncryptionConfig
1153
+ # @private
1154
+ class Representation < Google::Apis::Core::JsonRepresentation
1155
+ property :customer_managed_encryption, as: 'customerManagedEncryption', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1CustomerManagedEncryptionOptions::Representation
1156
+
1157
+ property :google_default_encryption, as: 'googleDefaultEncryption', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions::Representation
1158
+
1159
+ property :use_source_encryption, as: 'useSourceEncryption', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceEncryptionOptions, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1SourceEncryptionOptions::Representation
1160
+
1161
+ end
1162
+ end
1163
+
1121
1164
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
1122
1165
  # @private
1123
1166
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1187,6 +1230,12 @@ module Google
1187
1230
  end
1188
1231
  end
1189
1232
 
1233
+ class GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions
1234
+ # @private
1235
+ class Representation < Google::Apis::Core::JsonRepresentation
1236
+ end
1237
+ end
1238
+
1190
1239
  class GoogleFirestoreAdminV1ImportDocumentsMetadata
1191
1240
  # @private
1192
1241
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1345,11 +1394,14 @@ module Google
1345
1394
  class Representation < Google::Apis::Core::JsonRepresentation
1346
1395
  property :backup, as: 'backup'
1347
1396
  property :database_id, as: 'databaseId'
1348
- property :kms_key_name, as: 'kmsKeyName'
1349
- property :use_backup_encryption, as: 'useBackupEncryption', class: Google::Apis::FirestoreV1::Empty, decorator: Google::Apis::FirestoreV1::Empty::Representation
1397
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1EncryptionConfig::Representation
1350
1398
 
1351
- property :use_google_default_encryption, as: 'useGoogleDefaultEncryption', class: Google::Apis::FirestoreV1::Empty, decorator: Google::Apis::FirestoreV1::Empty::Representation
1399
+ end
1400
+ end
1352
1401
 
1402
+ class GoogleFirestoreAdminV1SourceEncryptionOptions
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1353
1405
  end
1354
1406
  end
1355
1407
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-11 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-firestore_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []