Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::ServingConfigService::Rest::ServiceStub.
REST service stub for the ServingConfigService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_serving_config
def get_serving_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig
Baseline implementation for the get_serving_config REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1beta::GetServingConfigRequest) — 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::DiscoveryEngine::V1beta::ServingConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_serving_configs
def list_serving_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1beta::ListServingConfigsResponse
Baseline implementation for the list_serving_configs REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1beta::ListServingConfigsRequest) — 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::DiscoveryEngine::V1beta::ListServingConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1beta::ListServingConfigsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_serving_config
def update_serving_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig
Baseline implementation for the update_serving_config REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1beta::UpdateServingConfigRequest) — 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::DiscoveryEngine::V1beta::ServingConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig) — A result object deserialized from the server's reply
- (::ArgumentError)