google-apis-firebasedatabase_v1beta 0.9.0 → 0.12.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: 05e7142f35377fcd7a2846006af6ee5900e696c8dae0bf57484745603cb2e038
4
- data.tar.gz: 4311368e2518ec71c15bebdf3fa1b29d5410593594e63ab5503ad3ca91fd311b
3
+ metadata.gz: 49ac1316f1b4b4898ec361f7ce459138ef81a4939061358d672e881fbadfef76
4
+ data.tar.gz: f7855fce523bbb515a00ce245b0acafcda0f129f3afb9e686a1709e8ec520a96
5
5
  SHA512:
6
- metadata.gz: 28e1b10be129dd463fdaa90051b6ec0c6173a69762d850667e0ff9b11446ca1b0dc507df154026c02af2410c7df119083b1d11bd798cbc56e6ac946fd86aca6c
7
- data.tar.gz: 6dec94364550cd385d88ea93f1cbf4f1a73b5ebc966a62fd93736fcecf8d0da89d81f82c239deccac636d46d286b091356f75812be5a05b617cbc7df4eddbcf9
6
+ metadata.gz: 6d6f05782866dad72cd1c53fe7bbaa2ea0a342c190b848659587e461651f5b44d63ac84958bde60f3bf51a56c6b23e65d583a0dee36267d8decc2af261c34e6d
7
+ data.tar.gz: 67410d68de564fa49048364e22adc02ffc5d17210450544f4640f624f108981df824c97290407ac83b8f83a6694b5c39b848549d6398421b2f9024696be74339
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-firebasedatabase_v1beta
2
2
 
3
+ ### v0.12.0 (2022-06-06)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.11.0 (2022-04-02)
9
+
10
+ * Regenerated from discovery document revision 20220330
11
+ * Regenerated using generator version 0.4.1
12
+
13
+ ### v0.10.0 (2021-12-14)
14
+
15
+ * Unspecified changes
16
+
3
17
  ### v0.9.0 (2021-10-20)
4
18
 
5
19
  * Unspecified changes
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.
@@ -28,7 +28,7 @@ module Google
28
28
  class DatabaseInstance
29
29
  include Google::Apis::Core::Hashable
30
30
 
31
- # Immutable. The globally unique hostname of the database.
31
+ # Output only. Output Only. The globally unique hostname of the database.
32
32
  # Corresponds to the JSON property `databaseUrl`
33
33
  # @return [String]
34
34
  attr_accessor :database_url
@@ -39,19 +39,19 @@ module Google
39
39
  # @return [String]
40
40
  attr_accessor :name
41
41
 
42
- # The resource name of the project this instance belongs to. For example: `
43
- # projects/`project-number``.
42
+ # Output only. The resource name of the project this instance belongs to. For
43
+ # example: `projects/`project-number``.
44
44
  # Corresponds to the JSON property `project`
45
45
  # @return [String]
46
46
  attr_accessor :project
47
47
 
48
- # The database's lifecycle state. Read-only.
48
+ # Output only. The database's lifecycle state. Read-only.
49
49
  # Corresponds to the JSON property `state`
50
50
  # @return [String]
51
51
  attr_accessor :state
52
52
 
53
- # The database instance type. On creation only USER_DATABASE is allowed, which
54
- # is also the default when omitted.
53
+ # Immutable. The database instance type. On creation only USER_DATABASE is
54
+ # allowed, which is also the default when omitted.
55
55
  # Corresponds to the JSON property `type`
56
56
  # @return [String]
57
57
  attr_accessor :type
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.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.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210809"
25
+ REVISION = "20220602"
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.9.0
4
+ version: 0.12.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.9.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasedatabase_v1beta/v0.12.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.2.17
79
+ rubygems_version: 3.3.14
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Firebase Realtime Database Management API V1beta