Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Eventarc::Rest::Client.
REST client for the Eventarc service.
Eventarc allows users to subscribe to various events that are provided by Google Cloud services and forward them to supported destinations.
Inherits
- Object
Methods
.configure
def self.configure() { |config| ... } -> Client::Configuration
Configure the Eventarc Client class.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
# Modify the configuration for all Eventarc clients ::Google::Cloud::Eventarc::V1::Eventarc::Rest::Client.configure do |config| config.timeout = 10.0 end
#configure
def configure() { |config| ... } -> Client::Configuration
Configure the Eventarc Client instance.
The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on Client.configure.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
#create_channel
def create_channel(request, options = nil) -> ::Gapic::Operation
def create_channel(parent: nil, channel: nil, channel_id: nil, validate_only: nil) -> ::Gapic::Operation
Create a new channel in a particular project and location.
def create_channel(request, options = nil) -> ::Gapic::Operation
create_channel
via a request object, either of type
CreateChannelRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::CreateChannelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_channel(parent: nil, channel: nil, channel_id: nil, validate_only: nil) -> ::Gapic::Operation
create_channel
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection in which to add this channel.
- channel (::Google::Cloud::Eventarc::V1::Channel, ::Hash) — Required. The channel to create.
- channel_id (::String) — Required. The user-provided ID to be assigned to the channel.
- validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_channel_connection
def create_channel_connection(request, options = nil) -> ::Gapic::Operation
def create_channel_connection(parent: nil, channel_connection: nil, channel_connection_id: nil) -> ::Gapic::Operation
Create a new ChannelConnection in a particular project and location.
def create_channel_connection(request, options = nil) -> ::Gapic::Operation
create_channel_connection
via a request object, either of type
CreateChannelConnectionRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::CreateChannelConnectionRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_channel_connection(parent: nil, channel_connection: nil, channel_connection_id: nil) -> ::Gapic::Operation
create_channel_connection
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection in which to add this channel connection.
- channel_connection (::Google::Cloud::Eventarc::V1::ChannelConnection, ::Hash) — Required. Channel connection to create.
- channel_connection_id (::String) — Required. The user-provided ID to be assigned to the channel connection.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_trigger
def create_trigger(request, options = nil) -> ::Gapic::Operation
def create_trigger(parent: nil, trigger: nil, trigger_id: nil, validate_only: nil) -> ::Gapic::Operation
Create a new trigger in a particular project and location.
def create_trigger(request, options = nil) -> ::Gapic::Operation
create_trigger
via a request object, either of type
CreateTriggerRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::CreateTriggerRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_trigger(parent: nil, trigger: nil, trigger_id: nil, validate_only: nil) -> ::Gapic::Operation
create_trigger
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection in which to add this trigger.
- trigger (::Google::Cloud::Eventarc::V1::Trigger, ::Hash) — Required. The trigger to create.
- trigger_id (::String) — Required. The user-provided ID to be assigned to the trigger.
- validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_channel
def delete_channel(request, options = nil) -> ::Gapic::Operation
def delete_channel(name: nil, validate_only: nil) -> ::Gapic::Operation
Delete a single channel.
def delete_channel(request, options = nil) -> ::Gapic::Operation
delete_channel
via a request object, either of type
DeleteChannelRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::DeleteChannelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_channel(name: nil, validate_only: nil) -> ::Gapic::Operation
delete_channel
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the channel to be deleted.
- validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_channel_connection
def delete_channel_connection(request, options = nil) -> ::Gapic::Operation
def delete_channel_connection(name: nil) -> ::Gapic::Operation
Delete a single ChannelConnection.
def delete_channel_connection(request, options = nil) -> ::Gapic::Operation
delete_channel_connection
via a request object, either of type
DeleteChannelConnectionRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::DeleteChannelConnectionRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_channel_connection(name: nil) -> ::Gapic::Operation
delete_channel_connection
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the channel connection to delete.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_trigger
def delete_trigger(request, options = nil) -> ::Gapic::Operation
def delete_trigger(name: nil, etag: nil, allow_missing: nil, validate_only: nil) -> ::Gapic::Operation
Delete a single trigger.
def delete_trigger(request, options = nil) -> ::Gapic::Operation
delete_trigger
via a request object, either of type
DeleteTriggerRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::DeleteTriggerRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_trigger(name: nil, etag: nil, allow_missing: nil, validate_only: nil) -> ::Gapic::Operation
delete_trigger
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the trigger to be deleted.
- etag (::String) — If provided, the trigger will only be deleted if the etag matches the current etag on the resource.
- allow_missing (::Boolean) — If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.
- validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_channel
def get_channel(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Channel
def get_channel(name: nil) -> ::Google::Cloud::Eventarc::V1::Channel
Get a single Channel.
def get_channel(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Channel
get_channel
via a request object, either of type
GetChannelRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::GetChannelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_channel(name: nil) -> ::Google::Cloud::Eventarc::V1::Channel
get_channel
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the channel to get.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Channel)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_channel_connection
def get_channel_connection(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ChannelConnection
def get_channel_connection(name: nil) -> ::Google::Cloud::Eventarc::V1::ChannelConnection
Get a single ChannelConnection.
def get_channel_connection(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ChannelConnection
get_channel_connection
via a request object, either of type
GetChannelConnectionRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::GetChannelConnectionRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_channel_connection(name: nil) -> ::Google::Cloud::Eventarc::V1::ChannelConnection
get_channel_connection
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the channel connection to get.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::ChannelConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_google_channel_config
def get_google_channel_config(request, options = nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
def get_google_channel_config(name: nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
Get a GoogleChannelConfig
def get_google_channel_config(request, options = nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
get_google_channel_config
via a request object, either of type
GetGoogleChannelConfigRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::GetGoogleChannelConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_google_channel_config(name: nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
get_google_channel_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the config to get.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::GoogleChannelConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_provider
def get_provider(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Provider
def get_provider(name: nil) -> ::Google::Cloud::Eventarc::V1::Provider
Get a single Provider.
def get_provider(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Provider
get_provider
via a request object, either of type
GetProviderRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::GetProviderRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_provider(name: nil) -> ::Google::Cloud::Eventarc::V1::Provider
get_provider
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the provider to get.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Provider)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_trigger
def get_trigger(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Trigger
def get_trigger(name: nil) -> ::Google::Cloud::Eventarc::V1::Trigger
Get a single trigger.
def get_trigger(request, options = nil) -> ::Google::Cloud::Eventarc::V1::Trigger
get_trigger
via a request object, either of type
GetTriggerRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::GetTriggerRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_trigger(name: nil) -> ::Google::Cloud::Eventarc::V1::Trigger
get_trigger
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The name of the trigger to get.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::Trigger)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#iam_policy_client
def iam_policy_client() -> Google::Iam::V1::IAMPolicy::Rest::Client
Get the associated client for mix-in of the IAMPolicy.
- (Google::Iam::V1::IAMPolicy::Rest::Client)
#initialize
def initialize() { |config| ... } -> Client
Create a new Eventarc REST client object.
- (config) — Configure the Eventarc client.
- config (Client::Configuration)
- (Client) — a new instance of Client
# Create a client using the default configuration client = ::Google::Cloud::Eventarc::V1::Eventarc::Rest::Client.new # Create a client using a custom configuration client = ::Google::Cloud::Eventarc::V1::Eventarc::Rest::Client.new do |config| config.timeout = 10.0 end
#list_channel_connections
def list_channel_connections(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse
def list_channel_connections(parent: nil, page_size: nil, page_token: nil) -> ::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse
List channel connections.
def list_channel_connections(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse
list_channel_connections
via a request object, either of type
ListChannelConnectionsRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::ListChannelConnectionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_channel_connections(parent: nil, page_size: nil, page_token: nil) -> ::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse
list_channel_connections
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection from which to list channel connections.
-
page_size (::Integer) — The maximum number of channel connections to return on each page.
Note: The service may send fewer responses.
-
page_token (::String) — The page token; provide the value from the
next_page_token
field in a previousListChannelConnections
call to retrieve the subsequent page.When paginating, all other parameters provided to
ListChannelConnetions
match the call that provided the page token.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_channels
def list_channels(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListChannelsResponse
def list_channels(parent: nil, page_size: nil, page_token: nil, order_by: nil) -> ::Google::Cloud::Eventarc::V1::ListChannelsResponse
List channels.
def list_channels(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListChannelsResponse
list_channels
via a request object, either of type
ListChannelsRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::ListChannelsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_channels(parent: nil, page_size: nil, page_token: nil, order_by: nil) -> ::Google::Cloud::Eventarc::V1::ListChannelsResponse
list_channels
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection to list channels on.
-
page_size (::Integer) — The maximum number of channels to return on each page.
Note: The service may send fewer.
-
page_token (::String) — The page token; provide the value from the
next_page_token
field in a previousListChannels
call to retrieve the subsequent page.When paginating, all other parameters provided to
ListChannels
must match the call that provided the page token. -
order_by (::String) — The sorting order of the resources returned. Value should be a
comma-separated list of fields. The default sorting order is ascending. To
specify descending order for a field, append a
desc
suffix; for example:name desc, channel_id
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::ListChannelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_providers
def list_providers(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListProvidersResponse
def list_providers(parent: nil, page_size: nil, page_token: nil, order_by: nil, filter: nil) -> ::Google::Cloud::Eventarc::V1::ListProvidersResponse
List providers.
def list_providers(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListProvidersResponse
list_providers
via a request object, either of type
ListProvidersRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::ListProvidersRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_providers(parent: nil, page_size: nil, page_token: nil, order_by: nil, filter: nil) -> ::Google::Cloud::Eventarc::V1::ListProvidersResponse
list_providers
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the provider to get.
- page_size (::Integer) — The maximum number of providers to return on each page.
-
page_token (::String) — The page token; provide the value from the
next_page_token
field in a previousListProviders
call to retrieve the subsequent page.When paginating, all other parameters provided to
ListProviders
must match the call that provided the page token. -
order_by (::String) — The sorting order of the resources returned. Value should be a
comma-separated list of fields. The default sorting oder is ascending. To
specify descending order for a field, append a
desc
suffix; for example:name desc, _id
. - filter (::String) — The filter field that the list request will filter on.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::ListProvidersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_triggers
def list_triggers(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListTriggersResponse
def list_triggers(parent: nil, page_size: nil, page_token: nil, order_by: nil, filter: nil) -> ::Google::Cloud::Eventarc::V1::ListTriggersResponse
List triggers.
def list_triggers(request, options = nil) -> ::Google::Cloud::Eventarc::V1::ListTriggersResponse
list_triggers
via a request object, either of type
ListTriggersRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::ListTriggersRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_triggers(parent: nil, page_size: nil, page_token: nil, order_by: nil, filter: nil) -> ::Google::Cloud::Eventarc::V1::ListTriggersResponse
list_triggers
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent collection to list triggers on.
-
page_size (::Integer) — The maximum number of triggers to return on each page.
Note: The service may send fewer.
-
page_token (::String) — The page token; provide the value from the
next_page_token
field in a previousListTriggers
call to retrieve the subsequent page.When paginating, all other parameters provided to
ListTriggers
must match the call that provided the page token. -
order_by (::String) — The sorting order of the resources returned. Value should be a
comma-separated list of fields. The default sorting order is ascending. To
specify descending order for a field, append a
desc
suffix; for example:name desc, trigger_id
. - filter (::String) — Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using "?filter=destination:gke" would list only Triggers with a gke destination.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::ListTriggersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#location_client
def location_client() -> Google::Cloud::Location::Locations::Rest::Client
Get the associated client for mix-in of the Locations.
- (Google::Cloud::Location::Locations::Rest::Client)
#operations_client
def operations_client() -> ::Google::Cloud::Eventarc::V1::Eventarc::Rest::Operations
Get the associated client for long-running operations.
#update_channel
def update_channel(request, options = nil) -> ::Gapic::Operation
def update_channel(channel: nil, update_mask: nil, validate_only: nil) -> ::Gapic::Operation
Update a single channel.
def update_channel(request, options = nil) -> ::Gapic::Operation
update_channel
via a request object, either of type
UpdateChannelRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::UpdateChannelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_channel(channel: nil, update_mask: nil, validate_only: nil) -> ::Gapic::Operation
update_channel
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- channel (::Google::Cloud::Eventarc::V1::Channel, ::Hash) — The channel to be updated.
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
- validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_google_channel_config
def update_google_channel_config(request, options = nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
def update_google_channel_config(google_channel_config: nil, update_mask: nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
Update a single GoogleChannelConfig
def update_google_channel_config(request, options = nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
update_google_channel_config
via a request object, either of type
UpdateGoogleChannelConfigRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::UpdateGoogleChannelConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_google_channel_config(google_channel_config: nil, update_mask: nil) -> ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
update_google_channel_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- google_channel_config (::Google::Cloud::Eventarc::V1::GoogleChannelConfig, ::Hash) — Required. The config to be updated.
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Eventarc::V1::GoogleChannelConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_trigger
def update_trigger(request, options = nil) -> ::Gapic::Operation
def update_trigger(trigger: nil, update_mask: nil, allow_missing: nil, validate_only: nil) -> ::Gapic::Operation
Update a single trigger.
def update_trigger(request, options = nil) -> ::Gapic::Operation
update_trigger
via a request object, either of type
UpdateTriggerRequest or an equivalent Hash.
- request (::Google::Cloud::Eventarc::V1::UpdateTriggerRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_trigger(trigger: nil, update_mask: nil, allow_missing: nil, validate_only: nil) -> ::Gapic::Operation
update_trigger
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- trigger (::Google::Cloud::Eventarc::V1::Trigger, ::Hash) — The trigger to be updated.
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
-
allow_missing (::Boolean) — If set to true, and the trigger is not found, a new trigger will be
created. In this situation,
update_mask
is ignored. - validate_only (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.