google-cloud-bigtable 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LOGGING.md +1 -1
- data/OVERVIEW.md +7 -5
- data/lib/google-cloud-bigtable.rb +1 -1
- data/lib/google/cloud/bigtable/admin.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +66 -66
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +16 -16
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +42 -42
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +8 -26
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +36 -36
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +37 -37
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +21 -21
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +26 -26
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +13 -13
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +28 -28
- data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +9 -9
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +7 -7
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +7 -7
- data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +11 -11
- data/lib/google/cloud/bigtable/column_family.rb +1 -1
- data/lib/google/cloud/bigtable/instance.rb +11 -12
- data/lib/google/cloud/bigtable/project.rb +21 -21
- data/lib/google/cloud/bigtable/table.rb +13 -12
- data/lib/google/cloud/bigtable/v2.rb +4 -4
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +20 -20
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +24 -24
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +39 -39
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +18 -18
- data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +11 -11
- data/lib/google/cloud/bigtable/version.rb +1 -1
- metadata +3 -3
@@ -28,12 +28,12 @@
|
|
28
28
|
"retry_params_name": "default"
|
29
29
|
},
|
30
30
|
"GetInstance": {
|
31
|
-
"timeout_millis":
|
31
|
+
"timeout_millis": 120000,
|
32
32
|
"retry_codes_name": "idempotent",
|
33
33
|
"retry_params_name": "default"
|
34
34
|
},
|
35
35
|
"ListInstances": {
|
36
|
-
"timeout_millis":
|
36
|
+
"timeout_millis": 120000,
|
37
37
|
"retry_codes_name": "idempotent",
|
38
38
|
"retry_params_name": "default"
|
39
39
|
},
|
@@ -48,8 +48,8 @@
|
|
48
48
|
"retry_params_name": "default"
|
49
49
|
},
|
50
50
|
"DeleteInstance": {
|
51
|
-
"timeout_millis":
|
52
|
-
"retry_codes_name": "
|
51
|
+
"timeout_millis": 150000,
|
52
|
+
"retry_codes_name": "non_idempotent",
|
53
53
|
"retry_params_name": "default"
|
54
54
|
},
|
55
55
|
"CreateCluster": {
|
@@ -58,12 +58,12 @@
|
|
58
58
|
"retry_params_name": "default"
|
59
59
|
},
|
60
60
|
"GetCluster": {
|
61
|
-
"timeout_millis":
|
61
|
+
"timeout_millis": 120000,
|
62
62
|
"retry_codes_name": "idempotent",
|
63
63
|
"retry_params_name": "default"
|
64
64
|
},
|
65
65
|
"ListClusters": {
|
66
|
-
"timeout_millis":
|
66
|
+
"timeout_millis": 120000,
|
67
67
|
"retry_codes_name": "idempotent",
|
68
68
|
"retry_params_name": "default"
|
69
69
|
},
|
@@ -73,47 +73,47 @@
|
|
73
73
|
"retry_params_name": "default"
|
74
74
|
},
|
75
75
|
"DeleteCluster": {
|
76
|
-
"timeout_millis":
|
77
|
-
"retry_codes_name": "
|
76
|
+
"timeout_millis": 120000,
|
77
|
+
"retry_codes_name": "non_idempotent",
|
78
78
|
"retry_params_name": "default"
|
79
79
|
},
|
80
80
|
"CreateAppProfile": {
|
81
|
-
"timeout_millis":
|
81
|
+
"timeout_millis": 120000,
|
82
82
|
"retry_codes_name": "non_idempotent",
|
83
83
|
"retry_params_name": "default"
|
84
84
|
},
|
85
85
|
"GetAppProfile": {
|
86
|
-
"timeout_millis":
|
86
|
+
"timeout_millis": 120000,
|
87
87
|
"retry_codes_name": "idempotent",
|
88
88
|
"retry_params_name": "default"
|
89
89
|
},
|
90
90
|
"ListAppProfiles": {
|
91
|
-
"timeout_millis":
|
91
|
+
"timeout_millis": 120000,
|
92
92
|
"retry_codes_name": "idempotent",
|
93
93
|
"retry_params_name": "default"
|
94
94
|
},
|
95
95
|
"UpdateAppProfile": {
|
96
|
-
"timeout_millis":
|
96
|
+
"timeout_millis": 120000,
|
97
97
|
"retry_codes_name": "idempotent",
|
98
98
|
"retry_params_name": "default"
|
99
99
|
},
|
100
100
|
"DeleteAppProfile": {
|
101
|
-
"timeout_millis":
|
101
|
+
"timeout_millis": 120000,
|
102
102
|
"retry_codes_name": "non_idempotent",
|
103
103
|
"retry_params_name": "default"
|
104
104
|
},
|
105
105
|
"GetIamPolicy": {
|
106
|
-
"timeout_millis":
|
106
|
+
"timeout_millis": 120000,
|
107
107
|
"retry_codes_name": "idempotent",
|
108
108
|
"retry_params_name": "default"
|
109
109
|
},
|
110
110
|
"SetIamPolicy": {
|
111
|
-
"timeout_millis":
|
111
|
+
"timeout_millis": 120000,
|
112
112
|
"retry_codes_name": "non_idempotent",
|
113
113
|
"retry_params_name": "default"
|
114
114
|
},
|
115
115
|
"TestIamPermissions": {
|
116
|
-
"timeout_millis":
|
116
|
+
"timeout_millis": 120000,
|
117
117
|
"retry_codes_name": "idempotent",
|
118
118
|
"retry_params_name": "default"
|
119
119
|
}
|
@@ -393,10 +393,10 @@ module Google
|
|
393
393
|
#
|
394
394
|
# @param parent [String]
|
395
395
|
# The unique name of the instance in which to create the table.
|
396
|
-
# Values are of the form
|
396
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
397
397
|
# @param table_id [String]
|
398
398
|
# The name by which the new table should be referred to within the parent
|
399
|
-
# instance, e.g.,
|
399
|
+
# instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
400
400
|
# @param table [Google::Bigtable::Admin::V2::Table | Hash]
|
401
401
|
# The Table to create.
|
402
402
|
# A hash of the same form as `Google::Bigtable::Admin::V2::Table`
|
@@ -404,20 +404,20 @@ module Google
|
|
404
404
|
# @param initial_splits [Array<Google::Bigtable::Admin::V2::CreateTableRequest::Split | Hash>]
|
405
405
|
# The optional list of row keys that will be used to initially split the
|
406
406
|
# table into several tablets (tablets are similar to HBase regions).
|
407
|
-
# Given two split keys,
|
408
|
-
# spanning the key ranges:
|
407
|
+
# Given two split keys, `s1` and `s2`, three tablets will be created,
|
408
|
+
# spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
|
409
409
|
#
|
410
410
|
# Example:
|
411
411
|
#
|
412
|
-
# * Row keys :=
|
413
|
-
#
|
414
|
-
# * initial_split_keys :=
|
412
|
+
# * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
|
413
|
+
# `"other", "zz"]`
|
414
|
+
# * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
|
415
415
|
# * Key assignment:
|
416
|
-
# * Tablet 1
|
417
|
-
# * Tablet 2
|
418
|
-
# * Tablet 3
|
419
|
-
# * Tablet 4
|
420
|
-
# * Tablet 5
|
416
|
+
# * Tablet 1 `[, apple) => {"a"}.`
|
417
|
+
# * Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
|
418
|
+
# * Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
|
419
|
+
# * Tablet 4 `[customer_2, other) => {"customer_2"}.`
|
420
|
+
# * Tablet 5 `[other, ) => {"other", "zz"}.`
|
421
421
|
# A hash of the same form as `Google::Bigtable::Admin::V2::CreateTableRequest::Split`
|
422
422
|
# can also be provided.
|
423
423
|
# @param options [Google::Gax::CallOptions]
|
@@ -434,10 +434,10 @@ module Google
|
|
434
434
|
# bigtable_table_admin_client = Google::Cloud::Bigtable::Admin::BigtableTableAdmin.new(version: :v2)
|
435
435
|
# formatted_parent = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdminClient.instance_path("[PROJECT]", "[INSTANCE]")
|
436
436
|
#
|
437
|
-
# # TODO: Initialize
|
437
|
+
# # TODO: Initialize `table_id`:
|
438
438
|
# table_id = ''
|
439
439
|
#
|
440
|
-
# # TODO: Initialize
|
440
|
+
# # TODO: Initialize `table`:
|
441
441
|
# table = {}
|
442
442
|
# response = bigtable_table_admin_client.create_table(formatted_parent, table_id, table)
|
443
443
|
|
@@ -469,15 +469,15 @@ module Google
|
|
469
469
|
#
|
470
470
|
# @param parent [String]
|
471
471
|
# The unique name of the instance in which to create the table.
|
472
|
-
# Values are of the form
|
472
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
473
473
|
# @param table_id [String]
|
474
474
|
# The name by which the new table should be referred to within the parent
|
475
|
-
# instance, e.g.,
|
475
|
+
# instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
476
476
|
# @param source_snapshot [String]
|
477
477
|
# The unique name of the snapshot from which to restore the table. The
|
478
478
|
# snapshot and the table must be in the same instance.
|
479
479
|
# Values are of the form
|
480
|
-
#
|
480
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
481
481
|
# @param options [Google::Gax::CallOptions]
|
482
482
|
# Overrides the default settings for this call, e.g, timeout,
|
483
483
|
# retries, etc.
|
@@ -489,10 +489,10 @@ module Google
|
|
489
489
|
# bigtable_table_admin_client = Google::Cloud::Bigtable::Admin::BigtableTableAdmin.new(version: :v2)
|
490
490
|
# formatted_parent = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdminClient.instance_path("[PROJECT]", "[INSTANCE]")
|
491
491
|
#
|
492
|
-
# # TODO: Initialize
|
492
|
+
# # TODO: Initialize `table_id`:
|
493
493
|
# table_id = ''
|
494
494
|
#
|
495
|
-
# # TODO: Initialize
|
495
|
+
# # TODO: Initialize `source_snapshot`:
|
496
496
|
# source_snapshot = ''
|
497
497
|
#
|
498
498
|
# # Register a callback during the method call.
|
@@ -548,10 +548,10 @@ module Google
|
|
548
548
|
#
|
549
549
|
# @param parent [String]
|
550
550
|
# The unique name of the instance for which tables should be listed.
|
551
|
-
# Values are of the form
|
551
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
552
552
|
# @param view [Google::Bigtable::Admin::V2::Table::View]
|
553
553
|
# The view to be applied to the returned tables' fields.
|
554
|
-
# Defaults to
|
554
|
+
# Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
|
555
555
|
# @param page_size [Integer]
|
556
556
|
# Maximum number of results per page.
|
557
557
|
# CURRENTLY UNIMPLEMENTED AND IGNORED.
|
@@ -606,10 +606,10 @@ module Google
|
|
606
606
|
# @param name [String]
|
607
607
|
# The unique name of the requested table.
|
608
608
|
# Values are of the form
|
609
|
-
#
|
609
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
610
610
|
# @param view [Google::Bigtable::Admin::V2::Table::View]
|
611
611
|
# The view to be applied to the returned table's fields.
|
612
|
-
# Defaults to
|
612
|
+
# Defaults to `SCHEMA_VIEW` if unspecified.
|
613
613
|
# @param options [Google::Gax::CallOptions]
|
614
614
|
# Overrides the default settings for this call, e.g, timeout,
|
615
615
|
# retries, etc.
|
@@ -643,7 +643,7 @@ module Google
|
|
643
643
|
# @param name [String]
|
644
644
|
# The unique name of the table to be deleted.
|
645
645
|
# Values are of the form
|
646
|
-
#
|
646
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
647
647
|
# @param options [Google::Gax::CallOptions]
|
648
648
|
# Overrides the default settings for this call, e.g, timeout,
|
649
649
|
# retries, etc.
|
@@ -678,7 +678,7 @@ module Google
|
|
678
678
|
# @param name [String]
|
679
679
|
# The unique name of the table whose families should be modified.
|
680
680
|
# Values are of the form
|
681
|
-
#
|
681
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
682
682
|
# @param modifications [Array<Google::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification | Hash>]
|
683
683
|
# Modifications to be atomically applied to the specified table's families.
|
684
684
|
# Entries are applied in order, meaning that earlier modifications can be
|
@@ -700,7 +700,7 @@ module Google
|
|
700
700
|
# bigtable_table_admin_client = Google::Cloud::Bigtable::Admin::BigtableTableAdmin.new(version: :v2)
|
701
701
|
# formatted_name = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdminClient.table_path("[PROJECT]", "[INSTANCE]", "[TABLE]")
|
702
702
|
#
|
703
|
-
# # TODO: Initialize
|
703
|
+
# # TODO: Initialize `modifications`:
|
704
704
|
# modifications = []
|
705
705
|
# response = bigtable_table_admin_client.modify_column_families(formatted_name, modifications)
|
706
706
|
|
@@ -724,7 +724,7 @@ module Google
|
|
724
724
|
# @param name [String]
|
725
725
|
# The unique name of the table on which to drop a range of rows.
|
726
726
|
# Values are of the form
|
727
|
-
#
|
727
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
728
728
|
# @param row_key_prefix [String]
|
729
729
|
# Delete all rows that start with this row key prefix. Prefix cannot be
|
730
730
|
# zero length.
|
@@ -768,7 +768,7 @@ module Google
|
|
768
768
|
# @param name [String]
|
769
769
|
# The unique name of the Table for which to create a consistency token.
|
770
770
|
# Values are of the form
|
771
|
-
#
|
771
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
772
772
|
# @param options [Google::Gax::CallOptions]
|
773
773
|
# Overrides the default settings for this call, e.g, timeout,
|
774
774
|
# retries, etc.
|
@@ -802,7 +802,7 @@ module Google
|
|
802
802
|
# @param name [String]
|
803
803
|
# The unique name of the Table for which to check replication consistency.
|
804
804
|
# Values are of the form
|
805
|
-
#
|
805
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
806
806
|
# @param consistency_token [String]
|
807
807
|
# The token created using GenerateConsistencyToken for the Table.
|
808
808
|
# @param options [Google::Gax::CallOptions]
|
@@ -819,7 +819,7 @@ module Google
|
|
819
819
|
# bigtable_table_admin_client = Google::Cloud::Bigtable::Admin::BigtableTableAdmin.new(version: :v2)
|
820
820
|
# formatted_name = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdminClient.table_path("[PROJECT]", "[INSTANCE]", "[TABLE]")
|
821
821
|
#
|
822
|
-
# # TODO: Initialize
|
822
|
+
# # TODO: Initialize `consistency_token`:
|
823
823
|
# consistency_token = ''
|
824
824
|
# response = bigtable_table_admin_client.check_consistency(formatted_name, consistency_token)
|
825
825
|
|
@@ -848,16 +848,16 @@ module Google
|
|
848
848
|
# @param name [String]
|
849
849
|
# The unique name of the table to have the snapshot taken.
|
850
850
|
# Values are of the form
|
851
|
-
#
|
851
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
852
852
|
# @param cluster [String]
|
853
853
|
# The name of the cluster where the snapshot will be created in.
|
854
854
|
# Values are of the form
|
855
|
-
#
|
855
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
856
856
|
# @param snapshot_id [String]
|
857
857
|
# The ID by which the new snapshot should be referred to within the parent
|
858
|
-
# cluster, e.g.,
|
858
|
+
# cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
|
859
859
|
# rather than
|
860
|
-
#
|
860
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
861
861
|
# @param description [String]
|
862
862
|
# Description of the snapshot.
|
863
863
|
# @param ttl [Google::Protobuf::Duration | Hash]
|
@@ -878,13 +878,13 @@ module Google
|
|
878
878
|
# bigtable_table_admin_client = Google::Cloud::Bigtable::Admin::BigtableTableAdmin.new(version: :v2)
|
879
879
|
# formatted_name = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdminClient.table_path("[PROJECT]", "[INSTANCE]", "[TABLE]")
|
880
880
|
#
|
881
|
-
# # TODO: Initialize
|
881
|
+
# # TODO: Initialize `cluster`:
|
882
882
|
# cluster = ''
|
883
883
|
#
|
884
|
-
# # TODO: Initialize
|
884
|
+
# # TODO: Initialize `snapshot_id`:
|
885
885
|
# snapshot_id = ''
|
886
886
|
#
|
887
|
-
# # TODO: Initialize
|
887
|
+
# # TODO: Initialize `description`:
|
888
888
|
# description = ''
|
889
889
|
#
|
890
890
|
# # Register a callback during the method call.
|
@@ -951,7 +951,7 @@ module Google
|
|
951
951
|
# @param name [String]
|
952
952
|
# The unique name of the requested snapshot.
|
953
953
|
# Values are of the form
|
954
|
-
#
|
954
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
955
955
|
# @param options [Google::Gax::CallOptions]
|
956
956
|
# Overrides the default settings for this call, e.g, timeout,
|
957
957
|
# retries, etc.
|
@@ -989,9 +989,9 @@ module Google
|
|
989
989
|
# @param parent [String]
|
990
990
|
# The unique name of the cluster for which snapshots should be listed.
|
991
991
|
# Values are of the form
|
992
|
-
#
|
993
|
-
# Use
|
994
|
-
# e.g.,
|
992
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
993
|
+
# Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
|
994
|
+
# e.g., `projects/<project>/instances/<instance>/clusters/-`.
|
995
995
|
# @param page_size [Integer]
|
996
996
|
# The maximum number of resources contained in the underlying API
|
997
997
|
# response. If page streaming is performed per-resource, this
|
@@ -1053,7 +1053,7 @@ module Google
|
|
1053
1053
|
# @param name [String]
|
1054
1054
|
# The unique name of the snapshot to be deleted.
|
1055
1055
|
# Values are of the form
|
1056
|
-
#
|
1056
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
1057
1057
|
# @param options [Google::Gax::CallOptions]
|
1058
1058
|
# Overrides the default settings for this call, e.g, timeout,
|
1059
1059
|
# retries, etc.
|
@@ -17,31 +17,13 @@
|
|
17
17
|
"rpc_timeout_multiplier": 1.0,
|
18
18
|
"max_rpc_timeout_millis": 20000,
|
19
19
|
"total_timeout_millis": 600000
|
20
|
-
},
|
21
|
-
"create_table": {
|
22
|
-
"initial_retry_delay_millis": 100,
|
23
|
-
"retry_delay_multiplier": 1.3,
|
24
|
-
"max_retry_delay_millis": 60000,
|
25
|
-
"initial_rpc_timeout_millis": 130000,
|
26
|
-
"rpc_timeout_multiplier": 1.0,
|
27
|
-
"max_rpc_timeout_millis": 130000,
|
28
|
-
"total_timeout_millis": 3600000
|
29
|
-
},
|
30
|
-
"drop_row_range": {
|
31
|
-
"initial_retry_delay_millis": 100,
|
32
|
-
"retry_delay_multiplier": 1.3,
|
33
|
-
"max_retry_delay_millis": 60000,
|
34
|
-
"initial_rpc_timeout_millis": 900000,
|
35
|
-
"rpc_timeout_multiplier": 1.0,
|
36
|
-
"max_rpc_timeout_millis": 900000,
|
37
|
-
"total_timeout_millis": 3600000
|
38
20
|
}
|
39
21
|
},
|
40
22
|
"methods": {
|
41
23
|
"CreateTable": {
|
42
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 900000,
|
43
25
|
"retry_codes_name": "non_idempotent",
|
44
|
-
"retry_params_name": "
|
26
|
+
"retry_params_name": "default"
|
45
27
|
},
|
46
28
|
"CreateTableFromSnapshot": {
|
47
29
|
"timeout_millis": 60000,
|
@@ -49,29 +31,29 @@
|
|
49
31
|
"retry_params_name": "default"
|
50
32
|
},
|
51
33
|
"ListTables": {
|
52
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 120000,
|
53
35
|
"retry_codes_name": "idempotent",
|
54
36
|
"retry_params_name": "default"
|
55
37
|
},
|
56
38
|
"GetTable": {
|
57
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 120000,
|
58
40
|
"retry_codes_name": "idempotent",
|
59
41
|
"retry_params_name": "default"
|
60
42
|
},
|
61
43
|
"DeleteTable": {
|
62
|
-
"timeout_millis":
|
63
|
-
"retry_codes_name": "
|
44
|
+
"timeout_millis": 120000,
|
45
|
+
"retry_codes_name": "non_idempotent",
|
64
46
|
"retry_params_name": "default"
|
65
47
|
},
|
66
48
|
"ModifyColumnFamilies": {
|
67
|
-
"timeout_millis":
|
49
|
+
"timeout_millis": 900000,
|
68
50
|
"retry_codes_name": "non_idempotent",
|
69
51
|
"retry_params_name": "default"
|
70
52
|
},
|
71
53
|
"DropRowRange": {
|
72
54
|
"timeout_millis": 900000,
|
73
55
|
"retry_codes_name": "non_idempotent",
|
74
|
-
"retry_params_name": "
|
56
|
+
"retry_params_name": "default"
|
75
57
|
},
|
76
58
|
"GenerateConsistencyToken": {
|
77
59
|
"timeout_millis": 60000,
|
data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb
CHANGED
@@ -21,22 +21,22 @@ module Google
|
|
21
21
|
# @!attribute [rw] parent
|
22
22
|
# @return [String]
|
23
23
|
# The unique name of the project in which to create the new instance.
|
24
|
-
# Values are of the form
|
24
|
+
# Values are of the form `projects/<project>`.
|
25
25
|
# @!attribute [rw] instance_id
|
26
26
|
# @return [String]
|
27
27
|
# The ID to be used when referring to the new instance within its project,
|
28
|
-
# e.g., just
|
29
|
-
#
|
28
|
+
# e.g., just `myinstance` rather than
|
29
|
+
# `projects/myproject/instances/myinstance`.
|
30
30
|
# @!attribute [rw] instance
|
31
31
|
# @return [Google::Bigtable::Admin::V2::Instance]
|
32
32
|
# The instance to create.
|
33
|
-
# Fields marked
|
33
|
+
# Fields marked `OutputOnly` must be left blank.
|
34
34
|
# @!attribute [rw] clusters
|
35
35
|
# @return [Hash{String => Google::Bigtable::Admin::V2::Cluster}]
|
36
36
|
# The clusters to be created within the instance, mapped by desired
|
37
|
-
# cluster ID, e.g., just
|
38
|
-
#
|
39
|
-
# Fields marked
|
37
|
+
# cluster ID, e.g., just `mycluster` rather than
|
38
|
+
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
39
|
+
# Fields marked `OutputOnly` must be left blank.
|
40
40
|
# Currently, at most two clusters can be specified.
|
41
41
|
class CreateInstanceRequest; end
|
42
42
|
|
@@ -44,14 +44,14 @@ module Google
|
|
44
44
|
# @!attribute [rw] name
|
45
45
|
# @return [String]
|
46
46
|
# The unique name of the requested instance. Values are of the form
|
47
|
-
#
|
47
|
+
# `projects/<project>/instances/<instance>`.
|
48
48
|
class GetInstanceRequest; end
|
49
49
|
|
50
50
|
# Request message for BigtableInstanceAdmin.ListInstances.
|
51
51
|
# @!attribute [rw] parent
|
52
52
|
# @return [String]
|
53
53
|
# The unique name of the project for which a list of instances is requested.
|
54
|
-
# Values are of the form
|
54
|
+
# Values are of the form `projects/<project>`.
|
55
55
|
# @!attribute [rw] page_token
|
56
56
|
# @return [String]
|
57
57
|
# DEPRECATED: This field is unused and ignored.
|
@@ -66,9 +66,9 @@ module Google
|
|
66
66
|
# Locations from which Instance information could not be retrieved,
|
67
67
|
# due to an outage or some other transient condition.
|
68
68
|
# Instances whose Clusters are all in one of the failed locations
|
69
|
-
# may be missing from
|
69
|
+
# may be missing from `instances`, and Instances with at least one
|
70
70
|
# Cluster in a failed location may only have partial information returned.
|
71
|
-
# Values are of the form
|
71
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
72
72
|
# @!attribute [rw] next_page_token
|
73
73
|
# @return [String]
|
74
74
|
# DEPRECATED: This field is unused and ignored.
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# @!attribute [rw] name
|
89
89
|
# @return [String]
|
90
90
|
# The unique name of the instance to be deleted.
|
91
|
-
# Values are of the form
|
91
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
92
92
|
class DeleteInstanceRequest; end
|
93
93
|
|
94
94
|
# Request message for BigtableInstanceAdmin.CreateCluster.
|
@@ -96,32 +96,32 @@ module Google
|
|
96
96
|
# @return [String]
|
97
97
|
# The unique name of the instance in which to create the new cluster.
|
98
98
|
# Values are of the form
|
99
|
-
#
|
99
|
+
# `projects/<project>/instances/<instance>`.
|
100
100
|
# @!attribute [rw] cluster_id
|
101
101
|
# @return [String]
|
102
102
|
# The ID to be used when referring to the new cluster within its instance,
|
103
|
-
# e.g., just
|
104
|
-
#
|
103
|
+
# e.g., just `mycluster` rather than
|
104
|
+
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
105
105
|
# @!attribute [rw] cluster
|
106
106
|
# @return [Google::Bigtable::Admin::V2::Cluster]
|
107
107
|
# The cluster to be created.
|
108
|
-
# Fields marked
|
108
|
+
# Fields marked `OutputOnly` must be left blank.
|
109
109
|
class CreateClusterRequest; end
|
110
110
|
|
111
111
|
# Request message for BigtableInstanceAdmin.GetCluster.
|
112
112
|
# @!attribute [rw] name
|
113
113
|
# @return [String]
|
114
114
|
# The unique name of the requested cluster. Values are of the form
|
115
|
-
#
|
115
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
116
116
|
class GetClusterRequest; end
|
117
117
|
|
118
118
|
# Request message for BigtableInstanceAdmin.ListClusters.
|
119
119
|
# @!attribute [rw] parent
|
120
120
|
# @return [String]
|
121
121
|
# The unique name of the instance for which a list of clusters is requested.
|
122
|
-
# Values are of the form
|
123
|
-
# Use
|
124
|
-
# e.g.,
|
122
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
123
|
+
# Use `<instance> = '-'` to list Clusters for all Instances in a project,
|
124
|
+
# e.g., `projects/myproject/instances/-`.
|
125
125
|
# @!attribute [rw] page_token
|
126
126
|
# @return [String]
|
127
127
|
# DEPRECATED: This field is unused and ignored.
|
@@ -135,9 +135,9 @@ module Google
|
|
135
135
|
# @return [Array<String>]
|
136
136
|
# Locations from which Cluster information could not be retrieved,
|
137
137
|
# due to an outage or some other transient condition.
|
138
|
-
# Clusters from these locations may be missing from
|
138
|
+
# Clusters from these locations may be missing from `clusters`,
|
139
139
|
# or may only have partial information returned.
|
140
|
-
# Values are of the form
|
140
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
141
141
|
# @!attribute [rw] next_page_token
|
142
142
|
# @return [String]
|
143
143
|
# DEPRECATED: This field is unused and ignored.
|
@@ -147,7 +147,7 @@ module Google
|
|
147
147
|
# @!attribute [rw] name
|
148
148
|
# @return [String]
|
149
149
|
# The unique name of the cluster to be deleted. Values are of the form
|
150
|
-
#
|
150
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
151
151
|
class DeleteClusterRequest; end
|
152
152
|
|
153
153
|
# The metadata for the Operation returned by CreateInstance.
|
@@ -203,16 +203,16 @@ module Google
|
|
203
203
|
# @return [String]
|
204
204
|
# The unique name of the instance in which to create the new app profile.
|
205
205
|
# Values are of the form
|
206
|
-
#
|
206
|
+
# `projects/<project>/instances/<instance>`.
|
207
207
|
# @!attribute [rw] app_profile_id
|
208
208
|
# @return [String]
|
209
209
|
# The ID to be used when referring to the new app profile within its
|
210
|
-
# instance, e.g., just
|
211
|
-
#
|
210
|
+
# instance, e.g., just `myprofile` rather than
|
211
|
+
# `projects/myproject/instances/myinstance/appProfiles/myprofile`.
|
212
212
|
# @!attribute [rw] app_profile
|
213
213
|
# @return [Google::Bigtable::Admin::V2::AppProfile]
|
214
214
|
# The app profile to be created.
|
215
|
-
# Fields marked
|
215
|
+
# Fields marked `OutputOnly` will be ignored.
|
216
216
|
# @!attribute [rw] ignore_warnings
|
217
217
|
# @return [true, false]
|
218
218
|
# If true, ignore safety checks when creating the app profile.
|
@@ -222,7 +222,7 @@ module Google
|
|
222
222
|
# @!attribute [rw] name
|
223
223
|
# @return [String]
|
224
224
|
# The unique name of the requested app profile. Values are of the form
|
225
|
-
#
|
225
|
+
# `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
|
226
226
|
class GetAppProfileRequest; end
|
227
227
|
|
228
228
|
# Request message for BigtableInstanceAdmin.ListAppProfiles.
|
@@ -230,16 +230,16 @@ module Google
|
|
230
230
|
# @return [String]
|
231
231
|
# The unique name of the instance for which a list of app profiles is
|
232
232
|
# requested. Values are of the form
|
233
|
-
#
|
234
|
-
# Use
|
235
|
-
# e.g.,
|
233
|
+
# `projects/<project>/instances/<instance>`.
|
234
|
+
# Use `<instance> = '-'` to list AppProfiles for all Instances in a project,
|
235
|
+
# e.g., `projects/myproject/instances/-`.
|
236
236
|
# @!attribute [rw] page_size
|
237
237
|
# @return [Integer]
|
238
238
|
# Maximum number of results per page.
|
239
239
|
# CURRENTLY UNIMPLEMENTED AND IGNORED.
|
240
240
|
# @!attribute [rw] page_token
|
241
241
|
# @return [String]
|
242
|
-
# The value of
|
242
|
+
# The value of `next_page_token` returned by a previous call.
|
243
243
|
class ListAppProfilesRequest; end
|
244
244
|
|
245
245
|
# Response message for BigtableInstanceAdmin.ListAppProfiles.
|
@@ -249,14 +249,14 @@ module Google
|
|
249
249
|
# @!attribute [rw] next_page_token
|
250
250
|
# @return [String]
|
251
251
|
# Set if not all app profiles could be returned in a single response.
|
252
|
-
# Pass this value to
|
252
|
+
# Pass this value to `page_token` in another request to get the next
|
253
253
|
# page of results.
|
254
254
|
# @!attribute [rw] failed_locations
|
255
255
|
# @return [Array<String>]
|
256
256
|
# Locations from which AppProfile information could not be retrieved,
|
257
257
|
# due to an outage or some other transient condition.
|
258
|
-
# AppProfiles from these locations may be missing from
|
259
|
-
# Values are of the form
|
258
|
+
# AppProfiles from these locations may be missing from `app_profiles`.
|
259
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
260
260
|
class ListAppProfilesResponse; end
|
261
261
|
|
262
262
|
# Request message for BigtableInstanceAdmin.UpdateAppProfile.
|
@@ -276,7 +276,7 @@ module Google
|
|
276
276
|
# @!attribute [rw] name
|
277
277
|
# @return [String]
|
278
278
|
# The unique name of the app profile to be deleted. Values are of the form
|
279
|
-
#
|
279
|
+
# `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
|
280
280
|
# @!attribute [rw] ignore_warnings
|
281
281
|
# @return [true, false]
|
282
282
|
# If true, ignore safety checks when deleting the app profile.
|