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

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

#initialize

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

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

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