google-cloud-bigtable-admin-v2 1.18.1 → 1.22.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +6 -1
  4. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +10 -1
  5. data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
  6. data/lib/google/bigtable/admin/v2/instance_pb.rb +5 -1
  7. data/lib/google/bigtable/admin/v2/table_pb.rb +2 -1
  8. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +315 -1
  9. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/credentials.rb +1 -1
  10. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +1 -1
  11. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/paths.rb +20 -1
  12. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin.rb +1 -1
  13. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +1 -1
  14. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/credentials.rb +1 -1
  15. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +1 -1
  16. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/paths.rb +1 -1
  17. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin.rb +1 -1
  18. data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
  19. data/lib/google/cloud/bigtable/admin/v2.rb +1 -1
  20. data/lib/google-cloud-bigtable-admin-v2.rb +1 -1
  21. data/proto_docs/google/api/client.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +1 -1
  23. data/proto_docs/google/api/launch_stage.rb +1 -1
  24. data/proto_docs/google/api/resource.rb +1 -1
  25. data/proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb +87 -1
  26. data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +1 -1
  27. data/proto_docs/google/bigtable/admin/v2/common.rb +1 -1
  28. data/proto_docs/google/bigtable/admin/v2/instance.rb +74 -1
  29. data/proto_docs/google/bigtable/admin/v2/table.rb +45 -2
  30. data/proto_docs/google/bigtable/admin/v2/types.rb +1 -1
  31. data/proto_docs/google/iam/v1/iam_policy.rb +1 -1
  32. data/proto_docs/google/iam/v1/options.rb +1 -1
  33. data/proto_docs/google/iam/v1/policy.rb +1 -1
  34. data/proto_docs/google/longrunning/operations.rb +1 -1
  35. data/proto_docs/google/protobuf/any.rb +1 -1
  36. data/proto_docs/google/protobuf/duration.rb +1 -1
  37. data/proto_docs/google/protobuf/empty.rb +1 -1
  38. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  39. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  40. data/proto_docs/google/rpc/status.rb +1 -1
  41. data/proto_docs/google/type/expr.rb +1 -1
  42. metadata +2 -3
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1465,6 +1465,299 @@ module Google
1465
1465
  raise ::Google::Cloud::Error.from_error(e)
1466
1466
  end
1467
1467
 
1468
+ ##
1469
+ # Updates the memory layer of a cluster.
1470
+ #
1471
+ # To enable the memory layer, set the memory_config.
1472
+ # To disable the memory layer, unset the memory_config.
1473
+ #
1474
+ # @overload update_memory_layer(request, options = nil)
1475
+ # Pass arguments to `update_memory_layer` via a request object, either of type
1476
+ # {::Google::Cloud::Bigtable::Admin::V2::UpdateMemoryLayerRequest} or an equivalent Hash.
1477
+ #
1478
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::UpdateMemoryLayerRequest, ::Hash]
1479
+ # A request object representing the call parameters. Required. To specify no
1480
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1481
+ # @param options [::Gapic::CallOptions, ::Hash]
1482
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1483
+ #
1484
+ # @overload update_memory_layer(memory_layer: nil, update_mask: nil)
1485
+ # Pass arguments to `update_memory_layer` via keyword arguments. Note that at
1486
+ # least one keyword argument is required. To specify no parameters, or to keep all
1487
+ # the default parameter values, pass an empty Hash as a request object (see above).
1488
+ #
1489
+ # @param memory_layer [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer, ::Hash]
1490
+ # Required. The memory layer to update.
1491
+ #
1492
+ # The memory layer's `name` format is as follows:
1493
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer`.
1494
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1495
+ # Optional. The list of fields to update.
1496
+ #
1497
+ # @yield [response, operation] Access the result along with the RPC operation
1498
+ # @yieldparam response [::Gapic::Operation]
1499
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1500
+ #
1501
+ # @return [::Gapic::Operation]
1502
+ #
1503
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1504
+ #
1505
+ # @example Basic example
1506
+ # require "google/cloud/bigtable/admin/v2"
1507
+ #
1508
+ # # Create a client object. The client can be reused for multiple calls.
1509
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
1510
+ #
1511
+ # # Create a request. To set request fields, pass in keyword arguments.
1512
+ # request = Google::Cloud::Bigtable::Admin::V2::UpdateMemoryLayerRequest.new
1513
+ #
1514
+ # # Call the update_memory_layer method.
1515
+ # result = client.update_memory_layer request
1516
+ #
1517
+ # # The returned object is of type Gapic::Operation. You can use it to
1518
+ # # check the status of an operation, cancel it, or wait for results.
1519
+ # # Here is how to wait for a response.
1520
+ # result.wait_until_done! timeout: 60
1521
+ # if result.response?
1522
+ # p result.response
1523
+ # else
1524
+ # puts "No response received."
1525
+ # end
1526
+ #
1527
+ def update_memory_layer request, options = nil
1528
+ raise ::ArgumentError, "request must be provided" if request.nil?
1529
+
1530
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::UpdateMemoryLayerRequest
1531
+
1532
+ # Converts hash and nil to an options object
1533
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1534
+
1535
+ # Customize the options with defaults
1536
+ metadata = @config.rpcs.update_memory_layer.metadata.to_h
1537
+
1538
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1539
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1540
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1541
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1542
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1543
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1544
+
1545
+ header_params = {}
1546
+ if request.memory_layer&.name
1547
+ header_params["memory_layer.name"] = request.memory_layer.name
1548
+ end
1549
+
1550
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1551
+ metadata[:"x-goog-request-params"] ||= request_params_header
1552
+
1553
+ options.apply_defaults timeout: @config.rpcs.update_memory_layer.timeout,
1554
+ metadata: metadata,
1555
+ retry_policy: @config.rpcs.update_memory_layer.retry_policy
1556
+
1557
+ options.apply_defaults timeout: @config.timeout,
1558
+ metadata: @config.metadata,
1559
+ retry_policy: @config.retry_policy
1560
+
1561
+ @bigtable_instance_admin_stub.call_rpc :update_memory_layer, request, options: options do |response, operation|
1562
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1563
+ yield response, operation if block_given?
1564
+ throw :response, response
1565
+ end
1566
+ rescue ::GRPC::BadStatus => e
1567
+ raise ::Google::Cloud::Error.from_error(e)
1568
+ end
1569
+
1570
+ ##
1571
+ # Lists information about memory layers.
1572
+ #
1573
+ # @overload list_memory_layers(request, options = nil)
1574
+ # Pass arguments to `list_memory_layers` via a request object, either of type
1575
+ # {::Google::Cloud::Bigtable::Admin::V2::ListMemoryLayersRequest} or an equivalent Hash.
1576
+ #
1577
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::ListMemoryLayersRequest, ::Hash]
1578
+ # A request object representing the call parameters. Required. To specify no
1579
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1580
+ # @param options [::Gapic::CallOptions, ::Hash]
1581
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1582
+ #
1583
+ # @overload list_memory_layers(parent: nil, page_size: nil, page_token: nil)
1584
+ # Pass arguments to `list_memory_layers` via keyword arguments. Note that at
1585
+ # least one keyword argument is required. To specify no parameters, or to keep all
1586
+ # the default parameter values, pass an empty Hash as a request object (see above).
1587
+ #
1588
+ # @param parent [::String]
1589
+ # Required. The unique name of the cluster for which a list of memory layers
1590
+ # is requested. Values are of the form
1591
+ # `projects/{project}/instances/{instance}/clusters/{cluster}`.
1592
+ # Use `{cluster} = '-'` to list MemoryLayers for all Clusters in an instance,
1593
+ # e.g., `projects/myproject/instances/myinstance/clusters/-`.
1594
+ # @param page_size [::Integer]
1595
+ # Optional. The maximum number of memory layers to return. The service may
1596
+ # return fewer than this value.
1597
+ # @param page_token [::String]
1598
+ # Optional. A page token, received from a previous `ListMemoryLayers` call.
1599
+ # Provide this to retrieve the subsequent page.
1600
+ #
1601
+ # When paginating, all other parameters provided to `ListMemoryLayers`
1602
+ # must match the call that provided the page token.
1603
+ #
1604
+ # @yield [response, operation] Access the result along with the RPC operation
1605
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::MemoryLayer>]
1606
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1607
+ #
1608
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::MemoryLayer>]
1609
+ #
1610
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1611
+ #
1612
+ # @example Basic example
1613
+ # require "google/cloud/bigtable/admin/v2"
1614
+ #
1615
+ # # Create a client object. The client can be reused for multiple calls.
1616
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
1617
+ #
1618
+ # # Create a request. To set request fields, pass in keyword arguments.
1619
+ # request = Google::Cloud::Bigtable::Admin::V2::ListMemoryLayersRequest.new
1620
+ #
1621
+ # # Call the list_memory_layers method.
1622
+ # result = client.list_memory_layers request
1623
+ #
1624
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1625
+ # # over elements, and API calls will be issued to fetch pages as needed.
1626
+ # result.each do |item|
1627
+ # # Each element is of type ::Google::Cloud::Bigtable::Admin::V2::MemoryLayer.
1628
+ # p item
1629
+ # end
1630
+ #
1631
+ def list_memory_layers request, options = nil
1632
+ raise ::ArgumentError, "request must be provided" if request.nil?
1633
+
1634
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::ListMemoryLayersRequest
1635
+
1636
+ # Converts hash and nil to an options object
1637
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1638
+
1639
+ # Customize the options with defaults
1640
+ metadata = @config.rpcs.list_memory_layers.metadata.to_h
1641
+
1642
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1643
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1644
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1645
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1646
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1647
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1648
+
1649
+ header_params = {}
1650
+ if request.parent
1651
+ header_params["parent"] = request.parent
1652
+ end
1653
+
1654
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1655
+ metadata[:"x-goog-request-params"] ||= request_params_header
1656
+
1657
+ options.apply_defaults timeout: @config.rpcs.list_memory_layers.timeout,
1658
+ metadata: metadata,
1659
+ retry_policy: @config.rpcs.list_memory_layers.retry_policy
1660
+
1661
+ options.apply_defaults timeout: @config.timeout,
1662
+ metadata: @config.metadata,
1663
+ retry_policy: @config.retry_policy
1664
+
1665
+ @bigtable_instance_admin_stub.call_rpc :list_memory_layers, request, options: options do |response, operation|
1666
+ response = ::Gapic::PagedEnumerable.new @bigtable_instance_admin_stub, :list_memory_layers, request, response, operation, options
1667
+ yield response, operation if block_given?
1668
+ throw :response, response
1669
+ end
1670
+ rescue ::GRPC::BadStatus => e
1671
+ raise ::Google::Cloud::Error.from_error(e)
1672
+ end
1673
+
1674
+ ##
1675
+ # Gets information about the memory layer of a cluster.
1676
+ #
1677
+ # @overload get_memory_layer(request, options = nil)
1678
+ # Pass arguments to `get_memory_layer` via a request object, either of type
1679
+ # {::Google::Cloud::Bigtable::Admin::V2::GetMemoryLayerRequest} or an equivalent Hash.
1680
+ #
1681
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::GetMemoryLayerRequest, ::Hash]
1682
+ # A request object representing the call parameters. Required. To specify no
1683
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1684
+ # @param options [::Gapic::CallOptions, ::Hash]
1685
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1686
+ #
1687
+ # @overload get_memory_layer(name: nil)
1688
+ # Pass arguments to `get_memory_layer` via keyword arguments. Note that at
1689
+ # least one keyword argument is required. To specify no parameters, or to keep all
1690
+ # the default parameter values, pass an empty Hash as a request object (see above).
1691
+ #
1692
+ # @param name [::String]
1693
+ # Required. The unique name of the requested cluster's memory layer. Values
1694
+ # are of the form
1695
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer`.
1696
+ #
1697
+ # @yield [response, operation] Access the result along with the RPC operation
1698
+ # @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer]
1699
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1700
+ #
1701
+ # @return [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer]
1702
+ #
1703
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1704
+ #
1705
+ # @example Basic example
1706
+ # require "google/cloud/bigtable/admin/v2"
1707
+ #
1708
+ # # Create a client object. The client can be reused for multiple calls.
1709
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
1710
+ #
1711
+ # # Create a request. To set request fields, pass in keyword arguments.
1712
+ # request = Google::Cloud::Bigtable::Admin::V2::GetMemoryLayerRequest.new
1713
+ #
1714
+ # # Call the get_memory_layer method.
1715
+ # result = client.get_memory_layer request
1716
+ #
1717
+ # # The returned object is of type Google::Cloud::Bigtable::Admin::V2::MemoryLayer.
1718
+ # p result
1719
+ #
1720
+ def get_memory_layer request, options = nil
1721
+ raise ::ArgumentError, "request must be provided" if request.nil?
1722
+
1723
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::GetMemoryLayerRequest
1724
+
1725
+ # Converts hash and nil to an options object
1726
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1727
+
1728
+ # Customize the options with defaults
1729
+ metadata = @config.rpcs.get_memory_layer.metadata.to_h
1730
+
1731
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1732
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1733
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1734
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1735
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1736
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1737
+
1738
+ header_params = {}
1739
+ if request.name
1740
+ header_params["name"] = request.name
1741
+ end
1742
+
1743
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1744
+ metadata[:"x-goog-request-params"] ||= request_params_header
1745
+
1746
+ options.apply_defaults timeout: @config.rpcs.get_memory_layer.timeout,
1747
+ metadata: metadata,
1748
+ retry_policy: @config.rpcs.get_memory_layer.retry_policy
1749
+
1750
+ options.apply_defaults timeout: @config.timeout,
1751
+ metadata: @config.metadata,
1752
+ retry_policy: @config.retry_policy
1753
+
1754
+ @bigtable_instance_admin_stub.call_rpc :get_memory_layer, request, options: options do |response, operation|
1755
+ yield response, operation if block_given?
1756
+ end
1757
+ rescue ::GRPC::BadStatus => e
1758
+ raise ::Google::Cloud::Error.from_error(e)
1759
+ end
1760
+
1468
1761
  ##
1469
1762
  # Creates an app profile within an instance.
1470
1763
  #
@@ -3542,6 +3835,21 @@ module Google
3542
3835
  #
3543
3836
  attr_reader :delete_cluster
3544
3837
  ##
3838
+ # RPC-specific configuration for `update_memory_layer`
3839
+ # @return [::Gapic::Config::Method]
3840
+ #
3841
+ attr_reader :update_memory_layer
3842
+ ##
3843
+ # RPC-specific configuration for `list_memory_layers`
3844
+ # @return [::Gapic::Config::Method]
3845
+ #
3846
+ attr_reader :list_memory_layers
3847
+ ##
3848
+ # RPC-specific configuration for `get_memory_layer`
3849
+ # @return [::Gapic::Config::Method]
3850
+ #
3851
+ attr_reader :get_memory_layer
3852
+ ##
3545
3853
  # RPC-specific configuration for `create_app_profile`
3546
3854
  # @return [::Gapic::Config::Method]
3547
3855
  #
@@ -3663,6 +3971,12 @@ module Google
3663
3971
  @partial_update_cluster = ::Gapic::Config::Method.new partial_update_cluster_config
3664
3972
  delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
3665
3973
  @delete_cluster = ::Gapic::Config::Method.new delete_cluster_config
3974
+ update_memory_layer_config = parent_rpcs.update_memory_layer if parent_rpcs.respond_to? :update_memory_layer
3975
+ @update_memory_layer = ::Gapic::Config::Method.new update_memory_layer_config
3976
+ list_memory_layers_config = parent_rpcs.list_memory_layers if parent_rpcs.respond_to? :list_memory_layers
3977
+ @list_memory_layers = ::Gapic::Config::Method.new list_memory_layers_config
3978
+ get_memory_layer_config = parent_rpcs.get_memory_layer if parent_rpcs.respond_to? :get_memory_layer
3979
+ @get_memory_layer = ::Gapic::Config::Method.new get_memory_layer_config
3666
3980
  create_app_profile_config = parent_rpcs.create_app_profile if parent_rpcs.respond_to? :create_app_profile
3667
3981
  @create_app_profile = ::Gapic::Config::Method.new create_app_profile_config
3668
3982
  get_app_profile_config = parent_rpcs.get_app_profile if parent_rpcs.respond_to? :get_app_profile
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -156,6 +156,25 @@ module Google
156
156
  "projects/#{project}/instances/#{instance}/materializedViews/#{materialized_view}"
157
157
  end
158
158
 
159
+ ##
160
+ # Create a fully-qualified MemoryLayer resource string.
161
+ #
162
+ # The resource will be in the following format:
163
+ #
164
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer`
165
+ #
166
+ # @param project [String]
167
+ # @param instance [String]
168
+ # @param cluster [String]
169
+ #
170
+ # @return [::String]
171
+ def memory_layer_path project:, instance:, cluster:
172
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
173
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
174
+
175
+ "projects/#{project}/instances/#{instance}/clusters/#{cluster}/memoryLayer"
176
+ end
177
+
159
178
  ##
160
179
  # Create a fully-qualified Project resource string.
161
180
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "1.18.1"
25
+ VERSION = "1.22.0"
26
26
  end
27
27
  end
28
28
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -337,6 +337,92 @@ module Google
337
337
  extend ::Google::Protobuf::MessageExts::ClassMethods
338
338
  end
339
339
 
340
+ # Request message for BigtableInstanceAdmin.UpdateMemoryLayer.
341
+ # @!attribute [rw] memory_layer
342
+ # @return [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer]
343
+ # Required. The memory layer to update.
344
+ #
345
+ # The memory layer's `name` format is as follows:
346
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer`.
347
+ # @!attribute [rw] update_mask
348
+ # @return [::Google::Protobuf::FieldMask]
349
+ # Optional. The list of fields to update.
350
+ class UpdateMemoryLayerRequest
351
+ include ::Google::Protobuf::MessageExts
352
+ extend ::Google::Protobuf::MessageExts::ClassMethods
353
+ end
354
+
355
+ # The metadata for the Operation returned by UpdateMemoryLayer.
356
+ # @!attribute [rw] original_request
357
+ # @return [::Google::Cloud::Bigtable::Admin::V2::UpdateMemoryLayerRequest]
358
+ # The request that prompted the initiation of this UpdateMemoryLayer
359
+ # operation.
360
+ # @!attribute [rw] request_time
361
+ # @return [::Google::Protobuf::Timestamp]
362
+ # The time at which the original request was received.
363
+ # @!attribute [rw] finish_time
364
+ # @return [::Google::Protobuf::Timestamp]
365
+ # The time at which the operation failed or was completed successfully.
366
+ class UpdateMemoryLayerMetadata
367
+ include ::Google::Protobuf::MessageExts
368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
369
+ end
370
+
371
+ # Request message for BigtableInstanceAdmin.ListMemoryLayers.
372
+ # @!attribute [rw] parent
373
+ # @return [::String]
374
+ # Required. The unique name of the cluster for which a list of memory layers
375
+ # is requested. Values are of the form
376
+ # `projects/{project}/instances/{instance}/clusters/{cluster}`.
377
+ # Use `{cluster} = '-'` to list MemoryLayers for all Clusters in an instance,
378
+ # e.g., `projects/myproject/instances/myinstance/clusters/-`.
379
+ # @!attribute [rw] page_size
380
+ # @return [::Integer]
381
+ # Optional. The maximum number of memory layers to return. The service may
382
+ # return fewer than this value.
383
+ # @!attribute [rw] page_token
384
+ # @return [::String]
385
+ # Optional. A page token, received from a previous `ListMemoryLayers` call.
386
+ # Provide this to retrieve the subsequent page.
387
+ #
388
+ # When paginating, all other parameters provided to `ListMemoryLayers`
389
+ # must match the call that provided the page token.
390
+ class ListMemoryLayersRequest
391
+ include ::Google::Protobuf::MessageExts
392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
393
+ end
394
+
395
+ # Response message for BigtableInstanceAdmin.ListMemoryLayers.
396
+ # @!attribute [rw] memory_layers
397
+ # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::MemoryLayer>]
398
+ # The list of requested memory layers.
399
+ # @!attribute [rw] failed_locations
400
+ # @return [::Array<::String>]
401
+ # Locations from which MemoryLayer information could not be retrieved,
402
+ # due to an outage or some other transient condition.
403
+ # MemoryLayers from these locations may be missing from `memory_layers`,
404
+ # or may only have partial information returned.
405
+ # Values are of the form `projects/<project>/locations/<zone_id>`
406
+ # @!attribute [rw] next_page_token
407
+ # @return [::String]
408
+ # A token, which can be sent as `page_token` to retrieve the next page.
409
+ # If this field is omitted, there are no subsequent pages.
410
+ class ListMemoryLayersResponse
411
+ include ::Google::Protobuf::MessageExts
412
+ extend ::Google::Protobuf::MessageExts::ClassMethods
413
+ end
414
+
415
+ # Request message for BigtableInstanceAdmin.GetMemoryLayer.
416
+ # @!attribute [rw] name
417
+ # @return [::String]
418
+ # Required. The unique name of the requested cluster's memory layer. Values
419
+ # are of the form
420
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer`.
421
+ class GetMemoryLayerRequest
422
+ include ::Google::Protobuf::MessageExts
423
+ extend ::Google::Protobuf::MessageExts::ClassMethods
424
+ end
425
+
340
426
  # Request message for BigtableInstanceAdmin.CreateAppProfile.
341
427
  # @!attribute [rw] parent
342
428
  # @return [::String]
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.