Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::ApiGatewayService::Rest::ServiceStub.
REST service stub for the ApiGatewayService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_api
def create_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_api REST call
- request_pb (::Google::Cloud::ApiGateway::V1::CreateApiRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_api_config
def create_api_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_api_config REST call
- request_pb (::Google::Cloud::ApiGateway::V1::CreateApiConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_gateway
def create_gateway(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_gateway REST call
- request_pb (::Google::Cloud::ApiGateway::V1::CreateGatewayRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_api
def delete_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_api REST call
- request_pb (::Google::Cloud::ApiGateway::V1::DeleteApiRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_api_config
def delete_api_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_api_config REST call
- request_pb (::Google::Cloud::ApiGateway::V1::DeleteApiConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_gateway
def delete_gateway(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_gateway REST call
- request_pb (::Google::Cloud::ApiGateway::V1::DeleteGatewayRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_api
def get_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::Api
Baseline implementation for the get_api REST call
- request_pb (::Google::Cloud::ApiGateway::V1::GetApiRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::Api)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::Api) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_api_config
def get_api_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::ApiConfig
Baseline implementation for the get_api_config REST call
- request_pb (::Google::Cloud::ApiGateway::V1::GetApiConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::ApiConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::ApiConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_gateway
def get_gateway(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::Gateway
Baseline implementation for the get_gateway REST call
- request_pb (::Google::Cloud::ApiGateway::V1::GetGatewayRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::Gateway)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::Gateway) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_api_configs
def list_api_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::ListApiConfigsResponse
Baseline implementation for the list_api_configs REST call
- request_pb (::Google::Cloud::ApiGateway::V1::ListApiConfigsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::ListApiConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::ListApiConfigsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_apis
def list_apis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::ListApisResponse
Baseline implementation for the list_apis REST call
- request_pb (::Google::Cloud::ApiGateway::V1::ListApisRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::ListApisResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::ListApisResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_gateways
def list_gateways(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiGateway::V1::ListGatewaysResponse
Baseline implementation for the list_gateways REST call
- request_pb (::Google::Cloud::ApiGateway::V1::ListGatewaysRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiGateway::V1::ListGatewaysResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiGateway::V1::ListGatewaysResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_api
def update_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_api REST call
- request_pb (::Google::Cloud::ApiGateway::V1::UpdateApiRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_api_config
def update_api_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_api_config REST call
- request_pb (::Google::Cloud::ApiGateway::V1::UpdateApiConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_gateway
def update_gateway(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_gateway REST call
- request_pb (::Google::Cloud::ApiGateway::V1::UpdateGatewayRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)