google-apis-firebasedatabase_v1beta 0.10.0 → 0.11.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: 5e4ba23954f7c2866a456c21e228675e2a4b9377f306e0e864e787fa9a1db6d2
4
- data.tar.gz: 86c5fc0c779803b377f77cb091f2eda2dbc6f50d8c200a67c4f0319893a65eac
3
+ metadata.gz: 5c7004797343a36f41a75b9890f7993debc0463fb8c35e3b5c0cbdfecbed3f50
4
+ data.tar.gz: aaa30c372228f70ae0e985da0e182c417419cd7ba1635689aa45ca0bf5ad9fbf
5
5
  SHA512:
6
- metadata.gz: 316f1d261e7f977b37e840efa7099862f9d094c4386b32be03064b6123ada1e478b5b73770bd28adf91c6209c604f51ce5ee64521116dc638258dff390324ca9
7
- data.tar.gz: e5e40bb3e40be67bbc4c4e60edd71b25a0a7e6d3038e38f2d3ccbd1bd4ed3d256f8798dd2e6338b8707d765ff8eab000d937a090dd9a2965f9fbf19f2e5b0fd1
6
+ metadata.gz: c5442826086b3b7b72f5b4ee5f91c4411d17b58e42c3f344467f8c6076790ef97cdf62fc078ece2f72d43680ff4d8a9f565513942b84eb5c430064f6b50f1993
7
+ data.tar.gz: 84f769ac4e1ed13421b2537ed648129e5dccd40773aeeaab5364a047201f7ec061051df7b393834f24aeaee51373269111a603c983d5415d91673b5856281c92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firebasedatabase_v1beta
2
2
 
3
+ ### v0.11.0 (2022-04-02)
4
+
5
+ * Regenerated from discovery document revision 20220330
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.10.0 (2021-12-14)
4
9
 
5
10
  * Unspecified changes
@@ -124,6 +124,19 @@ module Google
124
124
  def update!(**args)
125
125
  end
126
126
  end
127
+
128
+ # The request sent to UndeleteDatabaseInstance method.
129
+ class UndeleteDatabaseInstanceRequest
130
+ include Google::Apis::Core::Hashable
131
+
132
+ def initialize(**args)
133
+ update!(**args)
134
+ end
135
+
136
+ # Update properties of this object
137
+ def update!(**args)
138
+ end
139
+ end
127
140
  end
128
141
  end
129
142
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebasedatabaseV1beta
18
18
  # Version of the google-apis-firebasedatabase_v1beta gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210809"
25
+ REVISION = "20220330"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class UndeleteDatabaseInstanceRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class DatabaseInstance
50
56
  # @private
51
57
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -77,6 +83,12 @@ module Google
77
83
  class Representation < Google::Apis::Core::JsonRepresentation
78
84
  end
79
85
  end
86
+
87
+ class UndeleteDatabaseInstanceRequest
88
+ # @private
89
+ class Representation < Google::Apis::Core::JsonRepresentation
90
+ end
91
+ end
80
92
  end
81
93
  end
82
94
  end
@@ -217,6 +217,8 @@ module Google
217
217
  # @param [String] page_token
218
218
  # Token returned from a previous call to `ListDatabaseInstances` indicating
219
219
  # where in the set of database instances to resume listing.
220
+ # @param [Boolean] show_deleted
221
+ # Indicate that DatabaseInstances in the `DELETED` state should also be returned.
220
222
  # @param [String] fields
221
223
  # Selector specifying which fields to include in a partial response.
222
224
  # @param [String] quota_user
@@ -234,13 +236,14 @@ module Google
234
236
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
237
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
238
  # @raise [Google::Apis::AuthorizationError] Authorization is required
237
- def list_project_location_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ def list_project_location_instances(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
238
240
  command = make_simple_command(:get, 'v1beta/{+parent}/instances', options)
239
241
  command.response_representation = Google::Apis::FirebasedatabaseV1beta::ListDatabaseInstancesResponse::Representation
240
242
  command.response_class = Google::Apis::FirebasedatabaseV1beta::ListDatabaseInstancesResponse
241
243
  command.params['parent'] = parent unless parent.nil?
242
244
  command.query['pageSize'] = page_size unless page_size.nil?
243
245
  command.query['pageToken'] = page_token unless page_token.nil?
246
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
244
247
  command.query['fields'] = fields unless fields.nil?
245
248
  command.query['quotaUser'] = quota_user unless quota_user.nil?
246
249
  execute_or_queue_command(command, &block)
@@ -281,6 +284,42 @@ module Google
281
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
282
285
  execute_or_queue_command(command, &block)
283
286
  end
287
+
288
+ # Restores a DatabaseInstance that was previously marked to be deleted. This may
289
+ # only be used on a DatabaseInstance in the DELETED state. Purged
290
+ # DatabaseInstance's may not be recovered.
291
+ # @param [String] name
292
+ # The fully qualified resource name of the database instance, in the form: `
293
+ # projects/`project-number`/locations/`location-id`/instances/`database-id``
294
+ # @param [Google::Apis::FirebasedatabaseV1beta::UndeleteDatabaseInstanceRequest] undelete_database_instance_request_object
295
+ # @param [String] fields
296
+ # Selector specifying which fields to include in a partial response.
297
+ # @param [String] quota_user
298
+ # Available to use for quota purposes for server-side applications. Can be any
299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
300
+ # @param [Google::Apis::RequestOptions] options
301
+ # Request-specific options
302
+ #
303
+ # @yield [result, err] Result & error if block supplied
304
+ # @yieldparam result [Google::Apis::FirebasedatabaseV1beta::DatabaseInstance] parsed result object
305
+ # @yieldparam err [StandardError] error object if request failed
306
+ #
307
+ # @return [Google::Apis::FirebasedatabaseV1beta::DatabaseInstance]
308
+ #
309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
312
+ def undelete_database_instance(name, undelete_database_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
313
+ command = make_simple_command(:post, 'v1beta/{+name}:undelete', options)
314
+ command.request_representation = Google::Apis::FirebasedatabaseV1beta::UndeleteDatabaseInstanceRequest::Representation
315
+ command.request_object = undelete_database_instance_request_object
316
+ command.response_representation = Google::Apis::FirebasedatabaseV1beta::DatabaseInstance::Representation
317
+ command.response_class = Google::Apis::FirebasedatabaseV1beta::DatabaseInstance
318
+ command.params['name'] = name unless name.nil?
319
+ command.query['fields'] = fields unless fields.nil?
320
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
321
+ execute_or_queue_command(command, &block)
322
+ end
284
323
 
285
324
  protected
286
325
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebasedatabase_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasedatabase_v1beta/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedatabase_v1beta/v0.10.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedatabase_v1beta/v0.11.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasedatabase_v1beta
64
64
  post_install_message:
65
65
  rdoc_options: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.3.4
79
+ rubygems_version: 3.3.5
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Firebase Realtime Database Management API V1beta