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
- request_pb (::Google::Cloud::Eventarc::V1::CreateChannelRequest) — 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_channel_connection
def create_channel_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_channel_connection REST call
- request_pb (::Google::Cloud::Eventarc::V1::CreateChannelConnectionRequest) — 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_trigger
def create_trigger(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_trigger REST call
- request_pb (::Google::Cloud::Eventarc::V1::CreateTriggerRequest) — 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_channel
def delete_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_channel REST call
- request_pb (::Google::Cloud::Eventarc::V1::DeleteChannelRequest) — 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_channel_connection
def delete_channel_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_channel_connection REST call
- request_pb (::Google::Cloud::Eventarc::V1::DeleteChannelConnectionRequest) — 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_trigger
def delete_trigger(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_trigger REST call
- request_pb (::Google::Cloud::Eventarc::V1::DeleteTriggerRequest) — 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)
#get_channel
def get_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Eventarc::V1::Channel
Baseline implementation for the get_channel REST call
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Channel)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::Channel) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Eventarc::V1::GetChannelConnectionRequest) — 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::Eventarc::V1::ChannelConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::ChannelConnection) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Eventarc::V1::GetGoogleChannelConfigRequest) — 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::Eventarc::V1::GoogleChannelConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::GoogleChannelConfig) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Provider)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::Provider) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Trigger)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::Trigger) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Eventarc::V1::ListChannelConnectionsRequest) — 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::Eventarc::V1::ListChannelConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Eventarc::V1::ListChannelsRequest) — 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::Eventarc::V1::ListChannelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::ListChannelsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Eventarc::V1::ListProvidersRequest) — 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::Eventarc::V1::ListProvidersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::ListProvidersResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Eventarc::V1::ListTriggersRequest) — 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::Eventarc::V1::ListTriggersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::ListTriggersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_channel
def update_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_channel REST call
- request_pb (::Google::Cloud::Eventarc::V1::UpdateChannelRequest) — 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_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
- request_pb (::Google::Cloud::Eventarc::V1::UpdateGoogleChannelConfigRequest) — 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::Eventarc::V1::GoogleChannelConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Eventarc::V1::GoogleChannelConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_trigger
def update_trigger(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_trigger REST call
- request_pb (::Google::Cloud::Eventarc::V1::UpdateTriggerRequest) — 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)