google-cloud-firestore-v1 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fc7b1061d772309aac4bebedefa816d45e99778f3dbcd49647df48fef278f4b
4
- data.tar.gz: beb8a8743ca3cb8854272d13b8007af61c6a2511d4d7403eb0574b8b22917858
3
+ metadata.gz: dc6cc59ee1cd6fcb3e1191670489901781f9f8cbeffe083cf62eb96fd494fb25
4
+ data.tar.gz: c31933eeb5e1822dc5ef08220dabb5591c18734a959e41be3126ae471ca3dc98
5
5
  SHA512:
6
- metadata.gz: 4ddf4cb3d52602fb8ae5a279755c2959fc8e7fe875d0ed0b1591f47a2ba0b5ebe090f511c981d96afb8fb1542799fae67edc93686e147e54a251c82733fd2ce4
7
- data.tar.gz: 266a6b5243e9effad76151e50996d95949bfbe8c974dc2118a0d139bd7eec366b2ccc77c6eb3da430cacfee6db20e921759ea1519773d7a72ad095712f692c59
6
+ metadata.gz: 5e244be86c8cb73b4995dd6c6ee5e7d59d008f18ce067f120ff90c34cf8ed54a99943a0d6013cae8603078579748a221737f410dcb1c9ba2bd4004d2b490cd31
7
+ data.tar.gz: d60d23d1e1c2285dc113194bfef9d67da2ba529a09329a71294a651abf40dc95f61b827143be6f25b4bf21425d3cf63e07a8fa4b383b3fcc032345d69c1eca22
@@ -75,7 +75,7 @@ module Google
75
75
  initial_delay: 0.1,
76
76
  max_delay: 60.0,
77
77
  multiplier: 1.3,
78
- retry_codes: [14, 13, 4]
78
+ retry_codes: [8, 14, 13, 4]
79
79
  }
80
80
 
81
81
  default_config.rpcs.list_documents.timeout = 60.0
@@ -83,7 +83,7 @@ module Google
83
83
  initial_delay: 0.1,
84
84
  max_delay: 60.0,
85
85
  multiplier: 1.3,
86
- retry_codes: [14, 13, 4]
86
+ retry_codes: [8, 14, 13, 4]
87
87
  }
88
88
 
89
89
  default_config.rpcs.update_document.timeout = 60.0
@@ -91,7 +91,7 @@ module Google
91
91
  initial_delay: 0.1,
92
92
  max_delay: 60.0,
93
93
  multiplier: 1.3,
94
- retry_codes: [14]
94
+ retry_codes: [8, 14]
95
95
  }
96
96
 
97
97
  default_config.rpcs.delete_document.timeout = 60.0
@@ -99,7 +99,7 @@ module Google
99
99
  initial_delay: 0.1,
100
100
  max_delay: 60.0,
101
101
  multiplier: 1.3,
102
- retry_codes: [14, 13, 4]
102
+ retry_codes: [8, 14, 13, 4]
103
103
  }
104
104
 
105
105
  default_config.rpcs.batch_get_documents.timeout = 300.0
@@ -107,7 +107,7 @@ module Google
107
107
  initial_delay: 0.1,
108
108
  max_delay: 60.0,
109
109
  multiplier: 1.3,
110
- retry_codes: [14, 13, 4]
110
+ retry_codes: [8, 14, 13, 4]
111
111
  }
112
112
 
113
113
  default_config.rpcs.begin_transaction.timeout = 60.0
@@ -115,7 +115,7 @@ module Google
115
115
  initial_delay: 0.1,
116
116
  max_delay: 60.0,
117
117
  multiplier: 1.3,
118
- retry_codes: [14, 13, 4]
118
+ retry_codes: [8, 14, 13, 4]
119
119
  }
120
120
 
121
121
  default_config.rpcs.commit.timeout = 60.0
@@ -123,7 +123,7 @@ module Google
123
123
  initial_delay: 0.1,
124
124
  max_delay: 60.0,
125
125
  multiplier: 1.3,
126
- retry_codes: [14]
126
+ retry_codes: [8, 14]
127
127
  }
128
128
 
129
129
  default_config.rpcs.rollback.timeout = 60.0
@@ -131,7 +131,7 @@ module Google
131
131
  initial_delay: 0.1,
132
132
  max_delay: 60.0,
133
133
  multiplier: 1.3,
134
- retry_codes: [14, 13, 4]
134
+ retry_codes: [8, 14, 13, 4]
135
135
  }
136
136
 
137
137
  default_config.rpcs.run_query.timeout = 300.0
@@ -139,7 +139,7 @@ module Google
139
139
  initial_delay: 0.1,
140
140
  max_delay: 60.0,
141
141
  multiplier: 1.3,
142
- retry_codes: [14, 13, 4]
142
+ retry_codes: [8, 14, 13, 4]
143
143
  }
144
144
 
145
145
  default_config.rpcs.partition_query.timeout = 300.0
@@ -147,7 +147,7 @@ module Google
147
147
  initial_delay: 0.1,
148
148
  max_delay: 60.0,
149
149
  multiplier: 1.3,
150
- retry_codes: [14, 13, 4]
150
+ retry_codes: [8, 14, 13, 4]
151
151
  }
152
152
 
153
153
  default_config.rpcs.write.timeout = 86_400.0
@@ -157,7 +157,7 @@ module Google
157
157
  initial_delay: 0.1,
158
158
  max_delay: 60.0,
159
159
  multiplier: 1.3,
160
- retry_codes: [14, 13, 4]
160
+ retry_codes: [8, 14, 13, 4]
161
161
  }
162
162
 
163
163
  default_config.rpcs.list_collection_ids.timeout = 60.0
@@ -165,7 +165,7 @@ module Google
165
165
  initial_delay: 0.1,
166
166
  max_delay: 60.0,
167
167
  multiplier: 1.3,
168
- retry_codes: [14, 13, 4]
168
+ retry_codes: [8, 14, 13, 4]
169
169
  }
170
170
 
171
171
  default_config.rpcs.batch_write.timeout = 60.0
@@ -173,7 +173,7 @@ module Google
173
173
  initial_delay: 0.1,
174
174
  max_delay: 60.0,
175
175
  multiplier: 1.3,
176
- retry_codes: [14, 10]
176
+ retry_codes: [8, 14, 10]
177
177
  }
178
178
 
179
179
  default_config.rpcs.create_document.timeout = 60.0
@@ -181,7 +181,7 @@ module Google
181
181
  initial_delay: 0.1,
182
182
  max_delay: 60.0,
183
183
  multiplier: 1.3,
184
- retry_codes: [14]
184
+ retry_codes: [8, 14]
185
185
  }
186
186
 
187
187
  default_config
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Firestore
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -158,7 +158,8 @@ module Google
158
158
  SERVER_VALUE_UNSPECIFIED = 0
159
159
 
160
160
  # The time at which the server processed the request, with millisecond
161
- # precision.
161
+ # precision. If used on multiple fields (same or different documents) in
162
+ # a transaction, all the fields will get the same server timestamp.
162
163
  REQUEST_TIME = 1
163
164
  end
164
165
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-firestore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
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-03-09 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement