google-apis-bigtableadmin_v2 0.23.0 → 0.24.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: 9232b6c1951e7d4e3a4185e0392937241bab59ab558bb05e9559992bb13348cb
4
- data.tar.gz: 0d94ca426bc9e34ce3daca57e4d6195eca4d21e75aaff3015aea7b0226e7195b
3
+ metadata.gz: aa19c7f4d3ad0254c262cb95f60dd5456dffa4b3ae29ee4a56eef8f8e8d1fb0b
4
+ data.tar.gz: 962e0cb4b00d68149d65b2b071849a00b3dfe78690b46d7e40713e820cca9d59
5
5
  SHA512:
6
- metadata.gz: a3ca49d75adb086f3671ccd753ad3c3164f381d4f27563e85bb94936d3142837f88c84d71b2edf489fb3e23c5f868624656778468fb05bcdf47d1303e480818a
7
- data.tar.gz: 41f644db95c21f910599879d1a513a95c3e6fc3428e6e5abffa14fb96bec1da8a06dfc1be3862fab87db7b78de98f712b8d8841f9b52b4575f470428330cf331
6
+ metadata.gz: 462396d7280387f4254e08c5be6ec0fd9137dccb851c84ada6077ea91fc8235f8e6c61f12d6b411048616fd5f8bf6bef0a88964ff769313a640d2929922ce7df
7
+ data.tar.gz: 21d9bc48521e90e9ac223cbbe53316c89f0b5896d9ff7157664284c81b520a0e98a6e34e6822da88e726f5185f3c9ce856af2c8614de4c9af71725e39023421b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.24.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220614
7
+
3
8
  ### v0.23.0 (2022-06-17)
4
9
 
5
10
  * Regenerated using generator version 0.6.0
@@ -2282,6 +2282,51 @@ module Google
2282
2282
  end
2283
2283
  end
2284
2284
 
2285
+ # Metadata type for the operation returned by google.bigtable.admin.v2.
2286
+ # BigtableTableAdmin.UndeleteTable.
2287
+ class UndeleteTableMetadata
2288
+ include Google::Apis::Core::Hashable
2289
+
2290
+ # If set, the time at which this operation finished or was cancelled.
2291
+ # Corresponds to the JSON property `endTime`
2292
+ # @return [String]
2293
+ attr_accessor :end_time
2294
+
2295
+ # The name of the table being restored.
2296
+ # Corresponds to the JSON property `name`
2297
+ # @return [String]
2298
+ attr_accessor :name
2299
+
2300
+ # The time at which this operation started.
2301
+ # Corresponds to the JSON property `startTime`
2302
+ # @return [String]
2303
+ attr_accessor :start_time
2304
+
2305
+ def initialize(**args)
2306
+ update!(**args)
2307
+ end
2308
+
2309
+ # Update properties of this object
2310
+ def update!(**args)
2311
+ @end_time = args[:end_time] if args.key?(:end_time)
2312
+ @name = args[:name] if args.key?(:name)
2313
+ @start_time = args[:start_time] if args.key?(:start_time)
2314
+ end
2315
+ end
2316
+
2317
+ # Request message for google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable
2318
+ class UndeleteTableRequest
2319
+ include Google::Apis::Core::Hashable
2320
+
2321
+ def initialize(**args)
2322
+ update!(**args)
2323
+ end
2324
+
2325
+ # Update properties of this object
2326
+ def update!(**args)
2327
+ end
2328
+ end
2329
+
2285
2330
  # A GcRule which deletes cells matching any of the given rules.
2286
2331
  class Union
2287
2332
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigtableadminV2
18
18
  # Version of the google-apis-bigtableadmin_v2 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220614"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,18 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class UndeleteTableMetadata
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class UndeleteTableRequest
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class Union
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -1037,6 +1049,21 @@ module Google
1037
1049
  end
1038
1050
  end
1039
1051
 
1052
+ class UndeleteTableMetadata
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ property :end_time, as: 'endTime'
1056
+ property :name, as: 'name'
1057
+ property :start_time, as: 'startTime'
1058
+ end
1059
+ end
1060
+
1061
+ class UndeleteTableRequest
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ end
1065
+ end
1066
+
1040
1067
  class Union
1041
1068
  # @private
1042
1069
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,6 +1756,40 @@ module Google
1756
1756
  execute_or_queue_command(command, &block)
1757
1757
  end
1758
1758
 
1759
+ # Restores a specified table which was accidentally deleted.
1760
+ # @param [String] name
1761
+ # Required. The unique name of the table to be restored. Values are of the form `
1762
+ # projects/`project`/instances/`instance`/tables/`table``.
1763
+ # @param [Google::Apis::BigtableadminV2::UndeleteTableRequest] undelete_table_request_object
1764
+ # @param [String] fields
1765
+ # Selector specifying which fields to include in a partial response.
1766
+ # @param [String] quota_user
1767
+ # Available to use for quota purposes for server-side applications. Can be any
1768
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1769
+ # @param [Google::Apis::RequestOptions] options
1770
+ # Request-specific options
1771
+ #
1772
+ # @yield [result, err] Result & error if block supplied
1773
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1774
+ # @yieldparam err [StandardError] error object if request failed
1775
+ #
1776
+ # @return [Google::Apis::BigtableadminV2::Operation]
1777
+ #
1778
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1779
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1780
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1781
+ def undelete_table(name, undelete_table_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1782
+ command = make_simple_command(:post, 'v2/{+name}:undelete', options)
1783
+ command.request_representation = Google::Apis::BigtableadminV2::UndeleteTableRequest::Representation
1784
+ command.request_object = undelete_table_request_object
1785
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1786
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1787
+ command.params['name'] = name unless name.nil?
1788
+ command.query['fields'] = fields unless fields.nil?
1789
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1790
+ execute_or_queue_command(command, &block)
1791
+ end
1792
+
1759
1793
  # Gets information about a location.
1760
1794
  # @param [String] name
1761
1795
  # Resource name for the location.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-bigtableadmin_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
63
63
  post_install_message:
64
64
  rdoc_options: []