google-apis-bigtableadmin_v2 0.83.0 → 0.85.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: fdfb68e280b3c7806fcfeaf163eeef5d2fad2bf3d138a6f673394760cec64421
4
- data.tar.gz: c66e199248fc6932b717463323cab6e385360d87acff1aa8d41f0ec6970376ba
3
+ metadata.gz: 9abd9aeac320e36af55e14c09c7ad6bfa11c28716d5a72f08163150f877a5c15
4
+ data.tar.gz: e52f111a7135f72dc41ebc52785e17b8112e4d469a74d0b60e1b6e1961cde5c7
5
5
  SHA512:
6
- metadata.gz: 89053232b603052e8fb5b61211e241a892d2c7cd3f3ada4da3e4a40e047527a927f1021db6b7e2f1659a90dde23abfe2c0ae1bf82f3b0dd4aa7e49aa5ec5b308
7
- data.tar.gz: 804fb2bd3ba45ef00dff45b7db2795bc2e9f665cfa6d86991cb4bcc57e713198dade4de2ef2e8bd7dd86c9c44b2029382646b73e6e3ec227bf49647436128e04
6
+ metadata.gz: 791b675707306232fc1f063898f62b18156af20fa41bc11d1888b3611165a14f21dbcc5ba7a7438f59e5d09b2970e5e18452d4fc1043d5b4ec7e2db565eb5a85
7
+ data.tar.gz: 279d2bd5000739ff3d08fb8ba9fd729a0f7de089ba1bcc5888570b784df23ecfe59e349bb016f2e4ba5e011059a20086d364d9a5a21045adc8888ba0e28258ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.85.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260331
6
+
7
+ ### v0.84.0 (2026-03-15)
8
+
9
+ * Regenerated from discovery document revision 20260307
10
+
3
11
  ### v0.83.0 (2026-03-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260225
@@ -42,8 +42,8 @@ module Google
42
42
 
43
43
  # Strongly validated etag for optimistic concurrency control. Preserve the value
44
44
  # returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the
45
- # request if there has been a modification in the mean time. The `update_mask`
46
- # of the request need not include `etag` for this protection to apply. See [
45
+ # request if there has been a modification in the meantime. The `update_mask` of
46
+ # the request need not include `etag` for this protection to apply. See [
47
47
  # Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https://
48
48
  # tools.ietf.org/html/rfc7232#section-2.3) for more details.
49
49
  # Corresponds to the JSON property `etag`
@@ -224,6 +224,14 @@ module Google
224
224
  # @return [String]
225
225
  attr_accessor :frequency
226
226
 
227
+ # Optional. A list of Cloud Bigtable zones where automated backups are allowed
228
+ # to be created. If empty, automated backups will be created in all zones of the
229
+ # instance. Locations are in the format `projects/`project`/locations/`zone``.
230
+ # This field can only set for tables in Enterprise Plus instances.
231
+ # Corresponds to the JSON property `locations`
232
+ # @return [Array<String>]
233
+ attr_accessor :locations
234
+
227
235
  # Required. How long the automated backups should be retained. Values must be at
228
236
  # least 3 days and at most 90 days.
229
237
  # Corresponds to the JSON property `retentionPeriod`
@@ -237,6 +245,7 @@ module Google
237
245
  # Update properties of this object
238
246
  def update!(**args)
239
247
  @frequency = args[:frequency] if args.key?(:frequency)
248
+ @locations = args[:locations] if args.key?(:locations)
240
249
  @retention_period = args[:retention_period] if args.key?(:retention_period)
241
250
  end
242
251
  end
@@ -1822,6 +1831,25 @@ module Google
1822
1831
  end
1823
1832
  end
1824
1833
 
1834
+ # Configuration of a memory layer.
1835
+ class GoogleBigtableAdminV2MemoryLayerMemoryConfig
1836
+ include Google::Apis::Core::Hashable
1837
+
1838
+ # Output only. Reporting the current size of the memory layer in GiB.
1839
+ # Corresponds to the JSON property `storageSizeGib`
1840
+ # @return [Fixnum]
1841
+ attr_accessor :storage_size_gib
1842
+
1843
+ def initialize(**args)
1844
+ update!(**args)
1845
+ end
1846
+
1847
+ # Update properties of this object
1848
+ def update!(**args)
1849
+ @storage_size_gib = args[:storage_size_gib] if args.key?(:storage_size_gib)
1850
+ end
1851
+ end
1852
+
1825
1853
  # A value that combines incremental updates into a summarized value. Data is
1826
1854
  # never directly written or read using type `Aggregate`. Writes provide either
1827
1855
  # the `input_type` or `state_type`, and reads always return the `state_type` .
@@ -2008,6 +2036,25 @@ module Google
2008
2036
  class GoogleBigtableAdminV2TypeBool
2009
2037
  include Google::Apis::Core::Hashable
2010
2038
 
2039
+ # Defines rules used to convert to or from lower level types.
2040
+ # Corresponds to the JSON property `encoding`
2041
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBoolEncoding]
2042
+ attr_accessor :encoding
2043
+
2044
+ def initialize(**args)
2045
+ update!(**args)
2046
+ end
2047
+
2048
+ # Update properties of this object
2049
+ def update!(**args)
2050
+ @encoding = args[:encoding] if args.key?(:encoding)
2051
+ end
2052
+ end
2053
+
2054
+ # Defines rules used to convert to or from lower level types.
2055
+ class GoogleBigtableAdminV2TypeBoolEncoding
2056
+ include Google::Apis::Core::Hashable
2057
+
2011
2058
  def initialize(**args)
2012
2059
  update!(**args)
2013
2060
  end
@@ -2158,6 +2205,86 @@ module Google
2158
2205
  end
2159
2206
  end
2160
2207
 
2208
+ # Int32 Values of type `Int32` are stored in `Value.int_value`.
2209
+ class GoogleBigtableAdminV2TypeInt32
2210
+ include Google::Apis::Core::Hashable
2211
+
2212
+ # Rules used to convert to or from lower level types.
2213
+ # Corresponds to the JSON property `encoding`
2214
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32Encoding]
2215
+ attr_accessor :encoding
2216
+
2217
+ def initialize(**args)
2218
+ update!(**args)
2219
+ end
2220
+
2221
+ # Update properties of this object
2222
+ def update!(**args)
2223
+ @encoding = args[:encoding] if args.key?(:encoding)
2224
+ end
2225
+ end
2226
+
2227
+ # Rules used to convert to or from lower level types.
2228
+ class GoogleBigtableAdminV2TypeInt32Encoding
2229
+ include Google::Apis::Core::Hashable
2230
+
2231
+ # Encodes the value as a 4-byte big-endian two's complement value. Sorted mode:
2232
+ # non-negative values are supported. Distinct mode: all values are supported.
2233
+ # Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `
2234
+ # ByteBuffer.putInt()` with `ByteOrder.BIG_ENDIAN`
2235
+ # Corresponds to the JSON property `bigEndianBytes`
2236
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes]
2237
+ attr_accessor :big_endian_bytes
2238
+
2239
+ # Encodes the value in a variable length binary format of up to 5 bytes. Values
2240
+ # that are closer to zero use fewer bytes. Sorted mode: all values are supported.
2241
+ # Distinct mode: all values are supported.
2242
+ # Corresponds to the JSON property `orderedCodeBytes`
2243
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes]
2244
+ attr_accessor :ordered_code_bytes
2245
+
2246
+ def initialize(**args)
2247
+ update!(**args)
2248
+ end
2249
+
2250
+ # Update properties of this object
2251
+ def update!(**args)
2252
+ @big_endian_bytes = args[:big_endian_bytes] if args.key?(:big_endian_bytes)
2253
+ @ordered_code_bytes = args[:ordered_code_bytes] if args.key?(:ordered_code_bytes)
2254
+ end
2255
+ end
2256
+
2257
+ # Encodes the value as a 4-byte big-endian two's complement value. Sorted mode:
2258
+ # non-negative values are supported. Distinct mode: all values are supported.
2259
+ # Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `
2260
+ # ByteBuffer.putInt()` with `ByteOrder.BIG_ENDIAN`
2261
+ class GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes
2262
+ include Google::Apis::Core::Hashable
2263
+
2264
+ def initialize(**args)
2265
+ update!(**args)
2266
+ end
2267
+
2268
+ # Update properties of this object
2269
+ def update!(**args)
2270
+ end
2271
+ end
2272
+
2273
+ # Encodes the value in a variable length binary format of up to 5 bytes. Values
2274
+ # that are closer to zero use fewer bytes. Sorted mode: all values are supported.
2275
+ # Distinct mode: all values are supported.
2276
+ class GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes
2277
+ include Google::Apis::Core::Hashable
2278
+
2279
+ def initialize(**args)
2280
+ update!(**args)
2281
+ end
2282
+
2283
+ # Update properties of this object
2284
+ def update!(**args)
2285
+ end
2286
+ end
2287
+
2161
2288
  # Int64 Values of type `Int64` are stored in `Value.int_value`.
2162
2289
  class GoogleBigtableAdminV2TypeInt64
2163
2290
  include Google::Apis::Core::Hashable
@@ -2749,6 +2876,11 @@ module Google
2749
2876
  # @return [String]
2750
2877
  attr_accessor :display_name
2751
2878
 
2879
+ # Optional. The edition of the instance. See Edition for details.
2880
+ # Corresponds to the JSON property `edition`
2881
+ # @return [String]
2882
+ attr_accessor :edition
2883
+
2752
2884
  # Labels are a flexible and lightweight mechanism for organizing cloud resources
2753
2885
  # into groups that reflect a customer's organizational needs and deployment
2754
2886
  # strategies. They can be used to filter resources and aggregate metrics. *
@@ -2807,6 +2939,7 @@ module Google
2807
2939
  def update!(**args)
2808
2940
  @create_time = args[:create_time] if args.key?(:create_time)
2809
2941
  @display_name = args[:display_name] if args.key?(:display_name)
2942
+ @edition = args[:edition] if args.key?(:edition)
2810
2943
  @labels = args[:labels] if args.key?(:labels)
2811
2944
  @name = args[:name] if args.key?(:name)
2812
2945
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -3099,6 +3232,41 @@ module Google
3099
3232
  end
3100
3233
  end
3101
3234
 
3235
+ # Response message for BigtableInstanceAdmin.ListMemoryLayers.
3236
+ class ListMemoryLayersResponse
3237
+ include Google::Apis::Core::Hashable
3238
+
3239
+ # Locations from which MemoryLayer information could not be retrieved, due to an
3240
+ # outage or some other transient condition. MemoryLayers from these locations
3241
+ # may be missing from `memory_layers`, or may only have partial information
3242
+ # returned. Values are of the form `projects//locations/`
3243
+ # Corresponds to the JSON property `failedLocations`
3244
+ # @return [Array<String>]
3245
+ attr_accessor :failed_locations
3246
+
3247
+ # The list of requested memory layers.
3248
+ # Corresponds to the JSON property `memoryLayers`
3249
+ # @return [Array<Google::Apis::BigtableadminV2::MemoryLayer>]
3250
+ attr_accessor :memory_layers
3251
+
3252
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3253
+ # field is omitted, there are no subsequent pages.
3254
+ # Corresponds to the JSON property `nextPageToken`
3255
+ # @return [String]
3256
+ attr_accessor :next_page_token
3257
+
3258
+ def initialize(**args)
3259
+ update!(**args)
3260
+ end
3261
+
3262
+ # Update properties of this object
3263
+ def update!(**args)
3264
+ @failed_locations = args[:failed_locations] if args.key?(:failed_locations)
3265
+ @memory_layers = args[:memory_layers] if args.key?(:memory_layers)
3266
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3267
+ end
3268
+ end
3269
+
3102
3270
  # The response message for Operations.ListOperations.
3103
3271
  class ListOperationsResponse
3104
3272
  include Google::Apis::Core::Hashable
@@ -3328,6 +3496,63 @@ module Google
3328
3496
  end
3329
3497
  end
3330
3498
 
3499
+ # If set, eligible single-row requests (currently limited to ReadRows) using
3500
+ # this app profile will be routed to the memory layer. All eligible writes
3501
+ # populate the memory layer. MemoryConfig can only be set if the AppProfile uses
3502
+ # single cluster routing and the configured cluster has a memory layer enabled.
3503
+ class MemoryConfig
3504
+ include Google::Apis::Core::Hashable
3505
+
3506
+ def initialize(**args)
3507
+ update!(**args)
3508
+ end
3509
+
3510
+ # Update properties of this object
3511
+ def update!(**args)
3512
+ end
3513
+ end
3514
+
3515
+ # The memory layer of a cluster. A memory layer serves reads from memory without
3516
+ # hitting the backing persistent data store.
3517
+ class MemoryLayer
3518
+ include Google::Apis::Core::Hashable
3519
+
3520
+ # Optional. The etag for this memory layer. This may be sent on update requests
3521
+ # to ensure that the client has an up-to-date value before proceeding. The
3522
+ # server returns an ABORTED error on a mismatched etag.
3523
+ # Corresponds to the JSON property `etag`
3524
+ # @return [String]
3525
+ attr_accessor :etag
3526
+
3527
+ # Configuration of a memory layer.
3528
+ # Corresponds to the JSON property `memoryConfig`
3529
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2MemoryLayerMemoryConfig]
3530
+ attr_accessor :memory_config
3531
+
3532
+ # Identifier. Name of the memory layer. This is always: "projects/`project`/
3533
+ # instances/`instance`/clusters/`cluster`/memoryLayer".
3534
+ # Corresponds to the JSON property `name`
3535
+ # @return [String]
3536
+ attr_accessor :name
3537
+
3538
+ # Output only. The current state of the memory layer.
3539
+ # Corresponds to the JSON property `state`
3540
+ # @return [String]
3541
+ attr_accessor :state
3542
+
3543
+ def initialize(**args)
3544
+ update!(**args)
3545
+ end
3546
+
3547
+ # Update properties of this object
3548
+ def update!(**args)
3549
+ @etag = args[:etag] if args.key?(:etag)
3550
+ @memory_config = args[:memory_config] if args.key?(:memory_config)
3551
+ @name = args[:name] if args.key?(:name)
3552
+ @state = args[:state] if args.key?(:state)
3553
+ end
3554
+ end
3555
+
3331
3556
  # A create, update, or delete of a particular column family.
3332
3557
  class Modification
3333
3558
  include Google::Apis::Core::Hashable
@@ -4040,6 +4265,14 @@ module Google
4040
4265
  class StandardIsolation
4041
4266
  include Google::Apis::Core::Hashable
4042
4267
 
4268
+ # If set, eligible single-row requests (currently limited to ReadRows) using
4269
+ # this app profile will be routed to the memory layer. All eligible writes
4270
+ # populate the memory layer. MemoryConfig can only be set if the AppProfile uses
4271
+ # single cluster routing and the configured cluster has a memory layer enabled.
4272
+ # Corresponds to the JSON property `memoryConfig`
4273
+ # @return [Google::Apis::BigtableadminV2::MemoryConfig]
4274
+ attr_accessor :memory_config
4275
+
4043
4276
  # The priority of requests sent using this app profile.
4044
4277
  # Corresponds to the JSON property `priority`
4045
4278
  # @return [String]
@@ -4051,6 +4284,7 @@ module Google
4051
4284
 
4052
4285
  # Update properties of this object
4053
4286
  def update!(**args)
4287
+ @memory_config = args[:memory_config] if args.key?(:memory_config)
4054
4288
  @priority = args[:priority] if args.key?(:priority)
4055
4289
  end
4056
4290
  end
@@ -4443,6 +4677,11 @@ module Google
4443
4677
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeGeography]
4444
4678
  attr_accessor :geography_type
4445
4679
 
4680
+ # Int32 Values of type `Int32` are stored in `Value.int_value`.
4681
+ # Corresponds to the JSON property `int32Type`
4682
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32]
4683
+ attr_accessor :int32_type
4684
+
4446
4685
  # Int64 Values of type `Int64` are stored in `Value.int_value`.
4447
4686
  # Corresponds to the JSON property `int64Type`
4448
4687
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64]
@@ -4496,6 +4735,7 @@ module Google
4496
4735
  @float32_type = args[:float32_type] if args.key?(:float32_type)
4497
4736
  @float64_type = args[:float64_type] if args.key?(:float64_type)
4498
4737
  @geography_type = args[:geography_type] if args.key?(:geography_type)
4738
+ @int32_type = args[:int32_type] if args.key?(:int32_type)
4499
4739
  @int64_type = args[:int64_type] if args.key?(:int64_type)
4500
4740
  @map_type = args[:map_type] if args.key?(:map_type)
4501
4741
  @proto_type = args[:proto_type] if args.key?(:proto_type)
@@ -4794,6 +5034,63 @@ module Google
4794
5034
  end
4795
5035
  end
4796
5036
 
5037
+ # The metadata for the Operation returned by UpdateMemoryLayer.
5038
+ class UpdateMemoryLayerMetadata
5039
+ include Google::Apis::Core::Hashable
5040
+
5041
+ # The time at which the operation failed or was completed successfully.
5042
+ # Corresponds to the JSON property `finishTime`
5043
+ # @return [String]
5044
+ attr_accessor :finish_time
5045
+
5046
+ # Request message for BigtableInstanceAdmin.UpdateMemoryLayer.
5047
+ # Corresponds to the JSON property `originalRequest`
5048
+ # @return [Google::Apis::BigtableadminV2::UpdateMemoryLayerRequest]
5049
+ attr_accessor :original_request
5050
+
5051
+ # The time at which the original request was received.
5052
+ # Corresponds to the JSON property `requestTime`
5053
+ # @return [String]
5054
+ attr_accessor :request_time
5055
+
5056
+ def initialize(**args)
5057
+ update!(**args)
5058
+ end
5059
+
5060
+ # Update properties of this object
5061
+ def update!(**args)
5062
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
5063
+ @original_request = args[:original_request] if args.key?(:original_request)
5064
+ @request_time = args[:request_time] if args.key?(:request_time)
5065
+ end
5066
+ end
5067
+
5068
+ # Request message for BigtableInstanceAdmin.UpdateMemoryLayer.
5069
+ class UpdateMemoryLayerRequest
5070
+ include Google::Apis::Core::Hashable
5071
+
5072
+ # The memory layer of a cluster. A memory layer serves reads from memory without
5073
+ # hitting the backing persistent data store.
5074
+ # Corresponds to the JSON property `memoryLayer`
5075
+ # @return [Google::Apis::BigtableadminV2::MemoryLayer]
5076
+ attr_accessor :memory_layer
5077
+
5078
+ # Optional. The list of fields to update.
5079
+ # Corresponds to the JSON property `updateMask`
5080
+ # @return [String]
5081
+ attr_accessor :update_mask
5082
+
5083
+ def initialize(**args)
5084
+ update!(**args)
5085
+ end
5086
+
5087
+ # Update properties of this object
5088
+ def update!(**args)
5089
+ @memory_layer = args[:memory_layer] if args.key?(:memory_layer)
5090
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
5091
+ end
5092
+ end
5093
+
4797
5094
  # The metadata for the Operation returned by UpdateSchemaBundle.
4798
5095
  class UpdateSchemaBundleMetadata
4799
5096
  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.83.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260225"
25
+ REVISION = "20260331"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class GoogleBigtableAdminV2MemoryLayerMemoryConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class GoogleBigtableAdminV2TypeAggregate
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -358,6 +364,12 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class GoogleBigtableAdminV2TypeBoolEncoding
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
361
373
  class GoogleBigtableAdminV2TypeBytes
362
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
375
 
@@ -406,6 +418,30 @@ module Google
406
418
  include Google::Apis::Core::JsonObjectSupport
407
419
  end
408
420
 
421
+ class GoogleBigtableAdminV2TypeInt32
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleBigtableAdminV2TypeInt32Encoding
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
409
445
  class GoogleBigtableAdminV2TypeInt64
410
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
447
 
@@ -586,6 +622,12 @@ module Google
586
622
  include Google::Apis::Core::JsonObjectSupport
587
623
  end
588
624
 
625
+ class ListMemoryLayersResponse
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
589
631
  class ListOperationsResponse
590
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
633
 
@@ -622,6 +664,18 @@ module Google
622
664
  include Google::Apis::Core::JsonObjectSupport
623
665
  end
624
666
 
667
+ class MemoryConfig
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class MemoryLayer
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
625
679
  class Modification
626
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
681
 
@@ -862,6 +916,18 @@ module Google
862
916
  include Google::Apis::Core::JsonObjectSupport
863
917
  end
864
918
 
919
+ class UpdateMemoryLayerMetadata
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class UpdateMemoryLayerRequest
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
865
931
  class UpdateSchemaBundleMetadata
866
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
933
 
@@ -924,6 +990,7 @@ module Google
924
990
  # @private
925
991
  class Representation < Google::Apis::Core::JsonRepresentation
926
992
  property :frequency, as: 'frequency'
993
+ collection :locations, as: 'locations'
927
994
  property :retention_period, as: 'retentionPeriod'
928
995
  end
929
996
  end
@@ -1350,6 +1417,13 @@ module Google
1350
1417
  end
1351
1418
  end
1352
1419
 
1420
+ class GoogleBigtableAdminV2MemoryLayerMemoryConfig
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :storage_size_gib, as: 'storageSizeGib'
1424
+ end
1425
+ end
1426
+
1353
1427
  class GoogleBigtableAdminV2TypeAggregate
1354
1428
  # @private
1355
1429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1401,6 +1475,14 @@ module Google
1401
1475
  end
1402
1476
 
1403
1477
  class GoogleBigtableAdminV2TypeBool
1478
+ # @private
1479
+ class Representation < Google::Apis::Core::JsonRepresentation
1480
+ property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBoolEncoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBoolEncoding::Representation
1481
+
1482
+ end
1483
+ end
1484
+
1485
+ class GoogleBigtableAdminV2TypeBoolEncoding
1404
1486
  # @private
1405
1487
  class Representation < Google::Apis::Core::JsonRepresentation
1406
1488
  end
@@ -1461,6 +1543,36 @@ module Google
1461
1543
  end
1462
1544
  end
1463
1545
 
1546
+ class GoogleBigtableAdminV2TypeInt32
1547
+ # @private
1548
+ class Representation < Google::Apis::Core::JsonRepresentation
1549
+ property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32Encoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32Encoding::Representation
1550
+
1551
+ end
1552
+ end
1553
+
1554
+ class GoogleBigtableAdminV2TypeInt32Encoding
1555
+ # @private
1556
+ class Representation < Google::Apis::Core::JsonRepresentation
1557
+ property :big_endian_bytes, as: 'bigEndianBytes', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes::Representation
1558
+
1559
+ property :ordered_code_bytes, as: 'orderedCodeBytes', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes::Representation
1560
+
1561
+ end
1562
+ end
1563
+
1564
+ class GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ end
1568
+ end
1569
+
1570
+ class GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes
1571
+ # @private
1572
+ class Representation < Google::Apis::Core::JsonRepresentation
1573
+ end
1574
+ end
1575
+
1464
1576
  class GoogleBigtableAdminV2TypeInt64
1465
1577
  # @private
1466
1578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1626,6 +1738,7 @@ module Google
1626
1738
  class Representation < Google::Apis::Core::JsonRepresentation
1627
1739
  property :create_time, as: 'createTime'
1628
1740
  property :display_name, as: 'displayName'
1741
+ property :edition, as: 'edition'
1629
1742
  hash :labels, as: 'labels'
1630
1743
  property :name, as: 'name'
1631
1744
  property :satisfies_pzi, as: 'satisfiesPzi'
@@ -1728,6 +1841,16 @@ module Google
1728
1841
  end
1729
1842
  end
1730
1843
 
1844
+ class ListMemoryLayersResponse
1845
+ # @private
1846
+ class Representation < Google::Apis::Core::JsonRepresentation
1847
+ collection :failed_locations, as: 'failedLocations'
1848
+ collection :memory_layers, as: 'memoryLayers', class: Google::Apis::BigtableadminV2::MemoryLayer, decorator: Google::Apis::BigtableadminV2::MemoryLayer::Representation
1849
+
1850
+ property :next_page_token, as: 'nextPageToken'
1851
+ end
1852
+ end
1853
+
1731
1854
  class ListOperationsResponse
1732
1855
  # @private
1733
1856
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1789,6 +1912,23 @@ module Google
1789
1912
  end
1790
1913
  end
1791
1914
 
1915
+ class MemoryConfig
1916
+ # @private
1917
+ class Representation < Google::Apis::Core::JsonRepresentation
1918
+ end
1919
+ end
1920
+
1921
+ class MemoryLayer
1922
+ # @private
1923
+ class Representation < Google::Apis::Core::JsonRepresentation
1924
+ property :etag, as: 'etag'
1925
+ property :memory_config, as: 'memoryConfig', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2MemoryLayerMemoryConfig, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2MemoryLayerMemoryConfig::Representation
1926
+
1927
+ property :name, as: 'name'
1928
+ property :state, as: 'state'
1929
+ end
1930
+ end
1931
+
1792
1932
  class Modification
1793
1933
  # @private
1794
1934
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1970,6 +2110,8 @@ module Google
1970
2110
  class StandardIsolation
1971
2111
  # @private
1972
2112
  class Representation < Google::Apis::Core::JsonRepresentation
2113
+ property :memory_config, as: 'memoryConfig', class: Google::Apis::BigtableadminV2::MemoryConfig, decorator: Google::Apis::BigtableadminV2::MemoryConfig::Representation
2114
+
1973
2115
  property :priority, as: 'priority'
1974
2116
  end
1975
2117
  end
@@ -2083,6 +2225,8 @@ module Google
2083
2225
 
2084
2226
  property :geography_type, as: 'geographyType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeGeography, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeGeography::Representation
2085
2227
 
2228
+ property :int32_type, as: 'int32Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt32::Representation
2229
+
2086
2230
  property :int64_type, as: 'int64Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64::Representation
2087
2231
 
2088
2232
  property :map_type, as: 'mapType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeMap, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeMap::Representation
@@ -2190,6 +2334,25 @@ module Google
2190
2334
  end
2191
2335
  end
2192
2336
 
2337
+ class UpdateMemoryLayerMetadata
2338
+ # @private
2339
+ class Representation < Google::Apis::Core::JsonRepresentation
2340
+ property :finish_time, as: 'finishTime'
2341
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::UpdateMemoryLayerRequest, decorator: Google::Apis::BigtableadminV2::UpdateMemoryLayerRequest::Representation
2342
+
2343
+ property :request_time, as: 'requestTime'
2344
+ end
2345
+ end
2346
+
2347
+ class UpdateMemoryLayerRequest
2348
+ # @private
2349
+ class Representation < Google::Apis::Core::JsonRepresentation
2350
+ property :memory_layer, as: 'memoryLayer', class: Google::Apis::BigtableadminV2::MemoryLayer, decorator: Google::Apis::BigtableadminV2::MemoryLayer::Representation
2351
+
2352
+ property :update_mask, as: 'updateMask'
2353
+ end
2354
+ end
2355
+
2193
2356
  class UpdateSchemaBundleMetadata
2194
2357
  # @private
2195
2358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -744,6 +744,38 @@ module Google
744
744
  execute_or_queue_command(command, &block)
745
745
  end
746
746
 
747
+ # Gets information about the memory layer of a cluster.
748
+ # @param [String] name
749
+ # Required. The unique name of the requested cluster's memory layer. Values are
750
+ # of the form `projects/`project`/instances/`instance`/clusters/`cluster`/
751
+ # memoryLayer`.
752
+ # @param [String] fields
753
+ # Selector specifying which fields to include in a partial response.
754
+ # @param [String] quota_user
755
+ # Available to use for quota purposes for server-side applications. Can be any
756
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
757
+ # @param [Google::Apis::RequestOptions] options
758
+ # Request-specific options
759
+ #
760
+ # @yield [result, err] Result & error if block supplied
761
+ # @yieldparam result [Google::Apis::BigtableadminV2::MemoryLayer] parsed result object
762
+ # @yieldparam err [StandardError] error object if request failed
763
+ #
764
+ # @return [Google::Apis::BigtableadminV2::MemoryLayer]
765
+ #
766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
769
+ def get_project_instance_cluster_memory_layer(name, fields: nil, quota_user: nil, options: nil, &block)
770
+ command = make_simple_command(:get, 'v2/{+name}', options)
771
+ command.response_representation = Google::Apis::BigtableadminV2::MemoryLayer::Representation
772
+ command.response_class = Google::Apis::BigtableadminV2::MemoryLayer
773
+ command.params['name'] = name unless name.nil?
774
+ command.query['fields'] = fields unless fields.nil?
775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
776
+ execute_or_queue_command(command, &block)
777
+ end
778
+
747
779
  # Lists information about clusters in an instance.
748
780
  # @param [String] parent
749
781
  # Required. The unique name of the instance for which a list of clusters is
@@ -861,6 +893,44 @@ module Google
861
893
  execute_or_queue_command(command, &block)
862
894
  end
863
895
 
896
+ # Updates the memory layer of a cluster. To enable the memory layer, set the
897
+ # memory_config. To disable the memory layer, unset the memory_config.
898
+ # @param [String] name
899
+ # Identifier. Name of the memory layer. This is always: "projects/`project`/
900
+ # instances/`instance`/clusters/`cluster`/memoryLayer".
901
+ # @param [Google::Apis::BigtableadminV2::MemoryLayer] memory_layer_object
902
+ # @param [String] update_mask
903
+ # Optional. The list of fields to update.
904
+ # @param [String] fields
905
+ # Selector specifying which fields to include in a partial response.
906
+ # @param [String] quota_user
907
+ # Available to use for quota purposes for server-side applications. Can be any
908
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
909
+ # @param [Google::Apis::RequestOptions] options
910
+ # Request-specific options
911
+ #
912
+ # @yield [result, err] Result & error if block supplied
913
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
914
+ # @yieldparam err [StandardError] error object if request failed
915
+ #
916
+ # @return [Google::Apis::BigtableadminV2::Operation]
917
+ #
918
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
919
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
920
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
921
+ def update_project_instance_cluster_memory_layer(name, memory_layer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
922
+ command = make_simple_command(:patch, 'v2/{+name}', options)
923
+ command.request_representation = Google::Apis::BigtableadminV2::MemoryLayer::Representation
924
+ command.request_object = memory_layer_object
925
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
926
+ command.response_class = Google::Apis::BigtableadminV2::Operation
927
+ command.params['name'] = name unless name.nil?
928
+ command.query['updateMask'] = update_mask unless update_mask.nil?
929
+ command.query['fields'] = fields unless fields.nil?
930
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
931
+ execute_or_queue_command(command, &block)
932
+ end
933
+
864
934
  # Copy a Cloud Bigtable backup to a new backup in the destination cluster
865
935
  # located in the destination instance and project.
866
936
  # @param [String] parent
@@ -1284,6 +1354,50 @@ module Google
1284
1354
  execute_or_queue_command(command, &block)
1285
1355
  end
1286
1356
 
1357
+ # Lists information about memory layers.
1358
+ # @param [String] parent
1359
+ # Required. The unique name of the cluster for which a list of memory layers is
1360
+ # requested. Values are of the form `projects/`project`/instances/`instance`/
1361
+ # clusters/`cluster``. Use ``cluster` = '-'` to list MemoryLayers for all
1362
+ # Clusters in an instance, e.g., `projects/myproject/instances/myinstance/
1363
+ # clusters/-`.
1364
+ # @param [Fixnum] page_size
1365
+ # Optional. The maximum number of memory layers to return. The service may
1366
+ # return fewer than this value.
1367
+ # @param [String] page_token
1368
+ # Optional. A page token, received from a previous `ListMemoryLayers` call.
1369
+ # Provide this to retrieve the subsequent page. When paginating, all other
1370
+ # parameters provided to `ListMemoryLayers` must match the call that provided
1371
+ # the page token.
1372
+ # @param [String] fields
1373
+ # Selector specifying which fields to include in a partial response.
1374
+ # @param [String] quota_user
1375
+ # Available to use for quota purposes for server-side applications. Can be any
1376
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1377
+ # @param [Google::Apis::RequestOptions] options
1378
+ # Request-specific options
1379
+ #
1380
+ # @yield [result, err] Result & error if block supplied
1381
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListMemoryLayersResponse] parsed result object
1382
+ # @yieldparam err [StandardError] error object if request failed
1383
+ #
1384
+ # @return [Google::Apis::BigtableadminV2::ListMemoryLayersResponse]
1385
+ #
1386
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1387
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1388
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1389
+ def list_project_instance_cluster_memory_layers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1390
+ command = make_simple_command(:get, 'v2/{+parent}/memoryLayers', options)
1391
+ command.response_representation = Google::Apis::BigtableadminV2::ListMemoryLayersResponse::Representation
1392
+ command.response_class = Google::Apis::BigtableadminV2::ListMemoryLayersResponse
1393
+ command.params['parent'] = parent unless parent.nil?
1394
+ command.query['pageSize'] = page_size unless page_size.nil?
1395
+ command.query['pageToken'] = page_token unless page_token.nil?
1396
+ command.query['fields'] = fields unless fields.nil?
1397
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1398
+ execute_or_queue_command(command, &block)
1399
+ end
1400
+
1287
1401
  # Creates a logical view within an instance.
1288
1402
  # @param [String] parent
1289
1403
  # Required. The parent instance where this logical view will be created. Format:
@@ -3017,10 +3131,15 @@ module Google
3017
3131
  end
3018
3132
 
3019
3133
  # Lists information about the supported locations for this service. This method
3020
- # can be called in two ways: * **List all public locations:** Use the path `GET /
3021
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
3022
- # projects/`project_id`/locations`. This may include public locations as well as
3023
- # private or other locations specifically visible to the project.
3134
+ # lists locations based on the resource scope provided in the [
3135
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
3136
+ # the method lists the public locations available to all projects. * **Project-
3137
+ # specific locations**: If `name` follows the format `projects/`project``, the
3138
+ # method lists locations visible to that specific project. This includes public,
3139
+ # private, or other project-specific locations enabled for the project. For gRPC
3140
+ # and client library implementations, the resource name is passed as the `name`
3141
+ # field. For direct service calls, the resource name is incorporated into the
3142
+ # request path based on the specific service implementation and version.
3024
3143
  # @param [String] name
3025
3144
  # The resource that owns the locations collection, if applicable.
3026
3145
  # @param [Array<String>, String] extra_location_types
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.83.0
4
+ version: 0.85.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.83.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.85.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: