google-apis-firebasedatabase_v1beta 0.8.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: dc0fe784dbdaca53731d9e7c3f647bd8c51341f815fb17c3739c4feadd090b93
4
- data.tar.gz: d12df925fe6f4ee6cc2393d906cdf0c18498a6464aee877681451e5578519757
3
+ metadata.gz: 5c7004797343a36f41a75b9890f7993debc0463fb8c35e3b5c0cbdfecbed3f50
4
+ data.tar.gz: aaa30c372228f70ae0e985da0e182c417419cd7ba1635689aa45ca0bf5ad9fbf
5
5
  SHA512:
6
- metadata.gz: 85ce7d9666344ea795eb352db597ca4d9f9c8d1c321dfbc3b08b1a1a1266543a15372159659732708c8e96e60cb1b285c98101181c2cbc1ab27c230affcc327b
7
- data.tar.gz: 5f882af26bd6797a785e2e906b0ad9732c89bf5c0ed342ce47865f24bf81e8d83e3c519d83c8cd065b669b0972ac0e7a0178604ad148f0c00b06644e78bc5880
6
+ metadata.gz: c5442826086b3b7b72f5b4ee5f91c4411d17b58e42c3f344467f8c6076790ef97cdf62fc078ece2f72d43680ff4d8a9f565513942b84eb5c430064f6b50f1993
7
+ data.tar.gz: 84f769ac4e1ed13421b2537ed648129e5dccd40773aeeaab5364a047201f7ec061051df7b393834f24aeaee51373269111a603c983d5415d91673b5856281c92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
8
+ ### v0.10.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.9.0 (2021-10-20)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.8.0 (2021-09-01)
4
17
 
5
18
  * Regenerated from discovery document revision 20210809
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/firebasedatabase_v1beta"
51
51
  client = Google::Apis::FirebasedatabaseV1beta::FirebaseRealtimeDatabaseService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Firebasedatabase service in particular.)
67
67
 
@@ -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.8.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.8.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: 2021-09-06 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
@@ -58,9 +58,9 @@ licenses:
58
58
  - Apache-2.0
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasedatabase_v1beta/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedatabase_v1beta/v0.8.0
63
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasedatabase_v1beta
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.11.0
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: []
66
66
  require_paths:
@@ -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.2.17
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