google-cloud-datastream-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/datastream/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/datastream/v1/datastream/client.rb +77 -71
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +12 -14
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +2379 -0
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +793 -0
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +1533 -0
- data/lib/google/cloud/datastream/v1/datastream/rest.rb +54 -0
- data/lib/google/cloud/datastream/v1/datastream.rb +7 -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/rest.rb +38 -0
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/lib/google/cloud/datastream/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- 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/rpc/status.rb +4 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +38 -9
@@ -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
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
@@ -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.5.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:
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,27 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
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.4'
|
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.4'
|
64
84
|
- - "<"
|
65
85
|
- !ruby/object:Gem::Version
|
66
86
|
version: 2.a
|
@@ -70,14 +90,14 @@ dependencies:
|
|
70
90
|
requirements:
|
71
91
|
- - "~>"
|
72
92
|
- !ruby/object:Gem::Version
|
73
|
-
version: 1.26.
|
93
|
+
version: 1.26.3
|
74
94
|
type: :development
|
75
95
|
prerelease: false
|
76
96
|
version_requirements: !ruby/object:Gem::Requirement
|
77
97
|
requirements:
|
78
98
|
- - "~>"
|
79
99
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1.26.
|
100
|
+
version: 1.26.3
|
81
101
|
- !ruby/object:Gem::Dependency
|
82
102
|
name: minitest
|
83
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,17 +213,25 @@ files:
|
|
193
213
|
- README.md
|
194
214
|
- lib/google-cloud-datastream-v1.rb
|
195
215
|
- lib/google/cloud/datastream/v1.rb
|
216
|
+
- lib/google/cloud/datastream/v1/bindings_override.rb
|
196
217
|
- lib/google/cloud/datastream/v1/datastream.rb
|
197
218
|
- lib/google/cloud/datastream/v1/datastream/client.rb
|
198
219
|
- lib/google/cloud/datastream/v1/datastream/credentials.rb
|
199
220
|
- lib/google/cloud/datastream/v1/datastream/operations.rb
|
200
221
|
- lib/google/cloud/datastream/v1/datastream/paths.rb
|
222
|
+
- lib/google/cloud/datastream/v1/datastream/rest.rb
|
223
|
+
- lib/google/cloud/datastream/v1/datastream/rest/client.rb
|
224
|
+
- lib/google/cloud/datastream/v1/datastream/rest/operations.rb
|
225
|
+
- lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb
|
201
226
|
- lib/google/cloud/datastream/v1/datastream_pb.rb
|
202
227
|
- lib/google/cloud/datastream/v1/datastream_resources_pb.rb
|
203
228
|
- lib/google/cloud/datastream/v1/datastream_services_pb.rb
|
229
|
+
- lib/google/cloud/datastream/v1/rest.rb
|
204
230
|
- lib/google/cloud/datastream/v1/version.rb
|
205
231
|
- proto_docs/README.md
|
232
|
+
- proto_docs/google/api/client.rb
|
206
233
|
- proto_docs/google/api/field_behavior.rb
|
234
|
+
- proto_docs/google/api/launch_stage.rb
|
207
235
|
- proto_docs/google/api/resource.rb
|
208
236
|
- proto_docs/google/cloud/datastream/v1/datastream.rb
|
209
237
|
- proto_docs/google/cloud/datastream/v1/datastream_resources.rb
|
@@ -214,6 +242,7 @@ files:
|
|
214
242
|
- proto_docs/google/protobuf/field_mask.rb
|
215
243
|
- proto_docs/google/protobuf/timestamp.rb
|
216
244
|
- proto_docs/google/rpc/status.rb
|
245
|
+
- proto_docs/google/type/expr.rb
|
217
246
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
218
247
|
licenses:
|
219
248
|
- Apache-2.0
|
@@ -233,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
262
|
- !ruby/object:Gem::Version
|
234
263
|
version: '0'
|
235
264
|
requirements: []
|
236
|
-
rubygems_version: 3.
|
265
|
+
rubygems_version: 3.4.2
|
237
266
|
signing_key:
|
238
267
|
specification_version: 4
|
239
268
|
summary: API Client library for the Datastream V1 API
|