google-apis-firestore_v1 0.44.0 → 0.46.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: c7643903f5afae3b1852ae1e87ce6765aacffb431660eb93c001174debcbcc8e
4
- data.tar.gz: 5e787db1095eb8b58bd78c6c69ddf8cee3328c6f87f1ab025905c214b7ba2a73
3
+ metadata.gz: dda98d4d46a50e8b96a99465193ace35c6279253e28bc43b0cc6c0ba4c68948e
4
+ data.tar.gz: 7df1e66a62aa609c09dfab5d18bb91920c6ee10b50fce80eab7f2dd0d672cbe1
5
5
  SHA512:
6
- metadata.gz: 47207d6f0ec793ae280b3a833bf070f644f0431901091c3d859448fd4ea79afd6628ec16f6e479935b855ea94d2487aeb6088cf18b599d570082e8c7c8895602
7
- data.tar.gz: e023b30bd88909a9f5833dc78cb1014bd80b7b808d9d921a4ee36f74ee8b2a8f308782e7cb47aa8d571d12ba70cd7c68ac12ff16c67d51283ddf0afbea5d6665
6
+ metadata.gz: 4da749967eaa5803948df44d2c7dc8489e0d071a3c5f1f5b44363321631868cf345b6df2406db57f726dd0685bca53f180b4167055a36ec948c2f9d620b1d5b9
7
+ data.tar.gz: '037898e10828d2d19fb34a79c432ebf31c14d1922112256720ec40f7d79a311178228c075a7743840ef6d221f2efc04f9fd20466aed234caacd2ec1cf99fa218'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.46.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230629
6
+
7
+ ### v0.45.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230621
10
+
3
11
  ### v0.44.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230611
@@ -1944,6 +1944,49 @@ module Google
1944
1944
  end
1945
1945
  end
1946
1946
 
1947
+ # Metadata for the long-running operation from the RestoreDatabase request.
1948
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
1949
+ include Google::Apis::Core::Hashable
1950
+
1951
+ # The name of the backup restoring from.
1952
+ # Corresponds to the JSON property `backup`
1953
+ # @return [String]
1954
+ attr_accessor :backup
1955
+
1956
+ # The name of the database being restored to.
1957
+ # Corresponds to the JSON property `database`
1958
+ # @return [String]
1959
+ attr_accessor :database
1960
+
1961
+ # The time the restore finished, unset for ongoing restores.
1962
+ # Corresponds to the JSON property `endTime`
1963
+ # @return [String]
1964
+ attr_accessor :end_time
1965
+
1966
+ # The operation state of the restore.
1967
+ # Corresponds to the JSON property `operationState`
1968
+ # @return [String]
1969
+ attr_accessor :operation_state
1970
+
1971
+ # The time the restore was started.
1972
+ # Corresponds to the JSON property `startTime`
1973
+ # @return [String]
1974
+ attr_accessor :start_time
1975
+
1976
+ def initialize(**args)
1977
+ update!(**args)
1978
+ end
1979
+
1980
+ # Update properties of this object
1981
+ def update!(**args)
1982
+ @backup = args[:backup] if args.key?(:backup)
1983
+ @database = args[:database] if args.key?(:database)
1984
+ @end_time = args[:end_time] if args.key?(:end_time)
1985
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
1986
+ @start_time = args[:start_time] if args.key?(:start_time)
1987
+ end
1988
+ end
1989
+
1947
1990
  # The request message for FirestoreAdmin.RestoreDatabase.
1948
1991
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
1949
1992
  include Google::Apis::Core::Hashable
@@ -2690,6 +2733,8 @@ module Google
2690
2733
  end
2691
2734
 
2692
2735
  # Options for a transaction that can be used to read and write documents.
2736
+ # Firestore does not allow 3rd party auth requests to create read-write.
2737
+ # transactions.
2693
2738
  class ReadWrite
2694
2739
  include Google::Apis::Core::Hashable
2695
2740
 
@@ -3174,6 +3219,8 @@ module Google
3174
3219
  attr_accessor :read_only
3175
3220
 
3176
3221
  # Options for a transaction that can be used to read and write documents.
3222
+ # Firestore does not allow 3rd party auth requests to create read-write.
3223
+ # transactions.
3177
3224
  # Corresponds to the JSON property `readWrite`
3178
3225
  # @return [Google::Apis::FirestoreV1::ReadWrite]
3179
3226
  attr_accessor :read_write
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20230611"
25
+ REVISION = "20230629"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -1128,6 +1134,17 @@ module Google
1128
1134
  end
1129
1135
  end
1130
1136
 
1137
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
1138
+ # @private
1139
+ class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :backup, as: 'backup'
1141
+ property :database, as: 'database'
1142
+ property :end_time, as: 'endTime'
1143
+ property :operation_state, as: 'operationState'
1144
+ property :start_time, as: 'startTime'
1145
+ end
1146
+ end
1147
+
1131
1148
  class GoogleFirestoreAdminV1RestoreDatabaseRequest
1132
1149
  # @private
1133
1150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -56,8 +56,10 @@ 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. The value must be set to "(default)"
60
- # .
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.
61
63
  # @param [String] fields
62
64
  # Selector specifying which fields to include in a partial response.
63
65
  # @param [String] quota_user
@@ -552,7 +554,7 @@ module Google
552
554
  # Lists the field configuration and metadata for this database. Currently,
553
555
  # FirestoreAdmin.ListFields only supports listing fields that have been
554
556
  # explicitly overridden. To issue this query, call FirestoreAdmin.ListFields
555
- # with the filter set to `indexConfig.usesAncestorConfig:false` .
557
+ # with the filter set to `indexConfig.usesAncestorConfig:false or `ttlConfig:*`.
556
558
  # @param [String] parent
557
559
  # Required. A parent name of the form `projects/`project_id`/databases/`
558
560
  # database_id`/collectionGroups/`collection_id``
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.44.0
4
+ version: 0.46.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.46.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: []