google-apis-firestore_v1 0.33.0 → 0.35.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: 406a54ace5f37f0929d7d9d593705ac5ee5010fdf894e83d007141ceed96dbd5
4
- data.tar.gz: a3746fb05343ffb5ee888b9f4001fddb24d219f28617b455b89634f86a28edad
3
+ metadata.gz: 1c3950505b8ceeef551a7b8084237953c93777a2a260b3e48f76647774a76f82
4
+ data.tar.gz: 1c97244f5017b7a9f6982117e95d056bc53c29b937bff6df247fe855f52e309f
5
5
  SHA512:
6
- metadata.gz: fd277706819afc96213b9f1b0be66ba7fb1838e41a77bad57d37c84e92fcfe1483afc3a2756b91b25876d92d3b30bb175521ab20aa233193ebf0f51a9742b88a
7
- data.tar.gz: df93b0e7c2221f2d3a8e268232ead3cebf26ddbcff574621b1274c4e133aadf714b8950f3249dfc040e01d65d3f3c843c4a86dfdaf9dc70e9469d8e459090aa8
6
+ metadata.gz: 321e60a8eb471f48192bd14ee8fc0744effc433c7e1e0f3a027ebea2d09d20c1bc7e2b94d7590dd650a29aa21d7250c7f069ec159deeed0a6590c427d50b1e17
7
+ data.tar.gz: a18ef436598cfe72388f7ab3612ae0c7c33c1ce7e692510b48651f59adddaba068bf22c927c828621f939f5eaa21f18ab42a4527f1163705d2c36d3874fe7722
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.35.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230228
6
+
7
+ ### v0.34.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230214
10
+
3
11
  ### v0.33.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -870,6 +870,11 @@ module Google
870
870
  # @return [String]
871
871
  attr_accessor :concurrency_mode
872
872
 
873
+ # Output only. The timestamp at which this database was created.
874
+ # Corresponds to the JSON property `createTime`
875
+ # @return [String]
876
+ attr_accessor :create_time
877
+
873
878
  # This checksum is computed by the server based on the value of other fields,
874
879
  # and may be sent on update and delete requests to ensure the client has an up-
875
880
  # to-date value before proceeding.
@@ -904,6 +909,18 @@ module Google
904
909
  # @return [String]
905
910
  attr_accessor :type
906
911
 
912
+ # Output only. The system-generated UUID4 for this Database.
913
+ # Corresponds to the JSON property `uid`
914
+ # @return [String]
915
+ attr_accessor :uid
916
+
917
+ # Output only. The timestamp at which this database was most recently updated.
918
+ # Note this only includes updates to the database resource and not data
919
+ # contained by the database.
920
+ # Corresponds to the JSON property `updateTime`
921
+ # @return [String]
922
+ attr_accessor :update_time
923
+
907
924
  def initialize(**args)
908
925
  update!(**args)
909
926
  end
@@ -912,11 +929,14 @@ module Google
912
929
  def update!(**args)
913
930
  @app_engine_integration_mode = args[:app_engine_integration_mode] if args.key?(:app_engine_integration_mode)
914
931
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
932
+ @create_time = args[:create_time] if args.key?(:create_time)
915
933
  @etag = args[:etag] if args.key?(:etag)
916
934
  @key_prefix = args[:key_prefix] if args.key?(:key_prefix)
917
935
  @location_id = args[:location_id] if args.key?(:location_id)
918
936
  @name = args[:name] if args.key?(:name)
919
937
  @type = args[:type] if args.key?(:type)
938
+ @uid = args[:uid] if args.key?(:uid)
939
+ @update_time = args[:update_time] if args.key?(:update_time)
920
940
  end
921
941
  end
922
942
 
@@ -2348,7 +2368,11 @@ module Google
2348
2368
  class RunAggregationQueryResponse
2349
2369
  include Google::Apis::Core::Hashable
2350
2370
 
2351
- # The time at which the aggregate value is valid for.
2371
+ # The time at which the aggregate result was computed. This is always
2372
+ # monotonically increasing; in this case, the previous AggregationResult in the
2373
+ # result stream are guaranteed not to have changed between their `read_time` and
2374
+ # this one. If the query returns no results, a response with `read_time` and no `
2375
+ # result` will be sent, and this represents the time at which the query was run.
2352
2376
  # Corresponds to the JSON property `readTime`
2353
2377
  # @return [String]
2354
2378
  attr_accessor :read_time
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.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 = "20230118"
25
+ REVISION = "20230228"
26
26
  end
27
27
  end
28
28
  end
@@ -801,11 +801,14 @@ module Google
801
801
  class Representation < Google::Apis::Core::JsonRepresentation
802
802
  property :app_engine_integration_mode, as: 'appEngineIntegrationMode'
803
803
  property :concurrency_mode, as: 'concurrencyMode'
804
+ property :create_time, as: 'createTime'
804
805
  property :etag, as: 'etag'
805
806
  property :key_prefix, as: 'keyPrefix'
806
807
  property :location_id, as: 'locationId'
807
808
  property :name, as: 'name'
808
809
  property :type, as: 'type'
810
+ property :uid, as: 'uid'
811
+ property :update_time, as: 'updateTime'
809
812
  end
810
813
  end
811
814
 
@@ -56,10 +56,8 @@ module Google
56
56
  # @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database] google_firestore_admin_v1_database_object
57
57
  # @param [String] database_id
58
58
  # Required. The ID to use for the database, which will become the final
59
- # component of the database's resource name. This value should be 4-63
60
- # characters. Valid characters are /a-z-/ with first character a letter and the
61
- # last a letter or a number. Must not be UUID-like /[0-9a-f]`8`(-[0-9a-f]`4`)`3`-
62
- # [0-9a-f]`12`/. "(default)" database id is also valid.
59
+ # component of the database's resource name. The value must be set to "(default)"
60
+ # .
63
61
  # @param [String] fields
64
62
  # Selector specifying which fields to include in a partial response.
65
63
  # @param [String] quota_user
@@ -100,9 +98,6 @@ module Google
100
98
  # The current etag of the Database. If an etag is provided and does not match
101
99
  # the current etag of the database, deletion will be blocked and a
102
100
  # FAILED_PRECONDITION error will be returned.
103
- # @param [Boolean] free_id
104
- # If set, will free the database_id associated with this database. uid will be
105
- # used as the resource id to identify this deleted database.
106
101
  # @param [Boolean] validate_only
107
102
  # If set, validate the request and preview the response, but do not actually
108
103
  # delete the database.
@@ -123,14 +118,13 @@ module Google
123
118
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
124
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
125
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
126
- def delete_project_database(name, allow_missing: nil, etag: nil, free_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
121
+ def delete_project_database(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
127
122
  command = make_simple_command(:delete, 'v1/{+name}', options)
128
123
  command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
129
124
  command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
130
125
  command.params['name'] = name unless name.nil?
131
126
  command.query['allowMissing'] = allow_missing unless allow_missing.nil?
132
127
  command.query['etag'] = etag unless etag.nil?
133
- command.query['freeId'] = free_id unless free_id.nil?
134
128
  command.query['validateOnly'] = validate_only unless validate_only.nil?
135
129
  command.query['fields'] = fields unless fields.nil?
136
130
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1040,7 +1034,8 @@ module Google
1040
1034
  execute_or_queue_command(command, &block)
1041
1035
  end
1042
1036
 
1043
- # Listens to changes.
1037
+ # Listens to changes. This method is only available via gRPC or WebChannel (not
1038
+ # REST).
1044
1039
  # @param [String] database
1045
1040
  # Required. The database name. In the format: `projects/`project_id`/databases/`
1046
1041
  # database_id``.
@@ -1273,7 +1268,8 @@ module Google
1273
1268
  execute_or_queue_command(command, &block)
1274
1269
  end
1275
1270
 
1276
- # Streams batches of document updates and deletes, in order.
1271
+ # Streams batches of document updates and deletes, in order. This method is only
1272
+ # available via gRPC or WebChannel (not REST).
1277
1273
  # @param [String] database
1278
1274
  # Required. The database name. In the format: `projects/`project_id`/databases/`
1279
1275
  # database_id``. This is only required in the first message.
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.33.0
4
+ version: 0.35.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-05 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.35.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: []