Datastream V1alpha1 API - Class Google::Cloud::Datastream::V1alpha1::Datastream::Rest::ServiceStub (v0.4.0)

Reference documentation and code samples for the Datastream V1alpha1 API class Google::Cloud::Datastream::V1alpha1::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::V1alpha1::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)

#fetch_errors

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

Baseline implementation for the fetch_errors REST call

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

#fetch_static_ips

def fetch_static_ips(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::Route

Baseline implementation for the get_route REST call

Parameters
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::V1alpha1::Stream

Baseline implementation for the get_stream REST call

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

#initialize

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

#list_connection_profiles

def list_connection_profiles(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::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::V1alpha1::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_streams

def list_streams(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Datastream::V1alpha1::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)

#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)