google-apis-bigtableadmin_v2 0.72.0 → 0.74.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: 59db88cbfd62e56ebd22c890f31e9435625a0ddcc1a5ac7028cd3f707c5c9744
4
- data.tar.gz: b609a7256de85855224f1712bf13cc8eccf8dd32f3819e5065e04911418afeef
3
+ metadata.gz: 7394928364ab0a501b9a132ad377d003aa3bf6737c9001e78615bba7eab178c1
4
+ data.tar.gz: bc0e6025bca797a84fbee502dcc200e6dfb9fb9f3c8bd3058bb7e1c7924bf166
5
5
  SHA512:
6
- metadata.gz: 5020f1b5ee99280158ec584b7f15f515ad04cd0ef869f93ce8f98c1f0d6ded91908d93926712050c5113ce5a8a8dadce099c95f9dc2cda9f2ad4a5b5d504b179
7
- data.tar.gz: 9f6654739f6e49873ec67d87912cccd0a5bc8f54e3f99aa0483256a19261ffe8693cffc50b1e04fbce9147a13736b608eceb42456190de6335be3e5c1d327392
6
+ metadata.gz: f915f3dad7b350f43675a6f758a4d6e7b68baca15bdbcf6749b4edab391847a122bd25add02623afb7b7f8883c4e9f3c89dc9406807e2189fcabe24322581784
7
+ data.tar.gz: 57604e9cd1572901e4efc4d830f63b304ef47be7124e1379a9667542c6f1f7785fc321ac68398f0562004976275c539fc416d3727aabab81c75a17b395d20e7e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.74.0 (2025-08-03)
4
+
5
+ * Regenerated from discovery document revision 20250724
6
+
7
+ ### v0.73.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250624
10
+
3
11
  ### v0.72.0 (2025-06-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20250610
@@ -1319,6 +1319,39 @@ module Google
1319
1319
  end
1320
1320
  end
1321
1321
 
1322
+ # The metadata for the Operation returned by CreateSchemaBundle.
1323
+ class CreateSchemaBundleMetadata
1324
+ include Google::Apis::Core::Hashable
1325
+
1326
+ # If set, the time at which this operation finished or was canceled.
1327
+ # Corresponds to the JSON property `endTime`
1328
+ # @return [String]
1329
+ attr_accessor :end_time
1330
+
1331
+ # The unique name identifying this schema bundle. Values are of the form `
1332
+ # projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
1333
+ # schema_bundle``
1334
+ # Corresponds to the JSON property `name`
1335
+ # @return [String]
1336
+ attr_accessor :name
1337
+
1338
+ # The time at which this operation started.
1339
+ # Corresponds to the JSON property `startTime`
1340
+ # @return [String]
1341
+ attr_accessor :start_time
1342
+
1343
+ def initialize(**args)
1344
+ update!(**args)
1345
+ end
1346
+
1347
+ # Update properties of this object
1348
+ def update!(**args)
1349
+ @end_time = args[:end_time] if args.key?(:end_time)
1350
+ @name = args[:name] if args.key?(:name)
1351
+ @start_time = args[:start_time] if args.key?(:start_time)
1352
+ end
1353
+ end
1354
+
1322
1355
  # Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable
1323
1356
  class CreateTableRequest
1324
1357
  include Google::Apis::Core::Hashable
@@ -2002,6 +2035,32 @@ module Google
2002
2035
  end
2003
2036
  end
2004
2037
 
2038
+ # A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`.
2039
+ class GoogleBigtableAdminV2TypeEnum
2040
+ include Google::Apis::Core::Hashable
2041
+
2042
+ # The fully qualified name of the protobuf enum message, including package. In
2043
+ # the format of "foo.bar.EnumMessage".
2044
+ # Corresponds to the JSON property `enumName`
2045
+ # @return [String]
2046
+ attr_accessor :enum_name
2047
+
2048
+ # The ID of the schema bundle that this enum is defined in.
2049
+ # Corresponds to the JSON property `schemaBundleId`
2050
+ # @return [String]
2051
+ attr_accessor :schema_bundle_id
2052
+
2053
+ def initialize(**args)
2054
+ update!(**args)
2055
+ end
2056
+
2057
+ # Update properties of this object
2058
+ def update!(**args)
2059
+ @enum_name = args[:enum_name] if args.key?(:enum_name)
2060
+ @schema_bundle_id = args[:schema_bundle_id] if args.key?(:schema_bundle_id)
2061
+ end
2062
+ end
2063
+
2005
2064
  # Float32 Values of type `Float32` are stored in `Value.float_value`.
2006
2065
  class GoogleBigtableAdminV2TypeFloat32
2007
2066
  include Google::Apis::Core::Hashable
@@ -2174,6 +2233,33 @@ module Google
2174
2233
  end
2175
2234
  end
2176
2235
 
2236
+ # A protobuf message type. Values of type `Proto` are stored in `Value.
2237
+ # bytes_value`.
2238
+ class GoogleBigtableAdminV2TypeProto
2239
+ include Google::Apis::Core::Hashable
2240
+
2241
+ # The fully qualified name of the protobuf message, including package. In the
2242
+ # format of "foo.bar.Message".
2243
+ # Corresponds to the JSON property `messageName`
2244
+ # @return [String]
2245
+ attr_accessor :message_name
2246
+
2247
+ # The ID of the schema bundle that this proto is defined in.
2248
+ # Corresponds to the JSON property `schemaBundleId`
2249
+ # @return [String]
2250
+ attr_accessor :schema_bundle_id
2251
+
2252
+ def initialize(**args)
2253
+ update!(**args)
2254
+ end
2255
+
2256
+ # Update properties of this object
2257
+ def update!(**args)
2258
+ @message_name = args[:message_name] if args.key?(:message_name)
2259
+ @schema_bundle_id = args[:schema_bundle_id] if args.key?(:schema_bundle_id)
2260
+ end
2261
+ end
2262
+
2177
2263
  # String Values of type `String` are stored in `Value.string_value`.
2178
2264
  class GoogleBigtableAdminV2TypeString
2179
2265
  include Google::Apis::Core::Hashable
@@ -2936,6 +3022,32 @@ module Google
2936
3022
  end
2937
3023
  end
2938
3024
 
3025
+ # The response for ListSchemaBundles.
3026
+ class ListSchemaBundlesResponse
3027
+ include Google::Apis::Core::Hashable
3028
+
3029
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3030
+ # field is omitted, there are no subsequent pages.
3031
+ # Corresponds to the JSON property `nextPageToken`
3032
+ # @return [String]
3033
+ attr_accessor :next_page_token
3034
+
3035
+ # The schema bundles from the specified table.
3036
+ # Corresponds to the JSON property `schemaBundles`
3037
+ # @return [Array<Google::Apis::BigtableadminV2::SchemaBundle>]
3038
+ attr_accessor :schema_bundles
3039
+
3040
+ def initialize(**args)
3041
+ update!(**args)
3042
+ end
3043
+
3044
+ # Update properties of this object
3045
+ def update!(**args)
3046
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3047
+ @schema_bundles = args[:schema_bundles] if args.key?(:schema_bundles)
3048
+ end
3049
+ end
3050
+
2939
3051
  # Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables
2940
3052
  class ListTablesResponse
2941
3053
  include Google::Apis::Core::Hashable
@@ -3508,6 +3620,34 @@ module Google
3508
3620
  end
3509
3621
  end
3510
3622
 
3623
+ # Represents a protobuf schema.
3624
+ class ProtoSchema
3625
+ include Google::Apis::Core::Hashable
3626
+
3627
+ # Required. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](
3628
+ # https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/
3629
+ # descriptor.proto), which could include multiple proto files. To generate it, [
3630
+ # install](https://grpc.io/docs/protoc-installation/) and run `protoc` with `--
3631
+ # include_imports` and `--descriptor_set_out`. For example, to generate for moon/
3632
+ # shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \
3633
+ # --include_imports \ --descriptor_set_out=descriptors.pb \ moon/shot/app.proto
3634
+ # ``` For more details, see protobuffer [self description](https://developers.
3635
+ # google.com/protocol-buffers/docs/techniques#self-description).
3636
+ # Corresponds to the JSON property `protoDescriptors`
3637
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3638
+ # @return [String]
3639
+ attr_accessor :proto_descriptors
3640
+
3641
+ def initialize(**args)
3642
+ update!(**args)
3643
+ end
3644
+
3645
+ # Update properties of this object
3646
+ def update!(**args)
3647
+ @proto_descriptors = args[:proto_descriptors] if args.key?(:proto_descriptors)
3648
+ end
3649
+ end
3650
+
3511
3651
  # Information about a table restore.
3512
3652
  class RestoreInfo
3513
3653
  include Google::Apis::Core::Hashable
@@ -3633,6 +3773,41 @@ module Google
3633
3773
  end
3634
3774
  end
3635
3775
 
3776
+ # A named collection of related schemas.
3777
+ class SchemaBundle
3778
+ include Google::Apis::Core::Hashable
3779
+
3780
+ # Optional. The etag for this schema bundle. This may be sent on update and
3781
+ # delete requests to ensure the client has an up-to-date value before proceeding.
3782
+ # The server returns an ABORTED error on a mismatched etag.
3783
+ # Corresponds to the JSON property `etag`
3784
+ # @return [String]
3785
+ attr_accessor :etag
3786
+
3787
+ # Identifier. The unique name identifying this schema bundle. Values are of the
3788
+ # form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
3789
+ # schema_bundle``
3790
+ # Corresponds to the JSON property `name`
3791
+ # @return [String]
3792
+ attr_accessor :name
3793
+
3794
+ # Represents a protobuf schema.
3795
+ # Corresponds to the JSON property `protoSchema`
3796
+ # @return [Google::Apis::BigtableadminV2::ProtoSchema]
3797
+ attr_accessor :proto_schema
3798
+
3799
+ def initialize(**args)
3800
+ update!(**args)
3801
+ end
3802
+
3803
+ # Update properties of this object
3804
+ def update!(**args)
3805
+ @etag = args[:etag] if args.key?(:etag)
3806
+ @name = args[:name] if args.key?(:name)
3807
+ @proto_schema = args[:proto_schema] if args.key?(:proto_schema)
3808
+ end
3809
+ end
3810
+
3636
3811
  # Request message for `SetIamPolicy` method.
3637
3812
  class SetIamPolicyRequest
3638
3813
  include Google::Apis::Core::Hashable
@@ -4123,6 +4298,11 @@ module Google
4123
4298
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeDate]
4124
4299
  attr_accessor :date_type
4125
4300
 
4301
+ # A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`.
4302
+ # Corresponds to the JSON property `enumType`
4303
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeEnum]
4304
+ attr_accessor :enum_type
4305
+
4126
4306
  # Float32 Values of type `Float32` are stored in `Value.float_value`.
4127
4307
  # Corresponds to the JSON property `float32Type`
4128
4308
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeFloat32]
@@ -4148,6 +4328,12 @@ module Google
4148
4328
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeMap]
4149
4329
  attr_accessor :map_type
4150
4330
 
4331
+ # A protobuf message type. Values of type `Proto` are stored in `Value.
4332
+ # bytes_value`.
4333
+ # Corresponds to the JSON property `protoType`
4334
+ # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeProto]
4335
+ attr_accessor :proto_type
4336
+
4151
4337
  # String Values of type `String` are stored in `Value.string_value`.
4152
4338
  # Corresponds to the JSON property `stringType`
4153
4339
  # @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeString]
@@ -4176,10 +4362,12 @@ module Google
4176
4362
  @bool_type = args[:bool_type] if args.key?(:bool_type)
4177
4363
  @bytes_type = args[:bytes_type] if args.key?(:bytes_type)
4178
4364
  @date_type = args[:date_type] if args.key?(:date_type)
4365
+ @enum_type = args[:enum_type] if args.key?(:enum_type)
4179
4366
  @float32_type = args[:float32_type] if args.key?(:float32_type)
4180
4367
  @float64_type = args[:float64_type] if args.key?(:float64_type)
4181
4368
  @int64_type = args[:int64_type] if args.key?(:int64_type)
4182
4369
  @map_type = args[:map_type] if args.key?(:map_type)
4370
+ @proto_type = args[:proto_type] if args.key?(:proto_type)
4183
4371
  @string_type = args[:string_type] if args.key?(:string_type)
4184
4372
  @struct_type = args[:struct_type] if args.key?(:struct_type)
4185
4373
  @timestamp_type = args[:timestamp_type] if args.key?(:timestamp_type)
@@ -4450,6 +4638,39 @@ module Google
4450
4638
  end
4451
4639
  end
4452
4640
 
4641
+ # The metadata for the Operation returned by UpdateSchemaBundle.
4642
+ class UpdateSchemaBundleMetadata
4643
+ include Google::Apis::Core::Hashable
4644
+
4645
+ # If set, the time at which this operation finished or was canceled.
4646
+ # Corresponds to the JSON property `endTime`
4647
+ # @return [String]
4648
+ attr_accessor :end_time
4649
+
4650
+ # The unique name identifying this schema bundle. Values are of the form `
4651
+ # projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
4652
+ # schema_bundle``
4653
+ # Corresponds to the JSON property `name`
4654
+ # @return [String]
4655
+ attr_accessor :name
4656
+
4657
+ # The time at which this operation started.
4658
+ # Corresponds to the JSON property `startTime`
4659
+ # @return [String]
4660
+ attr_accessor :start_time
4661
+
4662
+ def initialize(**args)
4663
+ update!(**args)
4664
+ end
4665
+
4666
+ # Update properties of this object
4667
+ def update!(**args)
4668
+ @end_time = args[:end_time] if args.key?(:end_time)
4669
+ @name = args[:name] if args.key?(:name)
4670
+ @start_time = args[:start_time] if args.key?(:start_time)
4671
+ end
4672
+ end
4673
+
4453
4674
  # Metadata type for the operation returned by UpdateTable.
4454
4675
  class UpdateTableMetadata
4455
4676
  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.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250610"
25
+ REVISION = "20250724"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class CreateSchemaBundleMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class CreateTableRequest
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class GoogleBigtableAdminV2TypeEnum
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class GoogleBigtableAdminV2TypeFloat32
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -412,6 +424,12 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class GoogleBigtableAdminV2TypeProto
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
415
433
  class GoogleBigtableAdminV2TypeString
416
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
435
 
@@ -562,6 +580,12 @@ module Google
562
580
  include Google::Apis::Core::JsonObjectSupport
563
581
  end
564
582
 
583
+ class ListSchemaBundlesResponse
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
565
589
  class ListTablesResponse
566
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
591
 
@@ -646,6 +670,12 @@ module Google
646
670
  include Google::Apis::Core::JsonObjectSupport
647
671
  end
648
672
 
673
+ class ProtoSchema
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
649
679
  class RestoreInfo
650
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
681
 
@@ -670,6 +700,12 @@ module Google
670
700
  include Google::Apis::Core::JsonObjectSupport
671
701
  end
672
702
 
703
+ class SchemaBundle
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
673
709
  class SetIamPolicyRequest
674
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
711
 
@@ -814,6 +850,12 @@ module Google
814
850
  include Google::Apis::Core::JsonObjectSupport
815
851
  end
816
852
 
853
+ class UpdateSchemaBundleMetadata
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
817
859
  class UpdateTableMetadata
818
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
861
 
@@ -1152,6 +1194,15 @@ module Google
1152
1194
  end
1153
1195
  end
1154
1196
 
1197
+ class CreateSchemaBundleMetadata
1198
+ # @private
1199
+ class Representation < Google::Apis::Core::JsonRepresentation
1200
+ property :end_time, as: 'endTime'
1201
+ property :name, as: 'name'
1202
+ property :start_time, as: 'startTime'
1203
+ end
1204
+ end
1205
+
1155
1206
  class CreateTableRequest
1156
1207
  # @private
1157
1208
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1359,6 +1410,14 @@ module Google
1359
1410
  end
1360
1411
  end
1361
1412
 
1413
+ class GoogleBigtableAdminV2TypeEnum
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ property :enum_name, as: 'enumName'
1417
+ property :schema_bundle_id, as: 'schemaBundleId'
1418
+ end
1419
+ end
1420
+
1362
1421
  class GoogleBigtableAdminV2TypeFloat32
1363
1422
  # @private
1364
1423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1413,6 +1472,14 @@ module Google
1413
1472
  end
1414
1473
  end
1415
1474
 
1475
+ class GoogleBigtableAdminV2TypeProto
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ property :message_name, as: 'messageName'
1479
+ property :schema_bundle_id, as: 'schemaBundleId'
1480
+ end
1481
+ end
1482
+
1416
1483
  class GoogleBigtableAdminV2TypeString
1417
1484
  # @private
1418
1485
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1638,6 +1705,15 @@ module Google
1638
1705
  end
1639
1706
  end
1640
1707
 
1708
+ class ListSchemaBundlesResponse
1709
+ # @private
1710
+ class Representation < Google::Apis::Core::JsonRepresentation
1711
+ property :next_page_token, as: 'nextPageToken'
1712
+ collection :schema_bundles, as: 'schemaBundles', class: Google::Apis::BigtableadminV2::SchemaBundle, decorator: Google::Apis::BigtableadminV2::SchemaBundle::Representation
1713
+
1714
+ end
1715
+ end
1716
+
1641
1717
  class ListTablesResponse
1642
1718
  # @private
1643
1719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1779,6 +1855,13 @@ module Google
1779
1855
  end
1780
1856
  end
1781
1857
 
1858
+ class ProtoSchema
1859
+ # @private
1860
+ class Representation < Google::Apis::Core::JsonRepresentation
1861
+ property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
1862
+ end
1863
+ end
1864
+
1782
1865
  class RestoreInfo
1783
1866
  # @private
1784
1867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1815,6 +1898,16 @@ module Google
1815
1898
  end
1816
1899
  end
1817
1900
 
1901
+ class SchemaBundle
1902
+ # @private
1903
+ class Representation < Google::Apis::Core::JsonRepresentation
1904
+ property :etag, as: 'etag'
1905
+ property :name, as: 'name'
1906
+ property :proto_schema, as: 'protoSchema', class: Google::Apis::BigtableadminV2::ProtoSchema, decorator: Google::Apis::BigtableadminV2::ProtoSchema::Representation
1907
+
1908
+ end
1909
+ end
1910
+
1818
1911
  class SetIamPolicyRequest
1819
1912
  # @private
1820
1913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1947,6 +2040,8 @@ module Google
1947
2040
 
1948
2041
  property :date_type, as: 'dateType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeDate, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeDate::Representation
1949
2042
 
2043
+ property :enum_type, as: 'enumType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeEnum, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeEnum::Representation
2044
+
1950
2045
  property :float32_type, as: 'float32Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeFloat32, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeFloat32::Representation
1951
2046
 
1952
2047
  property :float64_type, as: 'float64Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeFloat64, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeFloat64::Representation
@@ -1955,6 +2050,8 @@ module Google
1955
2050
 
1956
2051
  property :map_type, as: 'mapType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeMap, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeMap::Representation
1957
2052
 
2053
+ property :proto_type, as: 'protoType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeProto, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeProto::Representation
2054
+
1958
2055
  property :string_type, as: 'stringType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeString, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeString::Representation
1959
2056
 
1960
2057
  property :struct_type, as: 'structType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeStruct::Representation
@@ -2052,6 +2149,15 @@ module Google
2052
2149
  end
2053
2150
  end
2054
2151
 
2152
+ class UpdateSchemaBundleMetadata
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ property :end_time, as: 'endTime'
2156
+ property :name, as: 'name'
2157
+ property :start_time, as: 'startTime'
2158
+ end
2159
+ end
2160
+
2055
2161
  class UpdateTableMetadata
2056
2162
  # @private
2057
2163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2765,6 +2765,308 @@ module Google
2765
2765
  execute_or_queue_command(command, &block)
2766
2766
  end
2767
2767
 
2768
+ # Creates a new schema bundle in the specified table.
2769
+ # @param [String] parent
2770
+ # Required. The parent resource where this schema bundle will be created. Values
2771
+ # are of the form `projects/`project`/instances/`instance`/tables/`table``.
2772
+ # @param [Google::Apis::BigtableadminV2::SchemaBundle] schema_bundle_object
2773
+ # @param [String] schema_bundle_id
2774
+ # Required. The unique ID to use for the schema bundle, which will become the
2775
+ # final component of the schema bundle's resource name.
2776
+ # @param [String] fields
2777
+ # Selector specifying which fields to include in a partial response.
2778
+ # @param [String] quota_user
2779
+ # Available to use for quota purposes for server-side applications. Can be any
2780
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2781
+ # @param [Google::Apis::RequestOptions] options
2782
+ # Request-specific options
2783
+ #
2784
+ # @yield [result, err] Result & error if block supplied
2785
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
2786
+ # @yieldparam err [StandardError] error object if request failed
2787
+ #
2788
+ # @return [Google::Apis::BigtableadminV2::Operation]
2789
+ #
2790
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2791
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2792
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2793
+ def create_project_instance_table_schema_bundle(parent, schema_bundle_object = nil, schema_bundle_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2794
+ command = make_simple_command(:post, 'v2/{+parent}/schemaBundles', options)
2795
+ command.request_representation = Google::Apis::BigtableadminV2::SchemaBundle::Representation
2796
+ command.request_object = schema_bundle_object
2797
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
2798
+ command.response_class = Google::Apis::BigtableadminV2::Operation
2799
+ command.params['parent'] = parent unless parent.nil?
2800
+ command.query['schemaBundleId'] = schema_bundle_id unless schema_bundle_id.nil?
2801
+ command.query['fields'] = fields unless fields.nil?
2802
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2803
+ execute_or_queue_command(command, &block)
2804
+ end
2805
+
2806
+ # Deletes a schema bundle in the specified table.
2807
+ # @param [String] name
2808
+ # Required. The unique name of the schema bundle to delete. Values are of the
2809
+ # form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
2810
+ # schema_bundle``
2811
+ # @param [String] etag
2812
+ # Optional. The etag of the schema bundle. If this is provided, it must match
2813
+ # the server's etag. The server returns an ABORTED error on a mismatched etag.
2814
+ # @param [String] fields
2815
+ # Selector specifying which fields to include in a partial response.
2816
+ # @param [String] quota_user
2817
+ # Available to use for quota purposes for server-side applications. Can be any
2818
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2819
+ # @param [Google::Apis::RequestOptions] options
2820
+ # Request-specific options
2821
+ #
2822
+ # @yield [result, err] Result & error if block supplied
2823
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
2824
+ # @yieldparam err [StandardError] error object if request failed
2825
+ #
2826
+ # @return [Google::Apis::BigtableadminV2::Empty]
2827
+ #
2828
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2829
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2830
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2831
+ def delete_project_instance_table_schema_bundle(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
2832
+ command = make_simple_command(:delete, 'v2/{+name}', options)
2833
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
2834
+ command.response_class = Google::Apis::BigtableadminV2::Empty
2835
+ command.params['name'] = name unless name.nil?
2836
+ command.query['etag'] = etag unless etag.nil?
2837
+ command.query['fields'] = fields unless fields.nil?
2838
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2839
+ execute_or_queue_command(command, &block)
2840
+ end
2841
+
2842
+ # Gets metadata information about the specified schema bundle.
2843
+ # @param [String] name
2844
+ # Required. The unique name of the schema bundle to retrieve. Values are of the
2845
+ # form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
2846
+ # schema_bundle``
2847
+ # @param [String] fields
2848
+ # Selector specifying which fields to include in a partial response.
2849
+ # @param [String] quota_user
2850
+ # Available to use for quota purposes for server-side applications. Can be any
2851
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2852
+ # @param [Google::Apis::RequestOptions] options
2853
+ # Request-specific options
2854
+ #
2855
+ # @yield [result, err] Result & error if block supplied
2856
+ # @yieldparam result [Google::Apis::BigtableadminV2::SchemaBundle] parsed result object
2857
+ # @yieldparam err [StandardError] error object if request failed
2858
+ #
2859
+ # @return [Google::Apis::BigtableadminV2::SchemaBundle]
2860
+ #
2861
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2862
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2863
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2864
+ def get_project_instance_table_schema_bundle(name, fields: nil, quota_user: nil, options: nil, &block)
2865
+ command = make_simple_command(:get, 'v2/{+name}', options)
2866
+ command.response_representation = Google::Apis::BigtableadminV2::SchemaBundle::Representation
2867
+ command.response_class = Google::Apis::BigtableadminV2::SchemaBundle
2868
+ command.params['name'] = name unless name.nil?
2869
+ command.query['fields'] = fields unless fields.nil?
2870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2871
+ execute_or_queue_command(command, &block)
2872
+ end
2873
+
2874
+ # Gets the access control policy for a Bigtable resource. Returns an empty
2875
+ # policy if the resource exists but does not have a policy set.
2876
+ # @param [String] resource
2877
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2878
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2879
+ # appropriate value for this field.
2880
+ # @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
2881
+ # @param [String] fields
2882
+ # Selector specifying which fields to include in a partial response.
2883
+ # @param [String] quota_user
2884
+ # Available to use for quota purposes for server-side applications. Can be any
2885
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2886
+ # @param [Google::Apis::RequestOptions] options
2887
+ # Request-specific options
2888
+ #
2889
+ # @yield [result, err] Result & error if block supplied
2890
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
2891
+ # @yieldparam err [StandardError] error object if request failed
2892
+ #
2893
+ # @return [Google::Apis::BigtableadminV2::Policy]
2894
+ #
2895
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2896
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2897
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2898
+ def get_schema_bundle_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2899
+ command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
2900
+ command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
2901
+ command.request_object = get_iam_policy_request_object
2902
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
2903
+ command.response_class = Google::Apis::BigtableadminV2::Policy
2904
+ command.params['resource'] = resource unless resource.nil?
2905
+ command.query['fields'] = fields unless fields.nil?
2906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2907
+ execute_or_queue_command(command, &block)
2908
+ end
2909
+
2910
+ # Lists all schema bundles associated with the specified table.
2911
+ # @param [String] parent
2912
+ # Required. The parent, which owns this collection of schema bundles. Values are
2913
+ # of the form `projects/`project`/instances/`instance`/tables/`table``.
2914
+ # @param [Fixnum] page_size
2915
+ # The maximum number of schema bundles to return. If the value is positive, the
2916
+ # server may return at most this value. If unspecified, the server will return
2917
+ # the maximum allowed page size.
2918
+ # @param [String] page_token
2919
+ # A page token, received from a previous `ListSchemaBundles` call. Provide this
2920
+ # to retrieve the subsequent page. When paginating, all other parameters
2921
+ # provided to `ListSchemaBundles` must match the call that provided the page
2922
+ # token.
2923
+ # @param [String] view
2924
+ # Optional. The resource_view to be applied to the returned SchemaBundles'
2925
+ # fields. Defaults to NAME_ONLY.
2926
+ # @param [String] fields
2927
+ # Selector specifying which fields to include in a partial response.
2928
+ # @param [String] quota_user
2929
+ # Available to use for quota purposes for server-side applications. Can be any
2930
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2931
+ # @param [Google::Apis::RequestOptions] options
2932
+ # Request-specific options
2933
+ #
2934
+ # @yield [result, err] Result & error if block supplied
2935
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListSchemaBundlesResponse] parsed result object
2936
+ # @yieldparam err [StandardError] error object if request failed
2937
+ #
2938
+ # @return [Google::Apis::BigtableadminV2::ListSchemaBundlesResponse]
2939
+ #
2940
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2941
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2942
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2943
+ def list_project_instance_table_schema_bundles(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
2944
+ command = make_simple_command(:get, 'v2/{+parent}/schemaBundles', options)
2945
+ command.response_representation = Google::Apis::BigtableadminV2::ListSchemaBundlesResponse::Representation
2946
+ command.response_class = Google::Apis::BigtableadminV2::ListSchemaBundlesResponse
2947
+ command.params['parent'] = parent unless parent.nil?
2948
+ command.query['pageSize'] = page_size unless page_size.nil?
2949
+ command.query['pageToken'] = page_token unless page_token.nil?
2950
+ command.query['view'] = view unless view.nil?
2951
+ command.query['fields'] = fields unless fields.nil?
2952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2953
+ execute_or_queue_command(command, &block)
2954
+ end
2955
+
2956
+ # Updates a schema bundle in the specified table.
2957
+ # @param [String] name
2958
+ # Identifier. The unique name identifying this schema bundle. Values are of the
2959
+ # form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
2960
+ # schema_bundle``
2961
+ # @param [Google::Apis::BigtableadminV2::SchemaBundle] schema_bundle_object
2962
+ # @param [Boolean] ignore_warnings
2963
+ # Optional. If set, ignore the safety checks when updating the Schema Bundle.
2964
+ # The safety checks are: - The new Schema Bundle is backwards compatible with
2965
+ # the existing Schema Bundle.
2966
+ # @param [String] update_mask
2967
+ # Optional. The list of fields to update.
2968
+ # @param [String] fields
2969
+ # Selector specifying which fields to include in a partial response.
2970
+ # @param [String] quota_user
2971
+ # Available to use for quota purposes for server-side applications. Can be any
2972
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2973
+ # @param [Google::Apis::RequestOptions] options
2974
+ # Request-specific options
2975
+ #
2976
+ # @yield [result, err] Result & error if block supplied
2977
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
2978
+ # @yieldparam err [StandardError] error object if request failed
2979
+ #
2980
+ # @return [Google::Apis::BigtableadminV2::Operation]
2981
+ #
2982
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2983
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2984
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2985
+ def patch_project_instance_table_schema_bundle(name, schema_bundle_object = nil, ignore_warnings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2986
+ command = make_simple_command(:patch, 'v2/{+name}', options)
2987
+ command.request_representation = Google::Apis::BigtableadminV2::SchemaBundle::Representation
2988
+ command.request_object = schema_bundle_object
2989
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
2990
+ command.response_class = Google::Apis::BigtableadminV2::Operation
2991
+ command.params['name'] = name unless name.nil?
2992
+ command.query['ignoreWarnings'] = ignore_warnings unless ignore_warnings.nil?
2993
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2994
+ command.query['fields'] = fields unless fields.nil?
2995
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2996
+ execute_or_queue_command(command, &block)
2997
+ end
2998
+
2999
+ # Sets the access control policy on a Bigtable resource. Replaces any existing
3000
+ # policy.
3001
+ # @param [String] resource
3002
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
3003
+ # names](https://cloud.google.com/apis/design/resource_names) for the
3004
+ # appropriate value for this field.
3005
+ # @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
3006
+ # @param [String] fields
3007
+ # Selector specifying which fields to include in a partial response.
3008
+ # @param [String] quota_user
3009
+ # Available to use for quota purposes for server-side applications. Can be any
3010
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3011
+ # @param [Google::Apis::RequestOptions] options
3012
+ # Request-specific options
3013
+ #
3014
+ # @yield [result, err] Result & error if block supplied
3015
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
3016
+ # @yieldparam err [StandardError] error object if request failed
3017
+ #
3018
+ # @return [Google::Apis::BigtableadminV2::Policy]
3019
+ #
3020
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3021
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3022
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3023
+ def set_schema_bundle_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3024
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
3025
+ command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
3026
+ command.request_object = set_iam_policy_request_object
3027
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
3028
+ command.response_class = Google::Apis::BigtableadminV2::Policy
3029
+ command.params['resource'] = resource unless resource.nil?
3030
+ command.query['fields'] = fields unless fields.nil?
3031
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3032
+ execute_or_queue_command(command, &block)
3033
+ end
3034
+
3035
+ # Returns permissions that the caller has on the specified Bigtable resource.
3036
+ # @param [String] resource
3037
+ # REQUIRED: The resource for which the policy detail is being requested. See [
3038
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3039
+ # appropriate value for this field.
3040
+ # @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
3041
+ # @param [String] fields
3042
+ # Selector specifying which fields to include in a partial response.
3043
+ # @param [String] quota_user
3044
+ # Available to use for quota purposes for server-side applications. Can be any
3045
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3046
+ # @param [Google::Apis::RequestOptions] options
3047
+ # Request-specific options
3048
+ #
3049
+ # @yield [result, err] Result & error if block supplied
3050
+ # @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
3051
+ # @yieldparam err [StandardError] error object if request failed
3052
+ #
3053
+ # @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
3054
+ #
3055
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3056
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3057
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3058
+ def test_schema_bundle_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3059
+ command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
3060
+ command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
3061
+ command.request_object = test_iam_permissions_request_object
3062
+ command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
3063
+ command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
3064
+ command.params['resource'] = resource unless resource.nil?
3065
+ command.query['fields'] = fields unless fields.nil?
3066
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3067
+ execute_or_queue_command(command, &block)
3068
+ end
3069
+
2768
3070
  # Gets information about a location.
2769
3071
  # @param [String] name
2770
3072
  # Resource name for the location.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.74.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: