google-cloud-datastream-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/datastream/v1/datastream/client.rb +17 -1
- data/lib/google/cloud/datastream/v1/datastream_pb.rb +2 -0
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +88 -1
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +6 -0
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +234 -8
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 152f2cb5e59e4fe07446a5b4099e9113df51b28808dfe2930ccb6fa5073fee85
|
4
|
+
data.tar.gz: 75921d356a16e659bb219ff115676916c75809f9e2f4b794fc2d03a1cfd29e01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05c18a8e4cd079e26941d2a203f6cb8306bb9d11704b8fa2a4f21b64626e7e0c4b4d74e7be53d590a24cff5bd2b2e10f4d11820bd5b53ed107dab0735b7c6691
|
7
|
+
data.tar.gz: a724ca40c93b81ac7abaf8799dffc2ef0626a6207f2f7ecd6789099f040f33639a07ae99008ea3a0ebfa5471891500ef0d9da0cbb74a78d6e976a0c8e05b26a7
|
@@ -19,6 +19,7 @@
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/datastream/v1/datastream_pb"
|
21
21
|
require "google/cloud/location"
|
22
|
+
require "google/iam/v1"
|
22
23
|
|
23
24
|
module Google
|
24
25
|
module Cloud
|
@@ -171,6 +172,12 @@ module Google
|
|
171
172
|
config.endpoint = @config.endpoint
|
172
173
|
end
|
173
174
|
|
175
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
176
|
+
config.credentials = credentials
|
177
|
+
config.quota_project = @quota_project_id
|
178
|
+
config.endpoint = @config.endpoint
|
179
|
+
end
|
180
|
+
|
174
181
|
@datastream_stub = ::Gapic::ServiceStub.new(
|
175
182
|
::Google::Cloud::Datastream::V1::Datastream::Stub,
|
176
183
|
credentials: credentials,
|
@@ -194,6 +201,13 @@ module Google
|
|
194
201
|
#
|
195
202
|
attr_reader :location_client
|
196
203
|
|
204
|
+
##
|
205
|
+
# Get the associated client for mix-in of the IAMPolicy.
|
206
|
+
#
|
207
|
+
# @return [Google::Iam::V1::IAMPolicy::Client]
|
208
|
+
#
|
209
|
+
attr_reader :iam_policy_client
|
210
|
+
|
197
211
|
# Service calls
|
198
212
|
|
199
213
|
##
|
@@ -745,7 +759,7 @@ module Google
|
|
745
759
|
# @param options [::Gapic::CallOptions, ::Hash]
|
746
760
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
747
761
|
#
|
748
|
-
# @overload discover_connection_profile(parent: nil, connection_profile: nil, connection_profile_name: nil, full_hierarchy: nil, hierarchy_depth: nil, oracle_rdbms: nil, mysql_rdbms: nil)
|
762
|
+
# @overload discover_connection_profile(parent: nil, connection_profile: nil, connection_profile_name: nil, full_hierarchy: nil, hierarchy_depth: nil, oracle_rdbms: nil, mysql_rdbms: nil, postgresql_rdbms: nil)
|
749
763
|
# Pass arguments to `discover_connection_profile` via keyword arguments. Note that at
|
750
764
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
751
765
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -766,6 +780,8 @@ module Google
|
|
766
780
|
# Oracle RDBMS to enrich with child data objects and metadata.
|
767
781
|
# @param mysql_rdbms [::Google::Cloud::Datastream::V1::MysqlRdbms, ::Hash]
|
768
782
|
# MySQL RDBMS to enrich with child data objects and metadata.
|
783
|
+
# @param postgresql_rdbms [::Google::Cloud::Datastream::V1::PostgresqlRdbms, ::Hash]
|
784
|
+
# PostgreSQL RDBMS to enrich with child data objects and metadata.
|
769
785
|
#
|
770
786
|
# @yield [response, operation] Access the result along with the RPC operation
|
771
787
|
# @yieldparam response [::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse]
|
@@ -27,12 +27,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
oneof :data_object do
|
28
28
|
optional :oracle_rdbms, :message, 100, "google.cloud.datastream.v1.OracleRdbms"
|
29
29
|
optional :mysql_rdbms, :message, 101, "google.cloud.datastream.v1.MysqlRdbms"
|
30
|
+
optional :postgresql_rdbms, :message, 102, "google.cloud.datastream.v1.PostgresqlRdbms"
|
30
31
|
end
|
31
32
|
end
|
32
33
|
add_message "google.cloud.datastream.v1.DiscoverConnectionProfileResponse" do
|
33
34
|
oneof :data_object do
|
34
35
|
optional :oracle_rdbms, :message, 100, "google.cloud.datastream.v1.OracleRdbms"
|
35
36
|
optional :mysql_rdbms, :message, 101, "google.cloud.datastream.v1.MysqlRdbms"
|
37
|
+
optional :postgresql_rdbms, :message, 102, "google.cloud.datastream.v1.PostgresqlRdbms"
|
36
38
|
end
|
37
39
|
end
|
38
40
|
add_message "google.cloud.datastream.v1.FetchStaticIpsRequest" do
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
6
|
require 'google/api/field_behavior_pb'
|
8
7
|
require 'google/api/resource_pb'
|
9
8
|
require 'google/protobuf/duration_pb'
|
@@ -26,10 +25,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
25
|
optional :password, :string, 4
|
27
26
|
optional :ssl_config, :message, 5, "google.cloud.datastream.v1.MysqlSslConfig"
|
28
27
|
end
|
28
|
+
add_message "google.cloud.datastream.v1.PostgresqlProfile" do
|
29
|
+
optional :hostname, :string, 1
|
30
|
+
optional :port, :int32, 2
|
31
|
+
optional :username, :string, 3
|
32
|
+
optional :password, :string, 4
|
33
|
+
optional :database, :string, 5
|
34
|
+
end
|
29
35
|
add_message "google.cloud.datastream.v1.GcsProfile" do
|
30
36
|
optional :bucket, :string, 1
|
31
37
|
optional :root_path, :string, 2
|
32
38
|
end
|
39
|
+
add_message "google.cloud.datastream.v1.BigQueryProfile" do
|
40
|
+
end
|
33
41
|
add_message "google.cloud.datastream.v1.StaticServiceIpConnectivity" do
|
34
42
|
end
|
35
43
|
add_message "google.cloud.datastream.v1.ForwardSshTunnelConnectivity" do
|
@@ -93,6 +101,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
93
101
|
optional :oracle_profile, :message, 100, "google.cloud.datastream.v1.OracleProfile"
|
94
102
|
optional :gcs_profile, :message, 101, "google.cloud.datastream.v1.GcsProfile"
|
95
103
|
optional :mysql_profile, :message, 102, "google.cloud.datastream.v1.MysqlProfile"
|
104
|
+
optional :bigquery_profile, :message, 103, "google.cloud.datastream.v1.BigQueryProfile"
|
105
|
+
optional :postgresql_profile, :message, 104, "google.cloud.datastream.v1.PostgresqlProfile"
|
96
106
|
end
|
97
107
|
oneof :connectivity do
|
98
108
|
optional :static_service_ip_connectivity, :message, 200, "google.cloud.datastream.v1.StaticServiceIpConnectivity"
|
@@ -125,6 +135,42 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
125
135
|
add_message "google.cloud.datastream.v1.OracleSourceConfig" do
|
126
136
|
optional :include_objects, :message, 1, "google.cloud.datastream.v1.OracleRdbms"
|
127
137
|
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.OracleRdbms"
|
138
|
+
optional :max_concurrent_cdc_tasks, :int32, 3
|
139
|
+
oneof :large_objects_handling do
|
140
|
+
optional :drop_large_objects, :message, 100, "google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects"
|
141
|
+
optional :stream_large_objects, :message, 102, "google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects"
|
142
|
+
end
|
143
|
+
end
|
144
|
+
add_message "google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects" do
|
145
|
+
end
|
146
|
+
add_message "google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects" do
|
147
|
+
end
|
148
|
+
add_message "google.cloud.datastream.v1.PostgresqlColumn" do
|
149
|
+
optional :column, :string, 1
|
150
|
+
optional :data_type, :string, 2
|
151
|
+
optional :length, :int32, 3
|
152
|
+
optional :precision, :int32, 4
|
153
|
+
optional :scale, :int32, 5
|
154
|
+
optional :primary_key, :bool, 7
|
155
|
+
optional :nullable, :bool, 8
|
156
|
+
optional :ordinal_position, :int32, 9
|
157
|
+
end
|
158
|
+
add_message "google.cloud.datastream.v1.PostgresqlTable" do
|
159
|
+
optional :table, :string, 1
|
160
|
+
repeated :postgresql_columns, :message, 2, "google.cloud.datastream.v1.PostgresqlColumn"
|
161
|
+
end
|
162
|
+
add_message "google.cloud.datastream.v1.PostgresqlSchema" do
|
163
|
+
optional :schema, :string, 1
|
164
|
+
repeated :postgresql_tables, :message, 2, "google.cloud.datastream.v1.PostgresqlTable"
|
165
|
+
end
|
166
|
+
add_message "google.cloud.datastream.v1.PostgresqlRdbms" do
|
167
|
+
repeated :postgresql_schemas, :message, 1, "google.cloud.datastream.v1.PostgresqlSchema"
|
168
|
+
end
|
169
|
+
add_message "google.cloud.datastream.v1.PostgresqlSourceConfig" do
|
170
|
+
optional :include_objects, :message, 1, "google.cloud.datastream.v1.PostgresqlRdbms"
|
171
|
+
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.PostgresqlRdbms"
|
172
|
+
optional :replication_slot, :string, 3
|
173
|
+
optional :publication, :string, 4
|
128
174
|
end
|
129
175
|
add_message "google.cloud.datastream.v1.MysqlColumn" do
|
130
176
|
optional :column, :string, 1
|
@@ -149,12 +195,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
149
195
|
add_message "google.cloud.datastream.v1.MysqlSourceConfig" do
|
150
196
|
optional :include_objects, :message, 1, "google.cloud.datastream.v1.MysqlRdbms"
|
151
197
|
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.MysqlRdbms"
|
198
|
+
optional :max_concurrent_cdc_tasks, :int32, 3
|
152
199
|
end
|
153
200
|
add_message "google.cloud.datastream.v1.SourceConfig" do
|
154
201
|
optional :source_connection_profile, :string, 1
|
155
202
|
oneof :source_stream_config do
|
156
203
|
optional :oracle_source_config, :message, 100, "google.cloud.datastream.v1.OracleSourceConfig"
|
157
204
|
optional :mysql_source_config, :message, 101, "google.cloud.datastream.v1.MysqlSourceConfig"
|
205
|
+
optional :postgresql_source_config, :message, 102, "google.cloud.datastream.v1.PostgresqlSourceConfig"
|
158
206
|
end
|
159
207
|
end
|
160
208
|
add_message "google.cloud.datastream.v1.AvroFileFormat" do
|
@@ -182,10 +230,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
182
230
|
optional :json_file_format, :message, 101, "google.cloud.datastream.v1.JsonFileFormat"
|
183
231
|
end
|
184
232
|
end
|
233
|
+
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig" do
|
234
|
+
optional :data_freshness, :message, 300, "google.protobuf.Duration"
|
235
|
+
oneof :dataset_config do
|
236
|
+
optional :single_target_dataset, :message, 201, "google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset"
|
237
|
+
optional :source_hierarchy_datasets, :message, 202, "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets"
|
238
|
+
end
|
239
|
+
end
|
240
|
+
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset" do
|
241
|
+
optional :dataset_id, :string, 1
|
242
|
+
end
|
243
|
+
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets" do
|
244
|
+
optional :dataset_template, :message, 2, "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate"
|
245
|
+
end
|
246
|
+
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate" do
|
247
|
+
optional :location, :string, 1
|
248
|
+
optional :dataset_id_prefix, :string, 2
|
249
|
+
optional :kms_key_name, :string, 3
|
250
|
+
end
|
185
251
|
add_message "google.cloud.datastream.v1.DestinationConfig" do
|
186
252
|
optional :destination_connection_profile, :string, 1
|
187
253
|
oneof :destination_stream_config do
|
188
254
|
optional :gcs_destination_config, :message, 100, "google.cloud.datastream.v1.GcsDestinationConfig"
|
255
|
+
optional :bigquery_destination_config, :message, 101, "google.cloud.datastream.v1.BigQueryDestinationConfig"
|
189
256
|
end
|
190
257
|
end
|
191
258
|
add_message "google.cloud.datastream.v1.Stream" do
|
@@ -208,6 +275,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
208
275
|
oneof :excluded_objects do
|
209
276
|
optional :oracle_excluded_objects, :message, 1, "google.cloud.datastream.v1.OracleRdbms"
|
210
277
|
optional :mysql_excluded_objects, :message, 2, "google.cloud.datastream.v1.MysqlRdbms"
|
278
|
+
optional :postgresql_excluded_objects, :message, 3, "google.cloud.datastream.v1.PostgresqlRdbms"
|
211
279
|
end
|
212
280
|
end
|
213
281
|
add_message "google.cloud.datastream.v1.Stream.BackfillNoneStrategy" do
|
@@ -236,12 +304,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
236
304
|
oneof :source_identifier do
|
237
305
|
optional :oracle_identifier, :message, 1, "google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier"
|
238
306
|
optional :mysql_identifier, :message, 2, "google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier"
|
307
|
+
optional :postgresql_identifier, :message, 3, "google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier"
|
239
308
|
end
|
240
309
|
end
|
241
310
|
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier" do
|
242
311
|
optional :schema, :string, 1
|
243
312
|
optional :table, :string, 2
|
244
313
|
end
|
314
|
+
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier" do
|
315
|
+
optional :schema, :string, 1
|
316
|
+
optional :table, :string, 2
|
317
|
+
end
|
245
318
|
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier" do
|
246
319
|
optional :database, :string, 1
|
247
320
|
optional :table, :string, 2
|
@@ -310,7 +383,9 @@ module Google
|
|
310
383
|
module V1
|
311
384
|
OracleProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleProfile").msgclass
|
312
385
|
MysqlProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlProfile").msgclass
|
386
|
+
PostgresqlProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlProfile").msgclass
|
313
387
|
GcsProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.GcsProfile").msgclass
|
388
|
+
BigQueryProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryProfile").msgclass
|
314
389
|
StaticServiceIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.StaticServiceIpConnectivity").msgclass
|
315
390
|
ForwardSshTunnelConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.ForwardSshTunnelConnectivity").msgclass
|
316
391
|
VpcPeeringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.VpcPeeringConfig").msgclass
|
@@ -325,6 +400,13 @@ module Google
|
|
325
400
|
OracleSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSchema").msgclass
|
326
401
|
OracleRdbms = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleRdbms").msgclass
|
327
402
|
OracleSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig").msgclass
|
403
|
+
OracleSourceConfig::DropLargeObjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects").msgclass
|
404
|
+
OracleSourceConfig::StreamLargeObjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects").msgclass
|
405
|
+
PostgresqlColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlColumn").msgclass
|
406
|
+
PostgresqlTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlTable").msgclass
|
407
|
+
PostgresqlSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlSchema").msgclass
|
408
|
+
PostgresqlRdbms = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlRdbms").msgclass
|
409
|
+
PostgresqlSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlSourceConfig").msgclass
|
328
410
|
MysqlColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlColumn").msgclass
|
329
411
|
MysqlTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlTable").msgclass
|
330
412
|
MysqlDatabase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlDatabase").msgclass
|
@@ -336,6 +418,10 @@ module Google
|
|
336
418
|
JsonFileFormat::SchemaFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat").enummodule
|
337
419
|
JsonFileFormat::JsonCompression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.JsonFileFormat.JsonCompression").enummodule
|
338
420
|
GcsDestinationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.GcsDestinationConfig").msgclass
|
421
|
+
BigQueryDestinationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig").msgclass
|
422
|
+
BigQueryDestinationConfig::SingleTargetDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset").msgclass
|
423
|
+
BigQueryDestinationConfig::SourceHierarchyDatasets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets").msgclass
|
424
|
+
BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate").msgclass
|
339
425
|
DestinationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.DestinationConfig").msgclass
|
340
426
|
Stream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Stream").msgclass
|
341
427
|
Stream::BackfillAllStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Stream.BackfillAllStrategy").msgclass
|
@@ -344,6 +430,7 @@ module Google
|
|
344
430
|
StreamObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.StreamObject").msgclass
|
345
431
|
SourceObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier").msgclass
|
346
432
|
SourceObjectIdentifier::OracleObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier").msgclass
|
433
|
+
SourceObjectIdentifier::PostgresqlObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier").msgclass
|
347
434
|
SourceObjectIdentifier::MysqlObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier").msgclass
|
348
435
|
BackfillJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BackfillJob").msgclass
|
349
436
|
BackfillJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BackfillJob.State").enummodule
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
# @!attribute [rw] mysql_rdbms
|
46
46
|
# @return [::Google::Cloud::Datastream::V1::MysqlRdbms]
|
47
47
|
# MySQL RDBMS to enrich with child data objects and metadata.
|
48
|
+
# @!attribute [rw] postgresql_rdbms
|
49
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
50
|
+
# PostgreSQL RDBMS to enrich with child data objects and metadata.
|
48
51
|
class DiscoverConnectionProfileRequest
|
49
52
|
include ::Google::Protobuf::MessageExts
|
50
53
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -57,6 +60,9 @@ module Google
|
|
57
60
|
# @!attribute [rw] mysql_rdbms
|
58
61
|
# @return [::Google::Cloud::Datastream::V1::MysqlRdbms]
|
59
62
|
# Enriched MySQL RDBMS object.
|
63
|
+
# @!attribute [rw] postgresql_rdbms
|
64
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
65
|
+
# Enriched PostgreSQL RDBMS object.
|
60
66
|
class DiscoverConnectionProfileResponse
|
61
67
|
include ::Google::Protobuf::MessageExts
|
62
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -75,6 +75,27 @@ module Google
|
|
75
75
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
76
|
end
|
77
77
|
|
78
|
+
# PostgreSQL database profile.
|
79
|
+
# @!attribute [rw] hostname
|
80
|
+
# @return [::String]
|
81
|
+
# Required. Hostname for the PostgreSQL connection.
|
82
|
+
# @!attribute [rw] port
|
83
|
+
# @return [::Integer]
|
84
|
+
# Port for the PostgreSQL connection, default value is 5432.
|
85
|
+
# @!attribute [rw] username
|
86
|
+
# @return [::String]
|
87
|
+
# Required. Username for the PostgreSQL connection.
|
88
|
+
# @!attribute [rw] password
|
89
|
+
# @return [::String]
|
90
|
+
# Required. Password for the PostgreSQL connection.
|
91
|
+
# @!attribute [rw] database
|
92
|
+
# @return [::String]
|
93
|
+
# Required. Database for the PostgreSQL connection.
|
94
|
+
class PostgresqlProfile
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
|
78
99
|
# Cloud Storage bucket profile.
|
79
100
|
# @!attribute [rw] bucket
|
80
101
|
# @return [::String]
|
@@ -87,6 +108,12 @@ module Google
|
|
87
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
109
|
end
|
89
110
|
|
111
|
+
# BigQuery warehouse profile.
|
112
|
+
class BigQueryProfile
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
90
117
|
# Static IP address connectivity.
|
91
118
|
class StaticServiceIpConnectivity
|
92
119
|
include ::Google::Protobuf::MessageExts
|
@@ -150,8 +177,7 @@ module Google
|
|
150
177
|
# Output only. The state of the Private Connection.
|
151
178
|
# @!attribute [r] error
|
152
179
|
# @return [::Google::Cloud::Datastream::V1::Error]
|
153
|
-
# Output only. In case of error, the details of the error in a user-friendly
|
154
|
-
# format.
|
180
|
+
# Output only. In case of error, the details of the error in a user-friendly format.
|
155
181
|
# @!attribute [rw] vpc_peering_config
|
156
182
|
# @return [::Google::Cloud::Datastream::V1::VpcPeeringConfig]
|
157
183
|
# VPC Peering Config.
|
@@ -256,8 +282,8 @@ module Google
|
|
256
282
|
# Output only. Indicates whether the client_certificate field is set.
|
257
283
|
# @!attribute [rw] ca_certificate
|
258
284
|
# @return [::String]
|
259
|
-
# Input only. PEM-encoded certificate of the CA that signed the source
|
260
|
-
#
|
285
|
+
# Input only. PEM-encoded certificate of the CA that signed the source database
|
286
|
+
# server's certificate.
|
261
287
|
# @!attribute [r] ca_certificate_set
|
262
288
|
# @return [::Boolean]
|
263
289
|
# Output only. Indicates whether the ca_certificate field is set.
|
@@ -292,6 +318,12 @@ module Google
|
|
292
318
|
# @!attribute [rw] mysql_profile
|
293
319
|
# @return [::Google::Cloud::Datastream::V1::MysqlProfile]
|
294
320
|
# MySQL ConnectionProfile configuration.
|
321
|
+
# @!attribute [rw] bigquery_profile
|
322
|
+
# @return [::Google::Cloud::Datastream::V1::BigQueryProfile]
|
323
|
+
# BigQuery Connection Profile configuration.
|
324
|
+
# @!attribute [rw] postgresql_profile
|
325
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlProfile]
|
326
|
+
# PostgreSQL Connection Profile configuration.
|
295
327
|
# @!attribute [rw] static_service_ip_connectivity
|
296
328
|
# @return [::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity]
|
297
329
|
# Static Service IP connectivity.
|
@@ -355,7 +387,7 @@ module Google
|
|
355
387
|
# @!attribute [rw] oracle_columns
|
356
388
|
# @return [::Array<::Google::Cloud::Datastream::V1::OracleColumn>]
|
357
389
|
# Oracle columns in the schema.
|
358
|
-
# When unspecified as part of
|
390
|
+
# When unspecified as part of include/exclude objects, includes/excludes
|
359
391
|
# everything.
|
360
392
|
class OracleTable
|
361
393
|
include ::Google::Protobuf::MessageExts
|
@@ -390,9 +422,116 @@ module Google
|
|
390
422
|
# @!attribute [rw] exclude_objects
|
391
423
|
# @return [::Google::Cloud::Datastream::V1::OracleRdbms]
|
392
424
|
# Oracle objects to exclude from the stream.
|
425
|
+
# @!attribute [rw] max_concurrent_cdc_tasks
|
426
|
+
# @return [::Integer]
|
427
|
+
# Maximum number of concurrent CDC tasks. The number should be non negative.
|
428
|
+
# If not set (or set to 0), the system's default value will be used.
|
429
|
+
# @!attribute [rw] drop_large_objects
|
430
|
+
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::DropLargeObjects]
|
431
|
+
# Drop large object values.
|
432
|
+
# @!attribute [rw] stream_large_objects
|
433
|
+
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::StreamLargeObjects]
|
434
|
+
# Stream large object values.
|
393
435
|
class OracleSourceConfig
|
394
436
|
include ::Google::Protobuf::MessageExts
|
395
437
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
438
|
+
|
439
|
+
# Configuration to drop large object values.
|
440
|
+
class DropLargeObjects
|
441
|
+
include ::Google::Protobuf::MessageExts
|
442
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
443
|
+
end
|
444
|
+
|
445
|
+
# Configuration to stream large object values.
|
446
|
+
class StreamLargeObjects
|
447
|
+
include ::Google::Protobuf::MessageExts
|
448
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# PostgreSQL Column.
|
453
|
+
# @!attribute [rw] column
|
454
|
+
# @return [::String]
|
455
|
+
# Column name.
|
456
|
+
# @!attribute [rw] data_type
|
457
|
+
# @return [::String]
|
458
|
+
# The PostgreSQL data type.
|
459
|
+
# @!attribute [rw] length
|
460
|
+
# @return [::Integer]
|
461
|
+
# Column length.
|
462
|
+
# @!attribute [rw] precision
|
463
|
+
# @return [::Integer]
|
464
|
+
# Column precision.
|
465
|
+
# @!attribute [rw] scale
|
466
|
+
# @return [::Integer]
|
467
|
+
# Column scale.
|
468
|
+
# @!attribute [rw] primary_key
|
469
|
+
# @return [::Boolean]
|
470
|
+
# Whether or not the column represents a primary key.
|
471
|
+
# @!attribute [rw] nullable
|
472
|
+
# @return [::Boolean]
|
473
|
+
# Whether or not the column can accept a null value.
|
474
|
+
# @!attribute [rw] ordinal_position
|
475
|
+
# @return [::Integer]
|
476
|
+
# The ordinal position of the column in the table.
|
477
|
+
class PostgresqlColumn
|
478
|
+
include ::Google::Protobuf::MessageExts
|
479
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
480
|
+
end
|
481
|
+
|
482
|
+
# PostgreSQL table.
|
483
|
+
# @!attribute [rw] table
|
484
|
+
# @return [::String]
|
485
|
+
# Table name.
|
486
|
+
# @!attribute [rw] postgresql_columns
|
487
|
+
# @return [::Array<::Google::Cloud::Datastream::V1::PostgresqlColumn>]
|
488
|
+
# PostgreSQL columns in the schema.
|
489
|
+
# When unspecified as part of include/exclude objects,
|
490
|
+
# includes/excludes everything.
|
491
|
+
class PostgresqlTable
|
492
|
+
include ::Google::Protobuf::MessageExts
|
493
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
494
|
+
end
|
495
|
+
|
496
|
+
# PostgreSQL schema.
|
497
|
+
# @!attribute [rw] schema
|
498
|
+
# @return [::String]
|
499
|
+
# Schema name.
|
500
|
+
# @!attribute [rw] postgresql_tables
|
501
|
+
# @return [::Array<::Google::Cloud::Datastream::V1::PostgresqlTable>]
|
502
|
+
# Tables in the schema.
|
503
|
+
class PostgresqlSchema
|
504
|
+
include ::Google::Protobuf::MessageExts
|
505
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
506
|
+
end
|
507
|
+
|
508
|
+
# PostgreSQL database structure.
|
509
|
+
# @!attribute [rw] postgresql_schemas
|
510
|
+
# @return [::Array<::Google::Cloud::Datastream::V1::PostgresqlSchema>]
|
511
|
+
# PostgreSQL schemas in the database server.
|
512
|
+
class PostgresqlRdbms
|
513
|
+
include ::Google::Protobuf::MessageExts
|
514
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
515
|
+
end
|
516
|
+
|
517
|
+
# PostgreSQL data source configuration
|
518
|
+
# @!attribute [rw] include_objects
|
519
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
520
|
+
# PostgreSQL objects to include in the stream.
|
521
|
+
# @!attribute [rw] exclude_objects
|
522
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
523
|
+
# PostgreSQL objects to exclude from the stream.
|
524
|
+
# @!attribute [rw] replication_slot
|
525
|
+
# @return [::String]
|
526
|
+
# Required. The name of the logical replication slot that's configured with the
|
527
|
+
# pgoutput plugin.
|
528
|
+
# @!attribute [rw] publication
|
529
|
+
# @return [::String]
|
530
|
+
# Required. The name of the publication that includes the set of all tables that are
|
531
|
+
# defined in the stream's include_objects.
|
532
|
+
class PostgresqlSourceConfig
|
533
|
+
include ::Google::Protobuf::MessageExts
|
534
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
535
|
end
|
397
536
|
|
398
537
|
# MySQL Column.
|
@@ -430,7 +569,7 @@ module Google
|
|
430
569
|
# @!attribute [rw] mysql_columns
|
431
570
|
# @return [::Array<::Google::Cloud::Datastream::V1::MysqlColumn>]
|
432
571
|
# MySQL columns in the database.
|
433
|
-
# When unspecified as part of include/exclude
|
572
|
+
# When unspecified as part of include/exclude objects, includes/excludes
|
434
573
|
# everything.
|
435
574
|
class MysqlTable
|
436
575
|
include ::Google::Protobuf::MessageExts
|
@@ -465,6 +604,10 @@ module Google
|
|
465
604
|
# @!attribute [rw] exclude_objects
|
466
605
|
# @return [::Google::Cloud::Datastream::V1::MysqlRdbms]
|
467
606
|
# MySQL objects to exclude from the stream.
|
607
|
+
# @!attribute [rw] max_concurrent_cdc_tasks
|
608
|
+
# @return [::Integer]
|
609
|
+
# Maximum number of concurrent CDC tasks. The number should be non negative.
|
610
|
+
# If not set (or set to 0), the system's default value will be used.
|
468
611
|
class MysqlSourceConfig
|
469
612
|
include ::Google::Protobuf::MessageExts
|
470
613
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -477,10 +620,13 @@ module Google
|
|
477
620
|
# Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`
|
478
621
|
# @!attribute [rw] oracle_source_config
|
479
622
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig]
|
480
|
-
# Oracle data source configuration
|
623
|
+
# Oracle data source configuration.
|
481
624
|
# @!attribute [rw] mysql_source_config
|
482
625
|
# @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig]
|
483
|
-
# MySQL data source configuration
|
626
|
+
# MySQL data source configuration.
|
627
|
+
# @!attribute [rw] postgresql_source_config
|
628
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlSourceConfig]
|
629
|
+
# PostgreSQL data source configuration.
|
484
630
|
class SourceConfig
|
485
631
|
include ::Google::Protobuf::MessageExts
|
486
632
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -550,6 +696,65 @@ module Google
|
|
550
696
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
551
697
|
end
|
552
698
|
|
699
|
+
# @!attribute [rw] single_target_dataset
|
700
|
+
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset]
|
701
|
+
# Single destination dataset.
|
702
|
+
# @!attribute [rw] source_hierarchy_datasets
|
703
|
+
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets]
|
704
|
+
# Source hierarchy datasets.
|
705
|
+
# @!attribute [rw] data_freshness
|
706
|
+
# @return [::Google::Protobuf::Duration]
|
707
|
+
# The guaranteed data freshness (in seconds) when querying tables created by
|
708
|
+
# the stream. Editing this field will only affect new tables created in the
|
709
|
+
# future, but existing tables will not be impacted. Lower values mean that
|
710
|
+
# queries will return fresher data, but may result in higher cost.
|
711
|
+
class BigQueryDestinationConfig
|
712
|
+
include ::Google::Protobuf::MessageExts
|
713
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
714
|
+
|
715
|
+
# A single target dataset to which all data will be streamed.
|
716
|
+
# @!attribute [rw] dataset_id
|
717
|
+
# @return [::String]
|
718
|
+
class SingleTargetDataset
|
719
|
+
include ::Google::Protobuf::MessageExts
|
720
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
721
|
+
end
|
722
|
+
|
723
|
+
# Destination datasets are created so that hierarchy of the destination data
|
724
|
+
# objects matches the source hierarchy.
|
725
|
+
# @!attribute [rw] dataset_template
|
726
|
+
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate]
|
727
|
+
class SourceHierarchyDatasets
|
728
|
+
include ::Google::Protobuf::MessageExts
|
729
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
730
|
+
|
731
|
+
# Dataset template used for dynamic dataset creation.
|
732
|
+
# @!attribute [rw] location
|
733
|
+
# @return [::String]
|
734
|
+
# Required. The geographic location where the dataset should reside. See
|
735
|
+
# https://cloud.google.com/bigquery/docs/locations for supported
|
736
|
+
# locations.
|
737
|
+
# @!attribute [rw] dataset_id_prefix
|
738
|
+
# @return [::String]
|
739
|
+
# If supplied, every created dataset will have its name prefixed by the
|
740
|
+
# provided value. The prefix and name will be separated by an underscore.
|
741
|
+
# i.e. <prefix>_<dataset_name>.
|
742
|
+
# @!attribute [rw] kms_key_name
|
743
|
+
# @return [::String]
|
744
|
+
# Describes the Cloud KMS encryption key that will be used to
|
745
|
+
# protect destination BigQuery table. The BigQuery Service Account
|
746
|
+
# associated with your project requires access to this encryption key.
|
747
|
+
# i.e.
|
748
|
+
# projects/\\{project}/locations/\\{location}/keyRings/\\{key_ring}/cryptoKeys/\\{cryptoKey}.
|
749
|
+
# See https://cloud.google.com/bigquery/docs/customer-managed-encryption
|
750
|
+
# for more information.
|
751
|
+
class DatasetTemplate
|
752
|
+
include ::Google::Protobuf::MessageExts
|
753
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
754
|
+
end
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
553
758
|
# The configuration of the stream destination.
|
554
759
|
# @!attribute [rw] destination_connection_profile
|
555
760
|
# @return [::String]
|
@@ -558,6 +763,9 @@ module Google
|
|
558
763
|
# @!attribute [rw] gcs_destination_config
|
559
764
|
# @return [::Google::Cloud::Datastream::V1::GcsDestinationConfig]
|
560
765
|
# A configuration for how data should be loaded to Cloud Storage.
|
766
|
+
# @!attribute [rw] bigquery_destination_config
|
767
|
+
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig]
|
768
|
+
# BigQuery destination configuration.
|
561
769
|
class DestinationConfig
|
562
770
|
include ::Google::Protobuf::MessageExts
|
563
771
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -616,6 +824,9 @@ module Google
|
|
616
824
|
# @!attribute [rw] mysql_excluded_objects
|
617
825
|
# @return [::Google::Cloud::Datastream::V1::MysqlRdbms]
|
618
826
|
# MySQL data source objects to avoid backfilling.
|
827
|
+
# @!attribute [rw] postgresql_excluded_objects
|
828
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
829
|
+
# PostgreSQL data source objects to avoid backfilling.
|
619
830
|
class BackfillAllStrategy
|
620
831
|
include ::Google::Protobuf::MessageExts
|
621
832
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -705,6 +916,9 @@ module Google
|
|
705
916
|
# @!attribute [rw] mysql_identifier
|
706
917
|
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier]
|
707
918
|
# Mysql data source object identifier.
|
919
|
+
# @!attribute [rw] postgresql_identifier
|
920
|
+
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier]
|
921
|
+
# PostgreSQL data source object identifier.
|
708
922
|
class SourceObjectIdentifier
|
709
923
|
include ::Google::Protobuf::MessageExts
|
710
924
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -721,6 +935,18 @@ module Google
|
|
721
935
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
722
936
|
end
|
723
937
|
|
938
|
+
# PostgreSQL data source object identifier.
|
939
|
+
# @!attribute [rw] schema
|
940
|
+
# @return [::String]
|
941
|
+
# Required. The schema name.
|
942
|
+
# @!attribute [rw] table
|
943
|
+
# @return [::String]
|
944
|
+
# Required. The table name.
|
945
|
+
class PostgresqlObjectIdentifier
|
946
|
+
include ::Google::Protobuf::MessageExts
|
947
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
948
|
+
end
|
949
|
+
|
724
950
|
# Mysql data source object identifier.
|
725
951
|
# @!attribute [rw] database
|
726
952
|
# @return [::String]
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
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.
|
25
|
+
#
|
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.
|
53
|
+
# @!attribute [rw] expression
|
54
|
+
# @return [::String]
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
57
|
+
# @!attribute [rw] title
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
60
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
61
|
+
# expression.
|
62
|
+
# @!attribute [rw] description
|
63
|
+
# @return [::String]
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
65
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
66
|
+
# @!attribute [rw] location
|
67
|
+
# @return [::String]
|
68
|
+
# Optional. String indicating the location of the expression for error
|
69
|
+
# reporting, e.g. a file name and a position in the file.
|
70
|
+
class Expr
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastream-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -64,6 +64,26 @@ dependencies:
|
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: google-iam-v1
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.0'
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.a
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.0'
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.a
|
67
87
|
- !ruby/object:Gem::Dependency
|
68
88
|
name: google-style
|
69
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,6 +234,7 @@ files:
|
|
214
234
|
- proto_docs/google/protobuf/field_mask.rb
|
215
235
|
- proto_docs/google/protobuf/timestamp.rb
|
216
236
|
- proto_docs/google/rpc/status.rb
|
237
|
+
- proto_docs/google/type/expr.rb
|
217
238
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
218
239
|
licenses:
|
219
240
|
- Apache-2.0
|