Path helper methods for the EntityTypes 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}
Parameters
- project (String)
- location (String)
- agent (String)
Returns
- (::String)
Raises
- (::ArgumentError)
#entity_type_path
def entity_type_path(project:, location:, agent:, entity_type:) -> ::String
Create a fully-qualified EntityType resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}/entityTypes/{entity_type}
Parameters
- project (String)
- location (String)
- agent (String)
- entity_type (String)
Returns
- (::String)
Raises
- (::ArgumentError)