Path helper methods for the Webhooks API.
Methods
#agent_path
def agent_path(project:, location:, agent:) -> ::String
Create a fully-qualified Agent resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}
- project (String)
- location (String)
- agent (String)
- (::String)
- (::ArgumentError)
#service_path
def service_path(project:, location:, namespace:, service:) -> ::String
Create a fully-qualified Service resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}
- project (String)
- location (String)
- namespace (String)
- service (String)
- (::String)
- (::ArgumentError)
#webhook_path
def webhook_path(project:, location:, agent:, webhook:) -> ::String
Create a fully-qualified Webhook resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}
- project (String)
- location (String)
- agent (String)
- webhook (String)
- (::String)
- (::ArgumentError)