google-cloud-bigtable-admin-v2 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +1 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +13 -49
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +11 -41
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/type/expr.rb +35 -12
- 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: 9d756570ac07b8e6285694427bfd7f4ea9f72e7fe7a2acbb1243d635d3edb1af
|
|
4
|
+
data.tar.gz: bfea719598d85c7bfb7cbc75580661eabab1e16b03be96a038d2908918a43521
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2164b00130261e820518aa7911bfcab17216463074e8aa93da2f63ff247e98d62bf207987c034c8d73944a3cc8ef307229e1f0b00927d2e24e2ffd03d5f12f70
|
|
7
|
+
data.tar.gz: 409912afb690cbd3c83cfd81dab932fb33ec39fa83358550d5b57b3454f7779279fda08a47596eca55610c7043142c36f85d814ef0e16d0415bd7173d135ef92
|
data/AUTHENTICATION.md
CHANGED
|
@@ -66,11 +66,11 @@ The environment variables that google-cloud-bigtable-admin-v2
|
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
|
67
67
|
{::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Credentials}):
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
* `BIGTABLE_CREDENTIALS` - Path to JSON file, or JSON contents
|
|
70
|
+
* `BIGTABLE_KEYFILE` - Path to JSON file, or JSON contents
|
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
|
74
74
|
|
|
75
75
|
```ruby
|
|
76
76
|
require "google/cloud/bigtable/admin/v2"
|
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
|
|
82
82
|
|
|
83
83
|
### Configuration
|
|
84
84
|
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
|
86
|
-
environment
|
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
|
87
87
|
|
|
88
88
|
```ruby
|
|
89
89
|
require "google/cloud/bigtable/admin/v2"
|
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
|
|
93
93
|
end
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
Or
|
|
96
|
+
Or globally for all clients:
|
|
97
97
|
|
|
98
98
|
```ruby
|
|
99
99
|
require "google/cloud/bigtable/admin/v2"
|
data/README.md
CHANGED
|
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
33
33
|
require "google/cloud/bigtable/admin/v2"
|
|
34
34
|
|
|
35
35
|
client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
|
36
|
-
request =
|
|
36
|
+
request = ::Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest.new # (request fields as keyword arguments...)
|
|
37
37
|
response = client.create_instance request
|
|
38
38
|
```
|
|
39
39
|
|
|
@@ -72,34 +72,22 @@ module Google
|
|
|
72
72
|
|
|
73
73
|
default_config.rpcs.get_instance.timeout = 60.0
|
|
74
74
|
default_config.rpcs.get_instance.retry_policy = {
|
|
75
|
-
initial_delay: 1.0,
|
|
76
|
-
max_delay: 60.0,
|
|
77
|
-
multiplier: 2,
|
|
78
|
-
retry_codes: [14, 4]
|
|
75
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
79
76
|
}
|
|
80
77
|
|
|
81
78
|
default_config.rpcs.list_instances.timeout = 60.0
|
|
82
79
|
default_config.rpcs.list_instances.retry_policy = {
|
|
83
|
-
initial_delay: 1.0,
|
|
84
|
-
max_delay: 60.0,
|
|
85
|
-
multiplier: 2,
|
|
86
|
-
retry_codes: [14, 4]
|
|
80
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
87
81
|
}
|
|
88
82
|
|
|
89
83
|
default_config.rpcs.update_instance.timeout = 60.0
|
|
90
84
|
default_config.rpcs.update_instance.retry_policy = {
|
|
91
|
-
initial_delay: 1.0,
|
|
92
|
-
max_delay: 60.0,
|
|
93
|
-
multiplier: 2,
|
|
94
|
-
retry_codes: [14, 4]
|
|
85
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
95
86
|
}
|
|
96
87
|
|
|
97
88
|
default_config.rpcs.partial_update_instance.timeout = 60.0
|
|
98
89
|
default_config.rpcs.partial_update_instance.retry_policy = {
|
|
99
|
-
initial_delay: 1.0,
|
|
100
|
-
max_delay: 60.0,
|
|
101
|
-
multiplier: 2,
|
|
102
|
-
retry_codes: [14, 4]
|
|
90
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
103
91
|
}
|
|
104
92
|
|
|
105
93
|
default_config.rpcs.delete_instance.timeout = 60.0
|
|
@@ -108,26 +96,17 @@ module Google
|
|
|
108
96
|
|
|
109
97
|
default_config.rpcs.get_cluster.timeout = 60.0
|
|
110
98
|
default_config.rpcs.get_cluster.retry_policy = {
|
|
111
|
-
initial_delay: 1.0,
|
|
112
|
-
max_delay: 60.0,
|
|
113
|
-
multiplier: 2,
|
|
114
|
-
retry_codes: [14, 4]
|
|
99
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
115
100
|
}
|
|
116
101
|
|
|
117
102
|
default_config.rpcs.list_clusters.timeout = 60.0
|
|
118
103
|
default_config.rpcs.list_clusters.retry_policy = {
|
|
119
|
-
initial_delay: 1.0,
|
|
120
|
-
max_delay: 60.0,
|
|
121
|
-
multiplier: 2,
|
|
122
|
-
retry_codes: [14, 4]
|
|
104
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
123
105
|
}
|
|
124
106
|
|
|
125
107
|
default_config.rpcs.update_cluster.timeout = 60.0
|
|
126
108
|
default_config.rpcs.update_cluster.retry_policy = {
|
|
127
|
-
initial_delay: 1.0,
|
|
128
|
-
max_delay: 60.0,
|
|
129
|
-
multiplier: 2,
|
|
130
|
-
retry_codes: [14, 4]
|
|
109
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
131
110
|
}
|
|
132
111
|
|
|
133
112
|
default_config.rpcs.delete_cluster.timeout = 60.0
|
|
@@ -136,46 +115,31 @@ module Google
|
|
|
136
115
|
|
|
137
116
|
default_config.rpcs.get_app_profile.timeout = 60.0
|
|
138
117
|
default_config.rpcs.get_app_profile.retry_policy = {
|
|
139
|
-
initial_delay: 1.0,
|
|
140
|
-
max_delay: 60.0,
|
|
141
|
-
multiplier: 2,
|
|
142
|
-
retry_codes: [14, 4]
|
|
118
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
143
119
|
}
|
|
144
120
|
|
|
145
121
|
default_config.rpcs.list_app_profiles.timeout = 60.0
|
|
146
122
|
default_config.rpcs.list_app_profiles.retry_policy = {
|
|
147
|
-
initial_delay: 1.0,
|
|
148
|
-
max_delay: 60.0,
|
|
149
|
-
multiplier: 2,
|
|
150
|
-
retry_codes: [14, 4]
|
|
123
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
151
124
|
}
|
|
152
125
|
|
|
153
126
|
default_config.rpcs.update_app_profile.timeout = 60.0
|
|
154
127
|
default_config.rpcs.update_app_profile.retry_policy = {
|
|
155
|
-
initial_delay: 1.0,
|
|
156
|
-
max_delay: 60.0,
|
|
157
|
-
multiplier: 2,
|
|
158
|
-
retry_codes: [14, 4]
|
|
128
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
159
129
|
}
|
|
160
130
|
|
|
161
131
|
default_config.rpcs.delete_app_profile.timeout = 60.0
|
|
162
132
|
|
|
163
133
|
default_config.rpcs.get_iam_policy.timeout = 60.0
|
|
164
134
|
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
165
|
-
initial_delay: 1.0,
|
|
166
|
-
max_delay: 60.0,
|
|
167
|
-
multiplier: 2,
|
|
168
|
-
retry_codes: [14, 4]
|
|
135
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
169
136
|
}
|
|
170
137
|
|
|
171
138
|
default_config.rpcs.set_iam_policy.timeout = 60.0
|
|
172
139
|
|
|
173
140
|
default_config.rpcs.test_iam_permissions.timeout = 60.0
|
|
174
141
|
default_config.rpcs.test_iam_permissions.retry_policy = {
|
|
175
|
-
initial_delay: 1.0,
|
|
176
|
-
max_delay: 60.0,
|
|
177
|
-
multiplier: 2,
|
|
178
|
-
retry_codes: [14, 4]
|
|
142
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
179
143
|
}
|
|
180
144
|
|
|
181
145
|
default_config
|
|
@@ -246,7 +210,7 @@ module Google
|
|
|
246
210
|
!@config.endpoint.split(".").first.include?("-")
|
|
247
211
|
credentials ||= Credentials.default scope: @config.scope,
|
|
248
212
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
249
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
213
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
|
250
214
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
251
215
|
end
|
|
252
216
|
@quota_project_id = @config.quota_project
|
|
@@ -83,7 +83,7 @@ module Google
|
|
|
83
83
|
# Create credentials
|
|
84
84
|
credentials = @config.credentials
|
|
85
85
|
credentials ||= Credentials.default scope: @config.scope
|
|
86
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
86
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
|
87
87
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
88
88
|
end
|
|
89
89
|
@quota_project_id = @config.quota_project
|
|
@@ -397,9 +397,9 @@ module Google
|
|
|
397
397
|
end
|
|
398
398
|
|
|
399
399
|
##
|
|
400
|
-
# Waits
|
|
401
|
-
#
|
|
402
|
-
#
|
|
400
|
+
# Waits until the specified long-running operation is done or reaches at most
|
|
401
|
+
# a specified timeout, returning the latest state. If the operation is
|
|
402
|
+
# already done, the latest state is immediately returned. If the timeout
|
|
403
403
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
|
404
404
|
# timeout is used. If the server does not support this method, it returns
|
|
405
405
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -74,18 +74,12 @@ module Google
|
|
|
74
74
|
|
|
75
75
|
default_config.rpcs.list_tables.timeout = 60.0
|
|
76
76
|
default_config.rpcs.list_tables.retry_policy = {
|
|
77
|
-
initial_delay: 1.0,
|
|
78
|
-
max_delay: 60.0,
|
|
79
|
-
multiplier: 2,
|
|
80
|
-
retry_codes: [14, 4]
|
|
77
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
81
78
|
}
|
|
82
79
|
|
|
83
80
|
default_config.rpcs.get_table.timeout = 60.0
|
|
84
81
|
default_config.rpcs.get_table.retry_policy = {
|
|
85
|
-
initial_delay: 1.0,
|
|
86
|
-
max_delay: 60.0,
|
|
87
|
-
multiplier: 2,
|
|
88
|
-
retry_codes: [14, 4]
|
|
82
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
89
83
|
}
|
|
90
84
|
|
|
91
85
|
default_config.rpcs.delete_table.timeout = 60.0
|
|
@@ -96,34 +90,22 @@ module Google
|
|
|
96
90
|
|
|
97
91
|
default_config.rpcs.generate_consistency_token.timeout = 60.0
|
|
98
92
|
default_config.rpcs.generate_consistency_token.retry_policy = {
|
|
99
|
-
initial_delay: 1.0,
|
|
100
|
-
max_delay: 60.0,
|
|
101
|
-
multiplier: 2,
|
|
102
|
-
retry_codes: [14, 4]
|
|
93
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
103
94
|
}
|
|
104
95
|
|
|
105
96
|
default_config.rpcs.check_consistency.timeout = 60.0
|
|
106
97
|
default_config.rpcs.check_consistency.retry_policy = {
|
|
107
|
-
initial_delay: 1.0,
|
|
108
|
-
max_delay: 60.0,
|
|
109
|
-
multiplier: 2,
|
|
110
|
-
retry_codes: [14, 4]
|
|
98
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
111
99
|
}
|
|
112
100
|
|
|
113
101
|
default_config.rpcs.get_snapshot.timeout = 60.0
|
|
114
102
|
default_config.rpcs.get_snapshot.retry_policy = {
|
|
115
|
-
initial_delay: 1.0,
|
|
116
|
-
max_delay: 60.0,
|
|
117
|
-
multiplier: 2,
|
|
118
|
-
retry_codes: [14, 4]
|
|
103
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
119
104
|
}
|
|
120
105
|
|
|
121
106
|
default_config.rpcs.list_snapshots.timeout = 60.0
|
|
122
107
|
default_config.rpcs.list_snapshots.retry_policy = {
|
|
123
|
-
initial_delay: 1.0,
|
|
124
|
-
max_delay: 60.0,
|
|
125
|
-
multiplier: 2,
|
|
126
|
-
retry_codes: [14, 4]
|
|
108
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
127
109
|
}
|
|
128
110
|
|
|
129
111
|
default_config.rpcs.delete_snapshot.timeout = 60.0
|
|
@@ -132,10 +114,7 @@ module Google
|
|
|
132
114
|
|
|
133
115
|
default_config.rpcs.get_backup.timeout = 60.0
|
|
134
116
|
default_config.rpcs.get_backup.retry_policy = {
|
|
135
|
-
initial_delay: 1.0,
|
|
136
|
-
max_delay: 60.0,
|
|
137
|
-
multiplier: 2,
|
|
138
|
-
retry_codes: [14, 4]
|
|
117
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
139
118
|
}
|
|
140
119
|
|
|
141
120
|
default_config.rpcs.update_backup.timeout = 60.0
|
|
@@ -144,30 +123,21 @@ module Google
|
|
|
144
123
|
|
|
145
124
|
default_config.rpcs.list_backups.timeout = 60.0
|
|
146
125
|
default_config.rpcs.list_backups.retry_policy = {
|
|
147
|
-
initial_delay: 1.0,
|
|
148
|
-
max_delay: 60.0,
|
|
149
|
-
multiplier: 2,
|
|
150
|
-
retry_codes: [14, 4]
|
|
126
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
151
127
|
}
|
|
152
128
|
|
|
153
129
|
default_config.rpcs.restore_table.timeout = 60.0
|
|
154
130
|
|
|
155
131
|
default_config.rpcs.get_iam_policy.timeout = 60.0
|
|
156
132
|
default_config.rpcs.get_iam_policy.retry_policy = {
|
|
157
|
-
initial_delay: 1.0,
|
|
158
|
-
max_delay: 60.0,
|
|
159
|
-
multiplier: 2,
|
|
160
|
-
retry_codes: [14, 4]
|
|
133
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
161
134
|
}
|
|
162
135
|
|
|
163
136
|
default_config.rpcs.set_iam_policy.timeout = 60.0
|
|
164
137
|
|
|
165
138
|
default_config.rpcs.test_iam_permissions.timeout = 60.0
|
|
166
139
|
default_config.rpcs.test_iam_permissions.retry_policy = {
|
|
167
|
-
initial_delay: 1.0,
|
|
168
|
-
max_delay: 60.0,
|
|
169
|
-
multiplier: 2,
|
|
170
|
-
retry_codes: [14, 4]
|
|
140
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
|
171
141
|
}
|
|
172
142
|
|
|
173
143
|
default_config
|
|
@@ -238,7 +208,7 @@ module Google
|
|
|
238
208
|
!@config.endpoint.split(".").first.include?("-")
|
|
239
209
|
credentials ||= Credentials.default scope: @config.scope,
|
|
240
210
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
241
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
211
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
|
242
212
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
243
213
|
end
|
|
244
214
|
@quota_project_id = @config.quota_project
|
|
@@ -83,7 +83,7 @@ module Google
|
|
|
83
83
|
# Create credentials
|
|
84
84
|
credentials = @config.credentials
|
|
85
85
|
credentials ||= Credentials.default scope: @config.scope
|
|
86
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
|
86
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
|
87
87
|
credentials = Credentials.new credentials, scope: @config.scope
|
|
88
88
|
end
|
|
89
89
|
@quota_project_id = @config.quota_project
|
|
@@ -397,9 +397,9 @@ module Google
|
|
|
397
397
|
end
|
|
398
398
|
|
|
399
399
|
##
|
|
400
|
-
# Waits
|
|
401
|
-
#
|
|
402
|
-
#
|
|
400
|
+
# Waits until the specified long-running operation is done or reaches at most
|
|
401
|
+
# a specified timeout, returning the latest state. If the operation is
|
|
402
|
+
# already done, the latest state is immediately returned. If the timeout
|
|
403
403
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
|
404
404
|
# timeout is used. If the server does not support this method, it returns
|
|
405
405
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -57,9 +57,15 @@ module Google
|
|
|
57
57
|
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
|
59
59
|
# This indicates that the service may provide the elements of the list
|
|
60
|
-
# in any arbitrary
|
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
|
62
62
|
UNORDERED_LIST = 6
|
|
63
|
+
|
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
|
67
|
+
# non-empty value to expect.
|
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
|
63
69
|
end
|
|
64
70
|
end
|
|
65
71
|
end
|
|
@@ -19,30 +19,53 @@
|
|
|
19
19
|
|
|
20
20
|
module Google
|
|
21
21
|
module Type
|
|
22
|
-
# Represents
|
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
|
23
25
|
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
#
|
|
26
|
+
# Example (Comparison):
|
|
27
|
+
#
|
|
28
|
+
# title: "Summary size limit"
|
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
|
30
|
+
# expression: "document.summary.size() < 100"
|
|
31
|
+
#
|
|
32
|
+
# Example (Equality):
|
|
33
|
+
#
|
|
34
|
+
# title: "Requestor is owner"
|
|
35
|
+
# description: "Determines if requestor is the document owner"
|
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
|
37
|
+
#
|
|
38
|
+
# Example (Logic):
|
|
39
|
+
#
|
|
40
|
+
# title: "Public documents"
|
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
43
|
+
#
|
|
44
|
+
# Example (Data Manipulation):
|
|
45
|
+
#
|
|
46
|
+
# title: "Notification string"
|
|
47
|
+
# description: "Create a notification string with a timestamp."
|
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
|
49
|
+
#
|
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
|
51
|
+
# are determined by the service that evaluates it. See the service
|
|
52
|
+
# documentation for additional information.
|
|
27
53
|
# @!attribute [rw] expression
|
|
28
54
|
# @return [::String]
|
|
29
|
-
# Textual representation of an expression in
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
# The application context of the containing message determines which
|
|
33
|
-
# well-known feature set of CEL is supported.
|
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
|
56
|
+
# syntax.
|
|
34
57
|
# @!attribute [rw] title
|
|
35
58
|
# @return [::String]
|
|
36
|
-
#
|
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
|
37
60
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
38
61
|
# expression.
|
|
39
62
|
# @!attribute [rw] description
|
|
40
63
|
# @return [::String]
|
|
41
|
-
#
|
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
|
42
65
|
# describes the expression, e.g. when hovered over it in a UI.
|
|
43
66
|
# @!attribute [rw] location
|
|
44
67
|
# @return [::String]
|
|
45
|
-
#
|
|
68
|
+
# Optional. String indicating the location of the expression for error
|
|
46
69
|
# reporting, e.g. a file name and a position in the file.
|
|
47
70
|
class Expr
|
|
48
71
|
include ::Google::Protobuf::MessageExts
|
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.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|