google-apis-bigtableadmin_v2 0.70.0 → 0.72.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: 420524c9f42c17cb7f555f44b19b9aace4f7b8c539d5822cd0bf8651e018ad0b
4
- data.tar.gz: 6faa138d0a6d8c79115b2faa4792c82c491330db04c74ae3b3647d02542672d8
3
+ metadata.gz: 59db88cbfd62e56ebd22c890f31e9435625a0ddcc1a5ac7028cd3f707c5c9744
4
+ data.tar.gz: b609a7256de85855224f1712bf13cc8eccf8dd32f3819e5065e04911418afeef
5
5
  SHA512:
6
- metadata.gz: e39db64f451851adb14894feba5caddac5c5b959f68d7333b48f73b6737bdf1b83e291ac2af81da328dde95ad7d608b90326bc90a5c0a8e5f4d6a19f0b6dad68
7
- data.tar.gz: 571646ea944b89a3d0c47e9ddcc7f328d48d661d0cb3d7d0265d0e9ec595c03b8516da1150e85bedf152cd936b0ed9f13b4f011f6d567a1f9f8eb1f33c0fd60b
6
+ metadata.gz: 5020f1b5ee99280158ec584b7f15f515ad04cd0ef869f93ce8f98c1f0d6ded91908d93926712050c5113ce5a8a8dadce099c95f9dc2cda9f2ad4a5b5d504b179
7
+ data.tar.gz: 9f6654739f6e49873ec67d87912cccd0a5bc8f54e3f99aa0483256a19261ffe8693cffc50b1e04fbce9147a13736b608eceb42456190de6335be3e5c1d327392
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.72.0 (2025-06-22)
4
+
5
+ * Regenerated from discovery document revision 20250610
6
+
7
+ ### v0.71.0 (2025-05-25)
8
+
9
+ * Regenerated from discovery document revision 20250512
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.70.0 (2025-05-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20250430
@@ -3884,6 +3884,13 @@ module Google
3884
3884
  # @return [Google::Apis::BigtableadminV2::TableStats]
3885
3885
  attr_accessor :stats
3886
3886
 
3887
+ # Config for tiered storage. A valid config must have a valid TieredStorageRule.
3888
+ # Otherwise the whole TieredStorageConfig must be unset. By default all data is
3889
+ # stored in the SSD tier (only SSD instances can configure tiered storage).
3890
+ # Corresponds to the JSON property `tieredStorageConfig`
3891
+ # @return [Google::Apis::BigtableadminV2::TieredStorageConfig]
3892
+ attr_accessor :tiered_storage_config
3893
+
3887
3894
  def initialize(**args)
3888
3895
  update!(**args)
3889
3896
  end
@@ -3900,6 +3907,7 @@ module Google
3900
3907
  @restore_info = args[:restore_info] if args.key?(:restore_info)
3901
3908
  @row_key_schema = args[:row_key_schema] if args.key?(:row_key_schema)
3902
3909
  @stats = args[:stats] if args.key?(:stats)
3910
+ @tiered_storage_config = args[:tiered_storage_config] if args.key?(:tiered_storage_config)
3903
3911
  end
3904
3912
  end
3905
3913
 
@@ -4027,6 +4035,47 @@ module Google
4027
4035
  end
4028
4036
  end
4029
4037
 
4038
+ # Config for tiered storage. A valid config must have a valid TieredStorageRule.
4039
+ # Otherwise the whole TieredStorageConfig must be unset. By default all data is
4040
+ # stored in the SSD tier (only SSD instances can configure tiered storage).
4041
+ class TieredStorageConfig
4042
+ include Google::Apis::Core::Hashable
4043
+
4044
+ # Rule to specify what data is stored in a storage tier.
4045
+ # Corresponds to the JSON property `infrequentAccess`
4046
+ # @return [Google::Apis::BigtableadminV2::TieredStorageRule]
4047
+ attr_accessor :infrequent_access
4048
+
4049
+ def initialize(**args)
4050
+ update!(**args)
4051
+ end
4052
+
4053
+ # Update properties of this object
4054
+ def update!(**args)
4055
+ @infrequent_access = args[:infrequent_access] if args.key?(:infrequent_access)
4056
+ end
4057
+ end
4058
+
4059
+ # Rule to specify what data is stored in a storage tier.
4060
+ class TieredStorageRule
4061
+ include Google::Apis::Core::Hashable
4062
+
4063
+ # Include cells older than the given age. For the infrequent access tier, this
4064
+ # value must be at least 30 days.
4065
+ # Corresponds to the JSON property `includeIfOlderThan`
4066
+ # @return [String]
4067
+ attr_accessor :include_if_older_than
4068
+
4069
+ def initialize(**args)
4070
+ update!(**args)
4071
+ end
4072
+
4073
+ # Update properties of this object
4074
+ def update!(**args)
4075
+ @include_if_older_than = args[:include_if_older_than] if args.key?(:include_if_older_than)
4076
+ end
4077
+ end
4078
+
4030
4079
  # `Type` represents the type of data that is written to, read from, or stored in
4031
4080
  # Bigtable. It is heavily based on the GoogleSQL standard to help maintain
4032
4081
  # familiarity and consistency across products and features. For compatibility
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250430"
25
+ REVISION = "20250610"
26
26
  end
27
27
  end
28
28
  end
@@ -736,6 +736,18 @@ module Google
736
736
  include Google::Apis::Core::JsonObjectSupport
737
737
  end
738
738
 
739
+ class TieredStorageConfig
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class TieredStorageRule
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
739
751
  class Type
740
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
753
 
@@ -1869,6 +1881,8 @@ module Google
1869
1881
 
1870
1882
  property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::TableStats, decorator: Google::Apis::BigtableadminV2::TableStats::Representation
1871
1883
 
1884
+ property :tiered_storage_config, as: 'tieredStorageConfig', class: Google::Apis::BigtableadminV2::TieredStorageConfig, decorator: Google::Apis::BigtableadminV2::TieredStorageConfig::Representation
1885
+
1872
1886
  end
1873
1887
  end
1874
1888
 
@@ -1905,6 +1919,21 @@ module Google
1905
1919
  end
1906
1920
  end
1907
1921
 
1922
+ class TieredStorageConfig
1923
+ # @private
1924
+ class Representation < Google::Apis::Core::JsonRepresentation
1925
+ property :infrequent_access, as: 'infrequentAccess', class: Google::Apis::BigtableadminV2::TieredStorageRule, decorator: Google::Apis::BigtableadminV2::TieredStorageRule::Representation
1926
+
1927
+ end
1928
+ end
1929
+
1930
+ class TieredStorageRule
1931
+ # @private
1932
+ class Representation < Google::Apis::Core::JsonRepresentation
1933
+ property :include_if_older_than, as: 'includeIfOlderThan'
1934
+ end
1935
+ end
1936
+
1908
1937
  class Type
1909
1938
  # @private
1910
1939
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,76 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Starts asynchronous cancellation on a long-running operation. The server makes
55
+ # a best effort to cancel the operation, but success is not guaranteed. If the
56
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
57
+ # Clients can use Operations.GetOperation or other methods to check whether the
58
+ # cancellation succeeded or whether the operation completed despite cancellation.
59
+ # On successful cancellation, the operation is not deleted; instead, it becomes
60
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
61
+ # , corresponding to `Code.CANCELLED`.
62
+ # @param [String] name
63
+ # The name of the operation resource to be cancelled.
64
+ # @param [String] fields
65
+ # Selector specifying which fields to include in a partial response.
66
+ # @param [String] quota_user
67
+ # Available to use for quota purposes for server-side applications. Can be any
68
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
69
+ # @param [Google::Apis::RequestOptions] options
70
+ # Request-specific options
71
+ #
72
+ # @yield [result, err] Result & error if block supplied
73
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
74
+ # @yieldparam err [StandardError] error object if request failed
75
+ #
76
+ # @return [Google::Apis::BigtableadminV2::Empty]
77
+ #
78
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
81
+ def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
82
+ command = make_simple_command(:post, 'v2/{+name}:cancel', options)
83
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
84
+ command.response_class = Google::Apis::BigtableadminV2::Empty
85
+ command.params['name'] = name unless name.nil?
86
+ command.query['fields'] = fields unless fields.nil?
87
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
88
+ execute_or_queue_command(command, &block)
89
+ end
90
+
91
+ # Deletes a long-running operation. This method indicates that the client is no
92
+ # longer interested in the operation result. It does not cancel the operation.
93
+ # If the server doesn't support this method, it returns `google.rpc.Code.
94
+ # UNIMPLEMENTED`.
95
+ # @param [String] name
96
+ # The name of the operation resource to be deleted.
97
+ # @param [String] fields
98
+ # Selector specifying which fields to include in a partial response.
99
+ # @param [String] quota_user
100
+ # Available to use for quota purposes for server-side applications. Can be any
101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
102
+ # @param [Google::Apis::RequestOptions] options
103
+ # Request-specific options
104
+ #
105
+ # @yield [result, err] Result & error if block supplied
106
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::BigtableadminV2::Empty]
110
+ #
111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
114
+ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
115
+ command = make_simple_command(:delete, 'v2/{+name}', options)
116
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
117
+ command.response_class = Google::Apis::BigtableadminV2::Empty
118
+ command.params['name'] = name unless name.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
123
+
54
124
  # Gets the latest state of a long-running operation. Clients can use this method
55
125
  # to poll the operation result at intervals as recommended by the API service.
56
126
  # @param [String] name
@@ -2695,6 +2765,36 @@ module Google
2695
2765
  execute_or_queue_command(command, &block)
2696
2766
  end
2697
2767
 
2768
+ # Gets information about a location.
2769
+ # @param [String] name
2770
+ # Resource name for the location.
2771
+ # @param [String] fields
2772
+ # Selector specifying which fields to include in a partial response.
2773
+ # @param [String] quota_user
2774
+ # Available to use for quota purposes for server-side applications. Can be any
2775
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2776
+ # @param [Google::Apis::RequestOptions] options
2777
+ # Request-specific options
2778
+ #
2779
+ # @yield [result, err] Result & error if block supplied
2780
+ # @yieldparam result [Google::Apis::BigtableadminV2::Location] parsed result object
2781
+ # @yieldparam err [StandardError] error object if request failed
2782
+ #
2783
+ # @return [Google::Apis::BigtableadminV2::Location]
2784
+ #
2785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2788
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
2789
+ command = make_simple_command(:get, 'v2/{+name}', options)
2790
+ command.response_representation = Google::Apis::BigtableadminV2::Location::Representation
2791
+ command.response_class = Google::Apis::BigtableadminV2::Location
2792
+ command.params['name'] = name unless name.nil?
2793
+ command.query['fields'] = fields unless fields.nil?
2794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2795
+ execute_or_queue_command(command, &block)
2796
+ end
2797
+
2698
2798
  # Lists information about the supported locations for this service.
2699
2799
  # @param [String] name
2700
2800
  # The resource that owns the locations collection, if applicable.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.72.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Bigtable Admin API V2
79
79
  test_files: []