Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::ApiHub::Paths.
Path helper methods for the ApiHub API.
Extended By
Methods
#api_operation_path
def api_operation_path(project:, location:, api:, version:, operation:) -> ::StringCreate a fully-qualified ApiOperation resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
- project (String)
 - location (String)
 - api (String)
 - version (String)
 - operation (String)
 
- (::String)
 
- (::ArgumentError)
 
#api_path
def api_path(project:, location:, api:) -> ::StringCreate a fully-qualified Api resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/apis/{api}
- project (String)
 - location (String)
 - api (String)
 
- (::String)
 
- (::ArgumentError)
 
#attribute_path
def attribute_path(project:, location:, attribute:) -> ::StringCreate a fully-qualified Attribute resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/attributes/{attribute}
- project (String)
 - location (String)
 - attribute (String)
 
- (::String)
 
- (::ArgumentError)
 
#definition_path
def definition_path(project:, location:, api:, version:, definition:) -> ::StringCreate a fully-qualified Definition resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}
- project (String)
 - location (String)
 - api (String)
 - version (String)
 - definition (String)
 
- (::String)
 
- (::ArgumentError)
 
#deployment_path
def deployment_path(project:, location:, deployment:) -> ::StringCreate a fully-qualified Deployment resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/deployments/{deployment}
- project (String)
 - location (String)
 - deployment (String)
 
- (::String)
 
- (::ArgumentError)
 
#external_api_path
def external_api_path(project:, location:, external_api:) -> ::StringCreate a fully-qualified ExternalApi resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/externalApis/{external_api}
- project (String)
 - location (String)
 - external_api (String)
 
- (::String)
 
- (::ArgumentError)
 
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
 - location (String)
 
- (::String)
 
- (::ArgumentError)
 
#spec_path
def spec_path(project:, location:, api:, version:, spec:) -> ::StringCreate a fully-qualified Spec resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
- project (String)
 - location (String)
 - api (String)
 - version (String)
 - spec (String)
 
- (::String)
 
- (::ArgumentError)
 
#version_path
def version_path(project:, location:, api:, version:) -> ::StringCreate a fully-qualified Version resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
- project (String)
 - location (String)
 - api (String)
 - version (String)
 
- (::String)
 
- (::ArgumentError)