google-apis-bigtableadmin_v2 0.68.0 → 0.69.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: 9bb0df7e56d0e8eda6785d4fcd3558a9fd7ae936576265e51aee7af6ae4d3e93
4
- data.tar.gz: bf04c9aa8286d2918f208a2c6d34ee66e212b1a2e270c05d0f98492dd736eaf3
3
+ metadata.gz: 5b9a2b1321b23fb2339261b0eab47497b8aebadf00f255fb557929b57105d207
4
+ data.tar.gz: f5c1cfa8d1fa72810230288bd7a5fd7fd300ce038ee8aaf11ffc5af467b8498a
5
5
  SHA512:
6
- metadata.gz: '08f0f28bdb303c4c9d3c37b9f563dd9e2a71a7b1945a28ac4d9fe19c99c52d5922b67e75e7ae392d8b32f48faeff3fcabd89d07cd44d4bb9b491286ab089c272'
7
- data.tar.gz: 4c7eca6fef4e57d8da836f810a1d4267871b8b92e2229d67baade71f507e8ccf0a14b03096e721236e49ac5778bd449c7eae22d89357c8c651ed8a67a3a205f5
6
+ metadata.gz: 279b5cacc068646ef178a033d7157af6b0ed1f93d879d261fba7001b2360fa4e80b3d5ec3d12a53f77f5fc952143907b8aaea3b6571a406835c2b9db1a2dbd23
7
+ data.tar.gz: 97717ca29219d97d4227b608c01d57d1988867eb2e028db692d4ec075b6503446d640181d2aad6257ed7889c4935a607935aa8fe4d338c108a0d83bfcab714c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.69.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250410
6
+
3
7
  ### v0.68.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250308
@@ -2859,6 +2859,58 @@ module Google
2859
2859
  end
2860
2860
  end
2861
2861
 
2862
+ # Response message for BigtableInstanceAdmin.ListLogicalViews.
2863
+ class ListLogicalViewsResponse
2864
+ include Google::Apis::Core::Hashable
2865
+
2866
+ # The list of requested logical views.
2867
+ # Corresponds to the JSON property `logicalViews`
2868
+ # @return [Array<Google::Apis::BigtableadminV2::LogicalView>]
2869
+ attr_accessor :logical_views
2870
+
2871
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2872
+ # field is omitted, there are no subsequent pages.
2873
+ # Corresponds to the JSON property `nextPageToken`
2874
+ # @return [String]
2875
+ attr_accessor :next_page_token
2876
+
2877
+ def initialize(**args)
2878
+ update!(**args)
2879
+ end
2880
+
2881
+ # Update properties of this object
2882
+ def update!(**args)
2883
+ @logical_views = args[:logical_views] if args.key?(:logical_views)
2884
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2885
+ end
2886
+ end
2887
+
2888
+ # Response message for BigtableInstanceAdmin.ListMaterializedViews.
2889
+ class ListMaterializedViewsResponse
2890
+ include Google::Apis::Core::Hashable
2891
+
2892
+ # The list of requested materialized views.
2893
+ # Corresponds to the JSON property `materializedViews`
2894
+ # @return [Array<Google::Apis::BigtableadminV2::MaterializedView>]
2895
+ attr_accessor :materialized_views
2896
+
2897
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2898
+ # field is omitted, there are no subsequent pages.
2899
+ # Corresponds to the JSON property `nextPageToken`
2900
+ # @return [String]
2901
+ attr_accessor :next_page_token
2902
+
2903
+ def initialize(**args)
2904
+ update!(**args)
2905
+ end
2906
+
2907
+ # Update properties of this object
2908
+ def update!(**args)
2909
+ @materialized_views = args[:materialized_views] if args.key?(:materialized_views)
2910
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2911
+ end
2912
+ end
2913
+
2862
2914
  # The response message for Operations.ListOperations.
2863
2915
  class ListOperationsResponse
2864
2916
  include Google::Apis::Core::Hashable
@@ -3808,6 +3860,13 @@ module Google
3808
3860
  # @return [Google::Apis::BigtableadminV2::RestoreInfo]
3809
3861
  attr_accessor :restore_info
3810
3862
 
3863
+ # A structured data value, consisting of fields which map to dynamically typed
3864
+ # values. Values of type `Struct` are stored in `Value.array_value` where
3865
+ # entries are in the same order and number as `field_types`.
3866
+ # Corresponds to the JSON property `rowKeySchema`
3867
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct]
3868
+ attr_accessor :row_key_schema
3869
+
3811
3870
  # Approximate statistics related to a table. These statistics are calculated
3812
3871
  # infrequently, while simultaneously, data in the table can change rapidly. Thus
3813
3872
  # the values reported here (e.g. row count) are very likely out-of date, even
@@ -3832,6 +3891,7 @@ module Google
3832
3891
  @granularity = args[:granularity] if args.key?(:granularity)
3833
3892
  @name = args[:name] if args.key?(:name)
3834
3893
  @restore_info = args[:restore_info] if args.key?(:restore_info)
3894
+ @row_key_schema = args[:row_key_schema] if args.key?(:row_key_schema)
3835
3895
  @stats = args[:stats] if args.key?(:stats)
3836
3896
  end
3837
3897
  end
@@ -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.68.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250308"
25
+ REVISION = "20250410"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,18 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class ListLogicalViewsResponse
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class ListMaterializedViewsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
547
559
  class ListOperationsResponse
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
@@ -1587,6 +1599,24 @@ module Google
1587
1599
  end
1588
1600
  end
1589
1601
 
1602
+ class ListLogicalViewsResponse
1603
+ # @private
1604
+ class Representation < Google::Apis::Core::JsonRepresentation
1605
+ collection :logical_views, as: 'logicalViews', class: Google::Apis::BigtableadminV2::LogicalView, decorator: Google::Apis::BigtableadminV2::LogicalView::Representation
1606
+
1607
+ property :next_page_token, as: 'nextPageToken'
1608
+ end
1609
+ end
1610
+
1611
+ class ListMaterializedViewsResponse
1612
+ # @private
1613
+ class Representation < Google::Apis::Core::JsonRepresentation
1614
+ collection :materialized_views, as: 'materializedViews', class: Google::Apis::BigtableadminV2::MaterializedView, decorator: Google::Apis::BigtableadminV2::MaterializedView::Representation
1615
+
1616
+ property :next_page_token, as: 'nextPageToken'
1617
+ end
1618
+ end
1619
+
1590
1620
  class ListOperationsResponse
1591
1621
  # @private
1592
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1834,6 +1864,8 @@ module Google
1834
1864
  property :name, as: 'name'
1835
1865
  property :restore_info, as: 'restoreInfo', class: Google::Apis::BigtableadminV2::RestoreInfo, decorator: Google::Apis::BigtableadminV2::RestoreInfo::Representation
1836
1866
 
1867
+ property :row_key_schema, as: 'rowKeySchema', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct::Representation
1868
+
1837
1869
  property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::TableStats, decorator: Google::Apis::BigtableadminV2::TableStats::Representation
1838
1870
 
1839
1871
  end
@@ -1275,6 +1275,111 @@ module Google
1275
1275
  execute_or_queue_command(command, &block)
1276
1276
  end
1277
1277
 
1278
+ # Creates a logical view within an instance.
1279
+ # @param [String] parent
1280
+ # Required. The parent instance where this logical view will be created. Format:
1281
+ # `projects/`project`/instances/`instance``.
1282
+ # @param [Google::Apis::BigtableadminV2::LogicalView] logical_view_object
1283
+ # @param [String] logical_view_id
1284
+ # Required. The ID to use for the logical view, which will become the final
1285
+ # component of the logical view's resource name.
1286
+ # @param [String] fields
1287
+ # Selector specifying which fields to include in a partial response.
1288
+ # @param [String] quota_user
1289
+ # Available to use for quota purposes for server-side applications. Can be any
1290
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1291
+ # @param [Google::Apis::RequestOptions] options
1292
+ # Request-specific options
1293
+ #
1294
+ # @yield [result, err] Result & error if block supplied
1295
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1296
+ # @yieldparam err [StandardError] error object if request failed
1297
+ #
1298
+ # @return [Google::Apis::BigtableadminV2::Operation]
1299
+ #
1300
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1301
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1302
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1303
+ def create_project_instance_logical_view(parent, logical_view_object = nil, logical_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1304
+ command = make_simple_command(:post, 'v2/{+parent}/logicalViews', options)
1305
+ command.request_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1306
+ command.request_object = logical_view_object
1307
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1308
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1309
+ command.params['parent'] = parent unless parent.nil?
1310
+ command.query['logicalViewId'] = logical_view_id unless logical_view_id.nil?
1311
+ command.query['fields'] = fields unless fields.nil?
1312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
+ execute_or_queue_command(command, &block)
1314
+ end
1315
+
1316
+ # Deletes a logical view from an instance.
1317
+ # @param [String] name
1318
+ # Required. The unique name of the logical view to be deleted. Format: `projects/
1319
+ # `project`/instances/`instance`/logicalViews/`logical_view``.
1320
+ # @param [String] etag
1321
+ # Optional. The current etag of the logical view. If an etag is provided and
1322
+ # does not match the current etag of the logical view, deletion will be blocked
1323
+ # and an ABORTED error will be returned.
1324
+ # @param [String] fields
1325
+ # Selector specifying which fields to include in a partial response.
1326
+ # @param [String] quota_user
1327
+ # Available to use for quota purposes for server-side applications. Can be any
1328
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1329
+ # @param [Google::Apis::RequestOptions] options
1330
+ # Request-specific options
1331
+ #
1332
+ # @yield [result, err] Result & error if block supplied
1333
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
1334
+ # @yieldparam err [StandardError] error object if request failed
1335
+ #
1336
+ # @return [Google::Apis::BigtableadminV2::Empty]
1337
+ #
1338
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1339
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1340
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1341
+ def delete_project_instance_logical_view(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1342
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1343
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
1344
+ command.response_class = Google::Apis::BigtableadminV2::Empty
1345
+ command.params['name'] = name unless name.nil?
1346
+ command.query['etag'] = etag unless etag.nil?
1347
+ command.query['fields'] = fields unless fields.nil?
1348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1349
+ execute_or_queue_command(command, &block)
1350
+ end
1351
+
1352
+ # Gets information about a logical view.
1353
+ # @param [String] name
1354
+ # Required. The unique name of the requested logical view. Values are of the
1355
+ # form `projects/`project`/instances/`instance`/logicalViews/`logical_view``.
1356
+ # @param [String] fields
1357
+ # Selector specifying which fields to include in a partial response.
1358
+ # @param [String] quota_user
1359
+ # Available to use for quota purposes for server-side applications. Can be any
1360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1361
+ # @param [Google::Apis::RequestOptions] options
1362
+ # Request-specific options
1363
+ #
1364
+ # @yield [result, err] Result & error if block supplied
1365
+ # @yieldparam result [Google::Apis::BigtableadminV2::LogicalView] parsed result object
1366
+ # @yieldparam err [StandardError] error object if request failed
1367
+ #
1368
+ # @return [Google::Apis::BigtableadminV2::LogicalView]
1369
+ #
1370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1373
+ def get_project_instance_logical_view(name, fields: nil, quota_user: nil, options: nil, &block)
1374
+ command = make_simple_command(:get, 'v2/{+name}', options)
1375
+ command.response_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1376
+ command.response_class = Google::Apis::BigtableadminV2::LogicalView
1377
+ command.params['name'] = name unless name.nil?
1378
+ command.query['fields'] = fields unless fields.nil?
1379
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1380
+ execute_or_queue_command(command, &block)
1381
+ end
1382
+
1278
1383
  # Gets the access control policy for an instance resource. Returns an empty
1279
1384
  # policy if an instance exists but does not have a policy set.
1280
1385
  # @param [String] resource
@@ -1311,6 +1416,84 @@ module Google
1311
1416
  execute_or_queue_command(command, &block)
1312
1417
  end
1313
1418
 
1419
+ # Lists information about logical views in an instance.
1420
+ # @param [String] parent
1421
+ # Required. The unique name of the instance for which the list of logical views
1422
+ # is requested. Values are of the form `projects/`project`/instances/`instance``.
1423
+ # @param [Fixnum] page_size
1424
+ # Optional. The maximum number of logical views to return. The service may
1425
+ # return fewer than this value
1426
+ # @param [String] page_token
1427
+ # Optional. A page token, received from a previous `ListLogicalViews` call.
1428
+ # Provide this to retrieve the subsequent page. When paginating, all other
1429
+ # parameters provided to `ListLogicalViews` must match the call that provided
1430
+ # the page token.
1431
+ # @param [String] fields
1432
+ # Selector specifying which fields to include in a partial response.
1433
+ # @param [String] quota_user
1434
+ # Available to use for quota purposes for server-side applications. Can be any
1435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1436
+ # @param [Google::Apis::RequestOptions] options
1437
+ # Request-specific options
1438
+ #
1439
+ # @yield [result, err] Result & error if block supplied
1440
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListLogicalViewsResponse] parsed result object
1441
+ # @yieldparam err [StandardError] error object if request failed
1442
+ #
1443
+ # @return [Google::Apis::BigtableadminV2::ListLogicalViewsResponse]
1444
+ #
1445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1448
+ def list_project_instance_logical_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1449
+ command = make_simple_command(:get, 'v2/{+parent}/logicalViews', options)
1450
+ command.response_representation = Google::Apis::BigtableadminV2::ListLogicalViewsResponse::Representation
1451
+ command.response_class = Google::Apis::BigtableadminV2::ListLogicalViewsResponse
1452
+ command.params['parent'] = parent unless parent.nil?
1453
+ command.query['pageSize'] = page_size unless page_size.nil?
1454
+ command.query['pageToken'] = page_token unless page_token.nil?
1455
+ command.query['fields'] = fields unless fields.nil?
1456
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1457
+ execute_or_queue_command(command, &block)
1458
+ end
1459
+
1460
+ # Updates a logical view within an instance.
1461
+ # @param [String] name
1462
+ # Identifier. The unique name of the logical view. Format: `projects/`project`/
1463
+ # instances/`instance`/logicalViews/`logical_view``
1464
+ # @param [Google::Apis::BigtableadminV2::LogicalView] logical_view_object
1465
+ # @param [String] update_mask
1466
+ # Optional. The list of fields to update.
1467
+ # @param [String] fields
1468
+ # Selector specifying which fields to include in a partial response.
1469
+ # @param [String] quota_user
1470
+ # Available to use for quota purposes for server-side applications. Can be any
1471
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1472
+ # @param [Google::Apis::RequestOptions] options
1473
+ # Request-specific options
1474
+ #
1475
+ # @yield [result, err] Result & error if block supplied
1476
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1477
+ # @yieldparam err [StandardError] error object if request failed
1478
+ #
1479
+ # @return [Google::Apis::BigtableadminV2::Operation]
1480
+ #
1481
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1482
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1483
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1484
+ def patch_project_instance_logical_view(name, logical_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1485
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1486
+ command.request_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1487
+ command.request_object = logical_view_object
1488
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1489
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1490
+ command.params['name'] = name unless name.nil?
1491
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1492
+ command.query['fields'] = fields unless fields.nil?
1493
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1494
+ execute_or_queue_command(command, &block)
1495
+ end
1496
+
1314
1497
  # Sets the access control policy on an instance resource. Replaces any existing
1315
1498
  # policy.
1316
1499
  # @param [String] resource
@@ -1382,6 +1565,112 @@ module Google
1382
1565
  execute_or_queue_command(command, &block)
1383
1566
  end
1384
1567
 
1568
+ # Creates a materialized view within an instance.
1569
+ # @param [String] parent
1570
+ # Required. The parent instance where this materialized view will be created.
1571
+ # Format: `projects/`project`/instances/`instance``.
1572
+ # @param [Google::Apis::BigtableadminV2::MaterializedView] materialized_view_object
1573
+ # @param [String] materialized_view_id
1574
+ # Required. The ID to use for the materialized view, which will become the final
1575
+ # component of the materialized view's resource name.
1576
+ # @param [String] fields
1577
+ # Selector specifying which fields to include in a partial response.
1578
+ # @param [String] quota_user
1579
+ # Available to use for quota purposes for server-side applications. Can be any
1580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1581
+ # @param [Google::Apis::RequestOptions] options
1582
+ # Request-specific options
1583
+ #
1584
+ # @yield [result, err] Result & error if block supplied
1585
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1586
+ # @yieldparam err [StandardError] error object if request failed
1587
+ #
1588
+ # @return [Google::Apis::BigtableadminV2::Operation]
1589
+ #
1590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1593
+ def create_project_instance_materialized_view(parent, materialized_view_object = nil, materialized_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1594
+ command = make_simple_command(:post, 'v2/{+parent}/materializedViews', options)
1595
+ command.request_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1596
+ command.request_object = materialized_view_object
1597
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1598
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1599
+ command.params['parent'] = parent unless parent.nil?
1600
+ command.query['materializedViewId'] = materialized_view_id unless materialized_view_id.nil?
1601
+ command.query['fields'] = fields unless fields.nil?
1602
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1603
+ execute_or_queue_command(command, &block)
1604
+ end
1605
+
1606
+ # Deletes a materialized view from an instance.
1607
+ # @param [String] name
1608
+ # Required. The unique name of the materialized view to be deleted. Format: `
1609
+ # projects/`project`/instances/`instance`/materializedViews/`materialized_view``.
1610
+ # @param [String] etag
1611
+ # Optional. The current etag of the materialized view. If an etag is provided
1612
+ # and does not match the current etag of the materialized view, deletion will be
1613
+ # blocked and an ABORTED error will be returned.
1614
+ # @param [String] fields
1615
+ # Selector specifying which fields to include in a partial response.
1616
+ # @param [String] quota_user
1617
+ # Available to use for quota purposes for server-side applications. Can be any
1618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1619
+ # @param [Google::Apis::RequestOptions] options
1620
+ # Request-specific options
1621
+ #
1622
+ # @yield [result, err] Result & error if block supplied
1623
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
1624
+ # @yieldparam err [StandardError] error object if request failed
1625
+ #
1626
+ # @return [Google::Apis::BigtableadminV2::Empty]
1627
+ #
1628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1631
+ def delete_project_instance_materialized_view(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1632
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1633
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
1634
+ command.response_class = Google::Apis::BigtableadminV2::Empty
1635
+ command.params['name'] = name unless name.nil?
1636
+ command.query['etag'] = etag unless etag.nil?
1637
+ command.query['fields'] = fields unless fields.nil?
1638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1639
+ execute_or_queue_command(command, &block)
1640
+ end
1641
+
1642
+ # Gets information about a materialized view.
1643
+ # @param [String] name
1644
+ # Required. The unique name of the requested materialized view. Values are of
1645
+ # the form `projects/`project`/instances/`instance`/materializedViews/`
1646
+ # materialized_view``.
1647
+ # @param [String] fields
1648
+ # Selector specifying which fields to include in a partial response.
1649
+ # @param [String] quota_user
1650
+ # Available to use for quota purposes for server-side applications. Can be any
1651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1652
+ # @param [Google::Apis::RequestOptions] options
1653
+ # Request-specific options
1654
+ #
1655
+ # @yield [result, err] Result & error if block supplied
1656
+ # @yieldparam result [Google::Apis::BigtableadminV2::MaterializedView] parsed result object
1657
+ # @yieldparam err [StandardError] error object if request failed
1658
+ #
1659
+ # @return [Google::Apis::BigtableadminV2::MaterializedView]
1660
+ #
1661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1664
+ def get_project_instance_materialized_view(name, fields: nil, quota_user: nil, options: nil, &block)
1665
+ command = make_simple_command(:get, 'v2/{+name}', options)
1666
+ command.response_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1667
+ command.response_class = Google::Apis::BigtableadminV2::MaterializedView
1668
+ command.params['name'] = name unless name.nil?
1669
+ command.query['fields'] = fields unless fields.nil?
1670
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1671
+ execute_or_queue_command(command, &block)
1672
+ end
1673
+
1385
1674
  # Gets the access control policy for an instance resource. Returns an empty
1386
1675
  # policy if an instance exists but does not have a policy set.
1387
1676
  # @param [String] resource
@@ -1418,6 +1707,85 @@ module Google
1418
1707
  execute_or_queue_command(command, &block)
1419
1708
  end
1420
1709
 
1710
+ # Lists information about materialized views in an instance.
1711
+ # @param [String] parent
1712
+ # Required. The unique name of the instance for which the list of materialized
1713
+ # views is requested. Values are of the form `projects/`project`/instances/`
1714
+ # instance``.
1715
+ # @param [Fixnum] page_size
1716
+ # Optional. The maximum number of materialized views to return. The service may
1717
+ # return fewer than this value
1718
+ # @param [String] page_token
1719
+ # Optional. A page token, received from a previous `ListMaterializedViews` call.
1720
+ # Provide this to retrieve the subsequent page. When paginating, all other
1721
+ # parameters provided to `ListMaterializedViews` must match the call that
1722
+ # provided the page token.
1723
+ # @param [String] fields
1724
+ # Selector specifying which fields to include in a partial response.
1725
+ # @param [String] quota_user
1726
+ # Available to use for quota purposes for server-side applications. Can be any
1727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1728
+ # @param [Google::Apis::RequestOptions] options
1729
+ # Request-specific options
1730
+ #
1731
+ # @yield [result, err] Result & error if block supplied
1732
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListMaterializedViewsResponse] parsed result object
1733
+ # @yieldparam err [StandardError] error object if request failed
1734
+ #
1735
+ # @return [Google::Apis::BigtableadminV2::ListMaterializedViewsResponse]
1736
+ #
1737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1740
+ def list_project_instance_materialized_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1741
+ command = make_simple_command(:get, 'v2/{+parent}/materializedViews', options)
1742
+ command.response_representation = Google::Apis::BigtableadminV2::ListMaterializedViewsResponse::Representation
1743
+ command.response_class = Google::Apis::BigtableadminV2::ListMaterializedViewsResponse
1744
+ command.params['parent'] = parent unless parent.nil?
1745
+ command.query['pageSize'] = page_size unless page_size.nil?
1746
+ command.query['pageToken'] = page_token unless page_token.nil?
1747
+ command.query['fields'] = fields unless fields.nil?
1748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1749
+ execute_or_queue_command(command, &block)
1750
+ end
1751
+
1752
+ # Updates a materialized view within an instance.
1753
+ # @param [String] name
1754
+ # Identifier. The unique name of the materialized view. Format: `projects/`
1755
+ # project`/instances/`instance`/materializedViews/`materialized_view``
1756
+ # @param [Google::Apis::BigtableadminV2::MaterializedView] materialized_view_object
1757
+ # @param [String] update_mask
1758
+ # Optional. The list of fields to update.
1759
+ # @param [String] fields
1760
+ # Selector specifying which fields to include in a partial response.
1761
+ # @param [String] quota_user
1762
+ # Available to use for quota purposes for server-side applications. Can be any
1763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1764
+ # @param [Google::Apis::RequestOptions] options
1765
+ # Request-specific options
1766
+ #
1767
+ # @yield [result, err] Result & error if block supplied
1768
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1769
+ # @yieldparam err [StandardError] error object if request failed
1770
+ #
1771
+ # @return [Google::Apis::BigtableadminV2::Operation]
1772
+ #
1773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1776
+ def patch_project_instance_materialized_view(name, materialized_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1777
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1778
+ command.request_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1779
+ command.request_object = materialized_view_object
1780
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1781
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1782
+ command.params['name'] = name unless name.nil?
1783
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1784
+ command.query['fields'] = fields unless fields.nil?
1785
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1786
+ execute_or_queue_command(command, &block)
1787
+ end
1788
+
1421
1789
  # Sets the access control policy on an instance resource. Replaces any existing
1422
1790
  # policy.
1423
1791
  # @param [String] resource
@@ -1830,6 +2198,8 @@ module Google
1830
2198
  # instances/`instance`/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `
1831
2199
  # REPLICATION_VIEW`, `STATS_VIEW`, `FULL`
1832
2200
  # @param [Google::Apis::BigtableadminV2::Table] table_object
2201
+ # @param [Boolean] ignore_warnings
2202
+ # Optional. If true, ignore safety checks when updating the table.
1833
2203
  # @param [String] update_mask
1834
2204
  # Required. The list of fields to update. A mask specifying which fields (e.g. `
1835
2205
  # change_stream_config`) in the `table` field should be updated. This mask is
@@ -1857,13 +2227,14 @@ module Google
1857
2227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1858
2228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1859
2229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1860
- def patch_project_instance_table(name, table_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2230
+ def patch_project_instance_table(name, table_object = nil, ignore_warnings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1861
2231
  command = make_simple_command(:patch, 'v2/{+name}', options)
1862
2232
  command.request_representation = Google::Apis::BigtableadminV2::Table::Representation
1863
2233
  command.request_object = table_object
1864
2234
  command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1865
2235
  command.response_class = Google::Apis::BigtableadminV2::Operation
1866
2236
  command.params['name'] = name unless name.nil?
2237
+ command.query['ignoreWarnings'] = ignore_warnings unless ignore_warnings.nil?
1867
2238
  command.query['updateMask'] = update_mask unless update_mask.nil?
1868
2239
  command.query['fields'] = fields unless fields.nil?
1869
2240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2327,6 +2698,9 @@ module Google
2327
2698
  # Lists information about the supported locations for this service.
2328
2699
  # @param [String] name
2329
2700
  # The resource that owns the locations collection, if applicable.
2701
+ # @param [Array<String>, String] extra_location_types
2702
+ # Optional. A list of extra location types that should be used as conditions for
2703
+ # controlling the visibility of the locations.
2330
2704
  # @param [String] filter
2331
2705
  # A filter to narrow down results to a preferred subset. The filtering language
2332
2706
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -2354,11 +2728,12 @@ module Google
2354
2728
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2355
2729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2356
2730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2357
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2731
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2358
2732
  command = make_simple_command(:get, 'v2/{+name}/locations', options)
2359
2733
  command.response_representation = Google::Apis::BigtableadminV2::ListLocationsResponse::Representation
2360
2734
  command.response_class = Google::Apis::BigtableadminV2::ListLocationsResponse
2361
2735
  command.params['name'] = name unless name.nil?
2736
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
2362
2737
  command.query['filter'] = filter unless filter.nil?
2363
2738
  command.query['pageSize'] = page_size unless page_size.nil?
2364
2739
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.68.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.69.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: