google-apis-bigtableadmin_v2 0.71.0 → 0.73.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ea4e1b033e8e7121f72437755b5cf9caacf1b1589a51524eea67dcc51bb0818
|
4
|
+
data.tar.gz: a0a3b38ff47da5f7710b3e62ff65547d712e01f6fd923dbebec433998ebab5e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a51afbdb310cabcacabb2594a67e1bb10997864df437ac1a592f11216506c1f564bd629338b53a231a877bcf466a03a7fb2e54b8320aa9988c16208960b26bc5
|
7
|
+
data.tar.gz: d82cf5b93b54ff6b6e3cab954a72e089da839a1beee5826fd5f92bad322109069290f34d2460e0778020647bc75ea784014fe1fc46a3193bfde698d6927f39f3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigtableadmin_v2
|
2
2
|
|
3
|
+
### v0.73.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250624
|
6
|
+
|
7
|
+
### v0.72.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250610
|
10
|
+
|
3
11
|
### v0.71.0 (2025-05-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250512
|
@@ -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
|
@@ -2936,6 +2969,32 @@ module Google
|
|
2936
2969
|
end
|
2937
2970
|
end
|
2938
2971
|
|
2972
|
+
# The response for ListSchemaBundles.
|
2973
|
+
class ListSchemaBundlesResponse
|
2974
|
+
include Google::Apis::Core::Hashable
|
2975
|
+
|
2976
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2977
|
+
# field is omitted, there are no subsequent pages.
|
2978
|
+
# Corresponds to the JSON property `nextPageToken`
|
2979
|
+
# @return [String]
|
2980
|
+
attr_accessor :next_page_token
|
2981
|
+
|
2982
|
+
# The schema bundles from the specified table.
|
2983
|
+
# Corresponds to the JSON property `schemaBundles`
|
2984
|
+
# @return [Array<Google::Apis::BigtableadminV2::SchemaBundle>]
|
2985
|
+
attr_accessor :schema_bundles
|
2986
|
+
|
2987
|
+
def initialize(**args)
|
2988
|
+
update!(**args)
|
2989
|
+
end
|
2990
|
+
|
2991
|
+
# Update properties of this object
|
2992
|
+
def update!(**args)
|
2993
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2994
|
+
@schema_bundles = args[:schema_bundles] if args.key?(:schema_bundles)
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2939
2998
|
# Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables
|
2940
2999
|
class ListTablesResponse
|
2941
3000
|
include Google::Apis::Core::Hashable
|
@@ -3508,6 +3567,34 @@ module Google
|
|
3508
3567
|
end
|
3509
3568
|
end
|
3510
3569
|
|
3570
|
+
# Represents a protobuf schema.
|
3571
|
+
class ProtoSchema
|
3572
|
+
include Google::Apis::Core::Hashable
|
3573
|
+
|
3574
|
+
# Required. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](
|
3575
|
+
# https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/
|
3576
|
+
# descriptor.proto), which could include multiple proto files. To generate it, [
|
3577
|
+
# install](https://grpc.io/docs/protoc-installation/) and run `protoc` with `--
|
3578
|
+
# include_imports` and `--descriptor_set_out`. For example, to generate for moon/
|
3579
|
+
# shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \
|
3580
|
+
# --include_imports \ --descriptor_set_out=descriptors.pb \ moon/shot/app.proto
|
3581
|
+
# ``` For more details, see protobuffer [self description](https://developers.
|
3582
|
+
# google.com/protocol-buffers/docs/techniques#self-description).
|
3583
|
+
# Corresponds to the JSON property `protoDescriptors`
|
3584
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3585
|
+
# @return [String]
|
3586
|
+
attr_accessor :proto_descriptors
|
3587
|
+
|
3588
|
+
def initialize(**args)
|
3589
|
+
update!(**args)
|
3590
|
+
end
|
3591
|
+
|
3592
|
+
# Update properties of this object
|
3593
|
+
def update!(**args)
|
3594
|
+
@proto_descriptors = args[:proto_descriptors] if args.key?(:proto_descriptors)
|
3595
|
+
end
|
3596
|
+
end
|
3597
|
+
|
3511
3598
|
# Information about a table restore.
|
3512
3599
|
class RestoreInfo
|
3513
3600
|
include Google::Apis::Core::Hashable
|
@@ -3633,6 +3720,41 @@ module Google
|
|
3633
3720
|
end
|
3634
3721
|
end
|
3635
3722
|
|
3723
|
+
# A named collection of related schemas.
|
3724
|
+
class SchemaBundle
|
3725
|
+
include Google::Apis::Core::Hashable
|
3726
|
+
|
3727
|
+
# Optional. The etag for this schema bundle. This may be sent on update and
|
3728
|
+
# delete requests to ensure the client has an up-to-date value before proceeding.
|
3729
|
+
# The server returns an ABORTED error on a mismatched etag.
|
3730
|
+
# Corresponds to the JSON property `etag`
|
3731
|
+
# @return [String]
|
3732
|
+
attr_accessor :etag
|
3733
|
+
|
3734
|
+
# Identifier. The unique name identifying this schema bundle. Values are of the
|
3735
|
+
# form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
|
3736
|
+
# schema_bundle``
|
3737
|
+
# Corresponds to the JSON property `name`
|
3738
|
+
# @return [String]
|
3739
|
+
attr_accessor :name
|
3740
|
+
|
3741
|
+
# Represents a protobuf schema.
|
3742
|
+
# Corresponds to the JSON property `protoSchema`
|
3743
|
+
# @return [Google::Apis::BigtableadminV2::ProtoSchema]
|
3744
|
+
attr_accessor :proto_schema
|
3745
|
+
|
3746
|
+
def initialize(**args)
|
3747
|
+
update!(**args)
|
3748
|
+
end
|
3749
|
+
|
3750
|
+
# Update properties of this object
|
3751
|
+
def update!(**args)
|
3752
|
+
@etag = args[:etag] if args.key?(:etag)
|
3753
|
+
@name = args[:name] if args.key?(:name)
|
3754
|
+
@proto_schema = args[:proto_schema] if args.key?(:proto_schema)
|
3755
|
+
end
|
3756
|
+
end
|
3757
|
+
|
3636
3758
|
# Request message for `SetIamPolicy` method.
|
3637
3759
|
class SetIamPolicyRequest
|
3638
3760
|
include Google::Apis::Core::Hashable
|
@@ -3884,6 +4006,13 @@ module Google
|
|
3884
4006
|
# @return [Google::Apis::BigtableadminV2::TableStats]
|
3885
4007
|
attr_accessor :stats
|
3886
4008
|
|
4009
|
+
# Config for tiered storage. A valid config must have a valid TieredStorageRule.
|
4010
|
+
# Otherwise the whole TieredStorageConfig must be unset. By default all data is
|
4011
|
+
# stored in the SSD tier (only SSD instances can configure tiered storage).
|
4012
|
+
# Corresponds to the JSON property `tieredStorageConfig`
|
4013
|
+
# @return [Google::Apis::BigtableadminV2::TieredStorageConfig]
|
4014
|
+
attr_accessor :tiered_storage_config
|
4015
|
+
|
3887
4016
|
def initialize(**args)
|
3888
4017
|
update!(**args)
|
3889
4018
|
end
|
@@ -3900,6 +4029,7 @@ module Google
|
|
3900
4029
|
@restore_info = args[:restore_info] if args.key?(:restore_info)
|
3901
4030
|
@row_key_schema = args[:row_key_schema] if args.key?(:row_key_schema)
|
3902
4031
|
@stats = args[:stats] if args.key?(:stats)
|
4032
|
+
@tiered_storage_config = args[:tiered_storage_config] if args.key?(:tiered_storage_config)
|
3903
4033
|
end
|
3904
4034
|
end
|
3905
4035
|
|
@@ -4027,6 +4157,47 @@ module Google
|
|
4027
4157
|
end
|
4028
4158
|
end
|
4029
4159
|
|
4160
|
+
# Config for tiered storage. A valid config must have a valid TieredStorageRule.
|
4161
|
+
# Otherwise the whole TieredStorageConfig must be unset. By default all data is
|
4162
|
+
# stored in the SSD tier (only SSD instances can configure tiered storage).
|
4163
|
+
class TieredStorageConfig
|
4164
|
+
include Google::Apis::Core::Hashable
|
4165
|
+
|
4166
|
+
# Rule to specify what data is stored in a storage tier.
|
4167
|
+
# Corresponds to the JSON property `infrequentAccess`
|
4168
|
+
# @return [Google::Apis::BigtableadminV2::TieredStorageRule]
|
4169
|
+
attr_accessor :infrequent_access
|
4170
|
+
|
4171
|
+
def initialize(**args)
|
4172
|
+
update!(**args)
|
4173
|
+
end
|
4174
|
+
|
4175
|
+
# Update properties of this object
|
4176
|
+
def update!(**args)
|
4177
|
+
@infrequent_access = args[:infrequent_access] if args.key?(:infrequent_access)
|
4178
|
+
end
|
4179
|
+
end
|
4180
|
+
|
4181
|
+
# Rule to specify what data is stored in a storage tier.
|
4182
|
+
class TieredStorageRule
|
4183
|
+
include Google::Apis::Core::Hashable
|
4184
|
+
|
4185
|
+
# Include cells older than the given age. For the infrequent access tier, this
|
4186
|
+
# value must be at least 30 days.
|
4187
|
+
# Corresponds to the JSON property `includeIfOlderThan`
|
4188
|
+
# @return [String]
|
4189
|
+
attr_accessor :include_if_older_than
|
4190
|
+
|
4191
|
+
def initialize(**args)
|
4192
|
+
update!(**args)
|
4193
|
+
end
|
4194
|
+
|
4195
|
+
# Update properties of this object
|
4196
|
+
def update!(**args)
|
4197
|
+
@include_if_older_than = args[:include_if_older_than] if args.key?(:include_if_older_than)
|
4198
|
+
end
|
4199
|
+
end
|
4200
|
+
|
4030
4201
|
# `Type` represents the type of data that is written to, read from, or stored in
|
4031
4202
|
# Bigtable. It is heavily based on the GoogleSQL standard to help maintain
|
4032
4203
|
# familiarity and consistency across products and features. For compatibility
|
@@ -4401,6 +4572,39 @@ module Google
|
|
4401
4572
|
end
|
4402
4573
|
end
|
4403
4574
|
|
4575
|
+
# The metadata for the Operation returned by UpdateSchemaBundle.
|
4576
|
+
class UpdateSchemaBundleMetadata
|
4577
|
+
include Google::Apis::Core::Hashable
|
4578
|
+
|
4579
|
+
# If set, the time at which this operation finished or was canceled.
|
4580
|
+
# Corresponds to the JSON property `endTime`
|
4581
|
+
# @return [String]
|
4582
|
+
attr_accessor :end_time
|
4583
|
+
|
4584
|
+
# The unique name identifying this schema bundle. Values are of the form `
|
4585
|
+
# projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
|
4586
|
+
# schema_bundle``
|
4587
|
+
# Corresponds to the JSON property `name`
|
4588
|
+
# @return [String]
|
4589
|
+
attr_accessor :name
|
4590
|
+
|
4591
|
+
# The time at which this operation started.
|
4592
|
+
# Corresponds to the JSON property `startTime`
|
4593
|
+
# @return [String]
|
4594
|
+
attr_accessor :start_time
|
4595
|
+
|
4596
|
+
def initialize(**args)
|
4597
|
+
update!(**args)
|
4598
|
+
end
|
4599
|
+
|
4600
|
+
# Update properties of this object
|
4601
|
+
def update!(**args)
|
4602
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
4603
|
+
@name = args[:name] if args.key?(:name)
|
4604
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
4605
|
+
end
|
4606
|
+
end
|
4607
|
+
|
4404
4608
|
# Metadata type for the operation returned by UpdateTable.
|
4405
4609
|
class UpdateTableMetadata
|
4406
4610
|
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.
|
19
|
+
GEM_VERSION = "0.73.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 = "
|
25
|
+
REVISION = "20250624"
|
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
|
|
@@ -562,6 +568,12 @@ module Google
|
|
562
568
|
include Google::Apis::Core::JsonObjectSupport
|
563
569
|
end
|
564
570
|
|
571
|
+
class ListSchemaBundlesResponse
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
565
577
|
class ListTablesResponse
|
566
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
579
|
|
@@ -646,6 +658,12 @@ module Google
|
|
646
658
|
include Google::Apis::Core::JsonObjectSupport
|
647
659
|
end
|
648
660
|
|
661
|
+
class ProtoSchema
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
649
667
|
class RestoreInfo
|
650
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
669
|
|
@@ -670,6 +688,12 @@ module Google
|
|
670
688
|
include Google::Apis::Core::JsonObjectSupport
|
671
689
|
end
|
672
690
|
|
691
|
+
class SchemaBundle
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
673
697
|
class SetIamPolicyRequest
|
674
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
699
|
|
@@ -736,6 +760,18 @@ module Google
|
|
736
760
|
include Google::Apis::Core::JsonObjectSupport
|
737
761
|
end
|
738
762
|
|
763
|
+
class TieredStorageConfig
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
769
|
+
class TieredStorageRule
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
739
775
|
class Type
|
740
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
777
|
|
@@ -802,6 +838,12 @@ module Google
|
|
802
838
|
include Google::Apis::Core::JsonObjectSupport
|
803
839
|
end
|
804
840
|
|
841
|
+
class UpdateSchemaBundleMetadata
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
|
+
|
844
|
+
include Google::Apis::Core::JsonObjectSupport
|
845
|
+
end
|
846
|
+
|
805
847
|
class UpdateTableMetadata
|
806
848
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
849
|
|
@@ -1140,6 +1182,15 @@ module Google
|
|
1140
1182
|
end
|
1141
1183
|
end
|
1142
1184
|
|
1185
|
+
class CreateSchemaBundleMetadata
|
1186
|
+
# @private
|
1187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1188
|
+
property :end_time, as: 'endTime'
|
1189
|
+
property :name, as: 'name'
|
1190
|
+
property :start_time, as: 'startTime'
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1143
1194
|
class CreateTableRequest
|
1144
1195
|
# @private
|
1145
1196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1626,6 +1677,15 @@ module Google
|
|
1626
1677
|
end
|
1627
1678
|
end
|
1628
1679
|
|
1680
|
+
class ListSchemaBundlesResponse
|
1681
|
+
# @private
|
1682
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1683
|
+
property :next_page_token, as: 'nextPageToken'
|
1684
|
+
collection :schema_bundles, as: 'schemaBundles', class: Google::Apis::BigtableadminV2::SchemaBundle, decorator: Google::Apis::BigtableadminV2::SchemaBundle::Representation
|
1685
|
+
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
|
1629
1689
|
class ListTablesResponse
|
1630
1690
|
# @private
|
1631
1691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1767,6 +1827,13 @@ module Google
|
|
1767
1827
|
end
|
1768
1828
|
end
|
1769
1829
|
|
1830
|
+
class ProtoSchema
|
1831
|
+
# @private
|
1832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1833
|
+
property :proto_descriptors, :base64 => true, as: 'protoDescriptors'
|
1834
|
+
end
|
1835
|
+
end
|
1836
|
+
|
1770
1837
|
class RestoreInfo
|
1771
1838
|
# @private
|
1772
1839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1803,6 +1870,16 @@ module Google
|
|
1803
1870
|
end
|
1804
1871
|
end
|
1805
1872
|
|
1873
|
+
class SchemaBundle
|
1874
|
+
# @private
|
1875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1876
|
+
property :etag, as: 'etag'
|
1877
|
+
property :name, as: 'name'
|
1878
|
+
property :proto_schema, as: 'protoSchema', class: Google::Apis::BigtableadminV2::ProtoSchema, decorator: Google::Apis::BigtableadminV2::ProtoSchema::Representation
|
1879
|
+
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1806
1883
|
class SetIamPolicyRequest
|
1807
1884
|
# @private
|
1808
1885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1869,6 +1946,8 @@ module Google
|
|
1869
1946
|
|
1870
1947
|
property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::TableStats, decorator: Google::Apis::BigtableadminV2::TableStats::Representation
|
1871
1948
|
|
1949
|
+
property :tiered_storage_config, as: 'tieredStorageConfig', class: Google::Apis::BigtableadminV2::TieredStorageConfig, decorator: Google::Apis::BigtableadminV2::TieredStorageConfig::Representation
|
1950
|
+
|
1872
1951
|
end
|
1873
1952
|
end
|
1874
1953
|
|
@@ -1905,6 +1984,21 @@ module Google
|
|
1905
1984
|
end
|
1906
1985
|
end
|
1907
1986
|
|
1987
|
+
class TieredStorageConfig
|
1988
|
+
# @private
|
1989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1990
|
+
property :infrequent_access, as: 'infrequentAccess', class: Google::Apis::BigtableadminV2::TieredStorageRule, decorator: Google::Apis::BigtableadminV2::TieredStorageRule::Representation
|
1991
|
+
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
class TieredStorageRule
|
1996
|
+
# @private
|
1997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1998
|
+
property :include_if_older_than, as: 'includeIfOlderThan'
|
1999
|
+
end
|
2000
|
+
end
|
2001
|
+
|
1908
2002
|
class Type
|
1909
2003
|
# @private
|
1910
2004
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2023,6 +2117,15 @@ module Google
|
|
2023
2117
|
end
|
2024
2118
|
end
|
2025
2119
|
|
2120
|
+
class UpdateSchemaBundleMetadata
|
2121
|
+
# @private
|
2122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2123
|
+
property :end_time, as: 'endTime'
|
2124
|
+
property :name, as: 'name'
|
2125
|
+
property :start_time, as: 'startTime'
|
2126
|
+
end
|
2127
|
+
end
|
2128
|
+
|
2026
2129
|
class UpdateTableMetadata
|
2027
2130
|
# @private
|
2028
2131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2765,6 +2765,304 @@ 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] fields
|
2924
|
+
# Selector specifying which fields to include in a partial response.
|
2925
|
+
# @param [String] quota_user
|
2926
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2927
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2928
|
+
# @param [Google::Apis::RequestOptions] options
|
2929
|
+
# Request-specific options
|
2930
|
+
#
|
2931
|
+
# @yield [result, err] Result & error if block supplied
|
2932
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::ListSchemaBundlesResponse] parsed result object
|
2933
|
+
# @yieldparam err [StandardError] error object if request failed
|
2934
|
+
#
|
2935
|
+
# @return [Google::Apis::BigtableadminV2::ListSchemaBundlesResponse]
|
2936
|
+
#
|
2937
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2938
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2939
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2940
|
+
def list_project_instance_table_schema_bundles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2941
|
+
command = make_simple_command(:get, 'v2/{+parent}/schemaBundles', options)
|
2942
|
+
command.response_representation = Google::Apis::BigtableadminV2::ListSchemaBundlesResponse::Representation
|
2943
|
+
command.response_class = Google::Apis::BigtableadminV2::ListSchemaBundlesResponse
|
2944
|
+
command.params['parent'] = parent unless parent.nil?
|
2945
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2946
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2947
|
+
command.query['fields'] = fields unless fields.nil?
|
2948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2949
|
+
execute_or_queue_command(command, &block)
|
2950
|
+
end
|
2951
|
+
|
2952
|
+
# Updates a schema bundle in the specified table.
|
2953
|
+
# @param [String] name
|
2954
|
+
# Identifier. The unique name identifying this schema bundle. Values are of the
|
2955
|
+
# form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
|
2956
|
+
# schema_bundle``
|
2957
|
+
# @param [Google::Apis::BigtableadminV2::SchemaBundle] schema_bundle_object
|
2958
|
+
# @param [Boolean] ignore_warnings
|
2959
|
+
# Optional. If set, ignore the safety checks when updating the Schema Bundle.
|
2960
|
+
# The safety checks are: - The new Schema Bundle is backwards compatible with
|
2961
|
+
# the existing Schema Bundle.
|
2962
|
+
# @param [String] update_mask
|
2963
|
+
# Optional. The list of fields to update.
|
2964
|
+
# @param [String] fields
|
2965
|
+
# Selector specifying which fields to include in a partial response.
|
2966
|
+
# @param [String] quota_user
|
2967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2969
|
+
# @param [Google::Apis::RequestOptions] options
|
2970
|
+
# Request-specific options
|
2971
|
+
#
|
2972
|
+
# @yield [result, err] Result & error if block supplied
|
2973
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
|
2974
|
+
# @yieldparam err [StandardError] error object if request failed
|
2975
|
+
#
|
2976
|
+
# @return [Google::Apis::BigtableadminV2::Operation]
|
2977
|
+
#
|
2978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2981
|
+
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)
|
2982
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
2983
|
+
command.request_representation = Google::Apis::BigtableadminV2::SchemaBundle::Representation
|
2984
|
+
command.request_object = schema_bundle_object
|
2985
|
+
command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
|
2986
|
+
command.response_class = Google::Apis::BigtableadminV2::Operation
|
2987
|
+
command.params['name'] = name unless name.nil?
|
2988
|
+
command.query['ignoreWarnings'] = ignore_warnings unless ignore_warnings.nil?
|
2989
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2990
|
+
command.query['fields'] = fields unless fields.nil?
|
2991
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2992
|
+
execute_or_queue_command(command, &block)
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
# Sets the access control policy on a Bigtable resource. Replaces any existing
|
2996
|
+
# policy.
|
2997
|
+
# @param [String] resource
|
2998
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2999
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
3000
|
+
# appropriate value for this field.
|
3001
|
+
# @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
|
3002
|
+
# @param [String] fields
|
3003
|
+
# Selector specifying which fields to include in a partial response.
|
3004
|
+
# @param [String] quota_user
|
3005
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3006
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3007
|
+
# @param [Google::Apis::RequestOptions] options
|
3008
|
+
# Request-specific options
|
3009
|
+
#
|
3010
|
+
# @yield [result, err] Result & error if block supplied
|
3011
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
3012
|
+
# @yieldparam err [StandardError] error object if request failed
|
3013
|
+
#
|
3014
|
+
# @return [Google::Apis::BigtableadminV2::Policy]
|
3015
|
+
#
|
3016
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3017
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3018
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3019
|
+
def set_schema_bundle_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3020
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
3021
|
+
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
|
3022
|
+
command.request_object = set_iam_policy_request_object
|
3023
|
+
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
3024
|
+
command.response_class = Google::Apis::BigtableadminV2::Policy
|
3025
|
+
command.params['resource'] = resource unless resource.nil?
|
3026
|
+
command.query['fields'] = fields unless fields.nil?
|
3027
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3028
|
+
execute_or_queue_command(command, &block)
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
# Returns permissions that the caller has on the specified Bigtable resource.
|
3032
|
+
# @param [String] resource
|
3033
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
3034
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
3035
|
+
# appropriate value for this field.
|
3036
|
+
# @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
3037
|
+
# @param [String] fields
|
3038
|
+
# Selector specifying which fields to include in a partial response.
|
3039
|
+
# @param [String] quota_user
|
3040
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3041
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3042
|
+
# @param [Google::Apis::RequestOptions] options
|
3043
|
+
# Request-specific options
|
3044
|
+
#
|
3045
|
+
# @yield [result, err] Result & error if block supplied
|
3046
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
|
3047
|
+
# @yieldparam err [StandardError] error object if request failed
|
3048
|
+
#
|
3049
|
+
# @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
|
3050
|
+
#
|
3051
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3052
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3053
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3054
|
+
def test_schema_bundle_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3055
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
3056
|
+
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
|
3057
|
+
command.request_object = test_iam_permissions_request_object
|
3058
|
+
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
|
3059
|
+
command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
|
3060
|
+
command.params['resource'] = resource unless resource.nil?
|
3061
|
+
command.query['fields'] = fields unless fields.nil?
|
3062
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3063
|
+
execute_or_queue_command(command, &block)
|
3064
|
+
end
|
3065
|
+
|
2768
3066
|
# Gets information about a location.
|
2769
3067
|
# @param [String] name
|
2770
3068
|
# 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.
|
4
|
+
version: 0.73.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.73.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:
|