google-cloud-datastream-v1 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/datastream/v1/datastream/client.rb +111 -1
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +3 -10
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +104 -1
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +3 -10
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +60 -0
- data/lib/google/cloud/datastream/v1/datastream_pb.rb +2 -1
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +27 -1
- data/lib/google/cloud/datastream/v1/datastream_services_pb.rb +3 -0
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +27 -3
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +385 -8
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8010f92edc29881e3100047ddc49cb5933579b26eff3c2627830fc81ed3650ff
         | 
| 4 | 
            +
              data.tar.gz: bf943cf84295f12e58f9b930fe88373b33232eb4af44a5789740e6c59b95b924
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: abffd5dc51f759de885ce0e3245fbbccab21e8d892200b533fac1e050b53e5705ae696fa1c67c6d5805e6545648ce484c1343ca98e408e854b14684bd3ddc11a
         | 
| 7 | 
            +
              data.tar.gz: d5156bcd2a01b9c86697140a4a4fc697fa0aa166b24c5e933d76239c12c109451fb3eee07b9254092f053b68df146a0d120cf5211dd1ec34af1a38c9a30e7eac
         | 
| @@ -784,7 +784,7 @@ module Google | |
| 784 784 | 
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 785 785 | 
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         | 
| 786 786 | 
             
                        #
         | 
| 787 | 
            -
                        # @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)
         | 
| 787 | 
            +
                        # @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, sql_server_rdbms: nil)
         | 
| 788 788 | 
             
                        #   Pass arguments to `discover_connection_profile` via keyword arguments. Note that at
         | 
| 789 789 | 
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 790 790 | 
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| @@ -807,6 +807,8 @@ module Google | |
| 807 807 | 
             
                        #     MySQL RDBMS to enrich with child data objects and metadata.
         | 
| 808 808 | 
             
                        #   @param postgresql_rdbms [::Google::Cloud::Datastream::V1::PostgresqlRdbms, ::Hash]
         | 
| 809 809 | 
             
                        #     PostgreSQL RDBMS to enrich with child data objects and metadata.
         | 
| 810 | 
            +
                        #   @param sql_server_rdbms [::Google::Cloud::Datastream::V1::SqlServerRdbms, ::Hash]
         | 
| 811 | 
            +
                        #     SQLServer RDBMS to enrich with child data objects and metadata.
         | 
| 810 812 | 
             
                        #
         | 
| 811 813 | 
             
                        # @yield [response, operation] Access the result along with the RPC operation
         | 
| 812 814 | 
             
                        # @yieldparam response [::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse]
         | 
| @@ -1408,6 +1410,107 @@ module Google | |
| 1408 1410 | 
             
                          raise ::Google::Cloud::Error.from_error(e)
         | 
| 1409 1411 | 
             
                        end
         | 
| 1410 1412 |  | 
| 1413 | 
            +
                        ##
         | 
| 1414 | 
            +
                        # Use this method to start, resume or recover a stream with a non default CDC
         | 
| 1415 | 
            +
                        # strategy.
         | 
| 1416 | 
            +
                        #
         | 
| 1417 | 
            +
                        # @overload run_stream(request, options = nil)
         | 
| 1418 | 
            +
                        #   Pass arguments to `run_stream` via a request object, either of type
         | 
| 1419 | 
            +
                        #   {::Google::Cloud::Datastream::V1::RunStreamRequest} or an equivalent Hash.
         | 
| 1420 | 
            +
                        #
         | 
| 1421 | 
            +
                        #   @param request [::Google::Cloud::Datastream::V1::RunStreamRequest, ::Hash]
         | 
| 1422 | 
            +
                        #     A request object representing the call parameters. Required. To specify no
         | 
| 1423 | 
            +
                        #     parameters, or to keep all the default parameter values, pass an empty Hash.
         | 
| 1424 | 
            +
                        #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 1425 | 
            +
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         | 
| 1426 | 
            +
                        #
         | 
| 1427 | 
            +
                        # @overload run_stream(name: nil, cdc_strategy: nil, force: nil)
         | 
| 1428 | 
            +
                        #   Pass arguments to `run_stream` via keyword arguments. Note that at
         | 
| 1429 | 
            +
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 1430 | 
            +
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| 1431 | 
            +
                        #
         | 
| 1432 | 
            +
                        #   @param name [::String]
         | 
| 1433 | 
            +
                        #     Required. Name of the stream resource to start, in the format:
         | 
| 1434 | 
            +
                        #     projects/\\{project_id}/locations/\\{location}/streams/\\{stream_name}
         | 
| 1435 | 
            +
                        #   @param cdc_strategy [::Google::Cloud::Datastream::V1::CdcStrategy, ::Hash]
         | 
| 1436 | 
            +
                        #     Optional. The CDC strategy of the stream. If not set, the system's default
         | 
| 1437 | 
            +
                        #     value will be used.
         | 
| 1438 | 
            +
                        #   @param force [::Boolean]
         | 
| 1439 | 
            +
                        #     Optional. Update the stream without validating it.
         | 
| 1440 | 
            +
                        #
         | 
| 1441 | 
            +
                        # @yield [response, operation] Access the result along with the RPC operation
         | 
| 1442 | 
            +
                        # @yieldparam response [::Gapic::Operation]
         | 
| 1443 | 
            +
                        # @yieldparam operation [::GRPC::ActiveCall::Operation]
         | 
| 1444 | 
            +
                        #
         | 
| 1445 | 
            +
                        # @return [::Gapic::Operation]
         | 
| 1446 | 
            +
                        #
         | 
| 1447 | 
            +
                        # @raise [::Google::Cloud::Error] if the RPC is aborted.
         | 
| 1448 | 
            +
                        #
         | 
| 1449 | 
            +
                        # @example Basic example
         | 
| 1450 | 
            +
                        #   require "google/cloud/datastream/v1"
         | 
| 1451 | 
            +
                        #
         | 
| 1452 | 
            +
                        #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1453 | 
            +
                        #   client = Google::Cloud::Datastream::V1::Datastream::Client.new
         | 
| 1454 | 
            +
                        #
         | 
| 1455 | 
            +
                        #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1456 | 
            +
                        #   request = Google::Cloud::Datastream::V1::RunStreamRequest.new
         | 
| 1457 | 
            +
                        #
         | 
| 1458 | 
            +
                        #   # Call the run_stream method.
         | 
| 1459 | 
            +
                        #   result = client.run_stream request
         | 
| 1460 | 
            +
                        #
         | 
| 1461 | 
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1462 | 
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1463 | 
            +
                        #   # Here is how to wait for a response.
         | 
| 1464 | 
            +
                        #   result.wait_until_done! timeout: 60
         | 
| 1465 | 
            +
                        #   if result.response?
         | 
| 1466 | 
            +
                        #     p result.response
         | 
| 1467 | 
            +
                        #   else
         | 
| 1468 | 
            +
                        #     puts "No response received."
         | 
| 1469 | 
            +
                        #   end
         | 
| 1470 | 
            +
                        #
         | 
| 1471 | 
            +
                        def run_stream request, options = nil
         | 
| 1472 | 
            +
                          raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1473 | 
            +
             | 
| 1474 | 
            +
                          request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Datastream::V1::RunStreamRequest
         | 
| 1475 | 
            +
             | 
| 1476 | 
            +
                          # Converts hash and nil to an options object
         | 
| 1477 | 
            +
                          options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
         | 
| 1478 | 
            +
             | 
| 1479 | 
            +
                          # Customize the options with defaults
         | 
| 1480 | 
            +
                          metadata = @config.rpcs.run_stream.metadata.to_h
         | 
| 1481 | 
            +
             | 
| 1482 | 
            +
                          # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         | 
| 1483 | 
            +
                          metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         | 
| 1484 | 
            +
                            lib_name: @config.lib_name, lib_version: @config.lib_version,
         | 
| 1485 | 
            +
                            gapic_version: ::Google::Cloud::Datastream::V1::VERSION
         | 
| 1486 | 
            +
                          metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         | 
| 1487 | 
            +
                          metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         | 
| 1488 | 
            +
             | 
| 1489 | 
            +
                          header_params = {}
         | 
| 1490 | 
            +
                          if request.name
         | 
| 1491 | 
            +
                            header_params["name"] = request.name
         | 
| 1492 | 
            +
                          end
         | 
| 1493 | 
            +
             | 
| 1494 | 
            +
                          request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
         | 
| 1495 | 
            +
                          metadata[:"x-goog-request-params"] ||= request_params_header
         | 
| 1496 | 
            +
             | 
| 1497 | 
            +
                          options.apply_defaults timeout:      @config.rpcs.run_stream.timeout,
         | 
| 1498 | 
            +
                                                 metadata:     metadata,
         | 
| 1499 | 
            +
                                                 retry_policy: @config.rpcs.run_stream.retry_policy
         | 
| 1500 | 
            +
             | 
| 1501 | 
            +
                          options.apply_defaults timeout:      @config.timeout,
         | 
| 1502 | 
            +
                                                 metadata:     @config.metadata,
         | 
| 1503 | 
            +
                                                 retry_policy: @config.retry_policy
         | 
| 1504 | 
            +
             | 
| 1505 | 
            +
                          @datastream_stub.call_rpc :run_stream, request, options: options do |response, operation|
         | 
| 1506 | 
            +
                            response = ::Gapic::Operation.new response, @operations_client, options: options
         | 
| 1507 | 
            +
                            yield response, operation if block_given?
         | 
| 1508 | 
            +
                            return response
         | 
| 1509 | 
            +
                          end
         | 
| 1510 | 
            +
                        rescue ::GRPC::BadStatus => e
         | 
| 1511 | 
            +
                          raise ::Google::Cloud::Error.from_error(e)
         | 
| 1512 | 
            +
                        end
         | 
| 1513 | 
            +
             | 
| 1411 1514 | 
             
                        ##
         | 
| 1412 1515 | 
             
                        # Use this method to get details about a stream object.
         | 
| 1413 1516 | 
             
                        #
         | 
| @@ -2994,6 +3097,11 @@ module Google | |
| 2994 3097 | 
             
                            #
         | 
| 2995 3098 | 
             
                            attr_reader :delete_stream
         | 
| 2996 3099 | 
             
                            ##
         | 
| 3100 | 
            +
                            # RPC-specific configuration for `run_stream`
         | 
| 3101 | 
            +
                            # @return [::Gapic::Config::Method]
         | 
| 3102 | 
            +
                            #
         | 
| 3103 | 
            +
                            attr_reader :run_stream
         | 
| 3104 | 
            +
                            ##
         | 
| 2997 3105 | 
             
                            # RPC-specific configuration for `get_stream_object`
         | 
| 2998 3106 | 
             
                            # @return [::Gapic::Config::Method]
         | 
| 2999 3107 | 
             
                            #
         | 
| @@ -3088,6 +3196,8 @@ module Google | |
| 3088 3196 | 
             
                              @update_stream = ::Gapic::Config::Method.new update_stream_config
         | 
| 3089 3197 | 
             
                              delete_stream_config = parent_rpcs.delete_stream if parent_rpcs.respond_to? :delete_stream
         | 
| 3090 3198 | 
             
                              @delete_stream = ::Gapic::Config::Method.new delete_stream_config
         | 
| 3199 | 
            +
                              run_stream_config = parent_rpcs.run_stream if parent_rpcs.respond_to? :run_stream
         | 
| 3200 | 
            +
                              @run_stream = ::Gapic::Config::Method.new run_stream_config
         | 
| 3091 3201 | 
             
                              get_stream_object_config = parent_rpcs.get_stream_object if parent_rpcs.respond_to? :get_stream_object
         | 
| 3092 3202 | 
             
                              @get_stream_object = ::Gapic::Config::Method.new get_stream_object_config
         | 
| 3093 3203 | 
             
                              lookup_stream_object_config = parent_rpcs.lookup_stream_object if parent_rpcs.respond_to? :lookup_stream_object
         | 
| @@ -124,14 +124,6 @@ module Google | |
| 124 124 | 
             
                        # Lists operations that match the specified filter in the request. If the
         | 
| 125 125 | 
             
                        # server doesn't support this method, it returns `UNIMPLEMENTED`.
         | 
| 126 126 | 
             
                        #
         | 
| 127 | 
            -
                        # NOTE: the `name` binding allows API services to override the binding
         | 
| 128 | 
            -
                        # to use different resource name schemes, such as `users/*/operations`. To
         | 
| 129 | 
            -
                        # override the binding, API services can add a binding such as
         | 
| 130 | 
            -
                        # `"/v1/{name=users/*}/operations"` to their service configuration.
         | 
| 131 | 
            -
                        # For backwards compatibility, the default name includes the operations
         | 
| 132 | 
            -
                        # collection id, however overriding users must ensure the name binding
         | 
| 133 | 
            -
                        # is the parent resource, without the operations collection id.
         | 
| 134 | 
            -
                        #
         | 
| 135 127 | 
             
                        # @overload list_operations(request, options = nil)
         | 
| 136 128 | 
             
                        #   Pass arguments to `list_operations` via a request object, either of type
         | 
| 137 129 | 
             
                        #   {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
         | 
| @@ -421,8 +413,9 @@ module Google | |
| 421 413 | 
             
                        # other methods to check whether the cancellation succeeded or whether the
         | 
| 422 414 | 
             
                        # operation completed despite cancellation. On successful cancellation,
         | 
| 423 415 | 
             
                        # the operation is not deleted; instead, it becomes an operation with
         | 
| 424 | 
            -
                        # an {::Google::Longrunning::Operation#error Operation.error} value with a | 
| 425 | 
            -
                        # corresponding to | 
| 416 | 
            +
                        # an {::Google::Longrunning::Operation#error Operation.error} value with a
         | 
| 417 | 
            +
                        # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
         | 
| 418 | 
            +
                        # `Code.CANCELLED`.
         | 
| 426 419 | 
             
                        #
         | 
| 427 420 | 
             
                        # @overload cancel_operation(request, options = nil)
         | 
| 428 421 | 
             
                        #   Pass arguments to `cancel_operation` via a request object, either of type
         | 
| @@ -742,7 +742,7 @@ module Google | |
| 742 742 | 
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 743 743 | 
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         | 
| 744 744 | 
             
                          #
         | 
| 745 | 
            -
                          # @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)
         | 
| 745 | 
            +
                          # @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, sql_server_rdbms: nil)
         | 
| 746 746 | 
             
                          #   Pass arguments to `discover_connection_profile` via keyword arguments. Note that at
         | 
| 747 747 | 
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 748 748 | 
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| @@ -765,6 +765,8 @@ module Google | |
| 765 765 | 
             
                          #     MySQL RDBMS to enrich with child data objects and metadata.
         | 
| 766 766 | 
             
                          #   @param postgresql_rdbms [::Google::Cloud::Datastream::V1::PostgresqlRdbms, ::Hash]
         | 
| 767 767 | 
             
                          #     PostgreSQL RDBMS to enrich with child data objects and metadata.
         | 
| 768 | 
            +
                          #   @param sql_server_rdbms [::Google::Cloud::Datastream::V1::SqlServerRdbms, ::Hash]
         | 
| 769 | 
            +
                          #     SQLServer RDBMS to enrich with child data objects and metadata.
         | 
| 768 770 | 
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 769 771 | 
             
                          # @yieldparam result [::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse]
         | 
| 770 772 | 
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
| @@ -1323,6 +1325,100 @@ module Google | |
| 1323 1325 | 
             
                            raise ::Google::Cloud::Error.from_error(e)
         | 
| 1324 1326 | 
             
                          end
         | 
| 1325 1327 |  | 
| 1328 | 
            +
                          ##
         | 
| 1329 | 
            +
                          # Use this method to start, resume or recover a stream with a non default CDC
         | 
| 1330 | 
            +
                          # strategy.
         | 
| 1331 | 
            +
                          #
         | 
| 1332 | 
            +
                          # @overload run_stream(request, options = nil)
         | 
| 1333 | 
            +
                          #   Pass arguments to `run_stream` via a request object, either of type
         | 
| 1334 | 
            +
                          #   {::Google::Cloud::Datastream::V1::RunStreamRequest} or an equivalent Hash.
         | 
| 1335 | 
            +
                          #
         | 
| 1336 | 
            +
                          #   @param request [::Google::Cloud::Datastream::V1::RunStreamRequest, ::Hash]
         | 
| 1337 | 
            +
                          #     A request object representing the call parameters. Required. To specify no
         | 
| 1338 | 
            +
                          #     parameters, or to keep all the default parameter values, pass an empty Hash.
         | 
| 1339 | 
            +
                          #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 1340 | 
            +
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         | 
| 1341 | 
            +
                          #
         | 
| 1342 | 
            +
                          # @overload run_stream(name: nil, cdc_strategy: nil, force: nil)
         | 
| 1343 | 
            +
                          #   Pass arguments to `run_stream` via keyword arguments. Note that at
         | 
| 1344 | 
            +
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 1345 | 
            +
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| 1346 | 
            +
                          #
         | 
| 1347 | 
            +
                          #   @param name [::String]
         | 
| 1348 | 
            +
                          #     Required. Name of the stream resource to start, in the format:
         | 
| 1349 | 
            +
                          #     projects/\\{project_id}/locations/\\{location}/streams/\\{stream_name}
         | 
| 1350 | 
            +
                          #   @param cdc_strategy [::Google::Cloud::Datastream::V1::CdcStrategy, ::Hash]
         | 
| 1351 | 
            +
                          #     Optional. The CDC strategy of the stream. If not set, the system's default
         | 
| 1352 | 
            +
                          #     value will be used.
         | 
| 1353 | 
            +
                          #   @param force [::Boolean]
         | 
| 1354 | 
            +
                          #     Optional. Update the stream without validating it.
         | 
| 1355 | 
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 1356 | 
            +
                          # @yieldparam result [::Gapic::Operation]
         | 
| 1357 | 
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
| 1358 | 
            +
                          #
         | 
| 1359 | 
            +
                          # @return [::Gapic::Operation]
         | 
| 1360 | 
            +
                          #
         | 
| 1361 | 
            +
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1362 | 
            +
                          #
         | 
| 1363 | 
            +
                          # @example Basic example
         | 
| 1364 | 
            +
                          #   require "google/cloud/datastream/v1"
         | 
| 1365 | 
            +
                          #
         | 
| 1366 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1367 | 
            +
                          #   client = Google::Cloud::Datastream::V1::Datastream::Rest::Client.new
         | 
| 1368 | 
            +
                          #
         | 
| 1369 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1370 | 
            +
                          #   request = Google::Cloud::Datastream::V1::RunStreamRequest.new
         | 
| 1371 | 
            +
                          #
         | 
| 1372 | 
            +
                          #   # Call the run_stream method.
         | 
| 1373 | 
            +
                          #   result = client.run_stream request
         | 
| 1374 | 
            +
                          #
         | 
| 1375 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1376 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1377 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 1378 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 1379 | 
            +
                          #   if result.response?
         | 
| 1380 | 
            +
                          #     p result.response
         | 
| 1381 | 
            +
                          #   else
         | 
| 1382 | 
            +
                          #     puts "No response received."
         | 
| 1383 | 
            +
                          #   end
         | 
| 1384 | 
            +
                          #
         | 
| 1385 | 
            +
                          def run_stream request, options = nil
         | 
| 1386 | 
            +
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1387 | 
            +
             | 
| 1388 | 
            +
                            request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Datastream::V1::RunStreamRequest
         | 
| 1389 | 
            +
             | 
| 1390 | 
            +
                            # Converts hash and nil to an options object
         | 
| 1391 | 
            +
                            options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
         | 
| 1392 | 
            +
             | 
| 1393 | 
            +
                            # Customize the options with defaults
         | 
| 1394 | 
            +
                            call_metadata = @config.rpcs.run_stream.metadata.to_h
         | 
| 1395 | 
            +
             | 
| 1396 | 
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         | 
| 1397 | 
            +
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         | 
| 1398 | 
            +
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         | 
| 1399 | 
            +
                              gapic_version: ::Google::Cloud::Datastream::V1::VERSION,
         | 
| 1400 | 
            +
                              transports_version_send: [:rest]
         | 
| 1401 | 
            +
             | 
| 1402 | 
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         | 
| 1403 | 
            +
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         | 
| 1404 | 
            +
             | 
| 1405 | 
            +
                            options.apply_defaults timeout:      @config.rpcs.run_stream.timeout,
         | 
| 1406 | 
            +
                                                   metadata:     call_metadata,
         | 
| 1407 | 
            +
                                                   retry_policy: @config.rpcs.run_stream.retry_policy
         | 
| 1408 | 
            +
             | 
| 1409 | 
            +
                            options.apply_defaults timeout:      @config.timeout,
         | 
| 1410 | 
            +
                                                   metadata:     @config.metadata,
         | 
| 1411 | 
            +
                                                   retry_policy: @config.retry_policy
         | 
| 1412 | 
            +
             | 
| 1413 | 
            +
                            @datastream_stub.run_stream request, options do |result, operation|
         | 
| 1414 | 
            +
                              result = ::Gapic::Operation.new result, @operations_client, options: options
         | 
| 1415 | 
            +
                              yield result, operation if block_given?
         | 
| 1416 | 
            +
                              return result
         | 
| 1417 | 
            +
                            end
         | 
| 1418 | 
            +
                          rescue ::Gapic::Rest::Error => e
         | 
| 1419 | 
            +
                            raise ::Google::Cloud::Error.from_error(e)
         | 
| 1420 | 
            +
                          end
         | 
| 1421 | 
            +
             | 
| 1326 1422 | 
             
                          ##
         | 
| 1327 1423 | 
             
                          # Use this method to get details about a stream object.
         | 
| 1328 1424 | 
             
                          #
         | 
| @@ -2797,6 +2893,11 @@ module Google | |
| 2797 2893 | 
             
                              #
         | 
| 2798 2894 | 
             
                              attr_reader :delete_stream
         | 
| 2799 2895 | 
             
                              ##
         | 
| 2896 | 
            +
                              # RPC-specific configuration for `run_stream`
         | 
| 2897 | 
            +
                              # @return [::Gapic::Config::Method]
         | 
| 2898 | 
            +
                              #
         | 
| 2899 | 
            +
                              attr_reader :run_stream
         | 
| 2900 | 
            +
                              ##
         | 
| 2800 2901 | 
             
                              # RPC-specific configuration for `get_stream_object`
         | 
| 2801 2902 | 
             
                              # @return [::Gapic::Config::Method]
         | 
| 2802 2903 | 
             
                              #
         | 
| @@ -2891,6 +2992,8 @@ module Google | |
| 2891 2992 | 
             
                                @update_stream = ::Gapic::Config::Method.new update_stream_config
         | 
| 2892 2993 | 
             
                                delete_stream_config = parent_rpcs.delete_stream if parent_rpcs.respond_to? :delete_stream
         | 
| 2893 2994 | 
             
                                @delete_stream = ::Gapic::Config::Method.new delete_stream_config
         | 
| 2995 | 
            +
                                run_stream_config = parent_rpcs.run_stream if parent_rpcs.respond_to? :run_stream
         | 
| 2996 | 
            +
                                @run_stream = ::Gapic::Config::Method.new run_stream_config
         | 
| 2894 2997 | 
             
                                get_stream_object_config = parent_rpcs.get_stream_object if parent_rpcs.respond_to? :get_stream_object
         | 
| 2895 2998 | 
             
                                @get_stream_object = ::Gapic::Config::Method.new get_stream_object_config
         | 
| 2896 2999 | 
             
                                lookup_stream_object_config = parent_rpcs.lookup_stream_object if parent_rpcs.respond_to? :lookup_stream_object
         | 
| @@ -115,14 +115,6 @@ module Google | |
| 115 115 | 
             
                          # Lists operations that match the specified filter in the request. If the
         | 
| 116 116 | 
             
                          # server doesn't support this method, it returns `UNIMPLEMENTED`.
         | 
| 117 117 | 
             
                          #
         | 
| 118 | 
            -
                          # NOTE: the `name` binding allows API services to override the binding
         | 
| 119 | 
            -
                          # to use different resource name schemes, such as `users/*/operations`. To
         | 
| 120 | 
            -
                          # override the binding, API services can add a binding such as
         | 
| 121 | 
            -
                          # `"/v1/{name=users/*}/operations"` to their service configuration.
         | 
| 122 | 
            -
                          # For backwards compatibility, the default name includes the operations
         | 
| 123 | 
            -
                          # collection id, however overriding users must ensure the name binding
         | 
| 124 | 
            -
                          # is the parent resource, without the operations collection id.
         | 
| 125 | 
            -
                          #
         | 
| 126 118 | 
             
                          # @overload list_operations(request, options = nil)
         | 
| 127 119 | 
             
                          #   Pass arguments to `list_operations` via a request object, either of type
         | 
| 128 120 | 
             
                          #   {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
         | 
| @@ -390,8 +382,9 @@ module Google | |
| 390 382 | 
             
                          # other methods to check whether the cancellation succeeded or whether the
         | 
| 391 383 | 
             
                          # operation completed despite cancellation. On successful cancellation,
         | 
| 392 384 | 
             
                          # the operation is not deleted; instead, it becomes an operation with
         | 
| 393 | 
            -
                          # an {::Google::Longrunning::Operation#error Operation.error} value with a | 
| 394 | 
            -
                          # corresponding to | 
| 385 | 
            +
                          # an {::Google::Longrunning::Operation#error Operation.error} value with a
         | 
| 386 | 
            +
                          # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
         | 
| 387 | 
            +
                          # `Code.CANCELLED`.
         | 
| 395 388 | 
             
                          #
         | 
| 396 389 | 
             
                          # @overload cancel_operation(request, options = nil)
         | 
| 397 390 | 
             
                          #   Pass arguments to `cancel_operation` via a request object, either of type
         | 
| @@ -479,6 +479,44 @@ module Google | |
| 479 479 | 
             
                            result
         | 
| 480 480 | 
             
                          end
         | 
| 481 481 |  | 
| 482 | 
            +
                          ##
         | 
| 483 | 
            +
                          # Baseline implementation for the run_stream REST call
         | 
| 484 | 
            +
                          #
         | 
| 485 | 
            +
                          # @param request_pb [::Google::Cloud::Datastream::V1::RunStreamRequest]
         | 
| 486 | 
            +
                          #   A request object representing the call parameters. Required.
         | 
| 487 | 
            +
                          # @param options [::Gapic::CallOptions]
         | 
| 488 | 
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         | 
| 489 | 
            +
                          #
         | 
| 490 | 
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 491 | 
            +
                          # @yieldparam result [::Google::Longrunning::Operation]
         | 
| 492 | 
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
| 493 | 
            +
                          #
         | 
| 494 | 
            +
                          # @return [::Google::Longrunning::Operation]
         | 
| 495 | 
            +
                          #   A result object deserialized from the server's reply
         | 
| 496 | 
            +
                          def run_stream request_pb, options = nil
         | 
| 497 | 
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         | 
| 498 | 
            +
             | 
| 499 | 
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_run_stream_request request_pb
         | 
| 500 | 
            +
                            query_string_params = if query_string_params.any?
         | 
| 501 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 502 | 
            +
                                                  else
         | 
| 503 | 
            +
                                                    {}
         | 
| 504 | 
            +
                                                  end
         | 
| 505 | 
            +
             | 
| 506 | 
            +
                            response = @client_stub.make_http_request(
         | 
| 507 | 
            +
                              verb,
         | 
| 508 | 
            +
                              uri:     uri,
         | 
| 509 | 
            +
                              body:    body || "",
         | 
| 510 | 
            +
                              params:  query_string_params,
         | 
| 511 | 
            +
                              options: options
         | 
| 512 | 
            +
                            )
         | 
| 513 | 
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         | 
| 514 | 
            +
                            result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
         | 
| 515 | 
            +
             | 
| 516 | 
            +
                            yield result, operation if block_given?
         | 
| 517 | 
            +
                            result
         | 
| 518 | 
            +
                          end
         | 
| 519 | 
            +
             | 
| 482 520 | 
             
                          ##
         | 
| 483 521 | 
             
                          # Baseline implementation for the get_stream_object REST call
         | 
| 484 522 | 
             
                          #
         | 
| @@ -1247,6 +1285,28 @@ module Google | |
| 1247 1285 | 
             
                            transcoder.transcode request_pb
         | 
| 1248 1286 | 
             
                          end
         | 
| 1249 1287 |  | 
| 1288 | 
            +
                          ##
         | 
| 1289 | 
            +
                          # @private
         | 
| 1290 | 
            +
                          #
         | 
| 1291 | 
            +
                          # GRPC transcoding helper method for the run_stream REST call
         | 
| 1292 | 
            +
                          #
         | 
| 1293 | 
            +
                          # @param request_pb [::Google::Cloud::Datastream::V1::RunStreamRequest]
         | 
| 1294 | 
            +
                          #   A request object representing the call parameters. Required.
         | 
| 1295 | 
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         | 
| 1296 | 
            +
                          #   Uri, Body, Query string parameters
         | 
| 1297 | 
            +
                          def self.transcode_run_stream_request request_pb
         | 
| 1298 | 
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         | 
| 1299 | 
            +
                                                                    .with_bindings(
         | 
| 1300 | 
            +
                                                                      uri_method: :post,
         | 
| 1301 | 
            +
                                                                      uri_template: "/v1/{name}:run",
         | 
| 1302 | 
            +
                                                                      body: "*",
         | 
| 1303 | 
            +
                                                                      matches: [
         | 
| 1304 | 
            +
                                                                        ["name", %r{^projects/[^/]+/locations/[^/]+/streams/[^/]+/?$}, false]
         | 
| 1305 | 
            +
                                                                      ]
         | 
| 1306 | 
            +
                                                                    )
         | 
| 1307 | 
            +
                            transcoder.transcode request_pb
         | 
| 1308 | 
            +
                          end
         | 
| 1309 | 
            +
             | 
| 1250 1310 | 
             
                          ##
         | 
| 1251 1311 | 
             
                          # @private
         | 
| 1252 1312 | 
             
                          #
         | 
| @@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb' | |
| 15 15 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 16 16 |  | 
| 17 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\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/connectionProfiles\x12\xc5\x01\n\x14GetConnectionProfile\x12\x37.google.cloud.datastream.v1.GetConnectionProfileRequest\x1a-.google.cloud.datastream.v1.ConnectionProfile\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/connectionProfiles/*}\x12\xa4\x02\n\x17\x43reateConnectionProfile\x12:.google.cloud.datastream.v1.CreateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\xda\x41/parent,connection_profile,connection_profile_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/connectionProfiles:\x12\x63onnection_profile\x12\xa6\x02\n\x17UpdateConnectionProfile\x12:.google.cloud.datastream.v1.UpdateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\xda\x41\x1e\x63onnection_profile,update_mask\x82\xd3\xe4\x93\x02_2I/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}:\x12\x63onnection_profile\x12\xe8\x01\n\x17\x44\x65leteConnectionProfile\x12:.google.cloud.datastream.v1.DeleteConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/connectionProfiles/*}\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\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/streams\x12\x99\x01\n\tGetStream\x12,.google.cloud.datastream.v1.GetStreamRequest\x1a\".google.cloud.datastream.v1.Stream\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/streams/*}\x12\xd3\x01\n\x0c\x43reateStream\x12/.google.cloud.datastream.v1.CreateStreamRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\xda\x41\x17parent,stream,stream_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/streams:\x06stream\x12\xd5\x01\n\x0cUpdateStream\x12/.google.cloud.datastream.v1.UpdateStreamRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\xda\x41\x12stream,update_mask\x82\xd3\xe4\x93\x02<22/v1/{stream.name=projects/*/locations/*/streams/*}:\x06stream\x12\xc7\x01\n\x0c\x44\x65leteStream\x12/.google.cloud.datastream.v1.DeleteStreamRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/streams/*}\x12\xb5\x01\n\x0fGetStreamObject\x12\x32.google.cloud.datastream.v1.GetStreamObjectRequest\x1a(.google.cloud.datastream.v1.StreamObject\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/streams/*/objects/*}\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\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/streams/*}/objects\x12\xdb\x01\n\x10StartBackfillJob\x12\x33.google.cloud.datastream.v1.StartBackfillJobRequest\x1a\x34.google.cloud.datastream.v1.StartBackfillJobResponse\"\\\xda\x41\x06object\x82\xd3\xe4\x93\x02M\"H/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob:\x01*\x12\xd7\x01\n\x0fStopBackfillJob\x12\x32.google.cloud.datastream.v1.StopBackfillJobRequest\x1a\x33.google.cloud.datastream.v1.StopBackfillJobResponse\"[\xda\x41\x06object\x82\xd3\xe4\x93\x02L\"G/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob:\x01*\x12\xb8\x01\n\x0e\x46\x65tchStaticIps\x12\x31.google.cloud.datastream.v1.FetchStaticIpsRequest\x1a\x32.google.cloud.datastream.v1.FetchStaticIpsResponse\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*}:fetchStaticIps\x12\xa4\x02\n\x17\x43reatePrivateConnection\x12:.google.cloud.datastream.v1.CreatePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11PrivateConnection\x12\x11OperationMetadata\xda\x41/parent,private_connection,private_connection_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/privateConnections:\x12private_connection\x12\xc5\x01\n\x14GetPrivateConnection\x12\x37.google.cloud.datastream.v1.GetPrivateConnectionRequest\x1a-.google.cloud.datastream.v1.PrivateConnection\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/privateConnections/*}\x12\xd8\x01\n\x16ListPrivateConnections\x12\x39.google.cloud.datastream.v1.ListPrivateConnectionsRequest\x1a:.google.cloud.datastream.v1.ListPrivateConnectionsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/privateConnections\x12\xe8\x01\n\x17\x44\x65letePrivateConnection\x12:.google.cloud.datastream.v1.DeletePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/privateConnections/*}\x12\xe2\x01\n\x0b\x43reateRoute\x12..google.cloud.datastream.v1.CreateRouteRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1a\n\x05Route\x12\x11OperationMetadata\xda\x41\x15parent,route,route_id\x82\xd3\xe4\x93\x02H\"?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes:\x05route\x12\xaa\x01\n\x08GetRoute\x12+.google.cloud.datastream.v1.GetRouteRequest\x1a!.google.cloud.datastream.v1.Route\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\x12\xbd\x01\n\nListRoutes\x12-.google.cloud.datastream.v1.ListRoutesRequest\x1a..google.cloud.datastream.v1.ListRoutesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes\x12\xd9\x01\n\x0b\x44\x65leteRoute\x12..google.cloud.datastream.v1.DeleteRouteRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\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"
         | 
| 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\"\xc5\x04\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\x12\x46\n\x10sql_server_rdbms\x18g \x01(\x0b\x32*.google.cloud.datastream.v1.SqlServerRdbmsH\x02\x42\x08\n\x06targetB\x0b\n\thierarchyB\r\n\x0b\x64\x61ta_object\"\xc3\x02\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\x12\x46\n\x10sql_server_rdbms\x18g \x01(\x0b\x32*.google.cloud.datastream.v1.SqlServerRdbmsH\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\"\xa2\x01\n\x10RunStreamRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datastream.googleapis.com/Stream\x12\x42\n\x0c\x63\x64\x63_strategy\x18\x02 \x01(\x0b\x32\'.google.cloud.datastream.v1.CdcStrategyB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\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\xb2,\n\nDatastream\x12\xd8\x01\n\x16ListConnectionProfiles\x12\x39.google.cloud.datastream.v1.ListConnectionProfilesRequest\x1a:.google.cloud.datastream.v1.ListConnectionProfilesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/connectionProfiles\x12\xc5\x01\n\x14GetConnectionProfile\x12\x37.google.cloud.datastream.v1.GetConnectionProfileRequest\x1a-.google.cloud.datastream.v1.ConnectionProfile\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/connectionProfiles/*}\x12\xa4\x02\n\x17\x43reateConnectionProfile\x12:.google.cloud.datastream.v1.CreateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\xda\x41/parent,connection_profile,connection_profile_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/connectionProfiles:\x12\x63onnection_profile\x12\xa6\x02\n\x17UpdateConnectionProfile\x12:.google.cloud.datastream.v1.UpdateConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41&\n\x11\x43onnectionProfile\x12\x11OperationMetadata\xda\x41\x1e\x63onnection_profile,update_mask\x82\xd3\xe4\x93\x02_2I/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}:\x12\x63onnection_profile\x12\xe8\x01\n\x17\x44\x65leteConnectionProfile\x12:.google.cloud.datastream.v1.DeleteConnectionProfileRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/connectionProfiles/*}\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\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/streams\x12\x99\x01\n\tGetStream\x12,.google.cloud.datastream.v1.GetStreamRequest\x1a\".google.cloud.datastream.v1.Stream\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/streams/*}\x12\xd3\x01\n\x0c\x43reateStream\x12/.google.cloud.datastream.v1.CreateStreamRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\xda\x41\x17parent,stream,stream_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/streams:\x06stream\x12\xd5\x01\n\x0cUpdateStream\x12/.google.cloud.datastream.v1.UpdateStreamRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\xda\x41\x12stream,update_mask\x82\xd3\xe4\x93\x02<22/v1/{stream.name=projects/*/locations/*/streams/*}:\x06stream\x12\xc7\x01\n\x0c\x44\x65leteStream\x12/.google.cloud.datastream.v1.DeleteStreamRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/streams/*}\x12\xb2\x01\n\tRunStream\x12,.google.cloud.datastream.v1.RunStreamRequest\x1a\x1d.google.longrunning.Operation\"X\xca\x41\x1b\n\x06Stream\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x34\"//v1/{name=projects/*/locations/*/streams/*}:run:\x01*\x12\xb5\x01\n\x0fGetStreamObject\x12\x32.google.cloud.datastream.v1.GetStreamObjectRequest\x1a(.google.cloud.datastream.v1.StreamObject\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/streams/*/objects/*}\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\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/streams/*}/objects\x12\xdb\x01\n\x10StartBackfillJob\x12\x33.google.cloud.datastream.v1.StartBackfillJobRequest\x1a\x34.google.cloud.datastream.v1.StartBackfillJobResponse\"\\\xda\x41\x06object\x82\xd3\xe4\x93\x02M\"H/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob:\x01*\x12\xd7\x01\n\x0fStopBackfillJob\x12\x32.google.cloud.datastream.v1.StopBackfillJobRequest\x1a\x33.google.cloud.datastream.v1.StopBackfillJobResponse\"[\xda\x41\x06object\x82\xd3\xe4\x93\x02L\"G/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob:\x01*\x12\xb8\x01\n\x0e\x46\x65tchStaticIps\x12\x31.google.cloud.datastream.v1.FetchStaticIpsRequest\x1a\x32.google.cloud.datastream.v1.FetchStaticIpsResponse\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*}:fetchStaticIps\x12\xa4\x02\n\x17\x43reatePrivateConnection\x12:.google.cloud.datastream.v1.CreatePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11PrivateConnection\x12\x11OperationMetadata\xda\x41/parent,private_connection,private_connection_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/privateConnections:\x12private_connection\x12\xc5\x01\n\x14GetPrivateConnection\x12\x37.google.cloud.datastream.v1.GetPrivateConnectionRequest\x1a-.google.cloud.datastream.v1.PrivateConnection\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/privateConnections/*}\x12\xd8\x01\n\x16ListPrivateConnections\x12\x39.google.cloud.datastream.v1.ListPrivateConnectionsRequest\x1a:.google.cloud.datastream.v1.ListPrivateConnectionsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/privateConnections\x12\xe8\x01\n\x17\x44\x65letePrivateConnection\x12:.google.cloud.datastream.v1.DeletePrivateConnectionRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/privateConnections/*}\x12\xe2\x01\n\x0b\x43reateRoute\x12..google.cloud.datastream.v1.CreateRouteRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1a\n\x05Route\x12\x11OperationMetadata\xda\x41\x15parent,route,route_id\x82\xd3\xe4\x93\x02H\"?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes:\x05route\x12\xaa\x01\n\x08GetRoute\x12+.google.cloud.datastream.v1.GetRouteRequest\x1a!.google.cloud.datastream.v1.Route\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\x12\xbd\x01\n\nListRoutes\x12-.google.cloud.datastream.v1.ListRoutesRequest\x1a..google.cloud.datastream.v1.ListRoutesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/privateConnections/*}/routes\x12\xd9\x01\n\x0b\x44\x65leteRoute\x12..google.cloud.datastream.v1.DeleteRouteRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}\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 19 |  | 
| 20 20 | 
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 21 21 |  | 
| @@ -64,6 +64,7 @@ module Google | |
| 64 64 | 
             
                    CreateStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.CreateStreamRequest").msgclass
         | 
| 65 65 | 
             
                    UpdateStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.UpdateStreamRequest").msgclass
         | 
| 66 66 | 
             
                    DeleteStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.DeleteStreamRequest").msgclass
         | 
| 67 | 
            +
                    RunStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.RunStreamRequest").msgclass
         | 
| 67 68 | 
             
                    GetStreamObjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.GetStreamObjectRequest").msgclass
         | 
| 68 69 | 
             
                    LookupStreamObjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.LookupStreamObjectRequest").msgclass
         | 
| 69 70 | 
             
                    StartBackfillJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.StartBackfillJobRequest").msgclass
         |