google-apis-bigtableadmin_v2 0.49.0 → 0.51.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.
@@ -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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240225"
25
+ REVISION = "20240318"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AuthorizedView
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class AutomatedBackupPolicy
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -142,6 +148,18 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class CreateAuthorizedViewMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class CreateAuthorizedViewRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class CreateBackupMetadata
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -178,6 +196,18 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class DataBoostIsolationReadOnly
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class DataBoostReadLocalWrites
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
181
211
  class DropRowRangeRequest
182
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
213
 
@@ -238,6 +268,66 @@ module Google
238
268
  include Google::Apis::Core::JsonObjectSupport
239
269
  end
240
270
 
271
+ class GoogleBigtableAdminV2AuthorizedViewFamilySubsets
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleBigtableAdminV2AuthorizedViewSubsetView
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleBigtableAdminV2TypeAggregate
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleBigtableAdminV2TypeAggregateSum
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleBigtableAdminV2TypeBytes
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleBigtableAdminV2TypeBytesEncoding
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleBigtableAdminV2TypeBytesEncodingRaw
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleBigtableAdminV2TypeInt64
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleBigtableAdminV2TypeInt64Encoding
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
241
331
  class HotTablet
242
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
333
 
@@ -262,6 +352,12 @@ module Google
262
352
  include Google::Apis::Core::JsonObjectSupport
263
353
  end
264
354
 
355
+ class ListAuthorizedViewsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
265
361
  class ListBackupsResponse
266
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
363
 
@@ -412,6 +508,12 @@ module Google
412
508
  include Google::Apis::Core::JsonObjectSupport
413
509
  end
414
510
 
511
+ class StandardReadRemoteWrites
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
415
517
  class Status
416
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
519
 
@@ -448,6 +550,12 @@ module Google
448
550
  include Google::Apis::Core::JsonObjectSupport
449
551
  end
450
552
 
553
+ class Type
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
451
559
  class UndeleteTableMetadata
452
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
561
 
@@ -472,6 +580,18 @@ module Google
472
580
  include Google::Apis::Core::JsonObjectSupport
473
581
  end
474
582
 
583
+ class UpdateAuthorizedViewMetadata
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class UpdateAuthorizedViewRequest
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
475
595
  class UpdateClusterMetadata
476
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
597
 
@@ -493,6 +613,8 @@ module Google
493
613
  class AppProfile
494
614
  # @private
495
615
  class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :data_boost_isolation_read_only, as: 'dataBoostIsolationReadOnly', class: Google::Apis::BigtableadminV2::DataBoostIsolationReadOnly, decorator: Google::Apis::BigtableadminV2::DataBoostIsolationReadOnly::Representation
617
+
496
618
  property :description, as: 'description'
497
619
  property :etag, as: 'etag'
498
620
  property :multi_cluster_routing_use_any, as: 'multiClusterRoutingUseAny', class: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny, decorator: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny::Representation
@@ -523,6 +645,17 @@ module Google
523
645
  end
524
646
  end
525
647
 
648
+ class AuthorizedView
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ property :deletion_protection, as: 'deletionProtection'
652
+ property :etag, as: 'etag'
653
+ property :name, as: 'name'
654
+ property :subset_view, as: 'subsetView', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView::Representation
655
+
656
+ end
657
+ end
658
+
526
659
  class AutomatedBackupPolicy
527
660
  # @private
528
661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -595,6 +728,10 @@ module Google
595
728
  # @private
596
729
  class Representation < Google::Apis::Core::JsonRepresentation
597
730
  property :consistency_token, as: 'consistencyToken'
731
+ property :data_boost_read_local_writes, as: 'dataBoostReadLocalWrites', class: Google::Apis::BigtableadminV2::DataBoostReadLocalWrites, decorator: Google::Apis::BigtableadminV2::DataBoostReadLocalWrites::Representation
732
+
733
+ property :standard_read_remote_writes, as: 'standardReadRemoteWrites', class: Google::Apis::BigtableadminV2::StandardReadRemoteWrites, decorator: Google::Apis::BigtableadminV2::StandardReadRemoteWrites::Representation
734
+
598
735
  end
599
736
  end
600
737
 
@@ -654,6 +791,8 @@ module Google
654
791
 
655
792
  property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::ColumnFamilyStats, decorator: Google::Apis::BigtableadminV2::ColumnFamilyStats::Representation
656
793
 
794
+ property :value_type, as: 'valueType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
795
+
657
796
  end
658
797
  end
659
798
 
@@ -686,6 +825,26 @@ module Google
686
825
  end
687
826
  end
688
827
 
828
+ class CreateAuthorizedViewMetadata
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :finish_time, as: 'finishTime'
832
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest, decorator: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest::Representation
833
+
834
+ property :request_time, as: 'requestTime'
835
+ end
836
+ end
837
+
838
+ class CreateAuthorizedViewRequest
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :authorized_view, as: 'authorizedView', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
842
+
843
+ property :authorized_view_id, as: 'authorizedViewId'
844
+ property :parent, as: 'parent'
845
+ end
846
+ end
847
+
689
848
  class CreateBackupMetadata
690
849
  # @private
691
850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -751,6 +910,19 @@ module Google
751
910
  end
752
911
  end
753
912
 
913
+ class DataBoostIsolationReadOnly
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :compute_billing_owner, as: 'computeBillingOwner'
917
+ end
918
+ end
919
+
920
+ class DataBoostReadLocalWrites
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ end
924
+ end
925
+
754
926
  class DropRowRangeRequest
755
927
  # @private
756
928
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -832,6 +1004,87 @@ module Google
832
1004
  end
833
1005
  end
834
1006
 
1007
+ class GoogleBigtableAdminV2AuthorizedViewFamilySubsets
1008
+ # @private
1009
+ class Representation < Google::Apis::Core::JsonRepresentation
1010
+ collection :qualifier_prefixes, as: 'qualifierPrefixes'
1011
+ collection :qualifiers, as: 'qualifiers'
1012
+ end
1013
+ end
1014
+
1015
+ class GoogleBigtableAdminV2AuthorizedViewSubsetView
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ hash :family_subsets, as: 'familySubsets', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets::Representation
1019
+
1020
+ collection :row_prefixes, as: 'rowPrefixes'
1021
+ end
1022
+ end
1023
+
1024
+ class GoogleBigtableAdminV2TypeAggregate
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ property :input_type, as: 'inputType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
1028
+
1029
+ property :state_type, as: 'stateType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
1030
+
1031
+ property :sum, as: 'sum', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregateSum, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregateSum::Representation
1032
+
1033
+ end
1034
+ end
1035
+
1036
+ class GoogleBigtableAdminV2TypeAggregateSum
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ end
1040
+ end
1041
+
1042
+ class GoogleBigtableAdminV2TypeBytes
1043
+ # @private
1044
+ class Representation < Google::Apis::Core::JsonRepresentation
1045
+ property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncoding::Representation
1046
+
1047
+ end
1048
+ end
1049
+
1050
+ class GoogleBigtableAdminV2TypeBytesEncoding
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :raw, as: 'raw', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncodingRaw, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncodingRaw::Representation
1054
+
1055
+ end
1056
+ end
1057
+
1058
+ class GoogleBigtableAdminV2TypeBytesEncodingRaw
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ end
1062
+ end
1063
+
1064
+ class GoogleBigtableAdminV2TypeInt64
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding::Representation
1068
+
1069
+ end
1070
+ end
1071
+
1072
+ class GoogleBigtableAdminV2TypeInt64Encoding
1073
+ # @private
1074
+ class Representation < Google::Apis::Core::JsonRepresentation
1075
+ property :big_endian_bytes, as: 'bigEndianBytes', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes::Representation
1076
+
1077
+ end
1078
+ end
1079
+
1080
+ class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
1081
+ # @private
1082
+ class Representation < Google::Apis::Core::JsonRepresentation
1083
+ property :bytes_type, as: 'bytesType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes::Representation
1084
+
1085
+ end
1086
+ end
1087
+
835
1088
  class HotTablet
836
1089
  # @private
837
1090
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,6 +1129,15 @@ module Google
876
1129
  end
877
1130
  end
878
1131
 
1132
+ class ListAuthorizedViewsResponse
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ collection :authorized_views, as: 'authorizedViews', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
1136
+
1137
+ property :next_page_token, as: 'nextPageToken'
1138
+ end
1139
+ end
1140
+
879
1141
  class ListBackupsResponse
880
1142
  # @private
881
1143
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1112,6 +1374,12 @@ module Google
1112
1374
  end
1113
1375
  end
1114
1376
 
1377
+ class StandardReadRemoteWrites
1378
+ # @private
1379
+ class Representation < Google::Apis::Core::JsonRepresentation
1380
+ end
1381
+ end
1382
+
1115
1383
  class Status
1116
1384
  # @private
1117
1385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1175,6 +1443,18 @@ module Google
1175
1443
  end
1176
1444
  end
1177
1445
 
1446
+ class Type
1447
+ # @private
1448
+ class Representation < Google::Apis::Core::JsonRepresentation
1449
+ property :aggregate_type, as: 'aggregateType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregate, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregate::Representation
1450
+
1451
+ property :bytes_type, as: 'bytesType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes::Representation
1452
+
1453
+ property :int64_type, as: 'int64Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64::Representation
1454
+
1455
+ end
1456
+ end
1457
+
1178
1458
  class UndeleteTableMetadata
1179
1459
  # @private
1180
1460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1204,6 +1484,26 @@ module Google
1204
1484
  end
1205
1485
  end
1206
1486
 
1487
+ class UpdateAuthorizedViewMetadata
1488
+ # @private
1489
+ class Representation < Google::Apis::Core::JsonRepresentation
1490
+ property :finish_time, as: 'finishTime'
1491
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::UpdateAuthorizedViewRequest, decorator: Google::Apis::BigtableadminV2::UpdateAuthorizedViewRequest::Representation
1492
+
1493
+ property :request_time, as: 'requestTime'
1494
+ end
1495
+ end
1496
+
1497
+ class UpdateAuthorizedViewRequest
1498
+ # @private
1499
+ class Representation < Google::Apis::Core::JsonRepresentation
1500
+ property :authorized_view, as: 'authorizedView', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
1501
+
1502
+ property :ignore_warnings, as: 'ignoreWarnings'
1503
+ property :update_mask, as: 'updateMask'
1504
+ end
1505
+ end
1506
+
1207
1507
  class UpdateClusterMetadata
1208
1508
  # @private
1209
1509
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1798,6 +1798,211 @@ module Google
1798
1798
  execute_or_queue_command(command, &block)
1799
1799
  end
1800
1800
 
1801
+ # Creates a new AuthorizedView in a table.
1802
+ # @param [String] parent
1803
+ # Required. This is the name of the table the AuthorizedView belongs to. Values
1804
+ # are of the form `projects/`project`/instances/`instance`/tables/`table``.
1805
+ # @param [Google::Apis::BigtableadminV2::AuthorizedView] authorized_view_object
1806
+ # @param [String] authorized_view_id
1807
+ # Required. The id of the AuthorizedView to create. This AuthorizedView must not
1808
+ # already exist. The `authorized_view_id` appended to `parent` forms the full
1809
+ # AuthorizedView name of the form `projects/`project`/instances/`instance`/
1810
+ # tables/`table`/authorizedView/`authorized_view``.
1811
+ # @param [String] fields
1812
+ # Selector specifying which fields to include in a partial response.
1813
+ # @param [String] quota_user
1814
+ # Available to use for quota purposes for server-side applications. Can be any
1815
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1816
+ # @param [Google::Apis::RequestOptions] options
1817
+ # Request-specific options
1818
+ #
1819
+ # @yield [result, err] Result & error if block supplied
1820
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1821
+ # @yieldparam err [StandardError] error object if request failed
1822
+ #
1823
+ # @return [Google::Apis::BigtableadminV2::Operation]
1824
+ #
1825
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1826
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1827
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1828
+ def create_project_instance_table_authorized_view(parent, authorized_view_object = nil, authorized_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1829
+ command = make_simple_command(:post, 'v2/{+parent}/authorizedViews', options)
1830
+ command.request_representation = Google::Apis::BigtableadminV2::AuthorizedView::Representation
1831
+ command.request_object = authorized_view_object
1832
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1833
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1834
+ command.params['parent'] = parent unless parent.nil?
1835
+ command.query['authorizedViewId'] = authorized_view_id unless authorized_view_id.nil?
1836
+ command.query['fields'] = fields unless fields.nil?
1837
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1838
+ execute_or_queue_command(command, &block)
1839
+ end
1840
+
1841
+ # Permanently deletes a specified AuthorizedView.
1842
+ # @param [String] name
1843
+ # Required. The unique name of the AuthorizedView to be deleted. Values are of
1844
+ # the form `projects/`project`/instances/`instance`/tables/`table`/
1845
+ # authorizedViews/`authorized_view``.
1846
+ # @param [String] etag
1847
+ # Optional. The current etag of the AuthorizedView. If an etag is provided and
1848
+ # does not match the current etag of the AuthorizedView, deletion will be
1849
+ # blocked and an ABORTED error will be returned.
1850
+ # @param [String] fields
1851
+ # Selector specifying which fields to include in a partial response.
1852
+ # @param [String] quota_user
1853
+ # Available to use for quota purposes for server-side applications. Can be any
1854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1855
+ # @param [Google::Apis::RequestOptions] options
1856
+ # Request-specific options
1857
+ #
1858
+ # @yield [result, err] Result & error if block supplied
1859
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
1860
+ # @yieldparam err [StandardError] error object if request failed
1861
+ #
1862
+ # @return [Google::Apis::BigtableadminV2::Empty]
1863
+ #
1864
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1865
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1866
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1867
+ def delete_project_instance_table_authorized_view(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1868
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1869
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
1870
+ command.response_class = Google::Apis::BigtableadminV2::Empty
1871
+ command.params['name'] = name unless name.nil?
1872
+ command.query['etag'] = etag unless etag.nil?
1873
+ command.query['fields'] = fields unless fields.nil?
1874
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1875
+ execute_or_queue_command(command, &block)
1876
+ end
1877
+
1878
+ # Gets information from a specified AuthorizedView.
1879
+ # @param [String] name
1880
+ # Required. The unique name of the requested AuthorizedView. Values are of the
1881
+ # form `projects/`project`/instances/`instance`/tables/`table`/authorizedViews/`
1882
+ # authorized_view``.
1883
+ # @param [String] view
1884
+ # Optional. The resource_view to be applied to the returned AuthorizedView's
1885
+ # fields. Default to BASIC.
1886
+ # @param [String] fields
1887
+ # Selector specifying which fields to include in a partial response.
1888
+ # @param [String] quota_user
1889
+ # Available to use for quota purposes for server-side applications. Can be any
1890
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1891
+ # @param [Google::Apis::RequestOptions] options
1892
+ # Request-specific options
1893
+ #
1894
+ # @yield [result, err] Result & error if block supplied
1895
+ # @yieldparam result [Google::Apis::BigtableadminV2::AuthorizedView] parsed result object
1896
+ # @yieldparam err [StandardError] error object if request failed
1897
+ #
1898
+ # @return [Google::Apis::BigtableadminV2::AuthorizedView]
1899
+ #
1900
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1901
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1902
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1903
+ def get_project_instance_table_authorized_view(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1904
+ command = make_simple_command(:get, 'v2/{+name}', options)
1905
+ command.response_representation = Google::Apis::BigtableadminV2::AuthorizedView::Representation
1906
+ command.response_class = Google::Apis::BigtableadminV2::AuthorizedView
1907
+ command.params['name'] = name unless name.nil?
1908
+ command.query['view'] = view unless view.nil?
1909
+ command.query['fields'] = fields unless fields.nil?
1910
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1911
+ execute_or_queue_command(command, &block)
1912
+ end
1913
+
1914
+ # Lists all AuthorizedViews from a specific table.
1915
+ # @param [String] parent
1916
+ # Required. The unique name of the table for which AuthorizedViews should be
1917
+ # listed. Values are of the form `projects/`project`/instances/`instance`/tables/
1918
+ # `table``.
1919
+ # @param [Fixnum] page_size
1920
+ # Optional. Maximum number of results per page. A page_size of zero lets the
1921
+ # server choose the number of items to return. A page_size which is strictly
1922
+ # positive will return at most that many items. A negative page_size will cause
1923
+ # an error. Following the first request, subsequent paginated calls are not
1924
+ # required to pass a page_size. If a page_size is set in subsequent calls, it
1925
+ # must match the page_size given in the first request.
1926
+ # @param [String] page_token
1927
+ # Optional. The value of `next_page_token` returned by a previous call.
1928
+ # @param [String] view
1929
+ # Optional. The resource_view to be applied to the returned views' fields.
1930
+ # Default to NAME_ONLY.
1931
+ # @param [String] fields
1932
+ # Selector specifying which fields to include in a partial response.
1933
+ # @param [String] quota_user
1934
+ # Available to use for quota purposes for server-side applications. Can be any
1935
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1936
+ # @param [Google::Apis::RequestOptions] options
1937
+ # Request-specific options
1938
+ #
1939
+ # @yield [result, err] Result & error if block supplied
1940
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListAuthorizedViewsResponse] parsed result object
1941
+ # @yieldparam err [StandardError] error object if request failed
1942
+ #
1943
+ # @return [Google::Apis::BigtableadminV2::ListAuthorizedViewsResponse]
1944
+ #
1945
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1946
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1947
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1948
+ def list_project_instance_table_authorized_views(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1949
+ command = make_simple_command(:get, 'v2/{+parent}/authorizedViews', options)
1950
+ command.response_representation = Google::Apis::BigtableadminV2::ListAuthorizedViewsResponse::Representation
1951
+ command.response_class = Google::Apis::BigtableadminV2::ListAuthorizedViewsResponse
1952
+ command.params['parent'] = parent unless parent.nil?
1953
+ command.query['pageSize'] = page_size unless page_size.nil?
1954
+ command.query['pageToken'] = page_token unless page_token.nil?
1955
+ command.query['view'] = view unless view.nil?
1956
+ command.query['fields'] = fields unless fields.nil?
1957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1958
+ execute_or_queue_command(command, &block)
1959
+ end
1960
+
1961
+ # Updates an AuthorizedView in a table.
1962
+ # @param [String] name
1963
+ # Identifier. The name of this AuthorizedView. Values are of the form `projects/`
1964
+ # project`/instances/`instance`/tables/`table`/authorizedViews/`authorized_view``
1965
+ # @param [Google::Apis::BigtableadminV2::AuthorizedView] authorized_view_object
1966
+ # @param [Boolean] ignore_warnings
1967
+ # Optional. If true, ignore the safety checks when updating the AuthorizedView.
1968
+ # @param [String] update_mask
1969
+ # Optional. The list of fields to update. A mask specifying which fields in the
1970
+ # AuthorizedView resource should be updated. This mask is relative to the
1971
+ # AuthorizedView resource, not to the request message. A field will be
1972
+ # overwritten if it is in the mask. If empty, all fields set in the request will
1973
+ # be overwritten. A special value `*` means to overwrite all fields (including
1974
+ # fields not set in the request).
1975
+ # @param [String] fields
1976
+ # Selector specifying which fields to include in a partial response.
1977
+ # @param [String] quota_user
1978
+ # Available to use for quota purposes for server-side applications. Can be any
1979
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1980
+ # @param [Google::Apis::RequestOptions] options
1981
+ # Request-specific options
1982
+ #
1983
+ # @yield [result, err] Result & error if block supplied
1984
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1985
+ # @yieldparam err [StandardError] error object if request failed
1986
+ #
1987
+ # @return [Google::Apis::BigtableadminV2::Operation]
1988
+ #
1989
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1990
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1991
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1992
+ def patch_project_instance_table_authorized_view(name, authorized_view_object = nil, ignore_warnings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1993
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1994
+ command.request_representation = Google::Apis::BigtableadminV2::AuthorizedView::Representation
1995
+ command.request_object = authorized_view_object
1996
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1997
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1998
+ command.params['name'] = name unless name.nil?
1999
+ command.query['ignoreWarnings'] = ignore_warnings unless ignore_warnings.nil?
2000
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2001
+ command.query['fields'] = fields unless fields.nil?
2002
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2003
+ execute_or_queue_command(command, &block)
2004
+ end
2005
+
1801
2006
  # Lists information about the supported locations for this service.
1802
2007
  # @param [String] name
1803
2008
  # The resource that owns the locations collection, if applicable.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
63
63
  post_install_message:
64
64
  rdoc_options: []