google-apis-bigtableadmin_v2 0.22.0 → 0.25.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: 0723df6ffa6659457d1ae015f930956d3dfabe7dd85b3bf091740de93f43f397
4
- data.tar.gz: dfbe6126ed30471e23b482903e9e54f6c5548141b5bae88440d4bb19cf1a71d7
3
+ metadata.gz: 32edbafd0a705c4575ef6dea07c82ee010c2c03f5b1fe7cd3af71b864eebf07c
4
+ data.tar.gz: 7bdb6e13cfbee87fac8b732999029f68de3793d74c05f0912cb0553fabcc1600
5
5
  SHA512:
6
- metadata.gz: b129bcc900103acfa4c795b467c86b286ed4df94e8dd8d3e72b232920acc5590929560011e3fd587a2312c0d8381a57a69cc9cbe482ff8520eff06d2c86f98bd
7
- data.tar.gz: 3681dd5f780310c99a06d52ff2add1bd7a8dccc87f0b6edd6621103d415769968d6074166ceeb53b8c6815599fc35984a067e8cf187be1b7f437201c6baadcc0
6
+ metadata.gz: 517d37be18cbb519158ded02b62b8bd9c95881fc79984b1042169b64347d22e83b204a18051159fbb935ddab4155c5b5d7cd219d24e88955012dd2728a3a0ded
7
+ data.tar.gz: 4caae0aaa6fd1eabc8513dce1e67f356762260feb97c95c120e40ee9268cf4d6d84f81b3812d98fab4afe21550eaf7a10381c88ba2fd816d47c71221d9feba1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.25.0 (2022-07-17)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.24.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+ * Regenerated from discovery document revision 20220614
12
+
13
+ ### v0.23.0 (2022-06-17)
14
+
15
+ * Regenerated using generator version 0.6.0
16
+
3
17
  ### v0.22.0 (2022-06-06)
4
18
 
5
19
  * Regenerated using generator version 0.5.0
@@ -1196,6 +1196,12 @@ module Google
1196
1196
  # @return [String]
1197
1197
  attr_accessor :name
1198
1198
 
1199
+ # Output only. Reserved for future use.
1200
+ # Corresponds to the JSON property `satisfiesPzs`
1201
+ # @return [Boolean]
1202
+ attr_accessor :satisfies_pzs
1203
+ alias_method :satisfies_pzs?, :satisfies_pzs
1204
+
1199
1205
  # Output only. The current state of the instance.
1200
1206
  # Corresponds to the JSON property `state`
1201
1207
  # @return [String]
@@ -1216,6 +1222,7 @@ module Google
1216
1222
  @display_name = args[:display_name] if args.key?(:display_name)
1217
1223
  @labels = args[:labels] if args.key?(:labels)
1218
1224
  @name = args[:name] if args.key?(:name)
1225
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1219
1226
  @state = args[:state] if args.key?(:state)
1220
1227
  @type = args[:type] if args.key?(:type)
1221
1228
  end
@@ -2282,6 +2289,51 @@ module Google
2282
2289
  end
2283
2290
  end
2284
2291
 
2292
+ # Metadata type for the operation returned by google.bigtable.admin.v2.
2293
+ # BigtableTableAdmin.UndeleteTable.
2294
+ class UndeleteTableMetadata
2295
+ include Google::Apis::Core::Hashable
2296
+
2297
+ # If set, the time at which this operation finished or was cancelled.
2298
+ # Corresponds to the JSON property `endTime`
2299
+ # @return [String]
2300
+ attr_accessor :end_time
2301
+
2302
+ # The name of the table being restored.
2303
+ # Corresponds to the JSON property `name`
2304
+ # @return [String]
2305
+ attr_accessor :name
2306
+
2307
+ # The time at which this operation started.
2308
+ # Corresponds to the JSON property `startTime`
2309
+ # @return [String]
2310
+ attr_accessor :start_time
2311
+
2312
+ def initialize(**args)
2313
+ update!(**args)
2314
+ end
2315
+
2316
+ # Update properties of this object
2317
+ def update!(**args)
2318
+ @end_time = args[:end_time] if args.key?(:end_time)
2319
+ @name = args[:name] if args.key?(:name)
2320
+ @start_time = args[:start_time] if args.key?(:start_time)
2321
+ end
2322
+ end
2323
+
2324
+ # Request message for google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable
2325
+ class UndeleteTableRequest
2326
+ include Google::Apis::Core::Hashable
2327
+
2328
+ def initialize(**args)
2329
+ update!(**args)
2330
+ end
2331
+
2332
+ # Update properties of this object
2333
+ def update!(**args)
2334
+ end
2335
+ end
2336
+
2285
2337
  # A GcRule which deletes cells matching any of the given rules.
2286
2338
  class Union
2287
2339
  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.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220706"
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
 
@@ -741,6 +753,7 @@ module Google
741
753
  property :display_name, as: 'displayName'
742
754
  hash :labels, as: 'labels'
743
755
  property :name, as: 'name'
756
+ property :satisfies_pzs, as: 'satisfiesPzs'
744
757
  property :state, as: 'state'
745
758
  property :type, as: 'type'
746
759
  end
@@ -1037,6 +1050,21 @@ module Google
1037
1050
  end
1038
1051
  end
1039
1052
 
1053
+ class UndeleteTableMetadata
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ property :end_time, as: 'endTime'
1057
+ property :name, as: 'name'
1058
+ property :start_time, as: 'startTime'
1059
+ end
1060
+ end
1061
+
1062
+ class UndeleteTableRequest
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ end
1066
+ end
1067
+
1040
1068
  class Union
1041
1069
  # @private
1042
1070
  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.22.0
4
+ version: 0.25.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-13 00:00:00.000000000 Z
11
+ date: 2022-07-18 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.5'
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.5'
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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.25.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: []