Path helper methods for the Flows API.
Extended By
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)
#flow_path
def flow_path(project:, location:, agent:, flow:) -> ::String
Create a fully-qualified Flow resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/flows/{flow}
- project (String)
- location (String)
- agent (String)
- flow (String)
- (::String)
- (::ArgumentError)
#flow_validation_result_path
def flow_validation_result_path(project:, location:, agent:, flow:) -> ::String
Create a fully-qualified FlowValidationResult resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/validationResult
- project (String)
- location (String)
- agent (String)
- flow (String)
- (::String)
- (::ArgumentError)
#intent_path
def intent_path(project:, location:, agent:, intent:) -> ::String
Create a fully-qualified Intent resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/intents/{intent}
- project (String)
- location (String)
- agent (String)
- intent (String)
- (::String)
- (::ArgumentError)
#page_path
def page_path(project:, location:, agent:, flow:, page:) -> ::String
Create a fully-qualified Page resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/pages/{page}
- project (String)
- location (String)
- agent (String)
- flow (String)
- page (String)
- (::String)
- (::ArgumentError)
#transition_route_group_path
def transition_route_group_path(project:, location:, agent:, flow:, transition_route_group:) -> ::String
Create a fully-qualified TransitionRouteGroup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}
- project (String)
- location (String)
- agent (String)
- flow (String)
- transition_route_group (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)