google-apis-bigtableadmin_v2 0.48.0 → 0.50.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: f923d21a5cf67da93d38092030e2b7edd01af34a4051f66fe2fbaadfdd681c4a
4
- data.tar.gz: 274a256f1da51f292d624ff9d49b93a70e480d8e4e69eaecf9d11ae746197d79
3
+ metadata.gz: f14ac5ffddc632286104598464ca69ca516cbbf2c7f5616a54ecc1448445e2ae
4
+ data.tar.gz: 0e3a6714cd5e841001f224445d66ddd0240543967a5c0e994bd01745fffd64f7
5
5
  SHA512:
6
- metadata.gz: 48488521bc3d315b2155cb91b5549e2393f14561d43b07b719d1878ec71cc214991110f2dc3c7a5ebb6040328edffe3e74992ff6371864ae6d829b4da7835cd7
7
- data.tar.gz: 7629aeb41a1c5d15a28e896fcbfdf2b60d290b14d55eb854b79b8263d0911abaf03568c1271ae6b3f993b0f8e946bf173c1e8d47df8a81c3c5e93651de30b192
6
+ metadata.gz: 836450503ef7e2ab4554b9b1fe28b6623c4a874871aeff80a43f2643454ac806267d3524e36887e514dae51ebf11f5e60c077738b0f9fe683d080cbde22a5799
7
+ data.tar.gz: 040f4fea973c5422b65e015ce3fe305d853220bd62aff551f22153060e73ac631be5ec75a39a1343804d3729ebbec745a9e0cdddb5a4e65209840f53895e6987
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.49.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240225
10
+
3
11
  ### v0.48.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240221
@@ -163,6 +163,75 @@ 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
+
208
+ # Defines an automated backup policy for a table
209
+ class AutomatedBackupPolicy
210
+ include Google::Apis::Core::Hashable
211
+
212
+ # Required. How frequently automated backups should occur. The only supported
213
+ # value at this time is 24 hours.
214
+ # Corresponds to the JSON property `frequency`
215
+ # @return [String]
216
+ attr_accessor :frequency
217
+
218
+ # Required. How long the automated backups should be retained. The only
219
+ # supported value at this time is 3 days.
220
+ # Corresponds to the JSON property `retentionPeriod`
221
+ # @return [String]
222
+ attr_accessor :retention_period
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @frequency = args[:frequency] if args.key?(:frequency)
231
+ @retention_period = args[:retention_period] if args.key?(:retention_period)
232
+ end
233
+ end
234
+
166
235
  # Limits for the number of nodes a Cluster can autoscale up/down to.
167
236
  class AutoscalingLimits
168
237
  include Google::Apis::Core::Hashable
@@ -802,6 +871,72 @@ module Google
802
871
  end
803
872
  end
804
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
+
805
940
  # Metadata type for the operation returned by CreateBackup.
806
941
  class CreateBackupMetadata
807
942
  include Google::Apis::Core::Hashable
@@ -1312,6 +1447,60 @@ module Google
1312
1447
  end
1313
1448
  end
1314
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
+
1315
1504
  # A tablet is a defined by a start and end key and is explained in https://cloud.
1316
1505
  # google.com/bigtable/docs/overview#architecture and https://cloud.google.com/
1317
1506
  # bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits
@@ -1496,6 +1685,33 @@ module Google
1496
1685
  end
1497
1686
  end
1498
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
+
1499
1715
  # The response for ListBackups.
1500
1716
  class ListBackupsResponse
1501
1717
  include Google::Apis::Core::Hashable
@@ -1770,6 +1986,13 @@ module Google
1770
1986
  # @return [Google::Apis::BigtableadminV2::ColumnFamily]
1771
1987
  attr_accessor :update
1772
1988
 
1989
+ # Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod
1990
+ # should be updated, ignored for other modification types. If unset or empty, we
1991
+ # treat it as updating `gc_rule` to be backward compatible.
1992
+ # Corresponds to the JSON property `updateMask`
1993
+ # @return [String]
1994
+ attr_accessor :update_mask
1995
+
1773
1996
  def initialize(**args)
1774
1997
  update!(**args)
1775
1998
  end
@@ -1780,6 +2003,7 @@ module Google
1780
2003
  @drop = args[:drop] if args.key?(:drop)
1781
2004
  @id = args[:id] if args.key?(:id)
1782
2005
  @update = args[:update] if args.key?(:update)
2006
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1783
2007
  end
1784
2008
  end
1785
2009
 
@@ -2409,6 +2633,11 @@ module Google
2409
2633
  class Table
2410
2634
  include Google::Apis::Core::Hashable
2411
2635
 
2636
+ # Defines an automated backup policy for a table
2637
+ # Corresponds to the JSON property `automatedBackupPolicy`
2638
+ # @return [Google::Apis::BigtableadminV2::AutomatedBackupPolicy]
2639
+ attr_accessor :automated_backup_policy
2640
+
2412
2641
  # Change stream configuration.
2413
2642
  # Corresponds to the JSON property `changeStreamConfig`
2414
2643
  # @return [Google::Apis::BigtableadminV2::ChangeStreamConfig]
@@ -2474,6 +2703,7 @@ module Google
2474
2703
 
2475
2704
  # Update properties of this object
2476
2705
  def update!(**args)
2706
+ @automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
2477
2707
  @change_stream_config = args[:change_stream_config] if args.key?(:change_stream_config)
2478
2708
  @cluster_states = args[:cluster_states] if args.key?(:cluster_states)
2479
2709
  @column_families = args[:column_families] if args.key?(:column_families)
@@ -2686,6 +2916,74 @@ module Google
2686
2916
  end
2687
2917
  end
2688
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
+
2689
2987
  # The metadata for the Operation returned by UpdateCluster.
2690
2988
  class UpdateClusterMetadata
2691
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.48.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 = "20240221"
25
+ REVISION = "20240306"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ 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
+
49
+ class AutomatedBackupPolicy
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class AutoscalingLimits
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -136,6 +148,18 @@ module Google
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
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
+
139
163
  class CreateBackupMetadata
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -232,6 +256,18 @@ module Google
232
256
  include Google::Apis::Core::JsonObjectSupport
233
257
  end
234
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
+
235
271
  class HotTablet
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -256,6 +292,12 @@ module Google
256
292
  include Google::Apis::Core::JsonObjectSupport
257
293
  end
258
294
 
295
+ class ListAuthorizedViewsResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
259
301
  class ListBackupsResponse
260
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
303
 
@@ -466,6 +508,18 @@ module Google
466
508
  include Google::Apis::Core::JsonObjectSupport
467
509
  end
468
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
+
469
523
  class UpdateClusterMetadata
470
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
525
 
@@ -517,6 +571,25 @@ module Google
517
571
  end
518
572
  end
519
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
+
585
+ class AutomatedBackupPolicy
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :frequency, as: 'frequency'
589
+ property :retention_period, as: 'retentionPeriod'
590
+ end
591
+ end
592
+
520
593
  class AutoscalingLimits
521
594
  # @private
522
595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -672,6 +745,26 @@ module Google
672
745
  end
673
746
  end
674
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
+
675
768
  class CreateBackupMetadata
676
769
  # @private
677
770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -818,6 +911,23 @@ module Google
818
911
  end
819
912
  end
820
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
+
821
931
  class HotTablet
822
932
  # @private
823
933
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -862,6 +972,15 @@ module Google
862
972
  end
863
973
  end
864
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
+
865
984
  class ListBackupsResponse
866
985
  # @private
867
986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -947,6 +1066,7 @@ module Google
947
1066
  property :id, as: 'id'
948
1067
  property :update, as: 'update', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
949
1068
 
1069
+ property :update_mask, as: 'updateMask'
950
1070
  end
951
1071
  end
952
1072
 
@@ -1109,6 +1229,8 @@ module Google
1109
1229
  class Table
1110
1230
  # @private
1111
1231
  class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :automated_backup_policy, as: 'automatedBackupPolicy', class: Google::Apis::BigtableadminV2::AutomatedBackupPolicy, decorator: Google::Apis::BigtableadminV2::AutomatedBackupPolicy::Representation
1233
+
1112
1234
  property :change_stream_config, as: 'changeStreamConfig', class: Google::Apis::BigtableadminV2::ChangeStreamConfig, decorator: Google::Apis::BigtableadminV2::ChangeStreamConfig::Representation
1113
1235
 
1114
1236
  hash :cluster_states, as: 'clusterStates', class: Google::Apis::BigtableadminV2::ClusterState, decorator: Google::Apis::BigtableadminV2::ClusterState::Representation
@@ -1187,6 +1309,26 @@ module Google
1187
1309
  end
1188
1310
  end
1189
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
+
1190
1332
  class UpdateClusterMetadata
1191
1333
  # @private
1192
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.48.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-02-25 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.48.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: []