google-cloud-bigtable 1.0.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +27 -24
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +60 -57
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +90 -23
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +125 -98
- data/lib/google/bigtable/admin/v2/common_pb.rb +9 -4
- data/lib/google/bigtable/admin/v2/instance_pb.rb +12 -11
- data/lib/google/bigtable/admin/v2/table_pb.rb +52 -14
- data/lib/google/bigtable/v2/bigtable_pb.rb +17 -17
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +39 -39
- data/lib/google/bigtable/v2/data_pb.rb +21 -21
- data/lib/google/cloud/bigtable/admin.rb +3 -3
- data/lib/google/cloud/bigtable/admin/v2.rb +4 -3
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +60 -50
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +1 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +547 -58
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +31 -1
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +46 -39
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +281 -53
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +15 -17
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +119 -26
- data/lib/google/cloud/bigtable/app_profile/list.rb +2 -2
- data/lib/google/cloud/bigtable/backup.rb +324 -0
- data/lib/google/cloud/bigtable/backup/job.rb +87 -0
- data/lib/google/cloud/bigtable/backup/list.rb +167 -0
- data/lib/google/cloud/bigtable/cluster.rb +99 -0
- data/lib/google/cloud/bigtable/cluster/list.rb +1 -1
- data/lib/google/cloud/bigtable/column_family_map.rb +1 -1
- data/lib/google/cloud/bigtable/instance.rb +4 -7
- data/lib/google/cloud/bigtable/instance/list.rb +1 -1
- data/lib/google/cloud/bigtable/longrunning_job.rb +11 -0
- data/lib/google/cloud/bigtable/policy.rb +1 -1
- data/lib/google/cloud/bigtable/service.rb +131 -0
- data/lib/google/cloud/bigtable/table.rb +112 -0
- data/lib/google/cloud/bigtable/table/cluster_state.rb +25 -4
- data/lib/google/cloud/bigtable/table/list.rb +1 -1
- data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
- data/lib/google/cloud/bigtable/v2.rb +1 -1
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +3 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +7 -7
- data/lib/google/cloud/bigtable/version.rb +1 -1
- metadata +9 -5
@@ -4,9 +4,13 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require 'google/api/annotations_pb'
|
8
7
|
require 'google/protobuf/timestamp_pb'
|
9
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "google.bigtable.admin.v2.OperationProgress" do
|
10
|
+
optional :progress_percent, :int32, 1
|
11
|
+
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
12
|
+
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
13
|
+
end
|
10
14
|
add_enum "google.bigtable.admin.v2.StorageType" do
|
11
15
|
value :STORAGE_TYPE_UNSPECIFIED, 0
|
12
16
|
value :SSD, 1
|
@@ -17,9 +21,10 @@ end
|
|
17
21
|
module Google
|
18
22
|
module Bigtable
|
19
23
|
module Admin
|
20
|
-
module V2
|
21
|
-
StorageType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.StorageType").enummodule
|
22
|
-
end
|
23
24
|
end
|
24
25
|
end
|
25
26
|
end
|
27
|
+
module Google::Bigtable::Admin::V2
|
28
|
+
OperationProgress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OperationProgress").msgclass
|
29
|
+
StorageType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.StorageType").enummodule
|
30
|
+
end
|
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require 'google/api/
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
8
9
|
require 'google/bigtable/admin/v2/common_pb'
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_message "google.bigtable.admin.v2.Instance" do
|
@@ -58,16 +59,16 @@ end
|
|
58
59
|
module Google
|
59
60
|
module Bigtable
|
60
61
|
module Admin
|
61
|
-
module V2
|
62
|
-
Instance = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance").msgclass
|
63
|
-
Instance::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance.State").enummodule
|
64
|
-
Instance::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance.Type").enummodule
|
65
|
-
Cluster = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster").msgclass
|
66
|
-
Cluster::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.State").enummodule
|
67
|
-
AppProfile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile").msgclass
|
68
|
-
AppProfile::MultiClusterRoutingUseAny = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny").msgclass
|
69
|
-
AppProfile::SingleClusterRouting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.SingleClusterRouting").msgclass
|
70
|
-
end
|
71
62
|
end
|
72
63
|
end
|
73
64
|
end
|
65
|
+
module Google::Bigtable::Admin::V2
|
66
|
+
Instance = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance").msgclass
|
67
|
+
Instance::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance.State").enummodule
|
68
|
+
Instance::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Instance.Type").enummodule
|
69
|
+
Cluster = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster").msgclass
|
70
|
+
Cluster::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.State").enummodule
|
71
|
+
AppProfile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile").msgclass
|
72
|
+
AppProfile::MultiClusterRoutingUseAny = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny").msgclass
|
73
|
+
AppProfile::SingleClusterRouting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.SingleClusterRouting").msgclass
|
74
|
+
end
|
@@ -4,15 +4,23 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require 'google/api/
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/duration_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_message "google.bigtable.admin.v2.RestoreInfo" do
|
13
|
+
optional :source_type, :enum, 1, "google.bigtable.admin.v2.RestoreSourceType"
|
14
|
+
oneof :source_info do
|
15
|
+
optional :backup_info, :message, 2, "google.bigtable.admin.v2.BackupInfo"
|
16
|
+
end
|
17
|
+
end
|
11
18
|
add_message "google.bigtable.admin.v2.Table" do
|
12
19
|
optional :name, :string, 1
|
13
20
|
map :cluster_states, :string, :message, 2, "google.bigtable.admin.v2.Table.ClusterState"
|
14
21
|
map :column_families, :string, :message, 3, "google.bigtable.admin.v2.ColumnFamily"
|
15
22
|
optional :granularity, :enum, 4, "google.bigtable.admin.v2.Table.TimestampGranularity"
|
23
|
+
optional :restore_info, :message, 6, "google.bigtable.admin.v2.RestoreInfo"
|
16
24
|
end
|
17
25
|
add_message "google.bigtable.admin.v2.Table.ClusterState" do
|
18
26
|
optional :replication_state, :enum, 1, "google.bigtable.admin.v2.Table.ClusterState.ReplicationState"
|
@@ -23,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
31
|
value :PLANNED_MAINTENANCE, 2
|
24
32
|
value :UNPLANNED_MAINTENANCE, 3
|
25
33
|
value :READY, 4
|
34
|
+
value :READY_OPTIMIZING, 5
|
26
35
|
end
|
27
36
|
add_enum "google.bigtable.admin.v2.Table.TimestampGranularity" do
|
28
37
|
value :TIMESTAMP_GRANULARITY_UNSPECIFIED, 0
|
@@ -66,24 +75,53 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
75
|
value :READY, 1
|
67
76
|
value :CREATING, 2
|
68
77
|
end
|
78
|
+
add_message "google.bigtable.admin.v2.Backup" do
|
79
|
+
optional :name, :string, 1
|
80
|
+
optional :source_table, :string, 2
|
81
|
+
optional :expire_time, :message, 3, "google.protobuf.Timestamp"
|
82
|
+
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
83
|
+
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
84
|
+
optional :size_bytes, :int64, 6
|
85
|
+
optional :state, :enum, 7, "google.bigtable.admin.v2.Backup.State"
|
86
|
+
end
|
87
|
+
add_enum "google.bigtable.admin.v2.Backup.State" do
|
88
|
+
value :STATE_UNSPECIFIED, 0
|
89
|
+
value :CREATING, 1
|
90
|
+
value :READY, 2
|
91
|
+
end
|
92
|
+
add_message "google.bigtable.admin.v2.BackupInfo" do
|
93
|
+
optional :backup, :string, 1
|
94
|
+
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
95
|
+
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
96
|
+
optional :source_table, :string, 4
|
97
|
+
end
|
98
|
+
add_enum "google.bigtable.admin.v2.RestoreSourceType" do
|
99
|
+
value :RESTORE_SOURCE_TYPE_UNSPECIFIED, 0
|
100
|
+
value :BACKUP, 1
|
101
|
+
end
|
69
102
|
end
|
70
103
|
|
71
104
|
module Google
|
72
105
|
module Bigtable
|
73
106
|
module Admin
|
74
|
-
module V2
|
75
|
-
Table = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table").msgclass
|
76
|
-
Table::ClusterState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState").msgclass
|
77
|
-
Table::ClusterState::ReplicationState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState.ReplicationState").enummodule
|
78
|
-
Table::TimestampGranularity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.TimestampGranularity").enummodule
|
79
|
-
Table::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.View").enummodule
|
80
|
-
ColumnFamily = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ColumnFamily").msgclass
|
81
|
-
GcRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule").msgclass
|
82
|
-
GcRule::Intersection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule.Intersection").msgclass
|
83
|
-
GcRule::Union = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule.Union").msgclass
|
84
|
-
Snapshot = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Snapshot").msgclass
|
85
|
-
Snapshot::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Snapshot.State").enummodule
|
86
|
-
end
|
87
107
|
end
|
88
108
|
end
|
89
109
|
end
|
110
|
+
module Google::Bigtable::Admin::V2
|
111
|
+
RestoreInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreInfo").msgclass
|
112
|
+
Table = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table").msgclass
|
113
|
+
Table::ClusterState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState").msgclass
|
114
|
+
Table::ClusterState::ReplicationState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState.ReplicationState").enummodule
|
115
|
+
Table::TimestampGranularity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.TimestampGranularity").enummodule
|
116
|
+
Table::View = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.View").enummodule
|
117
|
+
ColumnFamily = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ColumnFamily").msgclass
|
118
|
+
GcRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule").msgclass
|
119
|
+
GcRule::Intersection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule.Intersection").msgclass
|
120
|
+
GcRule::Union = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule.Union").msgclass
|
121
|
+
Snapshot = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Snapshot").msgclass
|
122
|
+
Snapshot::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Snapshot.State").enummodule
|
123
|
+
Backup = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Backup").msgclass
|
124
|
+
Backup::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Backup.State").enummodule
|
125
|
+
BackupInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.BackupInfo").msgclass
|
126
|
+
RestoreSourceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreSourceType").enummodule
|
127
|
+
end
|
@@ -92,22 +92,22 @@ end
|
|
92
92
|
|
93
93
|
module Google
|
94
94
|
module Bigtable
|
95
|
-
module V2
|
96
|
-
ReadRowsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsRequest").msgclass
|
97
|
-
ReadRowsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse").msgclass
|
98
|
-
ReadRowsResponse::CellChunk = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse.CellChunk").msgclass
|
99
|
-
SampleRowKeysRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysRequest").msgclass
|
100
|
-
SampleRowKeysResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysResponse").msgclass
|
101
|
-
MutateRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowRequest").msgclass
|
102
|
-
MutateRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowResponse").msgclass
|
103
|
-
MutateRowsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest").msgclass
|
104
|
-
MutateRowsRequest::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest.Entry").msgclass
|
105
|
-
MutateRowsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse").msgclass
|
106
|
-
MutateRowsResponse::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse.Entry").msgclass
|
107
|
-
CheckAndMutateRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowRequest").msgclass
|
108
|
-
CheckAndMutateRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowResponse").msgclass
|
109
|
-
ReadModifyWriteRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowRequest").msgclass
|
110
|
-
ReadModifyWriteRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowResponse").msgclass
|
111
|
-
end
|
112
95
|
end
|
113
96
|
end
|
97
|
+
module Google::Bigtable::V2
|
98
|
+
ReadRowsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsRequest").msgclass
|
99
|
+
ReadRowsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse").msgclass
|
100
|
+
ReadRowsResponse::CellChunk = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse.CellChunk").msgclass
|
101
|
+
SampleRowKeysRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysRequest").msgclass
|
102
|
+
SampleRowKeysResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysResponse").msgclass
|
103
|
+
MutateRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowRequest").msgclass
|
104
|
+
MutateRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowResponse").msgclass
|
105
|
+
MutateRowsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest").msgclass
|
106
|
+
MutateRowsRequest::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest.Entry").msgclass
|
107
|
+
MutateRowsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse").msgclass
|
108
|
+
MutateRowsResponse::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse.Entry").msgclass
|
109
|
+
CheckAndMutateRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowRequest").msgclass
|
110
|
+
CheckAndMutateRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowResponse").msgclass
|
111
|
+
ReadModifyWriteRowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowRequest").msgclass
|
112
|
+
ReadModifyWriteRowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowResponse").msgclass
|
113
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/bigtable/v2/bigtable.proto for package '
|
2
|
+
# Source: google/bigtable/v2/bigtable.proto for package 'Google::Cloud::Bigtable::V2'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2019 Google LLC.
|
5
5
|
#
|
@@ -22,47 +22,47 @@ require 'google/bigtable/v2/bigtable_pb'
|
|
22
22
|
|
23
23
|
module Google
|
24
24
|
module Bigtable
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
end
|
26
|
+
end
|
27
|
+
module Google::Bigtable::V2
|
28
|
+
module Bigtable
|
29
|
+
# Service for reading from and writing to existing Bigtable tables.
|
30
|
+
class Service
|
31
31
|
|
32
|
-
|
33
|
-
self.unmarshal_class_method = :decode
|
34
|
-
self.service_name = 'google.bigtable.v2.Bigtable'
|
32
|
+
include GRPC::GenericService
|
35
33
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
# atomicity of each row will still be preserved. See the
|
40
|
-
# ReadRowsResponse documentation for details.
|
41
|
-
rpc :ReadRows, ReadRowsRequest, stream(ReadRowsResponse)
|
42
|
-
# Returns a sample of row keys in the table. The returned row keys will
|
43
|
-
# delimit contiguous sections of the table of approximately equal size,
|
44
|
-
# which can be used to break up the data for distributed tasks like
|
45
|
-
# mapreduces.
|
46
|
-
rpc :SampleRowKeys, SampleRowKeysRequest, stream(SampleRowKeysResponse)
|
47
|
-
# Mutates a row atomically. Cells already present in the row are left
|
48
|
-
# unchanged unless explicitly changed by `mutation`.
|
49
|
-
rpc :MutateRow, MutateRowRequest, MutateRowResponse
|
50
|
-
# Mutates multiple rows in a batch. Each individual row is mutated
|
51
|
-
# atomically as in MutateRow, but the entire batch is not executed
|
52
|
-
# atomically.
|
53
|
-
rpc :MutateRows, MutateRowsRequest, stream(MutateRowsResponse)
|
54
|
-
# Mutates a row atomically based on the output of a predicate Reader filter.
|
55
|
-
rpc :CheckAndMutateRow, CheckAndMutateRowRequest, CheckAndMutateRowResponse
|
56
|
-
# Modifies a row atomically on the server. The method reads the latest
|
57
|
-
# existing timestamp and value from the specified columns and writes a new
|
58
|
-
# entry based on pre-defined read/modify/write rules. The new value for the
|
59
|
-
# timestamp is the greater of the existing timestamp or the current server
|
60
|
-
# time. The method returns the new contents of all modified cells.
|
61
|
-
rpc :ReadModifyWriteRow, ReadModifyWriteRowRequest, ReadModifyWriteRowResponse
|
62
|
-
end
|
34
|
+
self.marshal_class_method = :encode
|
35
|
+
self.unmarshal_class_method = :decode
|
36
|
+
self.service_name = 'google.bigtable.v2.Bigtable'
|
63
37
|
|
64
|
-
|
65
|
-
|
38
|
+
# Streams back the contents of all requested rows in key order, optionally
|
39
|
+
# applying the same Reader filter to each. Depending on their size,
|
40
|
+
# rows and cells may be broken up across multiple responses, but
|
41
|
+
# atomicity of each row will still be preserved. See the
|
42
|
+
# ReadRowsResponse documentation for details.
|
43
|
+
rpc :ReadRows, ReadRowsRequest, stream(ReadRowsResponse)
|
44
|
+
# Returns a sample of row keys in the table. The returned row keys will
|
45
|
+
# delimit contiguous sections of the table of approximately equal size,
|
46
|
+
# which can be used to break up the data for distributed tasks like
|
47
|
+
# mapreduces.
|
48
|
+
rpc :SampleRowKeys, SampleRowKeysRequest, stream(SampleRowKeysResponse)
|
49
|
+
# Mutates a row atomically. Cells already present in the row are left
|
50
|
+
# unchanged unless explicitly changed by `mutation`.
|
51
|
+
rpc :MutateRow, MutateRowRequest, MutateRowResponse
|
52
|
+
# Mutates multiple rows in a batch. Each individual row is mutated
|
53
|
+
# atomically as in MutateRow, but the entire batch is not executed
|
54
|
+
# atomically.
|
55
|
+
rpc :MutateRows, MutateRowsRequest, stream(MutateRowsResponse)
|
56
|
+
# Mutates a row atomically based on the output of a predicate Reader filter.
|
57
|
+
rpc :CheckAndMutateRow, CheckAndMutateRowRequest, CheckAndMutateRowResponse
|
58
|
+
# Modifies a row atomically on the server. The method reads the latest
|
59
|
+
# existing timestamp and value from the specified columns and writes a new
|
60
|
+
# entry based on pre-defined read/modify/write rules. The new value for the
|
61
|
+
# timestamp is the greater of the existing timestamp or the current server
|
62
|
+
# time. The method returns the new contents of all modified cells.
|
63
|
+
rpc :ReadModifyWriteRow, ReadModifyWriteRowRequest, ReadModifyWriteRowResponse
|
66
64
|
end
|
65
|
+
|
66
|
+
Stub = Service.rpc_stub_class
|
67
67
|
end
|
68
68
|
end
|
@@ -131,26 +131,26 @@ end
|
|
131
131
|
|
132
132
|
module Google
|
133
133
|
module Bigtable
|
134
|
-
module V2
|
135
|
-
Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Row").msgclass
|
136
|
-
Family = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Family").msgclass
|
137
|
-
Column = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Column").msgclass
|
138
|
-
Cell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Cell").msgclass
|
139
|
-
RowRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowRange").msgclass
|
140
|
-
RowSet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowSet").msgclass
|
141
|
-
ColumnRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ColumnRange").msgclass
|
142
|
-
TimestampRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.TimestampRange").msgclass
|
143
|
-
ValueRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ValueRange").msgclass
|
144
|
-
RowFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter").msgclass
|
145
|
-
RowFilter::Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Chain").msgclass
|
146
|
-
RowFilter::Interleave = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Interleave").msgclass
|
147
|
-
RowFilter::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Condition").msgclass
|
148
|
-
Mutation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation").msgclass
|
149
|
-
Mutation::SetCell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.SetCell").msgclass
|
150
|
-
Mutation::DeleteFromColumn = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromColumn").msgclass
|
151
|
-
Mutation::DeleteFromFamily = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromFamily").msgclass
|
152
|
-
Mutation::DeleteFromRow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromRow").msgclass
|
153
|
-
ReadModifyWriteRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRule").msgclass
|
154
|
-
end
|
155
134
|
end
|
156
135
|
end
|
136
|
+
module Google::Bigtable::V2
|
137
|
+
Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Row").msgclass
|
138
|
+
Family = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Family").msgclass
|
139
|
+
Column = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Column").msgclass
|
140
|
+
Cell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Cell").msgclass
|
141
|
+
RowRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowRange").msgclass
|
142
|
+
RowSet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowSet").msgclass
|
143
|
+
ColumnRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ColumnRange").msgclass
|
144
|
+
TimestampRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.TimestampRange").msgclass
|
145
|
+
ValueRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ValueRange").msgclass
|
146
|
+
RowFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter").msgclass
|
147
|
+
RowFilter::Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Chain").msgclass
|
148
|
+
RowFilter::Interleave = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Interleave").msgclass
|
149
|
+
RowFilter::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Condition").msgclass
|
150
|
+
Mutation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation").msgclass
|
151
|
+
Mutation::SetCell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.SetCell").msgclass
|
152
|
+
Mutation::DeleteFromColumn = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromColumn").msgclass
|
153
|
+
Mutation::DeleteFromFamily = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromFamily").msgclass
|
154
|
+
Mutation::DeleteFromRow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromRow").msgclass
|
155
|
+
ReadModifyWriteRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRule").msgclass
|
156
|
+
end
|
@@ -22,10 +22,10 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Cloud Bigtable Admin API
|
25
|
+
# # Ruby Client for Cloud Bigtable Admin API
|
26
26
|
#
|
27
27
|
# [Cloud Bigtable Admin API][Product Documentation]:
|
28
|
-
#
|
28
|
+
# Administer your Cloud Bigtable tables and instances.
|
29
29
|
# - [Product Documentation][]
|
30
30
|
#
|
31
31
|
# ## Quick Start
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
49
49
|
# to see the full list of Cloud APIs that we cover.
|
50
50
|
#
|
51
|
-
# [Product Documentation]: https://cloud.google.com/bigtable
|
51
|
+
# [Product Documentation]: https://cloud.google.com/bigtable/docs/reference/admin/rpc
|
52
52
|
#
|
53
53
|
# ## Enabling Logging
|
54
54
|
#
|
@@ -16,6 +16,7 @@
|
|
16
16
|
require "google/cloud/bigtable/admin/v2/bigtable_instance_admin_client"
|
17
17
|
require "google/cloud/bigtable/admin/v2/bigtable_table_admin_client"
|
18
18
|
require "google/bigtable/admin/v2/bigtable_instance_admin_pb"
|
19
|
+
require "google/bigtable/admin/v2/table_pb"
|
19
20
|
require "google/bigtable/admin/v2/bigtable_table_admin_pb"
|
20
21
|
|
21
22
|
module Google
|
@@ -25,10 +26,10 @@ module Google
|
|
25
26
|
# rubocop:disable LineLength
|
26
27
|
|
27
28
|
##
|
28
|
-
# # Ruby Client for Cloud Bigtable Admin API
|
29
|
+
# # Ruby Client for Cloud Bigtable Admin API
|
29
30
|
#
|
30
31
|
# [Cloud Bigtable Admin API][Product Documentation]:
|
31
|
-
#
|
32
|
+
# Administer your Cloud Bigtable tables and instances.
|
32
33
|
# - [Product Documentation][]
|
33
34
|
#
|
34
35
|
# ## Quick Start
|
@@ -51,7 +52,7 @@ module Google
|
|
51
52
|
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
52
53
|
# to see the full list of Cloud APIs that we cover.
|
53
54
|
#
|
54
|
-
# [Product Documentation]: https://cloud.google.com/bigtable
|
55
|
+
# [Product Documentation]: https://cloud.google.com/bigtable/docs/reference/admin/rpc
|
55
56
|
#
|
56
57
|
# ## Enabling Logging
|
57
58
|
#
|
@@ -262,6 +262,9 @@ module Google
|
|
262
262
|
google_api_client.freeze
|
263
263
|
|
264
264
|
headers = { :"x-goog-api-client" => google_api_client }
|
265
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
266
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
267
|
+
end
|
265
268
|
headers.merge!(metadata) unless metadata.nil?
|
266
269
|
client_config_file = Pathname.new(__dir__).join(
|
267
270
|
"bigtable_instance_admin_client_config.json"
|
@@ -453,23 +456,23 @@ module Google
|
|
453
456
|
# Create an instance within a project.
|
454
457
|
#
|
455
458
|
# @param parent [String]
|
456
|
-
# The unique name of the project in which to create the new instance.
|
457
|
-
# Values are of the form `projects
|
459
|
+
# Required. The unique name of the project in which to create the new instance.
|
460
|
+
# Values are of the form `projects/{project}`.
|
458
461
|
# @param instance_id [String]
|
459
|
-
# The ID to be used when referring to the new instance within its project,
|
462
|
+
# Required. The ID to be used when referring to the new instance within its project,
|
460
463
|
# e.g., just `myinstance` rather than
|
461
464
|
# `projects/myproject/instances/myinstance`.
|
462
465
|
# @param instance [Google::Bigtable::Admin::V2::Instance | Hash]
|
463
|
-
# The instance to create.
|
466
|
+
# Required. The instance to create.
|
464
467
|
# Fields marked `OutputOnly` must be left blank.
|
465
468
|
# A hash of the same form as `Google::Bigtable::Admin::V2::Instance`
|
466
469
|
# can also be provided.
|
467
470
|
# @param clusters [Hash{String => Google::Bigtable::Admin::V2::Cluster | Hash}]
|
468
|
-
# The clusters to be created within the instance, mapped by desired
|
471
|
+
# Required. The clusters to be created within the instance, mapped by desired
|
469
472
|
# cluster ID, e.g., just `mycluster` rather than
|
470
473
|
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
471
474
|
# Fields marked `OutputOnly` must be left blank.
|
472
|
-
# Currently, at most
|
475
|
+
# Currently, at most four clusters can be specified.
|
473
476
|
# A hash of the same form as `Google::Bigtable::Admin::V2::Cluster`
|
474
477
|
# can also be provided.
|
475
478
|
# @param options [Google::Gax::CallOptions]
|
@@ -546,8 +549,8 @@ module Google
|
|
546
549
|
# Gets information about an instance.
|
547
550
|
#
|
548
551
|
# @param name [String]
|
549
|
-
# The unique name of the requested instance. Values are of the form
|
550
|
-
# `projects
|
552
|
+
# Required. The unique name of the requested instance. Values are of the form
|
553
|
+
# `projects/{project}/instances/{instance}`.
|
551
554
|
# @param options [Google::Gax::CallOptions]
|
552
555
|
# Overrides the default settings for this call, e.g, timeout,
|
553
556
|
# retries, etc.
|
@@ -577,8 +580,8 @@ module Google
|
|
577
580
|
# Lists information about instances in a project.
|
578
581
|
#
|
579
582
|
# @param parent [String]
|
580
|
-
# The unique name of the project for which a list of instances is requested.
|
581
|
-
# Values are of the form `projects
|
583
|
+
# Required. The unique name of the project for which a list of instances is requested.
|
584
|
+
# Values are of the form `projects/{project}`.
|
582
585
|
# @param page_token [String]
|
583
586
|
# DEPRECATED: This field is unused and ignored.
|
584
587
|
# @param options [Google::Gax::CallOptions]
|
@@ -609,14 +612,15 @@ module Google
|
|
609
612
|
@list_instances.call(req, options, &block)
|
610
613
|
end
|
611
614
|
|
612
|
-
# Updates an instance within a project.
|
615
|
+
# Updates an instance within a project. This method updates only the display
|
616
|
+
# name and type for an Instance. To update other Instance properties, such as
|
617
|
+
# labels, use PartialUpdateInstance.
|
613
618
|
#
|
614
619
|
# @param name [String]
|
615
|
-
# (`OutputOnly`)
|
616
620
|
# The unique name of the instance. Values are of the form
|
617
|
-
# `projects
|
621
|
+
# `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
618
622
|
# @param display_name [String]
|
619
|
-
# The descriptive name for this instance as it appears in UIs.
|
623
|
+
# Required. The descriptive name for this instance as it appears in UIs.
|
620
624
|
# Can be changed at any time, but should be kept globally unique
|
621
625
|
# to avoid confusion.
|
622
626
|
# @param type [Google::Bigtable::Admin::V2::Instance::Type]
|
@@ -679,14 +683,15 @@ module Google
|
|
679
683
|
@update_instance.call(req, options, &block)
|
680
684
|
end
|
681
685
|
|
682
|
-
# Partially updates an instance within a project.
|
686
|
+
# Partially updates an instance within a project. This method can modify all
|
687
|
+
# fields of an Instance and is the preferred way to update an Instance.
|
683
688
|
#
|
684
689
|
# @param instance [Google::Bigtable::Admin::V2::Instance | Hash]
|
685
|
-
# The Instance which will (partially) replace the current value.
|
690
|
+
# Required. The Instance which will (partially) replace the current value.
|
686
691
|
# A hash of the same form as `Google::Bigtable::Admin::V2::Instance`
|
687
692
|
# can also be provided.
|
688
693
|
# @param update_mask [Google::Protobuf::FieldMask | Hash]
|
689
|
-
# The subset of Instance fields which should be replaced.
|
694
|
+
# Required. The subset of Instance fields which should be replaced.
|
690
695
|
# Must be explicitly set.
|
691
696
|
# A hash of the same form as `Google::Protobuf::FieldMask`
|
692
697
|
# can also be provided.
|
@@ -756,8 +761,8 @@ module Google
|
|
756
761
|
# Delete an instance from a project.
|
757
762
|
#
|
758
763
|
# @param name [String]
|
759
|
-
# The unique name of the instance to be deleted.
|
760
|
-
# Values are of the form `projects
|
764
|
+
# Required. The unique name of the instance to be deleted.
|
765
|
+
# Values are of the form `projects/{project}/instances/{instance}`.
|
761
766
|
# @param options [Google::Gax::CallOptions]
|
762
767
|
# Overrides the default settings for this call, e.g, timeout,
|
763
768
|
# retries, etc.
|
@@ -787,15 +792,15 @@ module Google
|
|
787
792
|
# Creates a cluster within an instance.
|
788
793
|
#
|
789
794
|
# @param parent [String]
|
790
|
-
# The unique name of the instance in which to create the new cluster.
|
795
|
+
# Required. The unique name of the instance in which to create the new cluster.
|
791
796
|
# Values are of the form
|
792
|
-
# `projects
|
797
|
+
# `projects/{project}/instances/{instance}`.
|
793
798
|
# @param cluster_id [String]
|
794
|
-
# The ID to be used when referring to the new cluster within its instance,
|
799
|
+
# Required. The ID to be used when referring to the new cluster within its instance,
|
795
800
|
# e.g., just `mycluster` rather than
|
796
801
|
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
797
802
|
# @param cluster [Google::Bigtable::Admin::V2::Cluster | Hash]
|
798
|
-
# The cluster to be created.
|
803
|
+
# Required. The cluster to be created.
|
799
804
|
# Fields marked `OutputOnly` must be left blank.
|
800
805
|
# A hash of the same form as `Google::Bigtable::Admin::V2::Cluster`
|
801
806
|
# can also be provided.
|
@@ -868,8 +873,8 @@ module Google
|
|
868
873
|
# Gets information about a cluster.
|
869
874
|
#
|
870
875
|
# @param name [String]
|
871
|
-
# The unique name of the requested cluster. Values are of the form
|
872
|
-
# `projects
|
876
|
+
# Required. The unique name of the requested cluster. Values are of the form
|
877
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
873
878
|
# @param options [Google::Gax::CallOptions]
|
874
879
|
# Overrides the default settings for this call, e.g, timeout,
|
875
880
|
# retries, etc.
|
@@ -899,9 +904,9 @@ module Google
|
|
899
904
|
# Lists information about clusters in an instance.
|
900
905
|
#
|
901
906
|
# @param parent [String]
|
902
|
-
# The unique name of the instance for which a list of clusters is requested.
|
903
|
-
# Values are of the form `projects
|
904
|
-
# Use
|
907
|
+
# Required. The unique name of the instance for which a list of clusters is requested.
|
908
|
+
# Values are of the form `projects/{project}/instances/{instance}`.
|
909
|
+
# Use `{instance} = '-'` to list Clusters for all Instances in a project,
|
905
910
|
# e.g., `projects/myproject/instances/-`.
|
906
911
|
# @param page_token [String]
|
907
912
|
# DEPRECATED: This field is unused and ignored.
|
@@ -936,20 +941,18 @@ module Google
|
|
936
941
|
# Updates a cluster within an instance.
|
937
942
|
#
|
938
943
|
# @param name [String]
|
939
|
-
# (`OutputOnly`)
|
940
944
|
# The unique name of the cluster. Values are of the form
|
941
|
-
# `projects
|
945
|
+
# `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
|
942
946
|
# @param serve_nodes [Integer]
|
943
|
-
# The number of nodes allocated to this cluster. More nodes enable
|
944
|
-
# throughput and more consistent performance.
|
947
|
+
# Required. The number of nodes allocated to this cluster. More nodes enable
|
948
|
+
# higher throughput and more consistent performance.
|
945
949
|
# @param location [String]
|
946
950
|
# (`CreationOnly`)
|
947
951
|
# The location where this cluster's nodes and storage reside. For best
|
948
952
|
# performance, clients should be located as close as possible to this
|
949
953
|
# cluster. Currently only zones are supported, so values should be of the
|
950
|
-
# form `projects
|
954
|
+
# form `projects/{project}/locations/{zone}`.
|
951
955
|
# @param state [Google::Bigtable::Admin::V2::Cluster::State]
|
952
|
-
# (`OutputOnly`)
|
953
956
|
# The current state of the cluster.
|
954
957
|
# @param default_storage_type [Google::Bigtable::Admin::V2::StorageType]
|
955
958
|
# (`CreationOnly`)
|
@@ -1025,8 +1028,8 @@ module Google
|
|
1025
1028
|
# Deletes a cluster from an instance.
|
1026
1029
|
#
|
1027
1030
|
# @param name [String]
|
1028
|
-
# The unique name of the cluster to be deleted. Values are of the form
|
1029
|
-
# `projects
|
1031
|
+
# Required. The unique name of the cluster to be deleted. Values are of the form
|
1032
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
1030
1033
|
# @param options [Google::Gax::CallOptions]
|
1031
1034
|
# Overrides the default settings for this call, e.g, timeout,
|
1032
1035
|
# retries, etc.
|
@@ -1056,15 +1059,15 @@ module Google
|
|
1056
1059
|
# Creates an app profile within an instance.
|
1057
1060
|
#
|
1058
1061
|
# @param parent [String]
|
1059
|
-
# The unique name of the instance in which to create the new app profile.
|
1062
|
+
# Required. The unique name of the instance in which to create the new app profile.
|
1060
1063
|
# Values are of the form
|
1061
|
-
# `projects
|
1064
|
+
# `projects/{project}/instances/{instance}`.
|
1062
1065
|
# @param app_profile_id [String]
|
1063
|
-
# The ID to be used when referring to the new app profile within its
|
1066
|
+
# Required. The ID to be used when referring to the new app profile within its
|
1064
1067
|
# instance, e.g., just `myprofile` rather than
|
1065
1068
|
# `projects/myproject/instances/myinstance/appProfiles/myprofile`.
|
1066
1069
|
# @param app_profile [Google::Bigtable::Admin::V2::AppProfile | Hash]
|
1067
|
-
# The app profile to be created.
|
1070
|
+
# Required. The app profile to be created.
|
1068
1071
|
# Fields marked `OutputOnly` will be ignored.
|
1069
1072
|
# A hash of the same form as `Google::Bigtable::Admin::V2::AppProfile`
|
1070
1073
|
# can also be provided.
|
@@ -1111,8 +1114,8 @@ module Google
|
|
1111
1114
|
# Gets information about an app profile.
|
1112
1115
|
#
|
1113
1116
|
# @param name [String]
|
1114
|
-
# The unique name of the requested app profile. Values are of the form
|
1115
|
-
# `projects
|
1117
|
+
# Required. The unique name of the requested app profile. Values are of the form
|
1118
|
+
# `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
|
1116
1119
|
# @param options [Google::Gax::CallOptions]
|
1117
1120
|
# Overrides the default settings for this call, e.g, timeout,
|
1118
1121
|
# retries, etc.
|
@@ -1142,14 +1145,21 @@ module Google
|
|
1142
1145
|
# Lists information about app profiles in an instance.
|
1143
1146
|
#
|
1144
1147
|
# @param parent [String]
|
1145
|
-
# The unique name of the instance for which a list of app profiles is
|
1148
|
+
# Required. The unique name of the instance for which a list of app profiles is
|
1146
1149
|
# requested. Values are of the form
|
1147
|
-
# `projects
|
1148
|
-
# Use
|
1150
|
+
# `projects/{project}/instances/{instance}`.
|
1151
|
+
# Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
|
1149
1152
|
# e.g., `projects/myproject/instances/-`.
|
1150
1153
|
# @param page_size [Integer]
|
1151
1154
|
# Maximum number of results per page.
|
1152
|
-
#
|
1155
|
+
#
|
1156
|
+
# A page_size of zero lets the server choose the number of items to return.
|
1157
|
+
# A page_size which is strictly positive will return at most that many items.
|
1158
|
+
# A negative page_size will cause an error.
|
1159
|
+
#
|
1160
|
+
# Following the first request, subsequent paginated calls are not required
|
1161
|
+
# to pass a page_size. If a page_size is set in subsequent calls, it must
|
1162
|
+
# match the page_size given in the first request.
|
1153
1163
|
# @param options [Google::Gax::CallOptions]
|
1154
1164
|
# Overrides the default settings for this call, e.g, timeout,
|
1155
1165
|
# retries, etc.
|
@@ -1197,11 +1207,11 @@ module Google
|
|
1197
1207
|
# Updates an app profile within an instance.
|
1198
1208
|
#
|
1199
1209
|
# @param app_profile [Google::Bigtable::Admin::V2::AppProfile | Hash]
|
1200
|
-
# The app profile which will (partially) replace the current value.
|
1210
|
+
# Required. The app profile which will (partially) replace the current value.
|
1201
1211
|
# A hash of the same form as `Google::Bigtable::Admin::V2::AppProfile`
|
1202
1212
|
# can also be provided.
|
1203
1213
|
# @param update_mask [Google::Protobuf::FieldMask | Hash]
|
1204
|
-
# The subset of app profile fields which should be replaced.
|
1214
|
+
# Required. The subset of app profile fields which should be replaced.
|
1205
1215
|
# If unset, all fields will be replaced.
|
1206
1216
|
# A hash of the same form as `Google::Protobuf::FieldMask`
|
1207
1217
|
# can also be provided.
|
@@ -1275,8 +1285,8 @@ module Google
|
|
1275
1285
|
# Deletes an app profile from an instance.
|
1276
1286
|
#
|
1277
1287
|
# @param name [String]
|
1278
|
-
# The unique name of the app profile to be deleted. Values are of the form
|
1279
|
-
# `projects
|
1288
|
+
# Required. The unique name of the app profile to be deleted. Values are of the form
|
1289
|
+
# `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
|
1280
1290
|
# @param ignore_warnings [true, false]
|
1281
1291
|
# If true, ignore safety checks when deleting the app profile.
|
1282
1292
|
# @param options [Google::Gax::CallOptions]
|