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
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::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::V1alpha1::DiscoverConnectionProfileResponse
Baseline implementation for the discover_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::DiscoverConnectionProfileResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::DiscoverConnectionProfileResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_errors
def fetch_errors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the fetch_errors REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::FetchErrorsRequest) — 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)
#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
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::FetchStaticIpsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ConnectionProfile
Baseline implementation for the get_connection_profile REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ConnectionProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::PrivateConnection
Baseline implementation for the get_private_connection REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::PrivateConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::Route
Baseline implementation for the get_route REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::Route)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::Stream
Baseline implementation for the get_stream REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::Stream)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::Stream) — A result object deserialized from the server's reply
- (::ArgumentError)
#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
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListConnectionProfilesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListPrivateConnectionsResponse
Baseline implementation for the list_private_connections REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListPrivateConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListRoutesResponse
Baseline implementation for the list_routes REST call
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListRoutesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::ListRoutesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Datastream::V1alpha1::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::V1alpha1::ListStreamsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Datastream::V1alpha1::ListStreamsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#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::V1alpha1::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::V1alpha1::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)