Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Eventarc::Rest::ServiceStub (v1.2.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Eventarc::Rest::ServiceStub.

REST service stub for the Eventarc service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_channel

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

Baseline implementation for the create_channel REST call

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

#create_channel_connection

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

Baseline implementation for the create_channel_connection REST call

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

#create_enrollment

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

Baseline implementation for the create_enrollment REST call

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

#create_google_api_source

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

Baseline implementation for the create_google_api_source REST call

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

#create_message_bus

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

Baseline implementation for the create_message_bus REST call

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

#create_pipeline

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

Baseline implementation for the create_pipeline REST call

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

#create_trigger

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

Baseline implementation for the create_trigger REST call

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

#delete_channel

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

Baseline implementation for the delete_channel REST call

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

#delete_channel_connection

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

Baseline implementation for the delete_channel_connection REST call

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

#delete_enrollment

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

Baseline implementation for the delete_enrollment REST call

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

#delete_google_api_source

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

Baseline implementation for the delete_google_api_source REST call

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

#delete_message_bus

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

Baseline implementation for the delete_message_bus REST call

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

#delete_pipeline

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

Baseline implementation for the delete_pipeline REST call

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

#delete_trigger

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

Baseline implementation for the delete_trigger 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)

#get_channel

def get_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Channel

Baseline implementation for the get_channel REST call

Parameters
  • request_pb (::Google::Cloud::Eventarc::V1::GetChannelRequest) — 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_channel_connection

def get_channel_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ChannelConnection

Baseline implementation for the get_channel_connection REST call

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

#get_enrollment

def get_enrollment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Enrollment

Baseline implementation for the get_enrollment REST call

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

#get_google_api_source

def get_google_api_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::GoogleApiSource

Baseline implementation for the get_google_api_source REST call

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

#get_google_channel_config

def get_google_channel_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig

Baseline implementation for the get_google_channel_config REST call

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

#get_message_bus

def get_message_bus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::MessageBus

Baseline implementation for the get_message_bus REST call

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

#get_pipeline

def get_pipeline(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Pipeline

Baseline implementation for the get_pipeline REST call

Parameters
  • request_pb (::Google::Cloud::Eventarc::V1::GetPipelineRequest) — 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_provider

def get_provider(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Provider

Baseline implementation for the get_provider REST call

Parameters
  • request_pb (::Google::Cloud::Eventarc::V1::GetProviderRequest) — 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_trigger

def get_trigger(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Trigger

Baseline implementation for the get_trigger REST call

Parameters
  • request_pb (::Google::Cloud::Eventarc::V1::GetTriggerRequest) — 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)

#list_channel_connections

def list_channel_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse

Baseline implementation for the list_channel_connections REST call

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

#list_channels

def list_channels(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListChannelsResponse

Baseline implementation for the list_channels REST call

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

#list_enrollments

def list_enrollments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListEnrollmentsResponse

Baseline implementation for the list_enrollments REST call

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

#list_google_api_sources

def list_google_api_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListGoogleApiSourcesResponse

Baseline implementation for the list_google_api_sources REST call

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

#list_message_bus_enrollments

def list_message_bus_enrollments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListMessageBusEnrollmentsResponse

Baseline implementation for the list_message_bus_enrollments REST call

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

#list_message_buses

def list_message_buses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListMessageBusesResponse

Baseline implementation for the list_message_buses REST call

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

#list_pipelines

def list_pipelines(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListPipelinesResponse

Baseline implementation for the list_pipelines REST call

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

#list_providers

def list_providers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListProvidersResponse

Baseline implementation for the list_providers REST call

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

#list_triggers

def list_triggers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::ListTriggersResponse

Baseline implementation for the list_triggers REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_channel

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

Baseline implementation for the update_channel REST call

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

#update_enrollment

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

Baseline implementation for the update_enrollment REST call

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

#update_google_api_source

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

Baseline implementation for the update_google_api_source REST call

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

#update_google_channel_config

def update_google_channel_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig

Baseline implementation for the update_google_channel_config REST call

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

#update_message_bus

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

Baseline implementation for the update_message_bus REST call

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

#update_pipeline

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

Baseline implementation for the update_pipeline REST call

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

#update_trigger

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

Baseline implementation for the update_trigger REST call

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