google-apis-firestore_v1 0.41.0 → 0.42.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: 6ad15bd7b46b32428cf5dd9da2f7b6c579e87c572c1a3842bdf5828d72de3673
4
- data.tar.gz: a35abf26469688e987df8aa57f183b3e2fb83712c8aa77ae707d1c052fa68a90
3
+ metadata.gz: 1421e38b47f122eeebf888f2b74127540a2281b581cd3c3b688f65f39780b125
4
+ data.tar.gz: a47d4cc4abad0e7d2ee2d9bc514227388edb398e86957cc04dcba6e5ef7fe908
5
5
  SHA512:
6
- metadata.gz: 71c300ba13d5795cf7285056328cceea5947271def57c520927a559c6770e693ebf2311844435c45ca4741aef275d27be2d9de868dcbc55e2e25ac4ef6eaeb16
7
- data.tar.gz: d6a6863f451bd68923b7017d30b8631900a3d6eade276a9e48d865caf1de94363702d6aca8d677ab6a65e9c22fdd01616539b271e42410f7467651abc4ba34f1
6
+ metadata.gz: 4e887676738faee71ade343d0a01f36c30844766082c2c42e0e6298cbfa119f5181faf0056e16775ca2da828bde0543aee9ca17df93f9932b563e032258cd044
7
+ data.tar.gz: b4b2aa5e42a304dcc5af525d969aa20b3654aa41b4453dea9c81b18b97806c10ec19c2cc2f3fe8fb08e7c83585d722f8a09a7aadec54b91940fa8cd106d85301
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.42.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230527
6
+
3
7
  ### v0.41.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230523
@@ -1109,6 +1109,16 @@ module Google
1109
1109
  # @return [String]
1110
1110
  attr_accessor :delete_protection_state
1111
1111
 
1112
+ # Output only. The earliest timestamp at which older versions of the data can be
1113
+ # read from the database. See [version_retention_period] above; this field is
1114
+ # populated with `now - version_retention_period`. This value is continuously
1115
+ # updated, and becomes stale the moment it is queried. If you are using this
1116
+ # value to recover data, make sure to account for the time from the moment when
1117
+ # the value is queried to the moment when you initiate the recovery.
1118
+ # Corresponds to the JSON property `earliestVersionTime`
1119
+ # @return [String]
1120
+ attr_accessor :earliest_version_time
1121
+
1112
1122
  # This checksum is computed by the server based on the value of other fields,
1113
1123
  # and may be sent on update and delete requests to ensure the client has an up-
1114
1124
  # to-date value before proceeding.
@@ -1137,6 +1147,11 @@ module Google
1137
1147
  # @return [String]
1138
1148
  attr_accessor :name
1139
1149
 
1150
+ # Whether to enable the PITR feature on this database.
1151
+ # Corresponds to the JSON property `pointInTimeRecoveryEnablement`
1152
+ # @return [String]
1153
+ attr_accessor :point_in_time_recovery_enablement
1154
+
1140
1155
  # The type of the database. See https://cloud.google.com/datastore/docs/
1141
1156
  # firestore-or-datastore for information about how to choose.
1142
1157
  # Corresponds to the JSON property `type`
@@ -1155,6 +1170,15 @@ module Google
1155
1170
  # @return [String]
1156
1171
  attr_accessor :update_time
1157
1172
 
1173
+ # Output only. The period during which past versions of data are retained in the
1174
+ # database. Any read or query can specify a `read_time` within this window, and
1175
+ # will read the state of the database at that time. If the PITR feature is
1176
+ # enabled, the retention period is 7 days. If unset, the retention period is 1
1177
+ # hour.
1178
+ # Corresponds to the JSON property `versionRetentionPeriod`
1179
+ # @return [String]
1180
+ attr_accessor :version_retention_period
1181
+
1158
1182
  def initialize(**args)
1159
1183
  update!(**args)
1160
1184
  end
@@ -1165,13 +1189,16 @@ module Google
1165
1189
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
1166
1190
  @create_time = args[:create_time] if args.key?(:create_time)
1167
1191
  @delete_protection_state = args[:delete_protection_state] if args.key?(:delete_protection_state)
1192
+ @earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
1168
1193
  @etag = args[:etag] if args.key?(:etag)
1169
1194
  @key_prefix = args[:key_prefix] if args.key?(:key_prefix)
1170
1195
  @location_id = args[:location_id] if args.key?(:location_id)
1171
1196
  @name = args[:name] if args.key?(:name)
1197
+ @point_in_time_recovery_enablement = args[:point_in_time_recovery_enablement] if args.key?(:point_in_time_recovery_enablement)
1172
1198
  @type = args[:type] if args.key?(:type)
1173
1199
  @uid = args[:uid] if args.key?(:uid)
1174
1200
  @update_time = args[:update_time] if args.key?(:update_time)
1201
+ @version_retention_period = args[:version_retention_period] if args.key?(:version_retention_period)
1175
1202
  end
1176
1203
  end
1177
1204
 
@@ -1269,6 +1296,15 @@ module Google
1269
1296
  # @return [String]
1270
1297
  attr_accessor :output_uri_prefix
1271
1298
 
1299
+ # The timestamp that corresponds to the version of the database to be exported.
1300
+ # The timestamp must be rounded to the minute, in the past, and not older than 1
1301
+ # hour. If specified, then the exported documents will represent a consistent
1302
+ # view of the database at the provided time. Otherwise, there are no guarantees
1303
+ # about the consistency of the exported documents.
1304
+ # Corresponds to the JSON property `snapshotTime`
1305
+ # @return [String]
1306
+ attr_accessor :snapshot_time
1307
+
1272
1308
  def initialize(**args)
1273
1309
  update!(**args)
1274
1310
  end
@@ -1278,6 +1314,7 @@ module Google
1278
1314
  @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
1279
1315
  @namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
1280
1316
  @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
1317
+ @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1281
1318
  end
1282
1319
  end
1283
1320
 
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230523"
25
+ REVISION = "20230527"
26
26
  end
27
27
  end
28
28
  end
@@ -916,13 +916,16 @@ module Google
916
916
  property :concurrency_mode, as: 'concurrencyMode'
917
917
  property :create_time, as: 'createTime'
918
918
  property :delete_protection_state, as: 'deleteProtectionState'
919
+ property :earliest_version_time, as: 'earliestVersionTime'
919
920
  property :etag, as: 'etag'
920
921
  property :key_prefix, as: 'keyPrefix'
921
922
  property :location_id, as: 'locationId'
922
923
  property :name, as: 'name'
924
+ property :point_in_time_recovery_enablement, as: 'pointInTimeRecoveryEnablement'
923
925
  property :type, as: 'type'
924
926
  property :uid, as: 'uid'
925
927
  property :update_time, as: 'updateTime'
928
+ property :version_retention_period, as: 'versionRetentionPeriod'
926
929
  end
927
930
  end
928
931
 
@@ -948,6 +951,7 @@ module Google
948
951
  collection :collection_ids, as: 'collectionIds'
949
952
  collection :namespace_ids, as: 'namespaceIds'
950
953
  property :output_uri_prefix, as: 'outputUriPrefix'
954
+ property :snapshot_time, as: 'snapshotTime'
951
955
  end
952
956
  end
953
957
 
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.41.0
4
+ version: 0.42.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: 2023-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.42.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: []