Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::Datastream::Rest::ServiceStub.
REST service stub for the Datastream service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_connection_profile
def create_connection_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1::CreateConnectionProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_private_connection
def create_private_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_private_connection REST call
- request_pb (::Google::Cloud::Datastream::V1::CreatePrivateConnectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_route
def create_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_route REST call
- request_pb (::Google::Cloud::Datastream::V1::CreateRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_stream
def create_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_stream REST call
- request_pb (::Google::Cloud::Datastream::V1::CreateStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_connection_profile
def delete_connection_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1::DeleteConnectionProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_private_connection
def delete_private_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_private_connection REST call
- request_pb (::Google::Cloud::Datastream::V1::DeletePrivateConnectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_route
def delete_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_route REST call
- request_pb (::Google::Cloud::Datastream::V1::DeleteRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_stream
def delete_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_stream REST call
- request_pb (::Google::Cloud::Datastream::V1::DeleteStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#discover_connection_profile
def discover_connection_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse
Baseline implementation for the discover_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1::DiscoverConnectionProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::DiscoverConnectionProfileResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_static_ips
def fetch_static_ips(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::FetchStaticIpsResponse
Baseline implementation for the fetch_static_ips REST call
- request_pb (::Google::Cloud::Datastream::V1::FetchStaticIpsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::FetchStaticIpsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::FetchStaticIpsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_connection_profile
def get_connection_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ConnectionProfile
Baseline implementation for the get_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1::GetConnectionProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ConnectionProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ConnectionProfile) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_private_connection
def get_private_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::PrivateConnection
Baseline implementation for the get_private_connection REST call
- request_pb (::Google::Cloud::Datastream::V1::GetPrivateConnectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::PrivateConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::PrivateConnection) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_route
def get_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::Route
Baseline implementation for the get_route REST call
- request_pb (::Google::Cloud::Datastream::V1::GetRouteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::Route)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::Route) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_stream
def get_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::Stream
Baseline implementation for the get_stream REST call
- request_pb (::Google::Cloud::Datastream::V1::GetStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::Stream)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::Stream) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_stream_object
def get_stream_object(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::StreamObject
Baseline implementation for the get_stream_object REST call
- request_pb (::Google::Cloud::Datastream::V1::GetStreamObjectRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::StreamObject)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::StreamObject) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_connection_profiles
def list_connection_profiles(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ListConnectionProfilesResponse
Baseline implementation for the list_connection_profiles REST call
- request_pb (::Google::Cloud::Datastream::V1::ListConnectionProfilesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ListConnectionProfilesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ListConnectionProfilesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_private_connections
def list_private_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ListPrivateConnectionsResponse
Baseline implementation for the list_private_connections REST call
- request_pb (::Google::Cloud::Datastream::V1::ListPrivateConnectionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ListPrivateConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ListPrivateConnectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_routes
def list_routes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ListRoutesResponse
Baseline implementation for the list_routes REST call
- request_pb (::Google::Cloud::Datastream::V1::ListRoutesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ListRoutesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ListRoutesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_stream_objects
def list_stream_objects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ListStreamObjectsResponse
Baseline implementation for the list_stream_objects REST call
- request_pb (::Google::Cloud::Datastream::V1::ListStreamObjectsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ListStreamObjectsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ListStreamObjectsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_streams
def list_streams(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::ListStreamsResponse
Baseline implementation for the list_streams REST call
- request_pb (::Google::Cloud::Datastream::V1::ListStreamsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::ListStreamsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::ListStreamsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#lookup_stream_object
def lookup_stream_object(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::StreamObject
Baseline implementation for the lookup_stream_object REST call
- request_pb (::Google::Cloud::Datastream::V1::LookupStreamObjectRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::StreamObject)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::StreamObject) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_backfill_job
def start_backfill_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::StartBackfillJobResponse
Baseline implementation for the start_backfill_job REST call
- request_pb (::Google::Cloud::Datastream::V1::StartBackfillJobRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::StartBackfillJobResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::StartBackfillJobResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_backfill_job
def stop_backfill_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1::StopBackfillJobResponse
Baseline implementation for the stop_backfill_job REST call
- request_pb (::Google::Cloud::Datastream::V1::StopBackfillJobRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Datastream::V1::StopBackfillJobResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1::StopBackfillJobResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_connection_profile
def update_connection_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1::UpdateConnectionProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_stream
def update_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_stream REST call
- request_pb (::Google::Cloud::Datastream::V1::UpdateStreamRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)