Reference documentation and code samples for the API Gateway V1 API module Google::Cloud::ApiGateway::V1::ApiGatewayService::Paths.
Path helper methods for the ApiGatewayService API.
Methods
#api_config_path
def api_config_path(project:, api:, api_config:) -> ::String
Create a fully-qualified ApiConfig resource string.
The resource will be in the following format:
projects/{project}/locations/global/apis/{api}/configs/{api_config}
- project (String)
- api (String)
- api_config (String)
- (::String)
- (::ArgumentError)
#api_path
def api_path(project:, api:) -> ::String
Create a fully-qualified Api resource string.
The resource will be in the following format:
projects/{project}/locations/global/apis/{api}
- project (String)
- api (String)
- (::String)
- (::ArgumentError)
#gateway_path
def gateway_path(project:, location:, gateway:) -> ::String
Create a fully-qualified Gateway resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/gateways/{gateway}
- project (String)
- location (String)
- gateway (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#managed_service_path
def managed_service_path(service:) -> ::String
Create a fully-qualified ManagedService resource string.
The resource will be in the following format:
services/{service}
- service (String)
- (::String)
#service_account_path
def service_account_path(project:, service_account:) -> ::String
Create a fully-qualified ServiceAccount resource string.
The resource will be in the following format:
projects/{project}/serviceAccounts/{service_account}
- project (String)
- service_account (String)
- (::String)
- (::ArgumentError)
#service_path
def service_path(service:, config:) -> ::String
Create a fully-qualified Service resource string.
The resource will be in the following format:
services/{service}/configs/{config}
- service (String)
- config (String)
- (::String)
- (::ArgumentError)