google-cloud-bigtable-admin-v2 0.25.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/bigtable/admin/v2/table_pb.rb +2 -1
- data/lib/google/bigtable/admin/v2/types_pb.rb +4 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +45 -21
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +13 -5
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +63 -30
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +13 -5
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/bigtable/admin/v2/table.rb +18 -0
- data/proto_docs/google/bigtable/admin/v2/types.rb +37 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9d1a2f61d3e8d63aa694ebdc1fa370a1c0b5ac63235de1a16044babf10fb8f8
|
4
|
+
data.tar.gz: 54aea8a87b8eeea9ff23db4862d68fdced3c0df07c198367fcd60a9b71aac14a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54336cbc9be074f8ddc1916d6b7361c0319827fffc67805eefbc0306608e68735f4c1c131ba76e6f6aaf3c3dfff8c160f4dc739fed7b5657027d8ccc8f966c3d
|
7
|
+
data.tar.gz: 6b8f0100c7fef00d3e4baa270b4c160ec001cc01f99d5ddc23c516c0498305568c589ffcdd3d65171098ef6e15e4e2376f78d3e482b7c4d15c42c690f856d31f
|
@@ -12,7 +12,7 @@ require 'google/protobuf/timestamp_pb'
|
|
12
12
|
require 'google/rpc/status_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n$google/bigtable/admin/v2/table.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/bigtable/admin/v2/types.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x9b\x01\n\x0bRestoreInfo\x12@\n\x0bsource_type\x18\x01 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x02 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x42\r\n\x0bsource_info\"I\n\x12\x43hangeStreamConfig\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\
|
15
|
+
descriptor_data = "\n$google/bigtable/admin/v2/table.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/bigtable/admin/v2/types.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x9b\x01\n\x0bRestoreInfo\x12@\n\x0bsource_type\x18\x01 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x02 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x42\r\n\x0bsource_info\"I\n\x12\x43hangeStreamConfig\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd6\x0b\n\x05Table\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x0e\x63luster_states\x18\x02 \x03(\x0b\x32\x32.google.bigtable.admin.v2.Table.ClusterStatesEntryB\x03\xe0\x41\x03\x12L\n\x0f\x63olumn_families\x18\x03 \x03(\x0b\x32\x33.google.bigtable.admin.v2.Table.ColumnFamiliesEntry\x12N\n\x0bgranularity\x18\x04 \x01(\x0e\x32\x34.google.bigtable.admin.v2.Table.TimestampGranularityB\x03\xe0\x41\x05\x12@\n\x0crestore_info\x18\x06 \x01(\x0b\x32%.google.bigtable.admin.v2.RestoreInfoB\x03\xe0\x41\x03\x12J\n\x14\x63hange_stream_config\x18\x08 \x01(\x0b\x32,.google.bigtable.admin.v2.ChangeStreamConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12X\n\x17\x61utomated_backup_policy\x18\r \x01(\x0b\x32\x35.google.bigtable.admin.v2.Table.AutomatedBackupPolicyH\x00\x1a\xc6\x02\n\x0c\x43lusterState\x12]\n\x11replication_state\x18\x01 \x01(\x0e\x32=.google.bigtable.admin.v2.Table.ClusterState.ReplicationStateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\x02 \x03(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"\x8e\x01\n\x10ReplicationState\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x17\n\x13PLANNED_MAINTENANCE\x10\x02\x12\x19\n\x15UNPLANNED_MAINTENANCE\x10\x03\x12\t\n\x05READY\x10\x04\x12\x14\n\x10READY_OPTIMIZING\x10\x05\x1a\x84\x01\n\x15\x41utomatedBackupPolicy\x12\x38\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x31\n\tfrequency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\x62\n\x12\x43lusterStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.google.bigtable.admin.v2.Table.ClusterState:\x02\x38\x01\x1a]\n\x13\x43olumnFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamily:\x02\x38\x01\"I\n\x14TimestampGranularity\x12%\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\x10\x00\x12\n\n\x06MILLIS\x10\x01\"q\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\r\n\tNAME_ONLY\x10\x01\x12\x0f\n\x0bSCHEMA_VIEW\x10\x02\x12\x14\n\x10REPLICATION_VIEW\x10\x03\x12\x13\n\x0f\x45NCRYPTION_VIEW\x10\x05\x12\x08\n\x04\x46ULL\x10\x04:_\xea\x41\\\n\"bigtableadmin.googleapis.com/Table\x12\x36projects/{project}/instances/{instance}/tables/{table}B\x19\n\x17\x61utomated_backup_config\"\xe3\x05\n\x0e\x41uthorizedView\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12J\n\x0bsubset_view\x18\x02 \x01(\x0b\x32\x33.google.bigtable.admin.v2.AuthorizedView.SubsetViewH\x00\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x04 \x01(\x08\x1a?\n\rFamilySubsets\x12\x12\n\nqualifiers\x18\x01 \x03(\x0c\x12\x1a\n\x12qualifier_prefixes\x18\x02 \x03(\x0c\x1a\xf0\x01\n\nSubsetView\x12\x14\n\x0crow_prefixes\x18\x01 \x03(\x0c\x12^\n\x0e\x66\x61mily_subsets\x18\x02 \x03(\x0b\x32\x46.google.bigtable.admin.v2.AuthorizedView.SubsetView.FamilySubsetsEntry\x1al\n\x12\x46\x61milySubsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.bigtable.admin.v2.AuthorizedView.FamilySubsets:\x02\x38\x01\"Q\n\x0cResponseView\x12\x1d\n\x19RESPONSE_VIEW_UNSPECIFIED\x10\x00\x12\r\n\tNAME_ONLY\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x12\x08\n\x04\x46ULL\x10\x03:\xac\x01\xea\x41\xa8\x01\n+bigtableadmin.googleapis.com/AuthorizedView\x12Xprojects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}*\x0f\x61uthorizedViews2\x0e\x61uthorizedViewB\x11\n\x0f\x61uthorized_view\"u\n\x0c\x43olumnFamily\x12\x31\n\x07gc_rule\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.GcRule\x12\x32\n\nvalue_type\x18\x03 \x01(\x0b\x32\x1e.google.bigtable.admin.v2.Type\"\xd5\x02\n\x06GcRule\x12\x1a\n\x10max_num_versions\x18\x01 \x01(\x05H\x00\x12,\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x45\n\x0cintersection\x18\x03 \x01(\x0b\x32-.google.bigtable.admin.v2.GcRule.IntersectionH\x00\x12\x37\n\x05union\x18\x04 \x01(\x0b\x32&.google.bigtable.admin.v2.GcRule.UnionH\x00\x1a?\n\x0cIntersection\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRule\x1a\x38\n\x05Union\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRuleB\x06\n\x04rule\"\xd9\x02\n\x0e\x45ncryptionInfo\x12U\n\x0f\x65ncryption_type\x18\x03 \x01(\x0e\x32\x37.google.bigtable.admin.v2.EncryptionInfo.EncryptionTypeB\x03\xe0\x41\x03\x12\x32\n\x11\x65ncryption_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12I\n\x0fkms_key_version\x18\x02 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"q\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xe0\x03\n\x08Snapshot\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x0csource_table\x18\x02 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x61ta_size_bytes\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x05state\x18\x06 \x01(\x0e\x32(.google.bigtable.admin.v2.Snapshot.StateB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"5\n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02:{\xea\x41x\n%bigtableadmin.googleapis.com/Snapshot\x12Oprojects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}\"\xbb\x04\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1c\n\x0csource_table\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x05state\x18\x07 \x01(\x0e\x32&.google.bigtable.admin.v2.Backup.StateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\t \x01(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02:u\xea\x41r\n#bigtableadmin.googleapis.com/Backup\x12Kprojects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}\"\xc0\x01\n\nBackupInfo\x12\x13\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0csource_table\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03*D\n\x11RestoreSourceType\x12#\n\x1fRESTORE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x42\xfc\x02\n\x1c\x63om.google.bigtable.admin.v2B\nTableProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -52,6 +52,7 @@ module Google
|
|
52
52
|
Table = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table").msgclass
|
53
53
|
Table::ClusterState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState").msgclass
|
54
54
|
Table::ClusterState::ReplicationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState.ReplicationState").enummodule
|
55
|
+
Table::AutomatedBackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.AutomatedBackupPolicy").msgclass
|
55
56
|
Table::TimestampGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.TimestampGranularity").enummodule
|
56
57
|
Table::View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.View").enummodule
|
57
58
|
AuthorizedView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView").msgclass
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n$google/bigtable/admin/v2/types.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n$google/bigtable/admin/v2/types.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\"\xc7\x08\n\x04Type\x12:\n\nbytes_type\x18\x01 \x01(\x0b\x32$.google.bigtable.admin.v2.Type.BytesH\x00\x12<\n\x0bstring_type\x18\x02 \x01(\x0b\x32%.google.bigtable.admin.v2.Type.StringH\x00\x12:\n\nint64_type\x18\x05 \x01(\x0b\x32$.google.bigtable.admin.v2.Type.Int64H\x00\x12\x42\n\x0e\x61ggregate_type\x18\x06 \x01(\x0b\x32(.google.bigtable.admin.v2.Type.AggregateH\x00\x1a\xa9\x01\n\x05\x42ytes\x12?\n\x08\x65ncoding\x18\x01 \x01(\x0b\x32-.google.bigtable.admin.v2.Type.Bytes.Encoding\x1a_\n\x08\x45ncoding\x12@\n\x03raw\x18\x01 \x01(\x0b\x32\x31.google.bigtable.admin.v2.Type.Bytes.Encoding.RawH\x00\x1a\x05\n\x03RawB\n\n\x08\x65ncoding\x1a\xb9\x01\n\x06String\x12@\n\x08\x65ncoding\x18\x01 \x01(\x0b\x32..google.bigtable.admin.v2.Type.String.Encoding\x1am\n\x08\x45ncoding\x12J\n\x08utf8_raw\x18\x01 \x01(\x0b\x32\x36.google.bigtable.admin.v2.Type.String.Encoding.Utf8RawH\x00\x1a\t\n\x07Utf8RawB\n\n\x08\x65ncoding\x1a\x87\x02\n\x05Int64\x12?\n\x08\x65ncoding\x18\x01 \x01(\x0b\x32-.google.bigtable.admin.v2.Type.Int64.Encoding\x1a\xbc\x01\n\x08\x45ncoding\x12X\n\x10\x62ig_endian_bytes\x18\x01 \x01(\x0b\x32<.google.bigtable.admin.v2.Type.Int64.Encoding.BigEndianBytesH\x00\x1aJ\n\x0e\x42igEndianBytes\x12\x38\n\nbytes_type\x18\x01 \x01(\x0b\x32$.google.bigtable.admin.v2.Type.BytesB\n\n\x08\x65ncoding\x1a\xca\x01\n\tAggregate\x12\x32\n\ninput_type\x18\x01 \x01(\x0b\x32\x1e.google.bigtable.admin.v2.Type\x12\x37\n\nstate_type\x18\x02 \x01(\x0b\x32\x1e.google.bigtable.admin.v2.TypeB\x03\xe0\x41\x03\x12;\n\x03sum\x18\x04 \x01(\x0b\x32,.google.bigtable.admin.v2.Type.Aggregate.SumH\x00\x1a\x05\n\x03SumB\x0c\n\naggregatorB\x06\n\x04kindB\xd2\x01\n\x1c\x63om.google.bigtable.admin.v2B\nTypesProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -42,6 +42,9 @@ module Google
|
|
42
42
|
Type::Bytes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Bytes").msgclass
|
43
43
|
Type::Bytes::Encoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Bytes.Encoding").msgclass
|
44
44
|
Type::Bytes::Encoding::Raw = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Bytes.Encoding.Raw").msgclass
|
45
|
+
Type::String = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.String").msgclass
|
46
|
+
Type::String::Encoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.String.Encoding").msgclass
|
47
|
+
Type::String::Encoding::Utf8Raw = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.String.Encoding.Utf8Raw").msgclass
|
45
48
|
Type::Int64 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Int64").msgclass
|
46
49
|
Type::Int64::Encoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Int64.Encoding").msgclass
|
47
50
|
Type::Int64::Encoding::BigEndianBytes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Type.Int64.Encoding.BigEndianBytes").msgclass
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# tables' metadata or data stored in those tables.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "bigtableadmin.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -338,10 +341,11 @@ module Google
|
|
338
341
|
# Customize the options with defaults
|
339
342
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
340
343
|
|
341
|
-
# Set x-goog-api-client
|
344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
342
345
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
343
346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
344
347
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
348
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
349
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
350
|
|
347
351
|
header_params = {}
|
@@ -425,10 +429,11 @@ module Google
|
|
425
429
|
# Customize the options with defaults
|
426
430
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
427
431
|
|
428
|
-
# Set x-goog-api-client
|
432
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
429
433
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
430
434
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
431
435
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
436
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
437
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
438
|
|
434
439
|
header_params = {}
|
@@ -513,10 +518,11 @@ module Google
|
|
513
518
|
# Customize the options with defaults
|
514
519
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
515
520
|
|
516
|
-
# Set x-goog-api-client
|
521
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
517
522
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
518
523
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
519
524
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
525
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
520
526
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
521
527
|
|
522
528
|
header_params = {}
|
@@ -622,10 +628,11 @@ module Google
|
|
622
628
|
# Customize the options with defaults
|
623
629
|
metadata = @config.rpcs.update_instance.metadata.to_h
|
624
630
|
|
625
|
-
# Set x-goog-api-client
|
631
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
626
632
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
627
633
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
628
634
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
635
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
629
636
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
630
637
|
|
631
638
|
header_params = {}
|
@@ -718,10 +725,11 @@ module Google
|
|
718
725
|
# Customize the options with defaults
|
719
726
|
metadata = @config.rpcs.partial_update_instance.metadata.to_h
|
720
727
|
|
721
|
-
# Set x-goog-api-client
|
728
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
722
729
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
723
730
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
724
731
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
732
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
725
733
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
726
734
|
|
727
735
|
header_params = {}
|
@@ -805,10 +813,11 @@ module Google
|
|
805
813
|
# Customize the options with defaults
|
806
814
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
807
815
|
|
808
|
-
# Set x-goog-api-client
|
816
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
809
817
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
810
818
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
811
819
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
820
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
812
821
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
813
822
|
|
814
823
|
header_params = {}
|
@@ -911,10 +920,11 @@ module Google
|
|
911
920
|
# Customize the options with defaults
|
912
921
|
metadata = @config.rpcs.create_cluster.metadata.to_h
|
913
922
|
|
914
|
-
# Set x-goog-api-client
|
923
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
915
924
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
916
925
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
917
926
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
927
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
918
928
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
919
929
|
|
920
930
|
header_params = {}
|
@@ -998,10 +1008,11 @@ module Google
|
|
998
1008
|
# Customize the options with defaults
|
999
1009
|
metadata = @config.rpcs.get_cluster.metadata.to_h
|
1000
1010
|
|
1001
|
-
# Set x-goog-api-client
|
1011
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1002
1012
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1003
1013
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1004
1014
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1015
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1005
1016
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1006
1017
|
|
1007
1018
|
header_params = {}
|
@@ -1089,10 +1100,11 @@ module Google
|
|
1089
1100
|
# Customize the options with defaults
|
1090
1101
|
metadata = @config.rpcs.list_clusters.metadata.to_h
|
1091
1102
|
|
1092
|
-
# Set x-goog-api-client
|
1103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1093
1104
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1094
1105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1095
1106
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1107
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1096
1108
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1097
1109
|
|
1098
1110
|
header_params = {}
|
@@ -1201,10 +1213,11 @@ module Google
|
|
1201
1213
|
# Customize the options with defaults
|
1202
1214
|
metadata = @config.rpcs.update_cluster.metadata.to_h
|
1203
1215
|
|
1204
|
-
# Set x-goog-api-client
|
1216
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1205
1217
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1206
1218
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1207
1219
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1220
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1208
1221
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1209
1222
|
|
1210
1223
|
header_params = {}
|
@@ -1308,10 +1321,11 @@ module Google
|
|
1308
1321
|
# Customize the options with defaults
|
1309
1322
|
metadata = @config.rpcs.partial_update_cluster.metadata.to_h
|
1310
1323
|
|
1311
|
-
# Set x-goog-api-client
|
1324
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1312
1325
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1313
1326
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1314
1327
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1328
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1315
1329
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1316
1330
|
|
1317
1331
|
header_params = {}
|
@@ -1395,10 +1409,11 @@ module Google
|
|
1395
1409
|
# Customize the options with defaults
|
1396
1410
|
metadata = @config.rpcs.delete_cluster.metadata.to_h
|
1397
1411
|
|
1398
|
-
# Set x-goog-api-client
|
1412
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1399
1413
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1400
1414
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1401
1415
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1416
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1402
1417
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1403
1418
|
|
1404
1419
|
header_params = {}
|
@@ -1490,10 +1505,11 @@ module Google
|
|
1490
1505
|
# Customize the options with defaults
|
1491
1506
|
metadata = @config.rpcs.create_app_profile.metadata.to_h
|
1492
1507
|
|
1493
|
-
# Set x-goog-api-client
|
1508
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1494
1509
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1495
1510
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1496
1511
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1512
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1497
1513
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1498
1514
|
|
1499
1515
|
header_params = {}
|
@@ -1576,10 +1592,11 @@ module Google
|
|
1576
1592
|
# Customize the options with defaults
|
1577
1593
|
metadata = @config.rpcs.get_app_profile.metadata.to_h
|
1578
1594
|
|
1579
|
-
# Set x-goog-api-client
|
1595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1580
1596
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1581
1597
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1582
1598
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1599
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1583
1600
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1584
1601
|
|
1585
1602
|
header_params = {}
|
@@ -1681,10 +1698,11 @@ module Google
|
|
1681
1698
|
# Customize the options with defaults
|
1682
1699
|
metadata = @config.rpcs.list_app_profiles.metadata.to_h
|
1683
1700
|
|
1684
|
-
# Set x-goog-api-client
|
1701
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1685
1702
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1686
1703
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1687
1704
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1705
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1688
1706
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1689
1707
|
|
1690
1708
|
header_params = {}
|
@@ -1779,10 +1797,11 @@ module Google
|
|
1779
1797
|
# Customize the options with defaults
|
1780
1798
|
metadata = @config.rpcs.update_app_profile.metadata.to_h
|
1781
1799
|
|
1782
|
-
# Set x-goog-api-client
|
1800
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1783
1801
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1784
1802
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1785
1803
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1804
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1786
1805
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1787
1806
|
|
1788
1807
|
header_params = {}
|
@@ -1869,10 +1888,11 @@ module Google
|
|
1869
1888
|
# Customize the options with defaults
|
1870
1889
|
metadata = @config.rpcs.delete_app_profile.metadata.to_h
|
1871
1890
|
|
1872
|
-
# Set x-goog-api-client
|
1891
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1873
1892
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1874
1893
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1875
1894
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1895
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1876
1896
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1877
1897
|
|
1878
1898
|
header_params = {}
|
@@ -1959,10 +1979,11 @@ module Google
|
|
1959
1979
|
# Customize the options with defaults
|
1960
1980
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1961
1981
|
|
1962
|
-
# Set x-goog-api-client
|
1982
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1963
1983
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1964
1984
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1965
1985
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1986
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1966
1987
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1967
1988
|
|
1968
1989
|
header_params = {}
|
@@ -2057,10 +2078,11 @@ module Google
|
|
2057
2078
|
# Customize the options with defaults
|
2058
2079
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2059
2080
|
|
2060
|
-
# Set x-goog-api-client
|
2081
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2061
2082
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2062
2083
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2063
2084
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2085
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2064
2086
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2065
2087
|
|
2066
2088
|
header_params = {}
|
@@ -2148,10 +2170,11 @@ module Google
|
|
2148
2170
|
# Customize the options with defaults
|
2149
2171
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2150
2172
|
|
2151
|
-
# Set x-goog-api-client
|
2173
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2152
2174
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2153
2175
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2154
2176
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2177
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2155
2178
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2156
2179
|
|
2157
2180
|
header_params = {}
|
@@ -2261,10 +2284,11 @@ module Google
|
|
2261
2284
|
# Customize the options with defaults
|
2262
2285
|
metadata = @config.rpcs.list_hot_tablets.metadata.to_h
|
2263
2286
|
|
2264
|
-
# Set x-goog-api-client
|
2287
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2265
2288
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2266
2289
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2267
2290
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2291
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2268
2292
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2269
2293
|
|
2270
2294
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module BigtableInstanceAdmin
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "bigtableadmin.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# the tables.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "bigtableadmin.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -330,10 +333,11 @@ module Google
|
|
330
333
|
# Customize the options with defaults
|
331
334
|
metadata = @config.rpcs.create_table.metadata.to_h
|
332
335
|
|
333
|
-
# Set x-goog-api-client
|
336
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
334
337
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
335
338
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
336
339
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
340
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
337
341
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
338
342
|
|
339
343
|
header_params = {}
|
@@ -438,10 +442,11 @@ module Google
|
|
438
442
|
# Customize the options with defaults
|
439
443
|
metadata = @config.rpcs.create_table_from_snapshot.metadata.to_h
|
440
444
|
|
441
|
-
# Set x-goog-api-client
|
445
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
446
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
447
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
448
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
449
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
445
450
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
446
451
|
|
447
452
|
header_params = {}
|
@@ -544,10 +549,11 @@ module Google
|
|
544
549
|
# Customize the options with defaults
|
545
550
|
metadata = @config.rpcs.list_tables.metadata.to_h
|
546
551
|
|
547
|
-
# Set x-goog-api-client
|
552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
548
553
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
549
554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
550
555
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
556
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
551
557
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
552
558
|
|
553
559
|
header_params = {}
|
@@ -635,10 +641,11 @@ module Google
|
|
635
641
|
# Customize the options with defaults
|
636
642
|
metadata = @config.rpcs.get_table.metadata.to_h
|
637
643
|
|
638
|
-
# Set x-goog-api-client
|
644
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
639
645
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
640
646
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
641
647
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
648
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
642
649
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
643
650
|
|
644
651
|
header_params = {}
|
@@ -741,10 +748,11 @@ module Google
|
|
741
748
|
# Customize the options with defaults
|
742
749
|
metadata = @config.rpcs.update_table.metadata.to_h
|
743
750
|
|
744
|
-
# Set x-goog-api-client
|
751
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
745
752
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
746
753
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
747
754
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
755
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
748
756
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
749
757
|
|
750
758
|
header_params = {}
|
@@ -829,10 +837,11 @@ module Google
|
|
829
837
|
# Customize the options with defaults
|
830
838
|
metadata = @config.rpcs.delete_table.metadata.to_h
|
831
839
|
|
832
|
-
# Set x-goog-api-client
|
840
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
833
841
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
834
842
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
835
843
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
844
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
836
845
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
837
846
|
|
838
847
|
header_params = {}
|
@@ -923,10 +932,11 @@ module Google
|
|
923
932
|
# Customize the options with defaults
|
924
933
|
metadata = @config.rpcs.undelete_table.metadata.to_h
|
925
934
|
|
926
|
-
# Set x-goog-api-client
|
935
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
927
936
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
928
937
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
929
938
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
939
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
930
940
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
931
941
|
|
932
942
|
header_params = {}
|
@@ -1025,10 +1035,11 @@ module Google
|
|
1025
1035
|
# Customize the options with defaults
|
1026
1036
|
metadata = @config.rpcs.create_authorized_view.metadata.to_h
|
1027
1037
|
|
1028
|
-
# Set x-goog-api-client
|
1038
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1029
1039
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1030
1040
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1031
1041
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1042
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1032
1043
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1033
1044
|
|
1034
1045
|
header_params = {}
|
@@ -1132,10 +1143,11 @@ module Google
|
|
1132
1143
|
# Customize the options with defaults
|
1133
1144
|
metadata = @config.rpcs.list_authorized_views.metadata.to_h
|
1134
1145
|
|
1135
|
-
# Set x-goog-api-client
|
1146
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1136
1147
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1137
1148
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1138
1149
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1150
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1139
1151
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1140
1152
|
|
1141
1153
|
header_params = {}
|
@@ -1223,10 +1235,11 @@ module Google
|
|
1223
1235
|
# Customize the options with defaults
|
1224
1236
|
metadata = @config.rpcs.get_authorized_view.metadata.to_h
|
1225
1237
|
|
1226
|
-
# Set x-goog-api-client
|
1238
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1227
1239
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1228
1240
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1229
1241
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1242
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1230
1243
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1231
1244
|
|
1232
1245
|
header_params = {}
|
@@ -1329,10 +1342,11 @@ module Google
|
|
1329
1342
|
# Customize the options with defaults
|
1330
1343
|
metadata = @config.rpcs.update_authorized_view.metadata.to_h
|
1331
1344
|
|
1332
|
-
# Set x-goog-api-client
|
1345
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1333
1346
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1334
1347
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1335
1348
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1349
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1336
1350
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1337
1351
|
|
1338
1352
|
header_params = {}
|
@@ -1422,10 +1436,11 @@ module Google
|
|
1422
1436
|
# Customize the options with defaults
|
1423
1437
|
metadata = @config.rpcs.delete_authorized_view.metadata.to_h
|
1424
1438
|
|
1425
|
-
# Set x-goog-api-client
|
1439
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1426
1440
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1427
1441
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1428
1442
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1443
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1429
1444
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1430
1445
|
|
1431
1446
|
header_params = {}
|
@@ -1519,10 +1534,11 @@ module Google
|
|
1519
1534
|
# Customize the options with defaults
|
1520
1535
|
metadata = @config.rpcs.modify_column_families.metadata.to_h
|
1521
1536
|
|
1522
|
-
# Set x-goog-api-client
|
1537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1523
1538
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1524
1539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1525
1540
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1541
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1526
1542
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1527
1543
|
|
1528
1544
|
header_params = {}
|
@@ -1613,10 +1629,11 @@ module Google
|
|
1613
1629
|
# Customize the options with defaults
|
1614
1630
|
metadata = @config.rpcs.drop_row_range.metadata.to_h
|
1615
1631
|
|
1616
|
-
# Set x-goog-api-client
|
1632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1617
1633
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1618
1634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1619
1635
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1636
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1620
1637
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1621
1638
|
|
1622
1639
|
header_params = {}
|
@@ -1703,10 +1720,11 @@ module Google
|
|
1703
1720
|
# Customize the options with defaults
|
1704
1721
|
metadata = @config.rpcs.generate_consistency_token.metadata.to_h
|
1705
1722
|
|
1706
|
-
# Set x-goog-api-client
|
1723
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1707
1724
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1708
1725
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1709
1726
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1727
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1710
1728
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1711
1729
|
|
1712
1730
|
header_params = {}
|
@@ -1802,10 +1820,11 @@ module Google
|
|
1802
1820
|
# Customize the options with defaults
|
1803
1821
|
metadata = @config.rpcs.check_consistency.metadata.to_h
|
1804
1822
|
|
1805
|
-
# Set x-goog-api-client
|
1823
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1806
1824
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1807
1825
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1808
1826
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1827
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1809
1828
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1810
1829
|
|
1811
1830
|
header_params = {}
|
@@ -1919,10 +1938,11 @@ module Google
|
|
1919
1938
|
# Customize the options with defaults
|
1920
1939
|
metadata = @config.rpcs.snapshot_table.metadata.to_h
|
1921
1940
|
|
1922
|
-
# Set x-goog-api-client
|
1941
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1923
1942
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1924
1943
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1925
1944
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
1945
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1926
1946
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1927
1947
|
|
1928
1948
|
header_params = {}
|
@@ -2013,10 +2033,11 @@ module Google
|
|
2013
2033
|
# Customize the options with defaults
|
2014
2034
|
metadata = @config.rpcs.get_snapshot.metadata.to_h
|
2015
2035
|
|
2016
|
-
# Set x-goog-api-client
|
2036
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2017
2037
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2018
2038
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2019
2039
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2040
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2020
2041
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2021
2042
|
|
2022
2043
|
header_params = {}
|
@@ -2117,10 +2138,11 @@ module Google
|
|
2117
2138
|
# Customize the options with defaults
|
2118
2139
|
metadata = @config.rpcs.list_snapshots.metadata.to_h
|
2119
2140
|
|
2120
|
-
# Set x-goog-api-client
|
2141
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2121
2142
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2122
2143
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2123
2144
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2145
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2124
2146
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2125
2147
|
|
2126
2148
|
header_params = {}
|
@@ -2211,10 +2233,11 @@ module Google
|
|
2211
2233
|
# Customize the options with defaults
|
2212
2234
|
metadata = @config.rpcs.delete_snapshot.metadata.to_h
|
2213
2235
|
|
2214
|
-
# Set x-goog-api-client
|
2236
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2215
2237
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2216
2238
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2217
2239
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2240
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2218
2241
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2219
2242
|
|
2220
2243
|
header_params = {}
|
@@ -2321,10 +2344,11 @@ module Google
|
|
2321
2344
|
# Customize the options with defaults
|
2322
2345
|
metadata = @config.rpcs.create_backup.metadata.to_h
|
2323
2346
|
|
2324
|
-
# Set x-goog-api-client
|
2347
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2325
2348
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2326
2349
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2327
2350
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2351
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2328
2352
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2329
2353
|
|
2330
2354
|
header_params = {}
|
@@ -2409,10 +2433,11 @@ module Google
|
|
2409
2433
|
# Customize the options with defaults
|
2410
2434
|
metadata = @config.rpcs.get_backup.metadata.to_h
|
2411
2435
|
|
2412
|
-
# Set x-goog-api-client
|
2436
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2413
2437
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2414
2438
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2415
2439
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2440
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2416
2441
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2417
2442
|
|
2418
2443
|
header_params = {}
|
@@ -2504,10 +2529,11 @@ module Google
|
|
2504
2529
|
# Customize the options with defaults
|
2505
2530
|
metadata = @config.rpcs.update_backup.metadata.to_h
|
2506
2531
|
|
2507
|
-
# Set x-goog-api-client
|
2532
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2508
2533
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2509
2534
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2510
2535
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2536
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2511
2537
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2512
2538
|
|
2513
2539
|
header_params = {}
|
@@ -2591,10 +2617,11 @@ module Google
|
|
2591
2617
|
# Customize the options with defaults
|
2592
2618
|
metadata = @config.rpcs.delete_backup.metadata.to_h
|
2593
2619
|
|
2594
|
-
# Set x-goog-api-client
|
2620
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2595
2621
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2596
2622
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2597
2623
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2624
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2598
2625
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2599
2626
|
|
2600
2627
|
header_params = {}
|
@@ -2750,10 +2777,11 @@ module Google
|
|
2750
2777
|
# Customize the options with defaults
|
2751
2778
|
metadata = @config.rpcs.list_backups.metadata.to_h
|
2752
2779
|
|
2753
|
-
# Set x-goog-api-client
|
2780
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2754
2781
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2755
2782
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2756
2783
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2784
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2757
2785
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2758
2786
|
|
2759
2787
|
header_params = {}
|
@@ -2858,10 +2886,11 @@ module Google
|
|
2858
2886
|
# Customize the options with defaults
|
2859
2887
|
metadata = @config.rpcs.restore_table.metadata.to_h
|
2860
2888
|
|
2861
|
-
# Set x-goog-api-client
|
2889
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2862
2890
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2863
2891
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2864
2892
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
2893
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2865
2894
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2866
2895
|
|
2867
2896
|
header_params = {}
|
@@ -2975,10 +3004,11 @@ module Google
|
|
2975
3004
|
# Customize the options with defaults
|
2976
3005
|
metadata = @config.rpcs.copy_backup.metadata.to_h
|
2977
3006
|
|
2978
|
-
# Set x-goog-api-client
|
3007
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2979
3008
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2980
3009
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2981
3010
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3011
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2982
3012
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2983
3013
|
|
2984
3014
|
header_params = {}
|
@@ -3067,10 +3097,11 @@ module Google
|
|
3067
3097
|
# Customize the options with defaults
|
3068
3098
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
3069
3099
|
|
3070
|
-
# Set x-goog-api-client
|
3100
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3071
3101
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3072
3102
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3073
3103
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3104
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3074
3105
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3075
3106
|
|
3076
3107
|
header_params = {}
|
@@ -3165,10 +3196,11 @@ module Google
|
|
3165
3196
|
# Customize the options with defaults
|
3166
3197
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
3167
3198
|
|
3168
|
-
# Set x-goog-api-client
|
3199
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3169
3200
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3170
3201
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3171
3202
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3203
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3172
3204
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3173
3205
|
|
3174
3206
|
header_params = {}
|
@@ -3257,10 +3289,11 @@ module Google
|
|
3257
3289
|
# Customize the options with defaults
|
3258
3290
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
3259
3291
|
|
3260
|
-
# Set x-goog-api-client
|
3292
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3261
3293
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3262
3294
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3263
3295
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3296
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3264
3297
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3265
3298
|
|
3266
3299
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module BigtableTableAdmin
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "bigtableadmin.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -91,6 +91,10 @@ module Google
|
|
91
91
|
# * The instance containing the table.
|
92
92
|
#
|
93
93
|
# Note one can still delete the data stored in the table through Data APIs.
|
94
|
+
# @!attribute [rw] automated_backup_policy
|
95
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy]
|
96
|
+
# If specified, automated backups are enabled for this table.
|
97
|
+
# Otherwise, automated backups are disabled.
|
94
98
|
class Table
|
95
99
|
include ::Google::Protobuf::MessageExts
|
96
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -140,6 +144,20 @@ module Google
|
|
140
144
|
end
|
141
145
|
end
|
142
146
|
|
147
|
+
# Defines an automated backup policy for a table
|
148
|
+
# @!attribute [rw] retention_period
|
149
|
+
# @return [::Google::Protobuf::Duration]
|
150
|
+
# Required. How long the automated backups should be retained. The only
|
151
|
+
# supported value at this time is 3 days.
|
152
|
+
# @!attribute [rw] frequency
|
153
|
+
# @return [::Google::Protobuf::Duration]
|
154
|
+
# Required. How frequently automated backups should occur. The only
|
155
|
+
# supported value at this time is 24 hours.
|
156
|
+
class AutomatedBackupPolicy
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
end
|
160
|
+
|
143
161
|
# @!attribute [rw] key
|
144
162
|
# @return [::String]
|
145
163
|
# @!attribute [rw] value
|
@@ -37,23 +37,26 @@ module Google
|
|
37
37
|
# * Natural sort: Does the encoded value sort consistently with the original
|
38
38
|
# typed value? Note that Bigtable will always sort data based on the raw
|
39
39
|
# encoded value, *not* the decoded type.
|
40
|
-
# - Example:
|
40
|
+
# - Example: BYTES values sort in the same order as their raw encodings.
|
41
41
|
# - Counterexample: Encoding INT64 to a fixed-width STRING does *not*
|
42
42
|
# preserve sort order when dealing with negative numbers.
|
43
43
|
# INT64(1) > INT64(-1), but STRING("-00001") > STRING("00001).
|
44
|
-
# - The overall encoding chain
|
44
|
+
# - The overall encoding chain has this property if *every* link does.
|
45
45
|
# * Self-delimiting: If we concatenate two encoded values, can we always tell
|
46
46
|
# where the first one ends and the second one begins?
|
47
47
|
# - Example: If we encode INT64s to fixed-width STRINGs, the first value
|
48
48
|
# will always contain exactly N digits, possibly preceded by a sign.
|
49
49
|
# - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have
|
50
50
|
# no way to tell where the first one ends.
|
51
|
-
# - The overall encoding chain
|
51
|
+
# - The overall encoding chain has this property if *any* link does.
|
52
52
|
# * Compatibility: Which other systems have matching encoding schemes? For
|
53
53
|
# example, does this encoding have a GoogleSQL equivalent? HBase? Java?
|
54
54
|
# @!attribute [rw] bytes_type
|
55
55
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::Bytes]
|
56
56
|
# Bytes
|
57
|
+
# @!attribute [rw] string_type
|
58
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::String]
|
59
|
+
# String
|
57
60
|
# @!attribute [rw] int64_type
|
58
61
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::Int64]
|
59
62
|
# Int64
|
@@ -92,6 +95,37 @@ module Google
|
|
92
95
|
end
|
93
96
|
end
|
94
97
|
|
98
|
+
# String
|
99
|
+
# Values of type `String` are stored in `Value.string_value`.
|
100
|
+
# @!attribute [rw] encoding
|
101
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::String::Encoding]
|
102
|
+
# The encoding to use when converting to/from lower level types.
|
103
|
+
class String
|
104
|
+
include ::Google::Protobuf::MessageExts
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
106
|
+
|
107
|
+
# Rules used to convert to/from lower level types.
|
108
|
+
# @!attribute [rw] utf8_raw
|
109
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::String::Encoding::Utf8Raw]
|
110
|
+
# Use `Utf8Raw` encoding.
|
111
|
+
class Encoding
|
112
|
+
include ::Google::Protobuf::MessageExts
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
|
115
|
+
# UTF-8 encoding
|
116
|
+
# * Natural sort? No (ASCII characters only)
|
117
|
+
# * Self-delimiting? No
|
118
|
+
# * Compatibility?
|
119
|
+
# - BigQuery Federation `TEXT` encoding
|
120
|
+
# - HBase `Bytes.toBytes`
|
121
|
+
# - Java `String#getBytes(StandardCharsets.UTF_8)`
|
122
|
+
class Utf8Raw
|
123
|
+
include ::Google::Protobuf::MessageExts
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
95
129
|
# Int64
|
96
130
|
# Values of type `Int64` are stored in `Value.int_value`.
|
97
131
|
# @!attribute [rw] encoding
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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-
|
11
|
+
date: 2024-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|