google-apis-bigtableadmin_v2 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 264c020b19789b710c04cf0941013f18d779318a8bb1f5fb65b41875bcae21cc
4
- data.tar.gz: 3f09d9768bffef1e70a44b0e329f52a59f86bb23a05d902c78fe521069aa2847
3
+ metadata.gz: f14ac5ffddc632286104598464ca69ca516cbbf2c7f5616a54ecc1448445e2ae
4
+ data.tar.gz: 0e3a6714cd5e841001f224445d66ddd0240543967a5c0e994bd01745fffd64f7
5
5
  SHA512:
6
- metadata.gz: 0f1d5848d8ad8c4fbd6b1d27872b8d598034fb85a4b944132a8ebfd099fca856d846f90c21498bd232a431ac5bd41e0c636583d44d7f81b4c530b1c85a43a128
7
- data.tar.gz: c582d3596cbf920d57abb7d647d9ee1ae17e08a3d9cf6f151cc2bbf4ac3c62a9052fa42e61c935a069dc539feaa5db3542e731a897399912400fc5a36bb2d9c9
6
+ metadata.gz: 836450503ef7e2ab4554b9b1fe28b6623c4a874871aeff80a43f2643454ac806267d3524e36887e514dae51ebf11f5e60c077738b0f9fe683d080cbde22a5799
7
+ data.tar.gz: 040f4fea973c5422b65e015ce3fe305d853220bd62aff551f22153060e73ac631be5ec75a39a1343804d3729ebbec745a9e0cdddb5a4e65209840f53895e6987
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.50.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240306
6
+
3
7
  ### v0.49.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240225
@@ -163,6 +163,48 @@ module Google
163
163
  end
164
164
  end
165
165
 
166
+ # Placeholder for admin API work while we work out the internals.
167
+ class AuthorizedView
168
+ include Google::Apis::Core::Hashable
169
+
170
+ # Set to true to make the AuthorizedView protected against deletion. The parent
171
+ # Table and containing Instance cannot be deleted if an AuthorizedView has this
172
+ # bit set.
173
+ # Corresponds to the JSON property `deletionProtection`
174
+ # @return [Boolean]
175
+ attr_accessor :deletion_protection
176
+ alias_method :deletion_protection?, :deletion_protection
177
+
178
+ # The etag for this AuthorizedView. If this is provided on update, it must match
179
+ # the server's etag. The server returns ABORTED error on a mismatched etag.
180
+ # Corresponds to the JSON property `etag`
181
+ # @return [String]
182
+ attr_accessor :etag
183
+
184
+ # Identifier. The name of this AuthorizedView. Values are of the form `projects/`
185
+ # project`/instances/`instance`/tables/`table`/authorizedViews/`authorized_view``
186
+ # Corresponds to the JSON property `name`
187
+ # @return [String]
188
+ attr_accessor :name
189
+
190
+ # Defines a simple AuthorizedView that is a subset of the underlying Table.
191
+ # Corresponds to the JSON property `subsetView`
192
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView]
193
+ attr_accessor :subset_view
194
+
195
+ def initialize(**args)
196
+ update!(**args)
197
+ end
198
+
199
+ # Update properties of this object
200
+ def update!(**args)
201
+ @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
202
+ @etag = args[:etag] if args.key?(:etag)
203
+ @name = args[:name] if args.key?(:name)
204
+ @subset_view = args[:subset_view] if args.key?(:subset_view)
205
+ end
206
+ end
207
+
166
208
  # Defines an automated backup policy for a table
167
209
  class AutomatedBackupPolicy
168
210
  include Google::Apis::Core::Hashable
@@ -829,6 +871,72 @@ module Google
829
871
  end
830
872
  end
831
873
 
874
+ # The metadata for the Operation returned by CreateAuthorizedView.
875
+ class CreateAuthorizedViewMetadata
876
+ include Google::Apis::Core::Hashable
877
+
878
+ # The time at which the operation failed or was completed successfully.
879
+ # Corresponds to the JSON property `finishTime`
880
+ # @return [String]
881
+ attr_accessor :finish_time
882
+
883
+ # The request for CreateAuthorizedView
884
+ # Corresponds to the JSON property `originalRequest`
885
+ # @return [Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest]
886
+ attr_accessor :original_request
887
+
888
+ # The time at which the original request was received.
889
+ # Corresponds to the JSON property `requestTime`
890
+ # @return [String]
891
+ attr_accessor :request_time
892
+
893
+ def initialize(**args)
894
+ update!(**args)
895
+ end
896
+
897
+ # Update properties of this object
898
+ def update!(**args)
899
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
900
+ @original_request = args[:original_request] if args.key?(:original_request)
901
+ @request_time = args[:request_time] if args.key?(:request_time)
902
+ end
903
+ end
904
+
905
+ # The request for CreateAuthorizedView
906
+ class CreateAuthorizedViewRequest
907
+ include Google::Apis::Core::Hashable
908
+
909
+ # Placeholder for admin API work while we work out the internals.
910
+ # Corresponds to the JSON property `authorizedView`
911
+ # @return [Google::Apis::BigtableadminV2::AuthorizedView]
912
+ attr_accessor :authorized_view
913
+
914
+ # Required. The id of the AuthorizedView to create. This AuthorizedView must not
915
+ # already exist. The `authorized_view_id` appended to `parent` forms the full
916
+ # AuthorizedView name of the form `projects/`project`/instances/`instance`/
917
+ # tables/`table`/authorizedView/`authorized_view``.
918
+ # Corresponds to the JSON property `authorizedViewId`
919
+ # @return [String]
920
+ attr_accessor :authorized_view_id
921
+
922
+ # Required. This is the name of the table the AuthorizedView belongs to. Values
923
+ # are of the form `projects/`project`/instances/`instance`/tables/`table``.
924
+ # Corresponds to the JSON property `parent`
925
+ # @return [String]
926
+ attr_accessor :parent
927
+
928
+ def initialize(**args)
929
+ update!(**args)
930
+ end
931
+
932
+ # Update properties of this object
933
+ def update!(**args)
934
+ @authorized_view = args[:authorized_view] if args.key?(:authorized_view)
935
+ @authorized_view_id = args[:authorized_view_id] if args.key?(:authorized_view_id)
936
+ @parent = args[:parent] if args.key?(:parent)
937
+ end
938
+ end
939
+
832
940
  # Metadata type for the operation returned by CreateBackup.
833
941
  class CreateBackupMetadata
834
942
  include Google::Apis::Core::Hashable
@@ -1339,6 +1447,60 @@ module Google
1339
1447
  end
1340
1448
  end
1341
1449
 
1450
+ # Subsets of a column family that are included in this AuthorizedView.
1451
+ class GoogleBigtableAdminV2AuthorizedViewFamilySubsets
1452
+ include Google::Apis::Core::Hashable
1453
+
1454
+ # Prefixes for qualifiers to be included in the AuthorizedView. Every qualifier
1455
+ # starting with one of these prefixes is included in the AuthorizedView. To
1456
+ # provide access to all qualifiers, include the empty string as a prefix ("").
1457
+ # Corresponds to the JSON property `qualifierPrefixes`
1458
+ # @return [Array<String>]
1459
+ attr_accessor :qualifier_prefixes
1460
+
1461
+ # Individual exact column qualifiers to be included in the AuthorizedView.
1462
+ # Corresponds to the JSON property `qualifiers`
1463
+ # @return [Array<String>]
1464
+ attr_accessor :qualifiers
1465
+
1466
+ def initialize(**args)
1467
+ update!(**args)
1468
+ end
1469
+
1470
+ # Update properties of this object
1471
+ def update!(**args)
1472
+ @qualifier_prefixes = args[:qualifier_prefixes] if args.key?(:qualifier_prefixes)
1473
+ @qualifiers = args[:qualifiers] if args.key?(:qualifiers)
1474
+ end
1475
+ end
1476
+
1477
+ # Defines a simple AuthorizedView that is a subset of the underlying Table.
1478
+ class GoogleBigtableAdminV2AuthorizedViewSubsetView
1479
+ include Google::Apis::Core::Hashable
1480
+
1481
+ # Map from column family name to the columns in this family to be included in
1482
+ # the AuthorizedView.
1483
+ # Corresponds to the JSON property `familySubsets`
1484
+ # @return [Hash<String,Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets>]
1485
+ attr_accessor :family_subsets
1486
+
1487
+ # Row prefixes to be included in the AuthorizedView. To provide access to all
1488
+ # rows, include the empty string as a prefix ("").
1489
+ # Corresponds to the JSON property `rowPrefixes`
1490
+ # @return [Array<String>]
1491
+ attr_accessor :row_prefixes
1492
+
1493
+ def initialize(**args)
1494
+ update!(**args)
1495
+ end
1496
+
1497
+ # Update properties of this object
1498
+ def update!(**args)
1499
+ @family_subsets = args[:family_subsets] if args.key?(:family_subsets)
1500
+ @row_prefixes = args[:row_prefixes] if args.key?(:row_prefixes)
1501
+ end
1502
+ end
1503
+
1342
1504
  # A tablet is a defined by a start and end key and is explained in https://cloud.
1343
1505
  # google.com/bigtable/docs/overview#architecture and https://cloud.google.com/
1344
1506
  # bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits
@@ -1523,6 +1685,33 @@ module Google
1523
1685
  end
1524
1686
  end
1525
1687
 
1688
+ # Response message for google.bigtable.admin.v2.BigtableTableAdmin.
1689
+ # ListAuthorizedViews
1690
+ class ListAuthorizedViewsResponse
1691
+ include Google::Apis::Core::Hashable
1692
+
1693
+ # The AuthorizedViews present in the requested table.
1694
+ # Corresponds to the JSON property `authorizedViews`
1695
+ # @return [Array<Google::Apis::BigtableadminV2::AuthorizedView>]
1696
+ attr_accessor :authorized_views
1697
+
1698
+ # Set if not all tables could be returned in a single response. Pass this value
1699
+ # to `page_token` in another request to get the next page of results.
1700
+ # Corresponds to the JSON property `nextPageToken`
1701
+ # @return [String]
1702
+ attr_accessor :next_page_token
1703
+
1704
+ def initialize(**args)
1705
+ update!(**args)
1706
+ end
1707
+
1708
+ # Update properties of this object
1709
+ def update!(**args)
1710
+ @authorized_views = args[:authorized_views] if args.key?(:authorized_views)
1711
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1712
+ end
1713
+ end
1714
+
1526
1715
  # The response for ListBackups.
1527
1716
  class ListBackupsResponse
1528
1717
  include Google::Apis::Core::Hashable
@@ -2727,6 +2916,74 @@ module Google
2727
2916
  end
2728
2917
  end
2729
2918
 
2919
+ # Metadata for the google.longrunning.Operation returned by UpdateAuthorizedView.
2920
+ class UpdateAuthorizedViewMetadata
2921
+ include Google::Apis::Core::Hashable
2922
+
2923
+ # The time at which the operation failed or was completed successfully.
2924
+ # Corresponds to the JSON property `finishTime`
2925
+ # @return [String]
2926
+ attr_accessor :finish_time
2927
+
2928
+ # The request for UpdateAuthorizedView.
2929
+ # Corresponds to the JSON property `originalRequest`
2930
+ # @return [Google::Apis::BigtableadminV2::UpdateAuthorizedViewRequest]
2931
+ attr_accessor :original_request
2932
+
2933
+ # The time at which the original request was received.
2934
+ # Corresponds to the JSON property `requestTime`
2935
+ # @return [String]
2936
+ attr_accessor :request_time
2937
+
2938
+ def initialize(**args)
2939
+ update!(**args)
2940
+ end
2941
+
2942
+ # Update properties of this object
2943
+ def update!(**args)
2944
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
2945
+ @original_request = args[:original_request] if args.key?(:original_request)
2946
+ @request_time = args[:request_time] if args.key?(:request_time)
2947
+ end
2948
+ end
2949
+
2950
+ # The request for UpdateAuthorizedView.
2951
+ class UpdateAuthorizedViewRequest
2952
+ include Google::Apis::Core::Hashable
2953
+
2954
+ # Placeholder for admin API work while we work out the internals.
2955
+ # Corresponds to the JSON property `authorizedView`
2956
+ # @return [Google::Apis::BigtableadminV2::AuthorizedView]
2957
+ attr_accessor :authorized_view
2958
+
2959
+ # Optional. If true, ignore the safety checks when updating the AuthorizedView.
2960
+ # Corresponds to the JSON property `ignoreWarnings`
2961
+ # @return [Boolean]
2962
+ attr_accessor :ignore_warnings
2963
+ alias_method :ignore_warnings?, :ignore_warnings
2964
+
2965
+ # Optional. The list of fields to update. A mask specifying which fields in the
2966
+ # AuthorizedView resource should be updated. This mask is relative to the
2967
+ # AuthorizedView resource, not to the request message. A field will be
2968
+ # overwritten if it is in the mask. If empty, all fields set in the request will
2969
+ # be overwritten. A special value `*` means to overwrite all fields (including
2970
+ # fields not set in the request).
2971
+ # Corresponds to the JSON property `updateMask`
2972
+ # @return [String]
2973
+ attr_accessor :update_mask
2974
+
2975
+ def initialize(**args)
2976
+ update!(**args)
2977
+ end
2978
+
2979
+ # Update properties of this object
2980
+ def update!(**args)
2981
+ @authorized_view = args[:authorized_view] if args.key?(:authorized_view)
2982
+ @ignore_warnings = args[:ignore_warnings] if args.key?(:ignore_warnings)
2983
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
2984
+ end
2985
+ end
2986
+
2730
2987
  # The metadata for the Operation returned by UpdateCluster.
2731
2988
  class UpdateClusterMetadata
2732
2989
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigtableadminV2
18
18
  # Version of the google-apis-bigtableadmin_v2 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.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 = "20240306"
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
 
@@ -238,6 +256,18 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class GoogleBigtableAdminV2AuthorizedViewFamilySubsets
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleBigtableAdminV2AuthorizedViewSubsetView
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
241
271
  class HotTablet
242
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
273
 
@@ -262,6 +292,12 @@ module Google
262
292
  include Google::Apis::Core::JsonObjectSupport
263
293
  end
264
294
 
295
+ class ListAuthorizedViewsResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
265
301
  class ListBackupsResponse
266
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
303
 
@@ -472,6 +508,18 @@ module Google
472
508
  include Google::Apis::Core::JsonObjectSupport
473
509
  end
474
510
 
511
+ class UpdateAuthorizedViewMetadata
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class UpdateAuthorizedViewRequest
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
475
523
  class UpdateClusterMetadata
476
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
525
 
@@ -523,6 +571,17 @@ module Google
523
571
  end
524
572
  end
525
573
 
574
+ class AuthorizedView
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :deletion_protection, as: 'deletionProtection'
578
+ property :etag, as: 'etag'
579
+ property :name, as: 'name'
580
+ property :subset_view, as: 'subsetView', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewSubsetView::Representation
581
+
582
+ end
583
+ end
584
+
526
585
  class AutomatedBackupPolicy
527
586
  # @private
528
587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -686,6 +745,26 @@ module Google
686
745
  end
687
746
  end
688
747
 
748
+ class CreateAuthorizedViewMetadata
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :finish_time, as: 'finishTime'
752
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest, decorator: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest::Representation
753
+
754
+ property :request_time, as: 'requestTime'
755
+ end
756
+ end
757
+
758
+ class CreateAuthorizedViewRequest
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :authorized_view, as: 'authorizedView', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
762
+
763
+ property :authorized_view_id, as: 'authorizedViewId'
764
+ property :parent, as: 'parent'
765
+ end
766
+ end
767
+
689
768
  class CreateBackupMetadata
690
769
  # @private
691
770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -832,6 +911,23 @@ module Google
832
911
  end
833
912
  end
834
913
 
914
+ class GoogleBigtableAdminV2AuthorizedViewFamilySubsets
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ collection :qualifier_prefixes, as: 'qualifierPrefixes'
918
+ collection :qualifiers, as: 'qualifiers'
919
+ end
920
+ end
921
+
922
+ class GoogleBigtableAdminV2AuthorizedViewSubsetView
923
+ # @private
924
+ class Representation < Google::Apis::Core::JsonRepresentation
925
+ hash :family_subsets, as: 'familySubsets', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2AuthorizedViewFamilySubsets::Representation
926
+
927
+ collection :row_prefixes, as: 'rowPrefixes'
928
+ end
929
+ end
930
+
835
931
  class HotTablet
836
932
  # @private
837
933
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,6 +972,15 @@ module Google
876
972
  end
877
973
  end
878
974
 
975
+ class ListAuthorizedViewsResponse
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ collection :authorized_views, as: 'authorizedViews', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
979
+
980
+ property :next_page_token, as: 'nextPageToken'
981
+ end
982
+ end
983
+
879
984
  class ListBackupsResponse
880
985
  # @private
881
986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1204,6 +1309,26 @@ module Google
1204
1309
  end
1205
1310
  end
1206
1311
 
1312
+ class UpdateAuthorizedViewMetadata
1313
+ # @private
1314
+ class Representation < Google::Apis::Core::JsonRepresentation
1315
+ property :finish_time, as: 'finishTime'
1316
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::UpdateAuthorizedViewRequest, decorator: Google::Apis::BigtableadminV2::UpdateAuthorizedViewRequest::Representation
1317
+
1318
+ property :request_time, as: 'requestTime'
1319
+ end
1320
+ end
1321
+
1322
+ class UpdateAuthorizedViewRequest
1323
+ # @private
1324
+ class Representation < Google::Apis::Core::JsonRepresentation
1325
+ property :authorized_view, as: 'authorizedView', class: Google::Apis::BigtableadminV2::AuthorizedView, decorator: Google::Apis::BigtableadminV2::AuthorizedView::Representation
1326
+
1327
+ property :ignore_warnings, as: 'ignoreWarnings'
1328
+ property :update_mask, as: 'updateMask'
1329
+ end
1330
+ end
1331
+
1207
1332
  class UpdateClusterMetadata
1208
1333
  # @private
1209
1334
  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.50.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-17 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.50.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: []