google-apis-firestore_v1beta2 0.18.0 → 0.20.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: 8dbb42876c4d7573be637384ff5e9eadab1c64d0dd2d30785400fb832de804c8
|
4
|
+
data.tar.gz: adea3897b250559d2e6ca0edee8b97e484940f18003f50c365a0ee3513e62a25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5231bf0cde89fb57c356d49525e5518bf9d64b6ddb41a30a732f699893cfa86a8051ba5eb43d28095b3f8fdde5e1395081ace518a9a9b58d57f9db10c7ba8071
|
7
|
+
data.tar.gz: 1a01307b2ee2897b63c72958f74723ee4f51ffa06484b2f28f23eb006f462281c83ca77ca2330b0d2af6de6e175c7860c5ae09ac675dbc8c9b6731a85a16fd30
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1beta2
|
2
2
|
|
3
|
+
### v0.20.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230806
|
6
|
+
|
7
|
+
### v0.19.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230729
|
10
|
+
|
3
11
|
### v0.18.0 (2023-07-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230621
|
@@ -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
|
@@ -726,13 +759,13 @@ module Google
|
|
726
759
|
# @return [String]
|
727
760
|
attr_accessor :name
|
728
761
|
|
729
|
-
# The normal response of the operation
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
762
|
+
# The normal, successful response of the operation. If the original method
|
763
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
764
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
765
|
+
# response should be the resource. For other methods, the response should have
|
766
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
767
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
768
|
+
# `TakeSnapshotResponse`.
|
736
769
|
# Corresponds to the JSON property `response`
|
737
770
|
# @return [Hash<String,Object>]
|
738
771
|
attr_accessor :response
|
@@ -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.20.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 = "20230806"
|
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.20.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-20 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.20.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: []
|