google-apis-firestore_v1 0.12.0 → 0.13.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: f5f6c6634a20b3d05e2fd604835a2752cda38ade44a497daa81ec05522edc86f
4
- data.tar.gz: 91e0f7e13c2cf472527cadee2abe4c477ab2659f9786c2b2a2d0729101d420dc
3
+ metadata.gz: 7693463484462f0dc08296f917e5095088bf16ceff21ca8350d014fcf7575ac8
4
+ data.tar.gz: af2cb96e47f966ce9df42f7f391d4d737f7242b9c05e1e212e1a3bb592eeec40
5
5
  SHA512:
6
- metadata.gz: 20b0dde09879676262d0f4e0c2e4008de579cd9221cf4cd617ba58adb595a45d27b11f9a240011955109731c8a6b7cce683a8c5b9968f1aa28f8eb1499c12970
7
- data.tar.gz: 88116d8cbb9a3c43f68e9eef43bc513920780fe064e0077902f37c92640657ea642a9aa7b127fd07c24771041c016684e6c5ee39b8ca3693cac768107ebc307e
6
+ metadata.gz: c0df3527f825e120ceb7f9e9865551f9f44208e9db28664c8ec7960ec68369aacedee96391ab3abe19a0d519436ad76365a5324a583aeed8ba6e22c280763ec9
7
+ data.tar.gz: 0025ae0791bdf2c8ddd32f6ba2ce8b7b44dfeecd95c469196e71fd71a6e19f1e9a990014859dd06152e422bf9a890528f886c2715b82139816cb4f1f7818e02d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.13.0 (2021-10-27)
4
+
5
+ * Regenerated from discovery document revision 20211013
6
+ * Unspecified changes
7
+
3
8
  ### v0.12.0 (2021-10-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20210927
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Firestore service in particular.)
67
67
 
@@ -785,6 +785,18 @@ module Google
785
785
  # @return [String]
786
786
  attr_accessor :concurrency_mode
787
787
 
788
+ # Output only. The earliest timestamp at which older versions of the data can be
789
+ # read from the database. See [version_retention_period] above; this field is
790
+ # populated with `now - version_retention_period`. This value is continuously
791
+ # updated, and becomes stale the moment it is queried. If you are using this
792
+ # value to recover data, make sure to account for the time from the moment when
793
+ # the value is queried to the moment when you initiate the recovery. Note that
794
+ # you should not need to query this field: if you know the `
795
+ # version_retention_period` then you can query within that time.
796
+ # Corresponds to the JSON property `earliestVersionTime`
797
+ # @return [String]
798
+ attr_accessor :earliest_version_time
799
+
788
800
  # This checksum is computed by the server based on the value of other fields,
789
801
  # and may be sent on update and delete requests to ensure the client has an up-
790
802
  # to-date value before proceeding.
@@ -817,6 +829,7 @@ module Google
817
829
  # Update properties of this object
818
830
  def update!(**args)
819
831
  @concurrency_mode = args[:concurrency_mode] if args.key?(:concurrency_mode)
832
+ @earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
820
833
  @etag = args[:etag] if args.key?(:etag)
821
834
  @location_id = args[:location_id] if args.key?(:location_id)
822
835
  @name = args[:name] if args.key?(:name)
@@ -1958,7 +1971,7 @@ module Google
1958
1971
  alias_method :exists?, :exists
1959
1972
 
1960
1973
  # When set, the target document must exist and have been last updated at that
1961
- # time.
1974
+ # time. Timestamp must be microsecond aligned.
1962
1975
  # Corresponds to the JSON property `updateTime`
1963
1976
  # @return [String]
1964
1977
  attr_accessor :update_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.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210927"
25
+ REVISION = "20211013"
26
26
  end
27
27
  end
28
28
  end
@@ -722,6 +722,7 @@ module Google
722
722
  # @private
723
723
  class Representation < Google::Apis::Core::JsonRepresentation
724
724
  property :concurrency_mode, as: 'concurrencyMode'
725
+ property :earliest_version_time, as: 'earliestVersionTime'
725
726
  property :etag, as: 'etag'
726
727
  property :location_id, as: 'locationId'
727
728
  property :name, as: 'name'
@@ -702,7 +702,7 @@ module Google
702
702
  # target document must not exist.
703
703
  # @param [String] current_document_update_time
704
704
  # When set, the target document must exist and have been last updated at that
705
- # time.
705
+ # time. Timestamp must be microsecond aligned.
706
706
  # @param [String] fields
707
707
  # Selector specifying which fields to include in a partial response.
708
708
  # @param [String] quota_user
@@ -955,7 +955,7 @@ module Google
955
955
  # target document must not exist.
956
956
  # @param [String] current_document_update_time
957
957
  # When set, the target document must exist and have been last updated at that
958
- # time.
958
+ # time. Timestamp must be microsecond aligned.
959
959
  # @param [Array<String>, String] mask_field_paths
960
960
  # The list of field paths in the mask. See Document.fields for a field path
961
961
  # syntax reference.
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.12.0
4
+ version: 0.13.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: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firestore_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firestore_v1
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.13.0
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: []
65
65
  require_paths: