google-apis-bigtableadmin_v2 0.50.0 → 0.52.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: 88ce56ada2f06fdf7927def79928f4a6b65ef3f4580a190604c2388853a8dd74
|
|
4
|
+
data.tar.gz: 9198cea4bc5dcd024a3f24a817ebdc6fa482e2b8433093a593800dfc0d4314be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e63e783db12113825200866b3d665b732509316b1aa06a3b2ff8fdf4eabbd58d16bf187c0b869d11b4a421216835dd352f6dc2da20aad3372528392cf87c848
|
|
7
|
+
data.tar.gz: 4340eef5ab2d59f1561fd8c91bff9a90e2570e53735817bcc153bc3e8203779060d8d88f9d69415b77ad67993457c9c6367b9d0a5937d550d935c990fdce201b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-bigtableadmin_v2
|
|
2
2
|
|
|
3
|
+
### v0.52.0 (2024-03-31)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240319
|
|
6
|
+
|
|
7
|
+
### v0.51.0 (2024-03-24)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20240318
|
|
10
|
+
|
|
3
11
|
### v0.50.0 (2024-03-17)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20240306
|
|
@@ -27,6 +27,19 @@ module Google
|
|
|
27
27
|
class AppProfile
|
|
28
28
|
include Google::Apis::Core::Hashable
|
|
29
29
|
|
|
30
|
+
# Data Boost is a serverless compute capability that lets you run high-
|
|
31
|
+
# throughput read jobs on your Bigtable data, without impacting the performance
|
|
32
|
+
# of the clusters that handle your application traffic. Currently, Data Boost
|
|
33
|
+
# exclusively supports read-only use-cases with single-cluster routing. Data
|
|
34
|
+
# Boost reads are only guaranteed to see the results of writes that were written
|
|
35
|
+
# at least 30 minutes ago. This means newly written values may not become
|
|
36
|
+
# visible for up to 30m, and also means that old values may remain visible for
|
|
37
|
+
# up to 30m after being deleted or overwritten. To mitigate the staleness of the
|
|
38
|
+
# data, users may either wait 30m, or use CheckConsistency.
|
|
39
|
+
# Corresponds to the JSON property `dataBoostIsolationReadOnly`
|
|
40
|
+
# @return [Google::Apis::BigtableadminV2::DataBoostIsolationReadOnly]
|
|
41
|
+
attr_accessor :data_boost_isolation_read_only
|
|
42
|
+
|
|
30
43
|
# Long form description of the use case for this AppProfile.
|
|
31
44
|
# Corresponds to the JSON property `description`
|
|
32
45
|
# @return [String]
|
|
@@ -82,6 +95,7 @@ module Google
|
|
|
82
95
|
|
|
83
96
|
# Update properties of this object
|
|
84
97
|
def update!(**args)
|
|
98
|
+
@data_boost_isolation_read_only = args[:data_boost_isolation_read_only] if args.key?(:data_boost_isolation_read_only)
|
|
85
99
|
@description = args[:description] if args.key?(:description)
|
|
86
100
|
@etag = args[:etag] if args.key?(:etag)
|
|
87
101
|
@multi_cluster_routing_use_any = args[:multi_cluster_routing_use_any] if args.key?(:multi_cluster_routing_use_any)
|
|
@@ -552,6 +566,18 @@ module Google
|
|
|
552
566
|
# @return [String]
|
|
553
567
|
attr_accessor :consistency_token
|
|
554
568
|
|
|
569
|
+
# Checks that all writes before the consistency token was generated in the same
|
|
570
|
+
# cluster are readable by Databoost.
|
|
571
|
+
# Corresponds to the JSON property `dataBoostReadLocalWrites`
|
|
572
|
+
# @return [Google::Apis::BigtableadminV2::DataBoostReadLocalWrites]
|
|
573
|
+
attr_accessor :data_boost_read_local_writes
|
|
574
|
+
|
|
575
|
+
# Checks that all writes before the consistency token was generated are
|
|
576
|
+
# replicated in every cluster and readable.
|
|
577
|
+
# Corresponds to the JSON property `standardReadRemoteWrites`
|
|
578
|
+
# @return [Google::Apis::BigtableadminV2::StandardReadRemoteWrites]
|
|
579
|
+
attr_accessor :standard_read_remote_writes
|
|
580
|
+
|
|
555
581
|
def initialize(**args)
|
|
556
582
|
update!(**args)
|
|
557
583
|
end
|
|
@@ -559,6 +585,8 @@ module Google
|
|
|
559
585
|
# Update properties of this object
|
|
560
586
|
def update!(**args)
|
|
561
587
|
@consistency_token = args[:consistency_token] if args.key?(:consistency_token)
|
|
588
|
+
@data_boost_read_local_writes = args[:data_boost_read_local_writes] if args.key?(:data_boost_read_local_writes)
|
|
589
|
+
@standard_read_remote_writes = args[:standard_read_remote_writes] if args.key?(:standard_read_remote_writes)
|
|
562
590
|
end
|
|
563
591
|
end
|
|
564
592
|
|
|
@@ -737,6 +765,34 @@ module Google
|
|
|
737
765
|
# @return [Google::Apis::BigtableadminV2::ColumnFamilyStats]
|
|
738
766
|
attr_accessor :stats
|
|
739
767
|
|
|
768
|
+
# `Type` represents the type of data that is written to, read from, or stored in
|
|
769
|
+
# Bigtable. It is heavily based on the GoogleSQL standard to help maintain
|
|
770
|
+
# familiarity and consistency across products and features. For compatibility
|
|
771
|
+
# with Bigtable's existing untyped APIs, each `Type` includes an `Encoding`
|
|
772
|
+
# which describes how to convert to/from the underlying data. This might involve
|
|
773
|
+
# composing a series of steps into an "encoding chain," for example to convert
|
|
774
|
+
# from INT64 -> STRING -> raw bytes. In most cases, a "link" in the encoding
|
|
775
|
+
# chain will be based an on existing GoogleSQL conversion function like `CAST`.
|
|
776
|
+
# Each link in the encoding chain also defines the following properties: *
|
|
777
|
+
# Natural sort: Does the encoded value sort consistently with the original typed
|
|
778
|
+
# value? Note that Bigtable will always sort data based on the raw encoded value,
|
|
779
|
+
# *not* the decoded type. - Example: STRING values sort in the same order as
|
|
780
|
+
# their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width
|
|
781
|
+
# STRING does *not* preserve sort order when dealing with negative numbers.
|
|
782
|
+
# INT64(1) > INT64(-1), but STRING("-00001") > STRING("00001). - The overall
|
|
783
|
+
# encoding chain sorts naturally if *every* link does. * Self-delimiting: If we
|
|
784
|
+
# concatenate two encoded values, can we always tell where the first one ends
|
|
785
|
+
# and the second one begins? - Example: If we encode INT64s to fixed-width
|
|
786
|
+
# STRINGs, the first value will always contain exactly N digits, possibly
|
|
787
|
+
# preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded
|
|
788
|
+
# STRINGs, we have no way to tell where the first one ends. - The overall
|
|
789
|
+
# encoding chain is self-delimiting if *any* link is. * Compatibility: Which
|
|
790
|
+
# other systems have matching encoding schemes? For example, does this encoding
|
|
791
|
+
# have a GoogleSQL equivalent? HBase? Java?
|
|
792
|
+
# Corresponds to the JSON property `valueType`
|
|
793
|
+
# @return [Google::Apis::BigtableadminV2::Type]
|
|
794
|
+
attr_accessor :value_type
|
|
795
|
+
|
|
740
796
|
def initialize(**args)
|
|
741
797
|
update!(**args)
|
|
742
798
|
end
|
|
@@ -745,6 +801,7 @@ module Google
|
|
|
745
801
|
def update!(**args)
|
|
746
802
|
@gc_rule = args[:gc_rule] if args.key?(:gc_rule)
|
|
747
803
|
@stats = args[:stats] if args.key?(:stats)
|
|
804
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
|
748
805
|
end
|
|
749
806
|
end
|
|
750
807
|
|
|
@@ -1166,6 +1223,47 @@ module Google
|
|
|
1166
1223
|
end
|
|
1167
1224
|
end
|
|
1168
1225
|
|
|
1226
|
+
# Data Boost is a serverless compute capability that lets you run high-
|
|
1227
|
+
# throughput read jobs on your Bigtable data, without impacting the performance
|
|
1228
|
+
# of the clusters that handle your application traffic. Currently, Data Boost
|
|
1229
|
+
# exclusively supports read-only use-cases with single-cluster routing. Data
|
|
1230
|
+
# Boost reads are only guaranteed to see the results of writes that were written
|
|
1231
|
+
# at least 30 minutes ago. This means newly written values may not become
|
|
1232
|
+
# visible for up to 30m, and also means that old values may remain visible for
|
|
1233
|
+
# up to 30m after being deleted or overwritten. To mitigate the staleness of the
|
|
1234
|
+
# data, users may either wait 30m, or use CheckConsistency.
|
|
1235
|
+
class DataBoostIsolationReadOnly
|
|
1236
|
+
include Google::Apis::Core::Hashable
|
|
1237
|
+
|
|
1238
|
+
# The Compute Billing Owner for this Data Boost App Profile.
|
|
1239
|
+
# Corresponds to the JSON property `computeBillingOwner`
|
|
1240
|
+
# @return [String]
|
|
1241
|
+
attr_accessor :compute_billing_owner
|
|
1242
|
+
|
|
1243
|
+
def initialize(**args)
|
|
1244
|
+
update!(**args)
|
|
1245
|
+
end
|
|
1246
|
+
|
|
1247
|
+
# Update properties of this object
|
|
1248
|
+
def update!(**args)
|
|
1249
|
+
@compute_billing_owner = args[:compute_billing_owner] if args.key?(:compute_billing_owner)
|
|
1250
|
+
end
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
# Checks that all writes before the consistency token was generated in the same
|
|
1254
|
+
# cluster are readable by Databoost.
|
|
1255
|
+
class DataBoostReadLocalWrites
|
|
1256
|
+
include Google::Apis::Core::Hashable
|
|
1257
|
+
|
|
1258
|
+
def initialize(**args)
|
|
1259
|
+
update!(**args)
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
# Update properties of this object
|
|
1263
|
+
def update!(**args)
|
|
1264
|
+
end
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1169
1267
|
# Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange
|
|
1170
1268
|
class DropRowRangeRequest
|
|
1171
1269
|
include Google::Apis::Core::Hashable
|
|
@@ -1501,6 +1599,217 @@ module Google
|
|
|
1501
1599
|
end
|
|
1502
1600
|
end
|
|
1503
1601
|
|
|
1602
|
+
# A value that combines incremental updates into a summarized value. Data is
|
|
1603
|
+
# never directly written or read using type `Aggregate`. Writes will provide
|
|
1604
|
+
# either the `input_type` or `state_type`, and reads will always return the `
|
|
1605
|
+
# state_type` .
|
|
1606
|
+
class GoogleBigtableAdminV2TypeAggregate
|
|
1607
|
+
include Google::Apis::Core::Hashable
|
|
1608
|
+
|
|
1609
|
+
# `Type` represents the type of data that is written to, read from, or stored in
|
|
1610
|
+
# Bigtable. It is heavily based on the GoogleSQL standard to help maintain
|
|
1611
|
+
# familiarity and consistency across products and features. For compatibility
|
|
1612
|
+
# with Bigtable's existing untyped APIs, each `Type` includes an `Encoding`
|
|
1613
|
+
# which describes how to convert to/from the underlying data. This might involve
|
|
1614
|
+
# composing a series of steps into an "encoding chain," for example to convert
|
|
1615
|
+
# from INT64 -> STRING -> raw bytes. In most cases, a "link" in the encoding
|
|
1616
|
+
# chain will be based an on existing GoogleSQL conversion function like `CAST`.
|
|
1617
|
+
# Each link in the encoding chain also defines the following properties: *
|
|
1618
|
+
# Natural sort: Does the encoded value sort consistently with the original typed
|
|
1619
|
+
# value? Note that Bigtable will always sort data based on the raw encoded value,
|
|
1620
|
+
# *not* the decoded type. - Example: STRING values sort in the same order as
|
|
1621
|
+
# their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width
|
|
1622
|
+
# STRING does *not* preserve sort order when dealing with negative numbers.
|
|
1623
|
+
# INT64(1) > INT64(-1), but STRING("-00001") > STRING("00001). - The overall
|
|
1624
|
+
# encoding chain sorts naturally if *every* link does. * Self-delimiting: If we
|
|
1625
|
+
# concatenate two encoded values, can we always tell where the first one ends
|
|
1626
|
+
# and the second one begins? - Example: If we encode INT64s to fixed-width
|
|
1627
|
+
# STRINGs, the first value will always contain exactly N digits, possibly
|
|
1628
|
+
# preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded
|
|
1629
|
+
# STRINGs, we have no way to tell where the first one ends. - The overall
|
|
1630
|
+
# encoding chain is self-delimiting if *any* link is. * Compatibility: Which
|
|
1631
|
+
# other systems have matching encoding schemes? For example, does this encoding
|
|
1632
|
+
# have a GoogleSQL equivalent? HBase? Java?
|
|
1633
|
+
# Corresponds to the JSON property `inputType`
|
|
1634
|
+
# @return [Google::Apis::BigtableadminV2::Type]
|
|
1635
|
+
attr_accessor :input_type
|
|
1636
|
+
|
|
1637
|
+
# `Type` represents the type of data that is written to, read from, or stored in
|
|
1638
|
+
# Bigtable. It is heavily based on the GoogleSQL standard to help maintain
|
|
1639
|
+
# familiarity and consistency across products and features. For compatibility
|
|
1640
|
+
# with Bigtable's existing untyped APIs, each `Type` includes an `Encoding`
|
|
1641
|
+
# which describes how to convert to/from the underlying data. This might involve
|
|
1642
|
+
# composing a series of steps into an "encoding chain," for example to convert
|
|
1643
|
+
# from INT64 -> STRING -> raw bytes. In most cases, a "link" in the encoding
|
|
1644
|
+
# chain will be based an on existing GoogleSQL conversion function like `CAST`.
|
|
1645
|
+
# Each link in the encoding chain also defines the following properties: *
|
|
1646
|
+
# Natural sort: Does the encoded value sort consistently with the original typed
|
|
1647
|
+
# value? Note that Bigtable will always sort data based on the raw encoded value,
|
|
1648
|
+
# *not* the decoded type. - Example: STRING values sort in the same order as
|
|
1649
|
+
# their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width
|
|
1650
|
+
# STRING does *not* preserve sort order when dealing with negative numbers.
|
|
1651
|
+
# INT64(1) > INT64(-1), but STRING("-00001") > STRING("00001). - The overall
|
|
1652
|
+
# encoding chain sorts naturally if *every* link does. * Self-delimiting: If we
|
|
1653
|
+
# concatenate two encoded values, can we always tell where the first one ends
|
|
1654
|
+
# and the second one begins? - Example: If we encode INT64s to fixed-width
|
|
1655
|
+
# STRINGs, the first value will always contain exactly N digits, possibly
|
|
1656
|
+
# preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded
|
|
1657
|
+
# STRINGs, we have no way to tell where the first one ends. - The overall
|
|
1658
|
+
# encoding chain is self-delimiting if *any* link is. * Compatibility: Which
|
|
1659
|
+
# other systems have matching encoding schemes? For example, does this encoding
|
|
1660
|
+
# have a GoogleSQL equivalent? HBase? Java?
|
|
1661
|
+
# Corresponds to the JSON property `stateType`
|
|
1662
|
+
# @return [Google::Apis::BigtableadminV2::Type]
|
|
1663
|
+
attr_accessor :state_type
|
|
1664
|
+
|
|
1665
|
+
# Computes the sum of the input values. Allowed input: `Int64` State: same as
|
|
1666
|
+
# input
|
|
1667
|
+
# Corresponds to the JSON property `sum`
|
|
1668
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregateSum]
|
|
1669
|
+
attr_accessor :sum
|
|
1670
|
+
|
|
1671
|
+
def initialize(**args)
|
|
1672
|
+
update!(**args)
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
# Update properties of this object
|
|
1676
|
+
def update!(**args)
|
|
1677
|
+
@input_type = args[:input_type] if args.key?(:input_type)
|
|
1678
|
+
@state_type = args[:state_type] if args.key?(:state_type)
|
|
1679
|
+
@sum = args[:sum] if args.key?(:sum)
|
|
1680
|
+
end
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# Computes the sum of the input values. Allowed input: `Int64` State: same as
|
|
1684
|
+
# input
|
|
1685
|
+
class GoogleBigtableAdminV2TypeAggregateSum
|
|
1686
|
+
include Google::Apis::Core::Hashable
|
|
1687
|
+
|
|
1688
|
+
def initialize(**args)
|
|
1689
|
+
update!(**args)
|
|
1690
|
+
end
|
|
1691
|
+
|
|
1692
|
+
# Update properties of this object
|
|
1693
|
+
def update!(**args)
|
|
1694
|
+
end
|
|
1695
|
+
end
|
|
1696
|
+
|
|
1697
|
+
# Bytes Values of type `Bytes` are stored in `Value.bytes_value`.
|
|
1698
|
+
class GoogleBigtableAdminV2TypeBytes
|
|
1699
|
+
include Google::Apis::Core::Hashable
|
|
1700
|
+
|
|
1701
|
+
# Rules used to convert to/from lower level types.
|
|
1702
|
+
# Corresponds to the JSON property `encoding`
|
|
1703
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncoding]
|
|
1704
|
+
attr_accessor :encoding
|
|
1705
|
+
|
|
1706
|
+
def initialize(**args)
|
|
1707
|
+
update!(**args)
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
# Update properties of this object
|
|
1711
|
+
def update!(**args)
|
|
1712
|
+
@encoding = args[:encoding] if args.key?(:encoding)
|
|
1713
|
+
end
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1716
|
+
# Rules used to convert to/from lower level types.
|
|
1717
|
+
class GoogleBigtableAdminV2TypeBytesEncoding
|
|
1718
|
+
include Google::Apis::Core::Hashable
|
|
1719
|
+
|
|
1720
|
+
# Leaves the value "as-is" * Natural sort? Yes * Self-delimiting? No *
|
|
1721
|
+
# Compatibility? N/A
|
|
1722
|
+
# Corresponds to the JSON property `raw`
|
|
1723
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncodingRaw]
|
|
1724
|
+
attr_accessor :raw
|
|
1725
|
+
|
|
1726
|
+
def initialize(**args)
|
|
1727
|
+
update!(**args)
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
# Update properties of this object
|
|
1731
|
+
def update!(**args)
|
|
1732
|
+
@raw = args[:raw] if args.key?(:raw)
|
|
1733
|
+
end
|
|
1734
|
+
end
|
|
1735
|
+
|
|
1736
|
+
# Leaves the value "as-is" * Natural sort? Yes * Self-delimiting? No *
|
|
1737
|
+
# Compatibility? N/A
|
|
1738
|
+
class GoogleBigtableAdminV2TypeBytesEncodingRaw
|
|
1739
|
+
include Google::Apis::Core::Hashable
|
|
1740
|
+
|
|
1741
|
+
def initialize(**args)
|
|
1742
|
+
update!(**args)
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
# Update properties of this object
|
|
1746
|
+
def update!(**args)
|
|
1747
|
+
end
|
|
1748
|
+
end
|
|
1749
|
+
|
|
1750
|
+
# Int64 Values of type `Int64` are stored in `Value.int_value`.
|
|
1751
|
+
class GoogleBigtableAdminV2TypeInt64
|
|
1752
|
+
include Google::Apis::Core::Hashable
|
|
1753
|
+
|
|
1754
|
+
# Rules used to convert to/from lower level types.
|
|
1755
|
+
# Corresponds to the JSON property `encoding`
|
|
1756
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding]
|
|
1757
|
+
attr_accessor :encoding
|
|
1758
|
+
|
|
1759
|
+
def initialize(**args)
|
|
1760
|
+
update!(**args)
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1763
|
+
# Update properties of this object
|
|
1764
|
+
def update!(**args)
|
|
1765
|
+
@encoding = args[:encoding] if args.key?(:encoding)
|
|
1766
|
+
end
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1769
|
+
# Rules used to convert to/from lower level types.
|
|
1770
|
+
class GoogleBigtableAdminV2TypeInt64Encoding
|
|
1771
|
+
include Google::Apis::Core::Hashable
|
|
1772
|
+
|
|
1773
|
+
# Encodes the value as an 8-byte big endian twos complement `Bytes` value. *
|
|
1774
|
+
# Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility?
|
|
1775
|
+
# - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `
|
|
1776
|
+
# ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`
|
|
1777
|
+
# Corresponds to the JSON property `bigEndianBytes`
|
|
1778
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes]
|
|
1779
|
+
attr_accessor :big_endian_bytes
|
|
1780
|
+
|
|
1781
|
+
def initialize(**args)
|
|
1782
|
+
update!(**args)
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# Update properties of this object
|
|
1786
|
+
def update!(**args)
|
|
1787
|
+
@big_endian_bytes = args[:big_endian_bytes] if args.key?(:big_endian_bytes)
|
|
1788
|
+
end
|
|
1789
|
+
end
|
|
1790
|
+
|
|
1791
|
+
# Encodes the value as an 8-byte big endian twos complement `Bytes` value. *
|
|
1792
|
+
# Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility?
|
|
1793
|
+
# - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `
|
|
1794
|
+
# ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`
|
|
1795
|
+
class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
|
|
1796
|
+
include Google::Apis::Core::Hashable
|
|
1797
|
+
|
|
1798
|
+
# Bytes Values of type `Bytes` are stored in `Value.bytes_value`.
|
|
1799
|
+
# Corresponds to the JSON property `bytesType`
|
|
1800
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes]
|
|
1801
|
+
attr_accessor :bytes_type
|
|
1802
|
+
|
|
1803
|
+
def initialize(**args)
|
|
1804
|
+
update!(**args)
|
|
1805
|
+
end
|
|
1806
|
+
|
|
1807
|
+
# Update properties of this object
|
|
1808
|
+
def update!(**args)
|
|
1809
|
+
@bytes_type = args[:bytes_type] if args.key?(:bytes_type)
|
|
1810
|
+
end
|
|
1811
|
+
end
|
|
1812
|
+
|
|
1504
1813
|
# A tablet is a defined by a start and end key and is explained in https://cloud.
|
|
1505
1814
|
# google.com/bigtable/docs/overview#architecture and https://cloud.google.com/
|
|
1506
1815
|
# bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits
|
|
@@ -2589,6 +2898,20 @@ module Google
|
|
|
2589
2898
|
end
|
|
2590
2899
|
end
|
|
2591
2900
|
|
|
2901
|
+
# Checks that all writes before the consistency token was generated are
|
|
2902
|
+
# replicated in every cluster and readable.
|
|
2903
|
+
class StandardReadRemoteWrites
|
|
2904
|
+
include Google::Apis::Core::Hashable
|
|
2905
|
+
|
|
2906
|
+
def initialize(**args)
|
|
2907
|
+
update!(**args)
|
|
2908
|
+
end
|
|
2909
|
+
|
|
2910
|
+
# Update properties of this object
|
|
2911
|
+
def update!(**args)
|
|
2912
|
+
end
|
|
2913
|
+
end
|
|
2914
|
+
|
|
2592
2915
|
# The `Status` type defines a logical error model that is suitable for different
|
|
2593
2916
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2594
2917
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -2839,6 +3162,63 @@ module Google
|
|
|
2839
3162
|
end
|
|
2840
3163
|
end
|
|
2841
3164
|
|
|
3165
|
+
# `Type` represents the type of data that is written to, read from, or stored in
|
|
3166
|
+
# Bigtable. It is heavily based on the GoogleSQL standard to help maintain
|
|
3167
|
+
# familiarity and consistency across products and features. For compatibility
|
|
3168
|
+
# with Bigtable's existing untyped APIs, each `Type` includes an `Encoding`
|
|
3169
|
+
# which describes how to convert to/from the underlying data. This might involve
|
|
3170
|
+
# composing a series of steps into an "encoding chain," for example to convert
|
|
3171
|
+
# from INT64 -> STRING -> raw bytes. In most cases, a "link" in the encoding
|
|
3172
|
+
# chain will be based an on existing GoogleSQL conversion function like `CAST`.
|
|
3173
|
+
# Each link in the encoding chain also defines the following properties: *
|
|
3174
|
+
# Natural sort: Does the encoded value sort consistently with the original typed
|
|
3175
|
+
# value? Note that Bigtable will always sort data based on the raw encoded value,
|
|
3176
|
+
# *not* the decoded type. - Example: STRING values sort in the same order as
|
|
3177
|
+
# their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width
|
|
3178
|
+
# STRING does *not* preserve sort order when dealing with negative numbers.
|
|
3179
|
+
# INT64(1) > INT64(-1), but STRING("-00001") > STRING("00001). - The overall
|
|
3180
|
+
# encoding chain sorts naturally if *every* link does. * Self-delimiting: If we
|
|
3181
|
+
# concatenate two encoded values, can we always tell where the first one ends
|
|
3182
|
+
# and the second one begins? - Example: If we encode INT64s to fixed-width
|
|
3183
|
+
# STRINGs, the first value will always contain exactly N digits, possibly
|
|
3184
|
+
# preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded
|
|
3185
|
+
# STRINGs, we have no way to tell where the first one ends. - The overall
|
|
3186
|
+
# encoding chain is self-delimiting if *any* link is. * Compatibility: Which
|
|
3187
|
+
# other systems have matching encoding schemes? For example, does this encoding
|
|
3188
|
+
# have a GoogleSQL equivalent? HBase? Java?
|
|
3189
|
+
class Type
|
|
3190
|
+
include Google::Apis::Core::Hashable
|
|
3191
|
+
|
|
3192
|
+
# A value that combines incremental updates into a summarized value. Data is
|
|
3193
|
+
# never directly written or read using type `Aggregate`. Writes will provide
|
|
3194
|
+
# either the `input_type` or `state_type`, and reads will always return the `
|
|
3195
|
+
# state_type` .
|
|
3196
|
+
# Corresponds to the JSON property `aggregateType`
|
|
3197
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregate]
|
|
3198
|
+
attr_accessor :aggregate_type
|
|
3199
|
+
|
|
3200
|
+
# Bytes Values of type `Bytes` are stored in `Value.bytes_value`.
|
|
3201
|
+
# Corresponds to the JSON property `bytesType`
|
|
3202
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes]
|
|
3203
|
+
attr_accessor :bytes_type
|
|
3204
|
+
|
|
3205
|
+
# Int64 Values of type `Int64` are stored in `Value.int_value`.
|
|
3206
|
+
# Corresponds to the JSON property `int64Type`
|
|
3207
|
+
# @return [Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64]
|
|
3208
|
+
attr_accessor :int64_type
|
|
3209
|
+
|
|
3210
|
+
def initialize(**args)
|
|
3211
|
+
update!(**args)
|
|
3212
|
+
end
|
|
3213
|
+
|
|
3214
|
+
# Update properties of this object
|
|
3215
|
+
def update!(**args)
|
|
3216
|
+
@aggregate_type = args[:aggregate_type] if args.key?(:aggregate_type)
|
|
3217
|
+
@bytes_type = args[:bytes_type] if args.key?(:bytes_type)
|
|
3218
|
+
@int64_type = args[:int64_type] if args.key?(:int64_type)
|
|
3219
|
+
end
|
|
3220
|
+
end
|
|
3221
|
+
|
|
2842
3222
|
# Metadata type for the operation returned by google.bigtable.admin.v2.
|
|
2843
3223
|
# BigtableTableAdmin.UndeleteTable.
|
|
2844
3224
|
class UndeleteTableMetadata
|
|
@@ -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.52.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240319"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,18 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class DataBoostIsolationReadOnly
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class DataBoostReadLocalWrites
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
199
211
|
class DropRowRangeRequest
|
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
213
|
|
|
@@ -268,6 +280,54 @@ module Google
|
|
|
268
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
281
|
end
|
|
270
282
|
|
|
283
|
+
class GoogleBigtableAdminV2TypeAggregate
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
class GoogleBigtableAdminV2TypeAggregateSum
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class GoogleBigtableAdminV2TypeBytes
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
class GoogleBigtableAdminV2TypeBytesEncoding
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class GoogleBigtableAdminV2TypeBytesEncodingRaw
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class GoogleBigtableAdminV2TypeInt64
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class GoogleBigtableAdminV2TypeInt64Encoding
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
271
331
|
class HotTablet
|
|
272
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
333
|
|
|
@@ -448,6 +508,12 @@ module Google
|
|
|
448
508
|
include Google::Apis::Core::JsonObjectSupport
|
|
449
509
|
end
|
|
450
510
|
|
|
511
|
+
class StandardReadRemoteWrites
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
451
517
|
class Status
|
|
452
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
519
|
|
|
@@ -484,6 +550,12 @@ module Google
|
|
|
484
550
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
551
|
end
|
|
486
552
|
|
|
553
|
+
class Type
|
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
|
+
|
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
557
|
+
end
|
|
558
|
+
|
|
487
559
|
class UndeleteTableMetadata
|
|
488
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
561
|
|
|
@@ -541,6 +613,8 @@ module Google
|
|
|
541
613
|
class AppProfile
|
|
542
614
|
# @private
|
|
543
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
616
|
+
property :data_boost_isolation_read_only, as: 'dataBoostIsolationReadOnly', class: Google::Apis::BigtableadminV2::DataBoostIsolationReadOnly, decorator: Google::Apis::BigtableadminV2::DataBoostIsolationReadOnly::Representation
|
|
617
|
+
|
|
544
618
|
property :description, as: 'description'
|
|
545
619
|
property :etag, as: 'etag'
|
|
546
620
|
property :multi_cluster_routing_use_any, as: 'multiClusterRoutingUseAny', class: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny, decorator: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny::Representation
|
|
@@ -654,6 +728,10 @@ module Google
|
|
|
654
728
|
# @private
|
|
655
729
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
656
730
|
property :consistency_token, as: 'consistencyToken'
|
|
731
|
+
property :data_boost_read_local_writes, as: 'dataBoostReadLocalWrites', class: Google::Apis::BigtableadminV2::DataBoostReadLocalWrites, decorator: Google::Apis::BigtableadminV2::DataBoostReadLocalWrites::Representation
|
|
732
|
+
|
|
733
|
+
property :standard_read_remote_writes, as: 'standardReadRemoteWrites', class: Google::Apis::BigtableadminV2::StandardReadRemoteWrites, decorator: Google::Apis::BigtableadminV2::StandardReadRemoteWrites::Representation
|
|
734
|
+
|
|
657
735
|
end
|
|
658
736
|
end
|
|
659
737
|
|
|
@@ -713,6 +791,8 @@ module Google
|
|
|
713
791
|
|
|
714
792
|
property :stats, as: 'stats', class: Google::Apis::BigtableadminV2::ColumnFamilyStats, decorator: Google::Apis::BigtableadminV2::ColumnFamilyStats::Representation
|
|
715
793
|
|
|
794
|
+
property :value_type, as: 'valueType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
|
|
795
|
+
|
|
716
796
|
end
|
|
717
797
|
end
|
|
718
798
|
|
|
@@ -830,6 +910,19 @@ module Google
|
|
|
830
910
|
end
|
|
831
911
|
end
|
|
832
912
|
|
|
913
|
+
class DataBoostIsolationReadOnly
|
|
914
|
+
# @private
|
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
916
|
+
property :compute_billing_owner, as: 'computeBillingOwner'
|
|
917
|
+
end
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
class DataBoostReadLocalWrites
|
|
921
|
+
# @private
|
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
923
|
+
end
|
|
924
|
+
end
|
|
925
|
+
|
|
833
926
|
class DropRowRangeRequest
|
|
834
927
|
# @private
|
|
835
928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -928,6 +1021,70 @@ module Google
|
|
|
928
1021
|
end
|
|
929
1022
|
end
|
|
930
1023
|
|
|
1024
|
+
class GoogleBigtableAdminV2TypeAggregate
|
|
1025
|
+
# @private
|
|
1026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1027
|
+
property :input_type, as: 'inputType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
|
|
1028
|
+
|
|
1029
|
+
property :state_type, as: 'stateType', class: Google::Apis::BigtableadminV2::Type, decorator: Google::Apis::BigtableadminV2::Type::Representation
|
|
1030
|
+
|
|
1031
|
+
property :sum, as: 'sum', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregateSum, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregateSum::Representation
|
|
1032
|
+
|
|
1033
|
+
end
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
class GoogleBigtableAdminV2TypeAggregateSum
|
|
1037
|
+
# @private
|
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1039
|
+
end
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
class GoogleBigtableAdminV2TypeBytes
|
|
1043
|
+
# @private
|
|
1044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1045
|
+
property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncoding::Representation
|
|
1046
|
+
|
|
1047
|
+
end
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1050
|
+
class GoogleBigtableAdminV2TypeBytesEncoding
|
|
1051
|
+
# @private
|
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1053
|
+
property :raw, as: 'raw', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncodingRaw, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytesEncodingRaw::Representation
|
|
1054
|
+
|
|
1055
|
+
end
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
class GoogleBigtableAdminV2TypeBytesEncodingRaw
|
|
1059
|
+
# @private
|
|
1060
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
class GoogleBigtableAdminV2TypeInt64
|
|
1065
|
+
# @private
|
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1067
|
+
property :encoding, as: 'encoding', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding::Representation
|
|
1068
|
+
|
|
1069
|
+
end
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
class GoogleBigtableAdminV2TypeInt64Encoding
|
|
1073
|
+
# @private
|
|
1074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1075
|
+
property :big_endian_bytes, as: 'bigEndianBytes', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes::Representation
|
|
1076
|
+
|
|
1077
|
+
end
|
|
1078
|
+
end
|
|
1079
|
+
|
|
1080
|
+
class GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
|
|
1081
|
+
# @private
|
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1083
|
+
property :bytes_type, as: 'bytesType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes::Representation
|
|
1084
|
+
|
|
1085
|
+
end
|
|
1086
|
+
end
|
|
1087
|
+
|
|
931
1088
|
class HotTablet
|
|
932
1089
|
# @private
|
|
933
1090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1217,6 +1374,12 @@ module Google
|
|
|
1217
1374
|
end
|
|
1218
1375
|
end
|
|
1219
1376
|
|
|
1377
|
+
class StandardReadRemoteWrites
|
|
1378
|
+
# @private
|
|
1379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1380
|
+
end
|
|
1381
|
+
end
|
|
1382
|
+
|
|
1220
1383
|
class Status
|
|
1221
1384
|
# @private
|
|
1222
1385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1280,6 +1443,18 @@ module Google
|
|
|
1280
1443
|
end
|
|
1281
1444
|
end
|
|
1282
1445
|
|
|
1446
|
+
class Type
|
|
1447
|
+
# @private
|
|
1448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1449
|
+
property :aggregate_type, as: 'aggregateType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregate, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeAggregate::Representation
|
|
1450
|
+
|
|
1451
|
+
property :bytes_type, as: 'bytesType', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeBytes::Representation
|
|
1452
|
+
|
|
1453
|
+
property :int64_type, as: 'int64Type', class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64, decorator: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64::Representation
|
|
1454
|
+
|
|
1455
|
+
end
|
|
1456
|
+
end
|
|
1457
|
+
|
|
1283
1458
|
class UndeleteTableMetadata
|
|
1284
1459
|
# @private
|
|
1285
1460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1911,6 +1911,42 @@ module Google
|
|
|
1911
1911
|
execute_or_queue_command(command, &block)
|
|
1912
1912
|
end
|
|
1913
1913
|
|
|
1914
|
+
# Gets the access control policy for a Table or Backup resource. Returns an
|
|
1915
|
+
# empty policy if the resource exists but does not have a policy set.
|
|
1916
|
+
# @param [String] resource
|
|
1917
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
1918
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
1919
|
+
# appropriate value for this field.
|
|
1920
|
+
# @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
|
|
1921
|
+
# @param [String] fields
|
|
1922
|
+
# Selector specifying which fields to include in a partial response.
|
|
1923
|
+
# @param [String] quota_user
|
|
1924
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1925
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1926
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1927
|
+
# Request-specific options
|
|
1928
|
+
#
|
|
1929
|
+
# @yield [result, err] Result & error if block supplied
|
|
1930
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
|
1931
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1932
|
+
#
|
|
1933
|
+
# @return [Google::Apis::BigtableadminV2::Policy]
|
|
1934
|
+
#
|
|
1935
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1936
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1937
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1938
|
+
def get_authorized_view_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1939
|
+
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
|
|
1940
|
+
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
|
|
1941
|
+
command.request_object = get_iam_policy_request_object
|
|
1942
|
+
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
|
1943
|
+
command.response_class = Google::Apis::BigtableadminV2::Policy
|
|
1944
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1945
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1946
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1947
|
+
execute_or_queue_command(command, &block)
|
|
1948
|
+
end
|
|
1949
|
+
|
|
1914
1950
|
# Lists all AuthorizedViews from a specific table.
|
|
1915
1951
|
# @param [String] parent
|
|
1916
1952
|
# Required. The unique name of the table for which AuthorizedViews should be
|
|
@@ -2003,6 +2039,78 @@ module Google
|
|
|
2003
2039
|
execute_or_queue_command(command, &block)
|
|
2004
2040
|
end
|
|
2005
2041
|
|
|
2042
|
+
# Sets the access control policy on a Table or Backup resource. Replaces any
|
|
2043
|
+
# existing policy.
|
|
2044
|
+
# @param [String] resource
|
|
2045
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
2046
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
2047
|
+
# appropriate value for this field.
|
|
2048
|
+
# @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
2049
|
+
# @param [String] fields
|
|
2050
|
+
# Selector specifying which fields to include in a partial response.
|
|
2051
|
+
# @param [String] quota_user
|
|
2052
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2053
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2054
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2055
|
+
# Request-specific options
|
|
2056
|
+
#
|
|
2057
|
+
# @yield [result, err] Result & error if block supplied
|
|
2058
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
|
2059
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2060
|
+
#
|
|
2061
|
+
# @return [Google::Apis::BigtableadminV2::Policy]
|
|
2062
|
+
#
|
|
2063
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2064
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2065
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2066
|
+
def set_authorized_view_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2067
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
|
2068
|
+
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
|
|
2069
|
+
command.request_object = set_iam_policy_request_object
|
|
2070
|
+
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
|
2071
|
+
command.response_class = Google::Apis::BigtableadminV2::Policy
|
|
2072
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2073
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2074
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2075
|
+
execute_or_queue_command(command, &block)
|
|
2076
|
+
end
|
|
2077
|
+
|
|
2078
|
+
# Returns permissions that the caller has on the specified Table or Backup
|
|
2079
|
+
# resource.
|
|
2080
|
+
# @param [String] resource
|
|
2081
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
2082
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
2083
|
+
# appropriate value for this field.
|
|
2084
|
+
# @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
2085
|
+
# @param [String] fields
|
|
2086
|
+
# Selector specifying which fields to include in a partial response.
|
|
2087
|
+
# @param [String] quota_user
|
|
2088
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2089
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2090
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2091
|
+
# Request-specific options
|
|
2092
|
+
#
|
|
2093
|
+
# @yield [result, err] Result & error if block supplied
|
|
2094
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
|
|
2095
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2096
|
+
#
|
|
2097
|
+
# @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
|
|
2098
|
+
#
|
|
2099
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2102
|
+
def test_authorized_view_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2103
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
|
2104
|
+
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
|
|
2105
|
+
command.request_object = test_iam_permissions_request_object
|
|
2106
|
+
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
|
|
2107
|
+
command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
|
|
2108
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2109
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2110
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2111
|
+
execute_or_queue_command(command, &block)
|
|
2112
|
+
end
|
|
2113
|
+
|
|
2006
2114
|
# Lists information about the supported locations for this service.
|
|
2007
2115
|
# @param [String] name
|
|
2008
2116
|
# The resource that owns the locations collection, if applicable.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-bigtableadmin_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.52.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-03-
|
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.52.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|