google-apis-firestore_v1beta2 0.18.0 → 0.19.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f300723f34943ad5c3796fda85d1934b2d64c8b3f058b70935664d01f1ff515
|
4
|
+
data.tar.gz: cf09c9f1b1951bf9b649545cf3badbe2a17175e885455480ea9db18363246e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ed99a5fc911e578d7a56ac4e01e8667d308923f868b8df53e816aa74df6efa1aa6cb3bcd7ad049d577a8ebc069894e8108bfd36e61ac55b472ddcac7be1e61
|
7
|
+
data.tar.gz: ce0cbb66a57c1858c4f4b45bb558c9928a06be7ca92363388cd8478b5cf141defbdc175d841d5ef764a7b374e734e2910e2c5d1063d1fb906cb77f47e582e52f
|
data/CHANGELOG.md
CHANGED
@@ -38,6 +38,32 @@ module Google
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
42
|
+
# interpreted based on where Progress is used.
|
43
|
+
class GoogleFirestoreAdminV1Progress
|
44
|
+
include Google::Apis::Core::Hashable
|
45
|
+
|
46
|
+
# The amount of work completed.
|
47
|
+
# Corresponds to the JSON property `completedWork`
|
48
|
+
# @return [Fixnum]
|
49
|
+
attr_accessor :completed_work
|
50
|
+
|
51
|
+
# The amount of work estimated.
|
52
|
+
# Corresponds to the JSON property `estimatedWork`
|
53
|
+
# @return [Fixnum]
|
54
|
+
attr_accessor :estimated_work
|
55
|
+
|
56
|
+
def initialize(**args)
|
57
|
+
update!(**args)
|
58
|
+
end
|
59
|
+
|
60
|
+
# Update properties of this object
|
61
|
+
def update!(**args)
|
62
|
+
@completed_work = args[:completed_work] if args.key?(:completed_work)
|
63
|
+
@estimated_work = args[:estimated_work] if args.key?(:estimated_work)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
41
67
|
# Metadata for the long-running operation from the RestoreDatabase request.
|
42
68
|
class GoogleFirestoreAdminV1RestoreDatabaseMetadata
|
43
69
|
include Google::Apis::Core::Hashable
|
@@ -62,6 +88,12 @@ module Google
|
|
62
88
|
# @return [String]
|
63
89
|
attr_accessor :operation_state
|
64
90
|
|
91
|
+
# Describes the progress of the operation. Unit of work is generic and must be
|
92
|
+
# interpreted based on where Progress is used.
|
93
|
+
# Corresponds to the JSON property `progressPercentage`
|
94
|
+
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress]
|
95
|
+
attr_accessor :progress_percentage
|
96
|
+
|
65
97
|
# The time the restore was started.
|
66
98
|
# Corresponds to the JSON property `startTime`
|
67
99
|
# @return [String]
|
@@ -77,6 +109,7 @@ module Google
|
|
77
109
|
@database = args[:database] if args.key?(:database)
|
78
110
|
@end_time = args[:end_time] if args.key?(:end_time)
|
79
111
|
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
112
|
+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
|
80
113
|
@start_time = args[:start_time] if args.key?(:start_time)
|
81
114
|
end
|
82
115
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirestoreV1beta2
|
18
18
|
# Version of the google-apis-firestore_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.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 = "
|
25
|
+
REVISION = "20230729"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleFirestoreAdminV1Progress
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleFirestoreAdminV1RestoreDatabaseMetadata
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -148,6 +154,14 @@ module Google
|
|
148
154
|
end
|
149
155
|
end
|
150
156
|
|
157
|
+
class GoogleFirestoreAdminV1Progress
|
158
|
+
# @private
|
159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
+
property :completed_work, :numeric_string => true, as: 'completedWork'
|
161
|
+
property :estimated_work, :numeric_string => true, as: 'estimatedWork'
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
151
165
|
class GoogleFirestoreAdminV1RestoreDatabaseMetadata
|
152
166
|
# @private
|
153
167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -155,6 +169,8 @@ module Google
|
|
155
169
|
property :database, as: 'database'
|
156
170
|
property :end_time, as: 'endTime'
|
157
171
|
property :operation_state, as: 'operationState'
|
172
|
+
property :progress_percentage, as: 'progressPercentage', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress::Representation
|
173
|
+
|
158
174
|
property :start_time, as: 'startTime'
|
159
175
|
end
|
160
176
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firestore_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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-
|
11
|
+
date: 2023-08-06 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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta2/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|