google-apis-firestore_v1beta2 0.17.0 → 0.19.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: '0838dbd5f8cf995cacd74ec3b145195c0098a936f5a45b361f78024772320b4c'
4
- data.tar.gz: 92feafc57425898dada3b8846960c73e6264747d7969374b6a1f74330fcf0fb7
3
+ metadata.gz: 2f300723f34943ad5c3796fda85d1934b2d64c8b3f058b70935664d01f1ff515
4
+ data.tar.gz: cf09c9f1b1951bf9b649545cf3badbe2a17175e885455480ea9db18363246e9b
5
5
  SHA512:
6
- metadata.gz: 2144ee5f49745b0b8a852b6de41b9d0ba121e9151993cfb7448c50adb1a5b9ed853fdbb778567b6bc90c3bbb9ec292af38221186d74df8ea1627d26aa4be83a0
7
- data.tar.gz: 6fb73f016647a229b097367279c1331760550f11572a96eb5fc2b88e6c0b31f54c098cf210e2ee782eb258f3131b23c63723084ef63879484940520a426b7dc2
6
+ metadata.gz: 94ed99a5fc911e578d7a56ac4e01e8667d308923f868b8df53e816aa74df6efa1aa6cb3bcd7ad049d577a8ebc069894e8108bfd36e61ac55b472ddcac7be1e61
7
+ data.tar.gz: ce0cbb66a57c1858c4f4b45bb558c9928a06be7ca92363388cd8478b5cf141defbdc175d841d5ef764a7b374e734e2910e2c5d1063d1fb906cb77f47e582e52f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1beta2
2
2
 
3
+ ### v0.19.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230729
6
+
7
+ ### v0.18.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230621
10
+
3
11
  ### v0.17.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -38,6 +38,82 @@ 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
+
67
+ # Metadata for the long-running operation from the RestoreDatabase request.
68
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
69
+ include Google::Apis::Core::Hashable
70
+
71
+ # The name of the backup restoring from.
72
+ # Corresponds to the JSON property `backup`
73
+ # @return [String]
74
+ attr_accessor :backup
75
+
76
+ # The name of the database being restored to.
77
+ # Corresponds to the JSON property `database`
78
+ # @return [String]
79
+ attr_accessor :database
80
+
81
+ # The time the restore finished, unset for ongoing restores.
82
+ # Corresponds to the JSON property `endTime`
83
+ # @return [String]
84
+ attr_accessor :end_time
85
+
86
+ # The operation state of the restore.
87
+ # Corresponds to the JSON property `operationState`
88
+ # @return [String]
89
+ attr_accessor :operation_state
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
+
97
+ # The time the restore was started.
98
+ # Corresponds to the JSON property `startTime`
99
+ # @return [String]
100
+ attr_accessor :start_time
101
+
102
+ def initialize(**args)
103
+ update!(**args)
104
+ end
105
+
106
+ # Update properties of this object
107
+ def update!(**args)
108
+ @backup = args[:backup] if args.key?(:backup)
109
+ @database = args[:database] if args.key?(:database)
110
+ @end_time = args[:end_time] if args.key?(:end_time)
111
+ @operation_state = args[:operation_state] if args.key?(:operation_state)
112
+ @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
113
+ @start_time = args[:start_time] if args.key?(:start_time)
114
+ end
115
+ end
116
+
41
117
  # Metadata related to the update database operation.
42
118
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
43
119
  include Google::Apis::Core::Hashable
@@ -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.17.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 = "20220319"
25
+ REVISION = "20230729"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,18 @@ 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
+
37
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -142,6 +154,27 @@ module Google
142
154
  end
143
155
  end
144
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
+
165
+ class GoogleFirestoreAdminV1RestoreDatabaseMetadata
166
+ # @private
167
+ class Representation < Google::Apis::Core::JsonRepresentation
168
+ property :backup, as: 'backup'
169
+ property :database, as: 'database'
170
+ property :end_time, as: 'endTime'
171
+ property :operation_state, as: 'operationState'
172
+ property :progress_percentage, as: 'progressPercentage', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1Progress::Representation
173
+
174
+ property :start_time, as: 'startTime'
175
+ end
176
+ end
177
+
145
178
  class GoogleFirestoreAdminV1UpdateDatabaseMetadata
146
179
  # @private
147
180
  class Representation < Google::Apis::Core::JsonRepresentation
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.17.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-02-19 00:00:00.000000000 Z
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.17.0
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: []