google-cloud-datastream-v1 0.4.0 → 0.6.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 +2 -2
- data/lib/google/cloud/datastream/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/datastream/v1/datastream/client.rb +87 -90
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +17 -17
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +2386 -0
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +795 -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 +28 -190
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +26 -365
- 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 +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +24 -17
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +33 -12
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +19 -11
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/datastream/v1/version"
|
24
|
+
require "google/cloud/datastream/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/datastream/v1/datastream/credentials"
|
27
|
+
require "google/cloud/datastream/v1/datastream/paths"
|
28
|
+
require "google/cloud/datastream/v1/datastream/rest/operations"
|
29
|
+
require "google/cloud/datastream/v1/datastream/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Datastream
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# Datastream service
|
37
|
+
#
|
38
|
+
# To load this service and instantiate a REST client:
|
39
|
+
#
|
40
|
+
# require "google/cloud/datastream/v1/datastream/rest"
|
41
|
+
# client = ::Google::Cloud::Datastream::V1::Datastream::Rest::Client.new
|
42
|
+
#
|
43
|
+
module Datastream
|
44
|
+
# Client for the REST transport
|
45
|
+
module Rest
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
54
|
+
require "google/cloud/datastream/v1/datastream/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/datastream/v1/datastream/credentials"
|
|
26
26
|
require "google/cloud/datastream/v1/datastream/paths"
|
27
27
|
require "google/cloud/datastream/v1/datastream/operations"
|
28
28
|
require "google/cloud/datastream/v1/datastream/client"
|
29
|
+
require "google/cloud/datastream/v1/datastream/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -34,11 +35,16 @@ module Google
|
|
34
35
|
##
|
35
36
|
# Datastream service
|
36
37
|
#
|
37
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
38
39
|
#
|
39
40
|
# require "google/cloud/datastream/v1/datastream"
|
40
41
|
# client = ::Google::Cloud::Datastream::V1::Datastream::Client.new
|
41
42
|
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/datastream/v1/datastream/rest"
|
46
|
+
# client = ::Google::Cloud::Datastream::V1::Datastream::Rest::Client.new
|
47
|
+
#
|
42
48
|
module Datastream
|
43
49
|
end
|
44
50
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datastream/v1/datastream.proto
|
3
4
|
|
@@ -9,201 +10,38 @@ require 'google/api/field_behavior_pb'
|
|
9
10
|
require 'google/api/resource_pb'
|
10
11
|
require 'google/cloud/datastream/v1/datastream_resources_pb'
|
11
12
|
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
12
14
|
require 'google/protobuf/field_mask_pb'
|
13
15
|
require 'google/protobuf/timestamp_pb'
|
14
16
|
|
15
|
-
|
16
|
-
add_file("google/cloud/datastream/v1/datastream.proto", :syntax => :proto3) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
end
|
40
|
-
add_message "google.cloud.datastream.v1.FetchStaticIpsRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
optional :page_size, :int32, 2
|
43
|
-
optional :page_token, :string, 3
|
44
|
-
end
|
45
|
-
add_message "google.cloud.datastream.v1.FetchStaticIpsResponse" do
|
46
|
-
repeated :static_ips, :string, 1
|
47
|
-
optional :next_page_token, :string, 2
|
48
|
-
end
|
49
|
-
add_message "google.cloud.datastream.v1.ListConnectionProfilesRequest" do
|
50
|
-
optional :parent, :string, 1
|
51
|
-
optional :page_size, :int32, 2
|
52
|
-
optional :page_token, :string, 3
|
53
|
-
optional :filter, :string, 4
|
54
|
-
optional :order_by, :string, 5
|
55
|
-
end
|
56
|
-
add_message "google.cloud.datastream.v1.ListConnectionProfilesResponse" do
|
57
|
-
repeated :connection_profiles, :message, 1, "google.cloud.datastream.v1.ConnectionProfile"
|
58
|
-
optional :next_page_token, :string, 2
|
59
|
-
repeated :unreachable, :string, 3
|
60
|
-
end
|
61
|
-
add_message "google.cloud.datastream.v1.GetConnectionProfileRequest" do
|
62
|
-
optional :name, :string, 1
|
63
|
-
end
|
64
|
-
add_message "google.cloud.datastream.v1.CreateConnectionProfileRequest" do
|
65
|
-
optional :parent, :string, 1
|
66
|
-
optional :connection_profile_id, :string, 2
|
67
|
-
optional :connection_profile, :message, 3, "google.cloud.datastream.v1.ConnectionProfile"
|
68
|
-
optional :request_id, :string, 4
|
69
|
-
optional :validate_only, :bool, 5
|
70
|
-
optional :force, :bool, 6
|
71
|
-
end
|
72
|
-
add_message "google.cloud.datastream.v1.UpdateConnectionProfileRequest" do
|
73
|
-
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
74
|
-
optional :connection_profile, :message, 2, "google.cloud.datastream.v1.ConnectionProfile"
|
75
|
-
optional :request_id, :string, 3
|
76
|
-
optional :validate_only, :bool, 4
|
77
|
-
optional :force, :bool, 5
|
78
|
-
end
|
79
|
-
add_message "google.cloud.datastream.v1.DeleteConnectionProfileRequest" do
|
80
|
-
optional :name, :string, 1
|
81
|
-
optional :request_id, :string, 2
|
82
|
-
end
|
83
|
-
add_message "google.cloud.datastream.v1.ListStreamsRequest" do
|
84
|
-
optional :parent, :string, 1
|
85
|
-
optional :page_size, :int32, 2
|
86
|
-
optional :page_token, :string, 3
|
87
|
-
optional :filter, :string, 4
|
88
|
-
optional :order_by, :string, 5
|
89
|
-
end
|
90
|
-
add_message "google.cloud.datastream.v1.ListStreamsResponse" do
|
91
|
-
repeated :streams, :message, 1, "google.cloud.datastream.v1.Stream"
|
92
|
-
optional :next_page_token, :string, 2
|
93
|
-
repeated :unreachable, :string, 3
|
94
|
-
end
|
95
|
-
add_message "google.cloud.datastream.v1.GetStreamRequest" do
|
96
|
-
optional :name, :string, 1
|
97
|
-
end
|
98
|
-
add_message "google.cloud.datastream.v1.CreateStreamRequest" do
|
99
|
-
optional :parent, :string, 1
|
100
|
-
optional :stream_id, :string, 2
|
101
|
-
optional :stream, :message, 3, "google.cloud.datastream.v1.Stream"
|
102
|
-
optional :request_id, :string, 4
|
103
|
-
optional :validate_only, :bool, 5
|
104
|
-
optional :force, :bool, 6
|
105
|
-
end
|
106
|
-
add_message "google.cloud.datastream.v1.UpdateStreamRequest" do
|
107
|
-
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
108
|
-
optional :stream, :message, 2, "google.cloud.datastream.v1.Stream"
|
109
|
-
optional :request_id, :string, 3
|
110
|
-
optional :validate_only, :bool, 4
|
111
|
-
optional :force, :bool, 5
|
112
|
-
end
|
113
|
-
add_message "google.cloud.datastream.v1.DeleteStreamRequest" do
|
114
|
-
optional :name, :string, 1
|
115
|
-
optional :request_id, :string, 2
|
116
|
-
end
|
117
|
-
add_message "google.cloud.datastream.v1.GetStreamObjectRequest" do
|
118
|
-
optional :name, :string, 1
|
119
|
-
end
|
120
|
-
add_message "google.cloud.datastream.v1.LookupStreamObjectRequest" do
|
121
|
-
optional :parent, :string, 1
|
122
|
-
optional :source_object_identifier, :message, 2, "google.cloud.datastream.v1.SourceObjectIdentifier"
|
123
|
-
end
|
124
|
-
add_message "google.cloud.datastream.v1.StartBackfillJobRequest" do
|
125
|
-
optional :object, :string, 1
|
126
|
-
end
|
127
|
-
add_message "google.cloud.datastream.v1.StartBackfillJobResponse" do
|
128
|
-
optional :object, :message, 1, "google.cloud.datastream.v1.StreamObject"
|
129
|
-
end
|
130
|
-
add_message "google.cloud.datastream.v1.StopBackfillJobRequest" do
|
131
|
-
optional :object, :string, 1
|
132
|
-
end
|
133
|
-
add_message "google.cloud.datastream.v1.StopBackfillJobResponse" do
|
134
|
-
optional :object, :message, 1, "google.cloud.datastream.v1.StreamObject"
|
135
|
-
end
|
136
|
-
add_message "google.cloud.datastream.v1.ListStreamObjectsRequest" do
|
137
|
-
optional :parent, :string, 1
|
138
|
-
optional :page_size, :int32, 2
|
139
|
-
optional :page_token, :string, 3
|
140
|
-
end
|
141
|
-
add_message "google.cloud.datastream.v1.ListStreamObjectsResponse" do
|
142
|
-
repeated :stream_objects, :message, 1, "google.cloud.datastream.v1.StreamObject"
|
143
|
-
optional :next_page_token, :string, 2
|
144
|
-
end
|
145
|
-
add_message "google.cloud.datastream.v1.OperationMetadata" do
|
146
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
147
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
148
|
-
optional :target, :string, 3
|
149
|
-
optional :verb, :string, 4
|
150
|
-
optional :status_message, :string, 5
|
151
|
-
optional :requested_cancellation, :bool, 6
|
152
|
-
optional :api_version, :string, 7
|
153
|
-
optional :validation_result, :message, 8, "google.cloud.datastream.v1.ValidationResult"
|
154
|
-
end
|
155
|
-
add_message "google.cloud.datastream.v1.CreatePrivateConnectionRequest" do
|
156
|
-
optional :parent, :string, 1
|
157
|
-
optional :private_connection_id, :string, 2
|
158
|
-
optional :private_connection, :message, 3, "google.cloud.datastream.v1.PrivateConnection"
|
159
|
-
optional :request_id, :string, 4
|
160
|
-
end
|
161
|
-
add_message "google.cloud.datastream.v1.ListPrivateConnectionsRequest" do
|
162
|
-
optional :parent, :string, 1
|
163
|
-
optional :page_size, :int32, 2
|
164
|
-
optional :page_token, :string, 3
|
165
|
-
optional :filter, :string, 4
|
166
|
-
optional :order_by, :string, 5
|
167
|
-
end
|
168
|
-
add_message "google.cloud.datastream.v1.ListPrivateConnectionsResponse" do
|
169
|
-
repeated :private_connections, :message, 1, "google.cloud.datastream.v1.PrivateConnection"
|
170
|
-
optional :next_page_token, :string, 2
|
171
|
-
repeated :unreachable, :string, 3
|
172
|
-
end
|
173
|
-
add_message "google.cloud.datastream.v1.DeletePrivateConnectionRequest" do
|
174
|
-
optional :name, :string, 1
|
175
|
-
optional :request_id, :string, 2
|
176
|
-
optional :force, :bool, 3
|
177
|
-
end
|
178
|
-
add_message "google.cloud.datastream.v1.GetPrivateConnectionRequest" do
|
179
|
-
optional :name, :string, 1
|
180
|
-
end
|
181
|
-
add_message "google.cloud.datastream.v1.CreateRouteRequest" do
|
182
|
-
optional :parent, :string, 1
|
183
|
-
optional :route_id, :string, 2
|
184
|
-
optional :route, :message, 3, "google.cloud.datastream.v1.Route"
|
185
|
-
optional :request_id, :string, 4
|
186
|
-
end
|
187
|
-
add_message "google.cloud.datastream.v1.ListRoutesRequest" do
|
188
|
-
optional :parent, :string, 1
|
189
|
-
optional :page_size, :int32, 2
|
190
|
-
optional :page_token, :string, 3
|
191
|
-
optional :filter, :string, 4
|
192
|
-
optional :order_by, :string, 5
|
193
|
-
end
|
194
|
-
add_message "google.cloud.datastream.v1.ListRoutesResponse" do
|
195
|
-
repeated :routes, :message, 1, "google.cloud.datastream.v1.Route"
|
196
|
-
optional :next_page_token, :string, 2
|
197
|
-
repeated :unreachable, :string, 3
|
198
|
-
end
|
199
|
-
add_message "google.cloud.datastream.v1.DeleteRouteRequest" do
|
200
|
-
optional :name, :string, 1
|
201
|
-
optional :request_id, :string, 2
|
202
|
-
end
|
203
|
-
add_message "google.cloud.datastream.v1.GetRouteRequest" do
|
204
|
-
optional :name, :string, 1
|
17
|
+
|
18
|
+
descriptor_data = "\n+google/cloud/datastream/v1/datastream.proto\x12\x1agoogle.cloud.datastream.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/datastream/v1/datastream_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x03\n DiscoverConnectionProfileRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+datastream.googleapis.com/ConnectionProfile\x12L\n\x12\x63onnection_profile\x18\xc8\x01 \x01(\x0b\x32-.google.cloud.datastream.v1.ConnectionProfileH\x00\x12\"\n\x17\x63onnection_profile_name\x18\xc9\x01 \x01(\tH\x00\x12\x18\n\x0e\x66ull_hierarchy\x18\x03 \x01(\x08H\x01\x12\x19\n\x0fhierarchy_depth\x18\x04 \x01(\x05H\x01\x12?\n\x0coracle_rdbms\x18\x64 \x01(\x0b\x32\'.google.cloud.datastream.v1.OracleRdbmsH\x02\x12=\n\x0bmysql_rdbms\x18\x65 \x01(\x0b\x32&.google.cloud.datastream.v1.MysqlRdbmsH\x02\x12G\n\x10postgresql_rdbms\x18\x66 \x01(\x0b\x32+.google.cloud.datastream.v1.PostgresqlRdbmsH\x02\x42\x08\n\x06targetB\x0b\n\thierarchyB\r\n\x0b\x64\x61ta_object\"\xfb\x01\n!DiscoverConnectionProfileResponse\x12?\n\x0coracle_rdbms\x18\x64 \x01(\x0b\x32\'.google.cloud.datastream.v1.OracleRdbmsH\x00\x12=\n\x0bmysql_rdbms\x18\x65 \x01(\x0b\x32&.google.cloud.datastream.v1.MysqlRdbmsH\x00\x12G\n\x10postgresql_rdbms\x18\x66 \x01(\x0b\x32+.google.cloud.datastream.v1.PostgresqlRdbmsH\x00\x42\r\n\x0b\x64\x61ta_object\"w\n\x15\x46\x65tchStaticIpsRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"E\n\x16\x46\x65tchStaticIpsResponse\x12\x12\n\nstatic_ips\x18\x01 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x1dListConnectionProfilesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+datastream.googleapis.com/ConnectionProfile\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x9a\x01\n\x1eListConnectionProfilesResponse\x12J\n\x13\x63onnection_profiles\x18\x01 \x03(\x0b\x32-.google.cloud.datastream.v1.ConnectionProfile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"`\n\x1bGetConnectionProfileRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/ConnectionProfile\"\xa2\x02\n\x1e\x43reateConnectionProfileRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+datastream.googleapis.com/ConnectionProfile\x12\"\n\x15\x63onnection_profile_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12N\n\x12\x63onnection_profile\x18\x03 \x01(\x0b\x32-.google.cloud.datastream.v1.ConnectionProfileB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xef\x01\n\x1eUpdateConnectionProfileRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12N\n\x12\x63onnection_profile\x18\x02 \x01(\x0b\x32-.google.cloud.datastream.v1.ConnectionProfileB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"|\n\x1e\x44\x65leteConnectionProfileRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/ConnectionProfile\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x12ListStreamsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 datastream.googleapis.com/Stream\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"x\n\x13ListStreamsResponse\x12\x33\n\x07streams\x18\x01 \x03(\x0b\x32\".google.cloud.datastream.v1.Stream\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"J\n\x10GetStreamRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datastream.googleapis.com/Stream\"\xe9\x01\n\x13\x43reateStreamRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 datastream.googleapis.com/Stream\x12\x16\n\tstream_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x06stream\x18\x03 \x01(\x0b\x32\".google.cloud.datastream.v1.StreamB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xcd\x01\n\x13UpdateStreamRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x37\n\x06stream\x18\x02 \x01(\x0b\x32\".google.cloud.datastream.v1.StreamB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"f\n\x13\x44\x65leteStreamRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datastream.googleapis.com/Stream\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"V\n\x16GetStreamObjectRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datastream.googleapis.com/StreamObject\"\xb0\x01\n\x19LookupStreamObjectRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datastream.googleapis.com/Stream\x12Y\n\x18source_object_identifier\x18\x02 \x01(\x0b\x32\x32.google.cloud.datastream.v1.SourceObjectIdentifierB\x03\xe0\x41\x02\"Y\n\x17StartBackfillJobRequest\x12>\n\x06object\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datastream.googleapis.com/StreamObject\"T\n\x18StartBackfillJobResponse\x12\x38\n\x06object\x18\x01 \x01(\x0b\x32(.google.cloud.datastream.v1.StreamObject\"X\n\x16StopBackfillJobRequest\x12>\n\x06object\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datastream.googleapis.com/StreamObject\"S\n\x17StopBackfillJobResponse\x12\x38\n\x06object\x18\x01 \x01(\x0b\x32(.google.cloud.datastream.v1.StreamObject\"\x81\x01\n\x18ListStreamObjectsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datastream.googleapis.com/StreamObject\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x19ListStreamObjectsResponse\x12@\n\x0estream_objects\x18\x01 \x03(\x0b\x32(.google.cloud.datastream.v1.StreamObject\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xce\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12L\n\x11validation_result\x18\x08 \x01(\x0b\x32,.google.cloud.datastream.v1.ValidationResultB\x03\xe0\x41\x03\"\x86\x02\n\x1e\x43reatePrivateConnectionRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+datastream.googleapis.com/PrivateConnection\x12\"\n\x15private_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12N\n\x12private_connection\x18\x03 \x01(\x0b\x32-.google.cloud.datastream.v1.PrivateConnectionB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\xad\x01\n\x1dListPrivateConnectionsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+datastream.googleapis.com/PrivateConnection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x9a\x01\n\x1eListPrivateConnectionsResponse\x12J\n\x13private_connections\x18\x01 \x03(\x0b\x32-.google.cloud.datastream.v1.PrivateConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x90\x01\n\x1e\x44\x65letePrivateConnectionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/PrivateConnection\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"`\n\x1bGetPrivateConnectionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/PrivateConnection\"\xb4\x01\n\x12\x43reateRouteRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64\x61tastream.googleapis.com/Route\x12\x15\n\x08route_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x05route\x18\x03 \x01(\x0b\x32!.google.cloud.datastream.v1.RouteB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x95\x01\n\x11ListRoutesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64\x61tastream.googleapis.com/Route\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"u\n\x12ListRoutesResponse\x12\x31\n\x06routes\x18\x01 \x03(\x0b\x32!.google.cloud.datastream.v1.Route\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"d\n\x12\x44\x65leteRouteRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61tastream.googleapis.com/Route\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"H\n\x0fGetRouteRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61tastream.googleapis.com/Route2\xfd*\n\nDatastream\x12\xd8\x01\n\x16ListConnectionProfiles\x12\x39.google.cloud.datastream.v1.ListConnectionProfilesRequest\x1a:.google.cloud.datastream.v1.ListConnectionProfilesResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/connectionProfiles\xda\x41\x06parent\x12\xc5\x01\n\x14GetConnectionProfile\x12\x37.google.cloud.datastream.v1.GetConnectionProfileRequest\x1a-.google.cloud.datastream.v1.ConnectionProfile\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/connectionProfiles/*}\xda\x41\x04name\x12\xa4\x02\n\x17\x43reateConnectionProfile\x12:.google.cloud.datastream.v1.CreateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/connectionProfiles:\x12\x63onnection_profile\xda\x41/parent,connection_profile,connection_profile_id\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\x12\xa6\x02\n\x17UpdateConnectionProfile\x12:.google.cloud.datastream.v1.UpdateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\x82\xd3\xe4\x93\x02_2I/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}:\x12\x63onnection_profile\xda\x41\x1e\x63onnection_profile,update_mask\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\x12\xe8\x01\n\x17\x44\x65leteConnectionProfile\x12:.google.cloud.datastream.v1.DeleteConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/connectionProfiles/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe4\x01\n\x19\x44iscoverConnectionProfile\x12<.google.cloud.datastream.v1.DiscoverConnectionProfileRequest\x1a=.google.cloud.datastream.v1.DiscoverConnectionProfileResponse\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{parent=projects/*/locations/*}/connectionProfiles:discover:\x01*\x12\xac\x01\n\x0bListStreams\x12..google.cloud.datastream.v1.ListStreamsRequest\x1a/.google.cloud.datastream.v1.ListStreamsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/streams\xda\x41\x06parent\x12\x99\x01\n\tGetStream\x12,.google.cloud.datastream.v1.GetStreamRequest\x1a\".google.cloud.datastream.v1.Stream\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/streams/*}\xda\x41\x04name\x12\xd3\x01\n\x0c\x43reateStream\x12/.google.cloud.datastream.v1.CreateStreamRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/streams:\x06stream\xda\x41\x17parent,stream,stream_id\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\x12\xd5\x01\n\x0cUpdateStream\x12/.google.cloud.datastream.v1.UpdateStreamRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{stream.name=projects/*/locations/*/streams/*}:\x06stream\xda\x41\x12stream,update_mask\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\x12\xc7\x01\n\x0c\x44\x65leteStream\x12/.google.cloud.datastream.v1.DeleteStreamRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/streams/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb5\x01\n\x0fGetStreamObject\x12\x32.google.cloud.datastream.v1.GetStreamObjectRequest\x1a(.google.cloud.datastream.v1.StreamObject\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/streams/*/objects/*}\xda\x41\x04name\x12\xbe\x01\n\x12LookupStreamObject\x12\x35.google.cloud.datastream.v1.LookupStreamObjectRequest\x1a(.google.cloud.datastream.v1.StreamObject\"G\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*/streams/*}/objects:lookup:\x01*\x12\xc8\x01\n\x11ListStreamObjects\x12\x34.google.cloud.datastream.v1.ListStreamObjectsRequest\x1a\x35.google.cloud.datastream.v1.ListStreamObjectsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/streams/*}/objects\xda\x41\x06parent\x12\xdb\x01\n\x10StartBackfillJob\x12\x33.google.cloud.datastream.v1.StartBackfillJobRequest\x1a\x34.google.cloud.datastream.v1.StartBackfillJobResponse\"\\\x82\xd3\xe4\x93\x02M\"H/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob:\x01*\xda\x41\x06object\x12\xd7\x01\n\x0fStopBackfillJob\x12\x32.google.cloud.datastream.v1.StopBackfillJobRequest\x1a\x33.google.cloud.datastream.v1.StopBackfillJobResponse\"[\x82\xd3\xe4\x93\x02L\"G/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob:\x01*\xda\x41\x06object\x12\xb8\x01\n\x0e\x46\x65tchStaticIps\x12\x31.google.cloud.datastream.v1.FetchStaticIpsRequest\x1a\x32.google.cloud.datastream.v1.FetchStaticIpsResponse\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*}:fetchStaticIps\xda\x41\x04name\x12\xa4\x02\n\x17\x43reatePrivateConnection\x12:.google.cloud.datastream.v1.CreatePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/privateConnections:\x12private_connection\xda\x41/parent,private_connection,private_connection_id\xca\x41&\n\x11PrivateConnection\x12\x11OperationMetadata\x12\xc5\x01\n\x14GetPrivateConnection\x12\x37.google.cloud.datastream.v1.GetPrivateConnectionRequest\x1a-.google.cloud.datastream.v1.PrivateConnection\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/privateConnections/*}\xda\x41\x04name\x12\xd8\x01\n\x16ListPrivateConnections\x12\x39.google.cloud.datastream.v1.ListPrivateConnectionsRequest\x1a:.google.cloud.datastream.v1.ListPrivateConnectionsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/privateConnections\xda\x41\x06parent\x12\xe8\x01\n\x17\x44\x65letePrivateConnection\x12:.google.cloud.datastream.v1.DeletePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/privateConnections/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x0b\x43reateRoute\x12..google.cloud.datastream.v1.CreateRouteRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02H\"?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes:\x05route\xda\x41\x15parent,route,route_id\xca\x41\x1a\n\x05Route\x12\x11OperationMetadata\x12\xaa\x01\n\x08GetRoute\x12+.google.cloud.datastream.v1.GetRouteRequest\x1a!.google.cloud.datastream.v1.Route\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\xda\x41\x04name\x12\xbd\x01\n\nListRoutes\x12-.google.cloud.datastream.v1.ListRoutesRequest\x1a..google.cloud.datastream.v1.ListRoutesResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes\xda\x41\x06parent\x12\xd9\x01\n\x0b\x44\x65leteRoute\x12..google.cloud.datastream.v1.DeleteRouteRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aM\xca\x41\x19\x64\x61tastream.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcd\x01\n\x1e\x63om.google.cloud.datastream.v1B\x0f\x44\x61tastreamProtoP\x01Z>cloud.google.com/go/datastream/apiv1/datastreampb;datastreampb\xaa\x02\x1aGoogle.Cloud.Datastream.V1\xca\x02\x1aGoogle\\Cloud\\Datastream\\V1\xea\x02\x1dGoogle::Cloud::Datastream::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.cloud.datastream.v1.ConnectionProfile", "google/cloud/datastream/v1/datastream_resources.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
36
|
+
]
|
37
|
+
imports.each do |type_name, expected_filename|
|
38
|
+
import_file = pool.lookup(type_name).file_descriptor
|
39
|
+
if import_file.name != expected_filename
|
40
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
205
41
|
end
|
206
42
|
end
|
43
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
44
|
+
warn "This will become an error in the next major version."
|
207
45
|
end
|
208
46
|
|
209
47
|
module Google
|