Datastream V1 API - Class Google::Cloud::Datastream::V1::Datastream::Rest::ServiceStub (v0.9.2)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_route

def create_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_stream

def create_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_stream REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_route

def delete_route(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_route REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_stream

def delete_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_stream REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_stream

def update_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_stream REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)