google-apis-bigtableadmin_v2 0.67.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23b45bd9fba778fe27217fece03838d33b6444ac848eed6192ac0f792b27e947
4
- data.tar.gz: 778ab49f3f833f173a619768b2b8fb6d9cfb2eec016f11277fad01392744796a
3
+ metadata.gz: 5b9a2b1321b23fb2339261b0eab47497b8aebadf00f255fb557929b57105d207
4
+ data.tar.gz: f5c1cfa8d1fa72810230288bd7a5fd7fd300ce038ee8aaf11ffc5af467b8498a
5
5
  SHA512:
6
- metadata.gz: 7fa4ba455f95714d891957183ab29d51d8f1da4c9c1b51d86837ec5cd9afa639aa155d7e5c2cb30875f42c71a523bccc3fa4d8afbcb343237f0cc43385fd8daa
7
- data.tar.gz: c649f75648146d9bdd5d45ee0c6c97ca87a676838697081b276dc8ff8c6a63ece6e74555cef21c48e1f6c0a71f5dbd94b6642b645a67b883471cfaa408e3a471
6
+ metadata.gz: 279b5cacc068646ef178a033d7157af6b0ed1f93d879d261fba7001b2360fa4e80b3d5ec3d12a53f77f5fc952143907b8aaea3b6571a406835c2b9db1a2dbd23
7
+ data.tar.gz: 97717ca29219d97d4227b608c01d57d1988867eb2e028db692d4ec075b6503446d640181d2aad6257ed7889c4935a607935aa8fe4d338c108a0d83bfcab714c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.69.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250410
6
+
7
+ ### v0.68.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250308
10
+
3
11
  ### v0.67.0 (2025-03-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20250227
@@ -1191,6 +1191,134 @@ module Google
1191
1191
  end
1192
1192
  end
1193
1193
 
1194
+ # The metadata for the Operation returned by CreateLogicalView.
1195
+ class CreateLogicalViewMetadata
1196
+ include Google::Apis::Core::Hashable
1197
+
1198
+ # If set, the time at which this operation finished or was canceled.
1199
+ # Corresponds to the JSON property `endTime`
1200
+ # @return [String]
1201
+ attr_accessor :end_time
1202
+
1203
+ # Request message for BigtableInstanceAdmin.CreateLogicalView.
1204
+ # Corresponds to the JSON property `originalRequest`
1205
+ # @return [Google::Apis::BigtableadminV2::CreateLogicalViewRequest]
1206
+ attr_accessor :original_request
1207
+
1208
+ # The time at which this operation started.
1209
+ # Corresponds to the JSON property `startTime`
1210
+ # @return [String]
1211
+ attr_accessor :start_time
1212
+
1213
+ def initialize(**args)
1214
+ update!(**args)
1215
+ end
1216
+
1217
+ # Update properties of this object
1218
+ def update!(**args)
1219
+ @end_time = args[:end_time] if args.key?(:end_time)
1220
+ @original_request = args[:original_request] if args.key?(:original_request)
1221
+ @start_time = args[:start_time] if args.key?(:start_time)
1222
+ end
1223
+ end
1224
+
1225
+ # Request message for BigtableInstanceAdmin.CreateLogicalView.
1226
+ class CreateLogicalViewRequest
1227
+ include Google::Apis::Core::Hashable
1228
+
1229
+ # A SQL logical view object that can be referenced in SQL queries.
1230
+ # Corresponds to the JSON property `logicalView`
1231
+ # @return [Google::Apis::BigtableadminV2::LogicalView]
1232
+ attr_accessor :logical_view
1233
+
1234
+ # Required. The ID to use for the logical view, which will become the final
1235
+ # component of the logical view's resource name.
1236
+ # Corresponds to the JSON property `logicalViewId`
1237
+ # @return [String]
1238
+ attr_accessor :logical_view_id
1239
+
1240
+ # Required. The parent instance where this logical view will be created. Format:
1241
+ # `projects/`project`/instances/`instance``.
1242
+ # Corresponds to the JSON property `parent`
1243
+ # @return [String]
1244
+ attr_accessor :parent
1245
+
1246
+ def initialize(**args)
1247
+ update!(**args)
1248
+ end
1249
+
1250
+ # Update properties of this object
1251
+ def update!(**args)
1252
+ @logical_view = args[:logical_view] if args.key?(:logical_view)
1253
+ @logical_view_id = args[:logical_view_id] if args.key?(:logical_view_id)
1254
+ @parent = args[:parent] if args.key?(:parent)
1255
+ end
1256
+ end
1257
+
1258
+ # The metadata for the Operation returned by CreateMaterializedView.
1259
+ class CreateMaterializedViewMetadata
1260
+ include Google::Apis::Core::Hashable
1261
+
1262
+ # If set, the time at which this operation finished or was canceled.
1263
+ # Corresponds to the JSON property `endTime`
1264
+ # @return [String]
1265
+ attr_accessor :end_time
1266
+
1267
+ # Request message for BigtableInstanceAdmin.CreateMaterializedView.
1268
+ # Corresponds to the JSON property `originalRequest`
1269
+ # @return [Google::Apis::BigtableadminV2::CreateMaterializedViewRequest]
1270
+ attr_accessor :original_request
1271
+
1272
+ # The time at which this operation started.
1273
+ # Corresponds to the JSON property `startTime`
1274
+ # @return [String]
1275
+ attr_accessor :start_time
1276
+
1277
+ def initialize(**args)
1278
+ update!(**args)
1279
+ end
1280
+
1281
+ # Update properties of this object
1282
+ def update!(**args)
1283
+ @end_time = args[:end_time] if args.key?(:end_time)
1284
+ @original_request = args[:original_request] if args.key?(:original_request)
1285
+ @start_time = args[:start_time] if args.key?(:start_time)
1286
+ end
1287
+ end
1288
+
1289
+ # Request message for BigtableInstanceAdmin.CreateMaterializedView.
1290
+ class CreateMaterializedViewRequest
1291
+ include Google::Apis::Core::Hashable
1292
+
1293
+ # A materialized view object that can be referenced in SQL queries.
1294
+ # Corresponds to the JSON property `materializedView`
1295
+ # @return [Google::Apis::BigtableadminV2::MaterializedView]
1296
+ attr_accessor :materialized_view
1297
+
1298
+ # Required. The ID to use for the materialized view, which will become the final
1299
+ # component of the materialized view's resource name.
1300
+ # Corresponds to the JSON property `materializedViewId`
1301
+ # @return [String]
1302
+ attr_accessor :materialized_view_id
1303
+
1304
+ # Required. The parent instance where this materialized view will be created.
1305
+ # Format: `projects/`project`/instances/`instance``.
1306
+ # Corresponds to the JSON property `parent`
1307
+ # @return [String]
1308
+ attr_accessor :parent
1309
+
1310
+ def initialize(**args)
1311
+ update!(**args)
1312
+ end
1313
+
1314
+ # Update properties of this object
1315
+ def update!(**args)
1316
+ @materialized_view = args[:materialized_view] if args.key?(:materialized_view)
1317
+ @materialized_view_id = args[:materialized_view_id] if args.key?(:materialized_view_id)
1318
+ @parent = args[:parent] if args.key?(:parent)
1319
+ end
1320
+ end
1321
+
1194
1322
  # Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable
1195
1323
  class CreateTableRequest
1196
1324
  include Google::Apis::Core::Hashable
@@ -2731,6 +2859,58 @@ module Google
2731
2859
  end
2732
2860
  end
2733
2861
 
2862
+ # Response message for BigtableInstanceAdmin.ListLogicalViews.
2863
+ class ListLogicalViewsResponse
2864
+ include Google::Apis::Core::Hashable
2865
+
2866
+ # The list of requested logical views.
2867
+ # Corresponds to the JSON property `logicalViews`
2868
+ # @return [Array<Google::Apis::BigtableadminV2::LogicalView>]
2869
+ attr_accessor :logical_views
2870
+
2871
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2872
+ # field is omitted, there are no subsequent pages.
2873
+ # Corresponds to the JSON property `nextPageToken`
2874
+ # @return [String]
2875
+ attr_accessor :next_page_token
2876
+
2877
+ def initialize(**args)
2878
+ update!(**args)
2879
+ end
2880
+
2881
+ # Update properties of this object
2882
+ def update!(**args)
2883
+ @logical_views = args[:logical_views] if args.key?(:logical_views)
2884
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2885
+ end
2886
+ end
2887
+
2888
+ # Response message for BigtableInstanceAdmin.ListMaterializedViews.
2889
+ class ListMaterializedViewsResponse
2890
+ include Google::Apis::Core::Hashable
2891
+
2892
+ # The list of requested materialized views.
2893
+ # Corresponds to the JSON property `materializedViews`
2894
+ # @return [Array<Google::Apis::BigtableadminV2::MaterializedView>]
2895
+ attr_accessor :materialized_views
2896
+
2897
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2898
+ # field is omitted, there are no subsequent pages.
2899
+ # Corresponds to the JSON property `nextPageToken`
2900
+ # @return [String]
2901
+ attr_accessor :next_page_token
2902
+
2903
+ def initialize(**args)
2904
+ update!(**args)
2905
+ end
2906
+
2907
+ # Update properties of this object
2908
+ def update!(**args)
2909
+ @materialized_views = args[:materialized_views] if args.key?(:materialized_views)
2910
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2911
+ end
2912
+ end
2913
+
2734
2914
  # The response message for Operations.ListOperations.
2735
2915
  class ListOperationsResponse
2736
2916
  include Google::Apis::Core::Hashable
@@ -2829,6 +3009,81 @@ module Google
2829
3009
  end
2830
3010
  end
2831
3011
 
3012
+ # A SQL logical view object that can be referenced in SQL queries.
3013
+ class LogicalView
3014
+ include Google::Apis::Core::Hashable
3015
+
3016
+ # Optional. The etag for this logical view. This may be sent on update requests
3017
+ # to ensure that the client has an up-to-date value before proceeding. The
3018
+ # server returns an ABORTED error on a mismatched etag.
3019
+ # Corresponds to the JSON property `etag`
3020
+ # @return [String]
3021
+ attr_accessor :etag
3022
+
3023
+ # Identifier. The unique name of the logical view. Format: `projects/`project`/
3024
+ # instances/`instance`/logicalViews/`logical_view``
3025
+ # Corresponds to the JSON property `name`
3026
+ # @return [String]
3027
+ attr_accessor :name
3028
+
3029
+ # Required. The logical view's select query.
3030
+ # Corresponds to the JSON property `query`
3031
+ # @return [String]
3032
+ attr_accessor :query
3033
+
3034
+ def initialize(**args)
3035
+ update!(**args)
3036
+ end
3037
+
3038
+ # Update properties of this object
3039
+ def update!(**args)
3040
+ @etag = args[:etag] if args.key?(:etag)
3041
+ @name = args[:name] if args.key?(:name)
3042
+ @query = args[:query] if args.key?(:query)
3043
+ end
3044
+ end
3045
+
3046
+ # A materialized view object that can be referenced in SQL queries.
3047
+ class MaterializedView
3048
+ include Google::Apis::Core::Hashable
3049
+
3050
+ # Set to true to make the MaterializedView protected against deletion.
3051
+ # Corresponds to the JSON property `deletionProtection`
3052
+ # @return [Boolean]
3053
+ attr_accessor :deletion_protection
3054
+ alias_method :deletion_protection?, :deletion_protection
3055
+
3056
+ # Optional. The etag for this materialized view. This may be sent on update
3057
+ # requests to ensure that the client has an up-to-date value before proceeding.
3058
+ # The server returns an ABORTED error on a mismatched etag.
3059
+ # Corresponds to the JSON property `etag`
3060
+ # @return [String]
3061
+ attr_accessor :etag
3062
+
3063
+ # Identifier. The unique name of the materialized view. Format: `projects/`
3064
+ # project`/instances/`instance`/materializedViews/`materialized_view``
3065
+ # Corresponds to the JSON property `name`
3066
+ # @return [String]
3067
+ attr_accessor :name
3068
+
3069
+ # Required. Immutable. The materialized view's select query.
3070
+ # Corresponds to the JSON property `query`
3071
+ # @return [String]
3072
+ attr_accessor :query
3073
+
3074
+ def initialize(**args)
3075
+ update!(**args)
3076
+ end
3077
+
3078
+ # Update properties of this object
3079
+ def update!(**args)
3080
+ @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
3081
+ @etag = args[:etag] if args.key?(:etag)
3082
+ @name = args[:name] if args.key?(:name)
3083
+ @query = args[:query] if args.key?(:query)
3084
+ end
3085
+ end
3086
+
2832
3087
  # A create, update, or delete of a particular column family.
2833
3088
  class Modification
2834
3089
  include Google::Apis::Core::Hashable
@@ -3605,6 +3860,13 @@ module Google
3605
3860
  # @return [Google::Apis::BigtableadminV2::RestoreInfo]
3606
3861
  attr_accessor :restore_info
3607
3862
 
3863
+ # A structured data value, consisting of fields which map to dynamically typed
3864
+ # values. Values of type `Struct` are stored in `Value.array_value` where
3865
+ # entries are in the same order and number as `field_types`.
3866
+ # Corresponds to the JSON property `rowKeySchema`
3867
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct]
3868
+ attr_accessor :row_key_schema
3869
+
3608
3870
  # Approximate statistics related to a table. These statistics are calculated
3609
3871
  # infrequently, while simultaneously, data in the table can change rapidly. Thus
3610
3872
  # the values reported here (e.g. row count) are very likely out-of date, even
@@ -3629,6 +3891,7 @@ module Google
3629
3891
  @granularity = args[:granularity] if args.key?(:granularity)
3630
3892
  @name = args[:name] if args.key?(:name)
3631
3893
  @restore_info = args[:restore_info] if args.key?(:restore_info)
3894
+ @row_key_schema = args[:row_key_schema] if args.key?(:row_key_schema)
3632
3895
  @stats = args[:stats] if args.key?(:stats)
3633
3896
  end
3634
3897
  end
@@ -4075,6 +4338,62 @@ module Google
4075
4338
  end
4076
4339
  end
4077
4340
 
4341
+ # The metadata for the Operation returned by UpdateLogicalView.
4342
+ class UpdateLogicalViewMetadata
4343
+ include Google::Apis::Core::Hashable
4344
+
4345
+ # If set, the time at which this operation finished or was canceled.
4346
+ # Corresponds to the JSON property `endTime`
4347
+ # @return [String]
4348
+ attr_accessor :end_time
4349
+
4350
+ # Request message for BigtableInstanceAdmin.UpdateLogicalView.
4351
+ # Corresponds to the JSON property `originalRequest`
4352
+ # @return [Google::Apis::BigtableadminV2::UpdateLogicalViewRequest]
4353
+ attr_accessor :original_request
4354
+
4355
+ # The time at which this operation was started.
4356
+ # Corresponds to the JSON property `startTime`
4357
+ # @return [String]
4358
+ attr_accessor :start_time
4359
+
4360
+ def initialize(**args)
4361
+ update!(**args)
4362
+ end
4363
+
4364
+ # Update properties of this object
4365
+ def update!(**args)
4366
+ @end_time = args[:end_time] if args.key?(:end_time)
4367
+ @original_request = args[:original_request] if args.key?(:original_request)
4368
+ @start_time = args[:start_time] if args.key?(:start_time)
4369
+ end
4370
+ end
4371
+
4372
+ # Request message for BigtableInstanceAdmin.UpdateLogicalView.
4373
+ class UpdateLogicalViewRequest
4374
+ include Google::Apis::Core::Hashable
4375
+
4376
+ # A SQL logical view object that can be referenced in SQL queries.
4377
+ # Corresponds to the JSON property `logicalView`
4378
+ # @return [Google::Apis::BigtableadminV2::LogicalView]
4379
+ attr_accessor :logical_view
4380
+
4381
+ # Optional. The list of fields to update.
4382
+ # Corresponds to the JSON property `updateMask`
4383
+ # @return [String]
4384
+ attr_accessor :update_mask
4385
+
4386
+ def initialize(**args)
4387
+ update!(**args)
4388
+ end
4389
+
4390
+ # Update properties of this object
4391
+ def update!(**args)
4392
+ @logical_view = args[:logical_view] if args.key?(:logical_view)
4393
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
4394
+ end
4395
+ end
4396
+
4078
4397
  # Metadata type for the operation returned by UpdateTable.
4079
4398
  class UpdateTableMetadata
4080
4399
  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.67.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250227"
25
+ REVISION = "20250410"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,30 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class CreateLogicalViewMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class CreateLogicalViewRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class CreateMaterializedViewMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class CreateMaterializedViewRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class CreateTableRequest
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -520,6 +544,18 @@ module Google
520
544
  include Google::Apis::Core::JsonObjectSupport
521
545
  end
522
546
 
547
+ class ListLogicalViewsResponse
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class ListMaterializedViewsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
523
559
  class ListOperationsResponse
524
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
561
 
@@ -538,6 +574,18 @@ module Google
538
574
  include Google::Apis::Core::JsonObjectSupport
539
575
  end
540
576
 
577
+ class LogicalView
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class MaterializedView
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
541
589
  class Modification
542
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
591
 
@@ -742,6 +790,18 @@ module Google
742
790
  include Google::Apis::Core::JsonObjectSupport
743
791
  end
744
792
 
793
+ class UpdateLogicalViewMetadata
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class UpdateLogicalViewRequest
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
745
805
  class UpdateTableMetadata
746
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
807
 
@@ -1040,6 +1100,46 @@ module Google
1040
1100
  end
1041
1101
  end
1042
1102
 
1103
+ class CreateLogicalViewMetadata
1104
+ # @private
1105
+ class Representation < Google::Apis::Core::JsonRepresentation
1106
+ property :end_time, as: 'endTime'
1107
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateLogicalViewRequest, decorator: Google::Apis::BigtableadminV2::CreateLogicalViewRequest::Representation
1108
+
1109
+ property :start_time, as: 'startTime'
1110
+ end
1111
+ end
1112
+
1113
+ class CreateLogicalViewRequest
1114
+ # @private
1115
+ class Representation < Google::Apis::Core::JsonRepresentation
1116
+ property :logical_view, as: 'logicalView', class: Google::Apis::BigtableadminV2::LogicalView, decorator: Google::Apis::BigtableadminV2::LogicalView::Representation
1117
+
1118
+ property :logical_view_id, as: 'logicalViewId'
1119
+ property :parent, as: 'parent'
1120
+ end
1121
+ end
1122
+
1123
+ class CreateMaterializedViewMetadata
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :end_time, as: 'endTime'
1127
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateMaterializedViewRequest, decorator: Google::Apis::BigtableadminV2::CreateMaterializedViewRequest::Representation
1128
+
1129
+ property :start_time, as: 'startTime'
1130
+ end
1131
+ end
1132
+
1133
+ class CreateMaterializedViewRequest
1134
+ # @private
1135
+ class Representation < Google::Apis::Core::JsonRepresentation
1136
+ property :materialized_view, as: 'materializedView', class: Google::Apis::BigtableadminV2::MaterializedView, decorator: Google::Apis::BigtableadminV2::MaterializedView::Representation
1137
+
1138
+ property :materialized_view_id, as: 'materializedViewId'
1139
+ property :parent, as: 'parent'
1140
+ end
1141
+ end
1142
+
1043
1143
  class CreateTableRequest
1044
1144
  # @private
1045
1145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1499,6 +1599,24 @@ module Google
1499
1599
  end
1500
1600
  end
1501
1601
 
1602
+ class ListLogicalViewsResponse
1603
+ # @private
1604
+ class Representation < Google::Apis::Core::JsonRepresentation
1605
+ collection :logical_views, as: 'logicalViews', class: Google::Apis::BigtableadminV2::LogicalView, decorator: Google::Apis::BigtableadminV2::LogicalView::Representation
1606
+
1607
+ property :next_page_token, as: 'nextPageToken'
1608
+ end
1609
+ end
1610
+
1611
+ class ListMaterializedViewsResponse
1612
+ # @private
1613
+ class Representation < Google::Apis::Core::JsonRepresentation
1614
+ collection :materialized_views, as: 'materializedViews', class: Google::Apis::BigtableadminV2::MaterializedView, decorator: Google::Apis::BigtableadminV2::MaterializedView::Representation
1615
+
1616
+ property :next_page_token, as: 'nextPageToken'
1617
+ end
1618
+ end
1619
+
1502
1620
  class ListOperationsResponse
1503
1621
  # @private
1504
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1528,6 +1646,25 @@ module Google
1528
1646
  end
1529
1647
  end
1530
1648
 
1649
+ class LogicalView
1650
+ # @private
1651
+ class Representation < Google::Apis::Core::JsonRepresentation
1652
+ property :etag, as: 'etag'
1653
+ property :name, as: 'name'
1654
+ property :query, as: 'query'
1655
+ end
1656
+ end
1657
+
1658
+ class MaterializedView
1659
+ # @private
1660
+ class Representation < Google::Apis::Core::JsonRepresentation
1661
+ property :deletion_protection, as: 'deletionProtection'
1662
+ property :etag, as: 'etag'
1663
+ property :name, as: 'name'
1664
+ property :query, as: 'query'
1665
+ end
1666
+ end
1667
+
1531
1668
  class Modification
1532
1669
  # @private
1533
1670
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1727,6 +1864,8 @@ module Google
1727
1864
  property :name, as: 'name'
1728
1865
  property :restore_info, as: 'restoreInfo', class: Google::Apis::BigtableadminV2::RestoreInfo, decorator: Google::Apis::BigtableadminV2::RestoreInfo::Representation
1729
1866
 
1867
+ property :row_key_schema, as: 'rowKeySchema', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct::Representation
1868
+
1730
1869
  property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::TableStats, decorator: Google::Apis::BigtableadminV2::TableStats::Representation
1731
1870
 
1732
1871
  end
@@ -1864,6 +2003,25 @@ module Google
1864
2003
  end
1865
2004
  end
1866
2005
 
2006
+ class UpdateLogicalViewMetadata
2007
+ # @private
2008
+ class Representation < Google::Apis::Core::JsonRepresentation
2009
+ property :end_time, as: 'endTime'
2010
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::UpdateLogicalViewRequest, decorator: Google::Apis::BigtableadminV2::UpdateLogicalViewRequest::Representation
2011
+
2012
+ property :start_time, as: 'startTime'
2013
+ end
2014
+ end
2015
+
2016
+ class UpdateLogicalViewRequest
2017
+ # @private
2018
+ class Representation < Google::Apis::Core::JsonRepresentation
2019
+ property :logical_view, as: 'logicalView', class: Google::Apis::BigtableadminV2::LogicalView, decorator: Google::Apis::BigtableadminV2::LogicalView::Representation
2020
+
2021
+ property :update_mask, as: 'updateMask'
2022
+ end
2023
+ end
2024
+
1867
2025
  class UpdateTableMetadata
1868
2026
  # @private
1869
2027
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1275,6 +1275,111 @@ module Google
1275
1275
  execute_or_queue_command(command, &block)
1276
1276
  end
1277
1277
 
1278
+ # Creates a logical view within an instance.
1279
+ # @param [String] parent
1280
+ # Required. The parent instance where this logical view will be created. Format:
1281
+ # `projects/`project`/instances/`instance``.
1282
+ # @param [Google::Apis::BigtableadminV2::LogicalView] logical_view_object
1283
+ # @param [String] logical_view_id
1284
+ # Required. The ID to use for the logical view, which will become the final
1285
+ # component of the logical view's resource name.
1286
+ # @param [String] fields
1287
+ # Selector specifying which fields to include in a partial response.
1288
+ # @param [String] quota_user
1289
+ # Available to use for quota purposes for server-side applications. Can be any
1290
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1291
+ # @param [Google::Apis::RequestOptions] options
1292
+ # Request-specific options
1293
+ #
1294
+ # @yield [result, err] Result & error if block supplied
1295
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1296
+ # @yieldparam err [StandardError] error object if request failed
1297
+ #
1298
+ # @return [Google::Apis::BigtableadminV2::Operation]
1299
+ #
1300
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1301
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1302
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1303
+ def create_project_instance_logical_view(parent, logical_view_object = nil, logical_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1304
+ command = make_simple_command(:post, 'v2/{+parent}/logicalViews', options)
1305
+ command.request_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1306
+ command.request_object = logical_view_object
1307
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1308
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1309
+ command.params['parent'] = parent unless parent.nil?
1310
+ command.query['logicalViewId'] = logical_view_id unless logical_view_id.nil?
1311
+ command.query['fields'] = fields unless fields.nil?
1312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
+ execute_or_queue_command(command, &block)
1314
+ end
1315
+
1316
+ # Deletes a logical view from an instance.
1317
+ # @param [String] name
1318
+ # Required. The unique name of the logical view to be deleted. Format: `projects/
1319
+ # `project`/instances/`instance`/logicalViews/`logical_view``.
1320
+ # @param [String] etag
1321
+ # Optional. The current etag of the logical view. If an etag is provided and
1322
+ # does not match the current etag of the logical view, deletion will be blocked
1323
+ # and an ABORTED error will be returned.
1324
+ # @param [String] fields
1325
+ # Selector specifying which fields to include in a partial response.
1326
+ # @param [String] quota_user
1327
+ # Available to use for quota purposes for server-side applications. Can be any
1328
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1329
+ # @param [Google::Apis::RequestOptions] options
1330
+ # Request-specific options
1331
+ #
1332
+ # @yield [result, err] Result & error if block supplied
1333
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
1334
+ # @yieldparam err [StandardError] error object if request failed
1335
+ #
1336
+ # @return [Google::Apis::BigtableadminV2::Empty]
1337
+ #
1338
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1339
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1340
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1341
+ def delete_project_instance_logical_view(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1342
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1343
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
1344
+ command.response_class = Google::Apis::BigtableadminV2::Empty
1345
+ command.params['name'] = name unless name.nil?
1346
+ command.query['etag'] = etag unless etag.nil?
1347
+ command.query['fields'] = fields unless fields.nil?
1348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1349
+ execute_or_queue_command(command, &block)
1350
+ end
1351
+
1352
+ # Gets information about a logical view.
1353
+ # @param [String] name
1354
+ # Required. The unique name of the requested logical view. Values are of the
1355
+ # form `projects/`project`/instances/`instance`/logicalViews/`logical_view``.
1356
+ # @param [String] fields
1357
+ # Selector specifying which fields to include in a partial response.
1358
+ # @param [String] quota_user
1359
+ # Available to use for quota purposes for server-side applications. Can be any
1360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1361
+ # @param [Google::Apis::RequestOptions] options
1362
+ # Request-specific options
1363
+ #
1364
+ # @yield [result, err] Result & error if block supplied
1365
+ # @yieldparam result [Google::Apis::BigtableadminV2::LogicalView] parsed result object
1366
+ # @yieldparam err [StandardError] error object if request failed
1367
+ #
1368
+ # @return [Google::Apis::BigtableadminV2::LogicalView]
1369
+ #
1370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1373
+ def get_project_instance_logical_view(name, fields: nil, quota_user: nil, options: nil, &block)
1374
+ command = make_simple_command(:get, 'v2/{+name}', options)
1375
+ command.response_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1376
+ command.response_class = Google::Apis::BigtableadminV2::LogicalView
1377
+ command.params['name'] = name unless name.nil?
1378
+ command.query['fields'] = fields unless fields.nil?
1379
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1380
+ execute_or_queue_command(command, &block)
1381
+ end
1382
+
1278
1383
  # Gets the access control policy for an instance resource. Returns an empty
1279
1384
  # policy if an instance exists but does not have a policy set.
1280
1385
  # @param [String] resource
@@ -1311,6 +1416,84 @@ module Google
1311
1416
  execute_or_queue_command(command, &block)
1312
1417
  end
1313
1418
 
1419
+ # Lists information about logical views in an instance.
1420
+ # @param [String] parent
1421
+ # Required. The unique name of the instance for which the list of logical views
1422
+ # is requested. Values are of the form `projects/`project`/instances/`instance``.
1423
+ # @param [Fixnum] page_size
1424
+ # Optional. The maximum number of logical views to return. The service may
1425
+ # return fewer than this value
1426
+ # @param [String] page_token
1427
+ # Optional. A page token, received from a previous `ListLogicalViews` call.
1428
+ # Provide this to retrieve the subsequent page. When paginating, all other
1429
+ # parameters provided to `ListLogicalViews` must match the call that provided
1430
+ # the page token.
1431
+ # @param [String] fields
1432
+ # Selector specifying which fields to include in a partial response.
1433
+ # @param [String] quota_user
1434
+ # Available to use for quota purposes for server-side applications. Can be any
1435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1436
+ # @param [Google::Apis::RequestOptions] options
1437
+ # Request-specific options
1438
+ #
1439
+ # @yield [result, err] Result & error if block supplied
1440
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListLogicalViewsResponse] parsed result object
1441
+ # @yieldparam err [StandardError] error object if request failed
1442
+ #
1443
+ # @return [Google::Apis::BigtableadminV2::ListLogicalViewsResponse]
1444
+ #
1445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1448
+ def list_project_instance_logical_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1449
+ command = make_simple_command(:get, 'v2/{+parent}/logicalViews', options)
1450
+ command.response_representation = Google::Apis::BigtableadminV2::ListLogicalViewsResponse::Representation
1451
+ command.response_class = Google::Apis::BigtableadminV2::ListLogicalViewsResponse
1452
+ command.params['parent'] = parent unless parent.nil?
1453
+ command.query['pageSize'] = page_size unless page_size.nil?
1454
+ command.query['pageToken'] = page_token unless page_token.nil?
1455
+ command.query['fields'] = fields unless fields.nil?
1456
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1457
+ execute_or_queue_command(command, &block)
1458
+ end
1459
+
1460
+ # Updates a logical view within an instance.
1461
+ # @param [String] name
1462
+ # Identifier. The unique name of the logical view. Format: `projects/`project`/
1463
+ # instances/`instance`/logicalViews/`logical_view``
1464
+ # @param [Google::Apis::BigtableadminV2::LogicalView] logical_view_object
1465
+ # @param [String] update_mask
1466
+ # Optional. The list of fields to update.
1467
+ # @param [String] fields
1468
+ # Selector specifying which fields to include in a partial response.
1469
+ # @param [String] quota_user
1470
+ # Available to use for quota purposes for server-side applications. Can be any
1471
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1472
+ # @param [Google::Apis::RequestOptions] options
1473
+ # Request-specific options
1474
+ #
1475
+ # @yield [result, err] Result & error if block supplied
1476
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1477
+ # @yieldparam err [StandardError] error object if request failed
1478
+ #
1479
+ # @return [Google::Apis::BigtableadminV2::Operation]
1480
+ #
1481
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1482
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1483
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1484
+ def patch_project_instance_logical_view(name, logical_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1485
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1486
+ command.request_representation = Google::Apis::BigtableadminV2::LogicalView::Representation
1487
+ command.request_object = logical_view_object
1488
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1489
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1490
+ command.params['name'] = name unless name.nil?
1491
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1492
+ command.query['fields'] = fields unless fields.nil?
1493
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1494
+ execute_or_queue_command(command, &block)
1495
+ end
1496
+
1314
1497
  # Sets the access control policy on an instance resource. Replaces any existing
1315
1498
  # policy.
1316
1499
  # @param [String] resource
@@ -1382,6 +1565,112 @@ module Google
1382
1565
  execute_or_queue_command(command, &block)
1383
1566
  end
1384
1567
 
1568
+ # Creates a materialized view within an instance.
1569
+ # @param [String] parent
1570
+ # Required. The parent instance where this materialized view will be created.
1571
+ # Format: `projects/`project`/instances/`instance``.
1572
+ # @param [Google::Apis::BigtableadminV2::MaterializedView] materialized_view_object
1573
+ # @param [String] materialized_view_id
1574
+ # Required. The ID to use for the materialized view, which will become the final
1575
+ # component of the materialized view's resource name.
1576
+ # @param [String] fields
1577
+ # Selector specifying which fields to include in a partial response.
1578
+ # @param [String] quota_user
1579
+ # Available to use for quota purposes for server-side applications. Can be any
1580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1581
+ # @param [Google::Apis::RequestOptions] options
1582
+ # Request-specific options
1583
+ #
1584
+ # @yield [result, err] Result & error if block supplied
1585
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1586
+ # @yieldparam err [StandardError] error object if request failed
1587
+ #
1588
+ # @return [Google::Apis::BigtableadminV2::Operation]
1589
+ #
1590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1593
+ def create_project_instance_materialized_view(parent, materialized_view_object = nil, materialized_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1594
+ command = make_simple_command(:post, 'v2/{+parent}/materializedViews', options)
1595
+ command.request_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1596
+ command.request_object = materialized_view_object
1597
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1598
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1599
+ command.params['parent'] = parent unless parent.nil?
1600
+ command.query['materializedViewId'] = materialized_view_id unless materialized_view_id.nil?
1601
+ command.query['fields'] = fields unless fields.nil?
1602
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1603
+ execute_or_queue_command(command, &block)
1604
+ end
1605
+
1606
+ # Deletes a materialized view from an instance.
1607
+ # @param [String] name
1608
+ # Required. The unique name of the materialized view to be deleted. Format: `
1609
+ # projects/`project`/instances/`instance`/materializedViews/`materialized_view``.
1610
+ # @param [String] etag
1611
+ # Optional. The current etag of the materialized view. If an etag is provided
1612
+ # and does not match the current etag of the materialized view, deletion will be
1613
+ # blocked and an ABORTED error will be returned.
1614
+ # @param [String] fields
1615
+ # Selector specifying which fields to include in a partial response.
1616
+ # @param [String] quota_user
1617
+ # Available to use for quota purposes for server-side applications. Can be any
1618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1619
+ # @param [Google::Apis::RequestOptions] options
1620
+ # Request-specific options
1621
+ #
1622
+ # @yield [result, err] Result & error if block supplied
1623
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
1624
+ # @yieldparam err [StandardError] error object if request failed
1625
+ #
1626
+ # @return [Google::Apis::BigtableadminV2::Empty]
1627
+ #
1628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1631
+ def delete_project_instance_materialized_view(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1632
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1633
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
1634
+ command.response_class = Google::Apis::BigtableadminV2::Empty
1635
+ command.params['name'] = name unless name.nil?
1636
+ command.query['etag'] = etag unless etag.nil?
1637
+ command.query['fields'] = fields unless fields.nil?
1638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1639
+ execute_or_queue_command(command, &block)
1640
+ end
1641
+
1642
+ # Gets information about a materialized view.
1643
+ # @param [String] name
1644
+ # Required. The unique name of the requested materialized view. Values are of
1645
+ # the form `projects/`project`/instances/`instance`/materializedViews/`
1646
+ # materialized_view``.
1647
+ # @param [String] fields
1648
+ # Selector specifying which fields to include in a partial response.
1649
+ # @param [String] quota_user
1650
+ # Available to use for quota purposes for server-side applications. Can be any
1651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1652
+ # @param [Google::Apis::RequestOptions] options
1653
+ # Request-specific options
1654
+ #
1655
+ # @yield [result, err] Result & error if block supplied
1656
+ # @yieldparam result [Google::Apis::BigtableadminV2::MaterializedView] parsed result object
1657
+ # @yieldparam err [StandardError] error object if request failed
1658
+ #
1659
+ # @return [Google::Apis::BigtableadminV2::MaterializedView]
1660
+ #
1661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1664
+ def get_project_instance_materialized_view(name, fields: nil, quota_user: nil, options: nil, &block)
1665
+ command = make_simple_command(:get, 'v2/{+name}', options)
1666
+ command.response_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1667
+ command.response_class = Google::Apis::BigtableadminV2::MaterializedView
1668
+ command.params['name'] = name unless name.nil?
1669
+ command.query['fields'] = fields unless fields.nil?
1670
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1671
+ execute_or_queue_command(command, &block)
1672
+ end
1673
+
1385
1674
  # Gets the access control policy for an instance resource. Returns an empty
1386
1675
  # policy if an instance exists but does not have a policy set.
1387
1676
  # @param [String] resource
@@ -1418,6 +1707,85 @@ module Google
1418
1707
  execute_or_queue_command(command, &block)
1419
1708
  end
1420
1709
 
1710
+ # Lists information about materialized views in an instance.
1711
+ # @param [String] parent
1712
+ # Required. The unique name of the instance for which the list of materialized
1713
+ # views is requested. Values are of the form `projects/`project`/instances/`
1714
+ # instance``.
1715
+ # @param [Fixnum] page_size
1716
+ # Optional. The maximum number of materialized views to return. The service may
1717
+ # return fewer than this value
1718
+ # @param [String] page_token
1719
+ # Optional. A page token, received from a previous `ListMaterializedViews` call.
1720
+ # Provide this to retrieve the subsequent page. When paginating, all other
1721
+ # parameters provided to `ListMaterializedViews` must match the call that
1722
+ # provided the page token.
1723
+ # @param [String] fields
1724
+ # Selector specifying which fields to include in a partial response.
1725
+ # @param [String] quota_user
1726
+ # Available to use for quota purposes for server-side applications. Can be any
1727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1728
+ # @param [Google::Apis::RequestOptions] options
1729
+ # Request-specific options
1730
+ #
1731
+ # @yield [result, err] Result & error if block supplied
1732
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListMaterializedViewsResponse] parsed result object
1733
+ # @yieldparam err [StandardError] error object if request failed
1734
+ #
1735
+ # @return [Google::Apis::BigtableadminV2::ListMaterializedViewsResponse]
1736
+ #
1737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1740
+ def list_project_instance_materialized_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1741
+ command = make_simple_command(:get, 'v2/{+parent}/materializedViews', options)
1742
+ command.response_representation = Google::Apis::BigtableadminV2::ListMaterializedViewsResponse::Representation
1743
+ command.response_class = Google::Apis::BigtableadminV2::ListMaterializedViewsResponse
1744
+ command.params['parent'] = parent unless parent.nil?
1745
+ command.query['pageSize'] = page_size unless page_size.nil?
1746
+ command.query['pageToken'] = page_token unless page_token.nil?
1747
+ command.query['fields'] = fields unless fields.nil?
1748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1749
+ execute_or_queue_command(command, &block)
1750
+ end
1751
+
1752
+ # Updates a materialized view within an instance.
1753
+ # @param [String] name
1754
+ # Identifier. The unique name of the materialized view. Format: `projects/`
1755
+ # project`/instances/`instance`/materializedViews/`materialized_view``
1756
+ # @param [Google::Apis::BigtableadminV2::MaterializedView] materialized_view_object
1757
+ # @param [String] update_mask
1758
+ # Optional. The list of fields to update.
1759
+ # @param [String] fields
1760
+ # Selector specifying which fields to include in a partial response.
1761
+ # @param [String] quota_user
1762
+ # Available to use for quota purposes for server-side applications. Can be any
1763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1764
+ # @param [Google::Apis::RequestOptions] options
1765
+ # Request-specific options
1766
+ #
1767
+ # @yield [result, err] Result & error if block supplied
1768
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1769
+ # @yieldparam err [StandardError] error object if request failed
1770
+ #
1771
+ # @return [Google::Apis::BigtableadminV2::Operation]
1772
+ #
1773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1776
+ def patch_project_instance_materialized_view(name, materialized_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1777
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1778
+ command.request_representation = Google::Apis::BigtableadminV2::MaterializedView::Representation
1779
+ command.request_object = materialized_view_object
1780
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1781
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1782
+ command.params['name'] = name unless name.nil?
1783
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1784
+ command.query['fields'] = fields unless fields.nil?
1785
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1786
+ execute_or_queue_command(command, &block)
1787
+ end
1788
+
1421
1789
  # Sets the access control policy on an instance resource. Replaces any existing
1422
1790
  # policy.
1423
1791
  # @param [String] resource
@@ -1830,6 +2198,8 @@ module Google
1830
2198
  # instances/`instance`/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `
1831
2199
  # REPLICATION_VIEW`, `STATS_VIEW`, `FULL`
1832
2200
  # @param [Google::Apis::BigtableadminV2::Table] table_object
2201
+ # @param [Boolean] ignore_warnings
2202
+ # Optional. If true, ignore safety checks when updating the table.
1833
2203
  # @param [String] update_mask
1834
2204
  # Required. The list of fields to update. A mask specifying which fields (e.g. `
1835
2205
  # change_stream_config`) in the `table` field should be updated. This mask is
@@ -1857,13 +2227,14 @@ module Google
1857
2227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1858
2228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1859
2229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1860
- def patch_project_instance_table(name, table_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2230
+ def patch_project_instance_table(name, table_object = nil, ignore_warnings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1861
2231
  command = make_simple_command(:patch, 'v2/{+name}', options)
1862
2232
  command.request_representation = Google::Apis::BigtableadminV2::Table::Representation
1863
2233
  command.request_object = table_object
1864
2234
  command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1865
2235
  command.response_class = Google::Apis::BigtableadminV2::Operation
1866
2236
  command.params['name'] = name unless name.nil?
2237
+ command.query['ignoreWarnings'] = ignore_warnings unless ignore_warnings.nil?
1867
2238
  command.query['updateMask'] = update_mask unless update_mask.nil?
1868
2239
  command.query['fields'] = fields unless fields.nil?
1869
2240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2327,6 +2698,9 @@ module Google
2327
2698
  # Lists information about the supported locations for this service.
2328
2699
  # @param [String] name
2329
2700
  # The resource that owns the locations collection, if applicable.
2701
+ # @param [Array<String>, String] extra_location_types
2702
+ # Optional. A list of extra location types that should be used as conditions for
2703
+ # controlling the visibility of the locations.
2330
2704
  # @param [String] filter
2331
2705
  # A filter to narrow down results to a preferred subset. The filtering language
2332
2706
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -2354,11 +2728,12 @@ module Google
2354
2728
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2355
2729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2356
2730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2357
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2731
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2358
2732
  command = make_simple_command(:get, 'v2/{+name}/locations', options)
2359
2733
  command.response_representation = Google::Apis::BigtableadminV2::ListLocationsResponse::Representation
2360
2734
  command.response_class = Google::Apis::BigtableadminV2::ListLocationsResponse
2361
2735
  command.params['name'] = name unless name.nil?
2736
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
2362
2737
  command.query['filter'] = filter unless filter.nil?
2363
2738
  command.query['pageSize'] = page_size unless page_size.nil?
2364
2739
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.69.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
62
62
  rdoc_options: []
63
63
  require_paths: