Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ApiHub::Rest::ServiceStub.
REST service stub for the ApiHub 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::Cloud::ApiHub::V1::Api
Baseline implementation for the create_api REST call
- request_pb (::Google::Cloud::ApiHub::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::Cloud::ApiHub::V1::Api)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Api) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_attribute
def create_attribute(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Attribute
Baseline implementation for the create_attribute REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateAttributeRequest) — 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::ApiHub::V1::Attribute)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Attribute) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_deployment
def create_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Deployment
Baseline implementation for the create_deployment REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateDeploymentRequest) — 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::ApiHub::V1::Deployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Deployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_external_api
def create_external_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ExternalApi
Baseline implementation for the create_external_api REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateExternalApiRequest) — 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::ApiHub::V1::ExternalApi)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ExternalApi) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_spec
def create_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Spec
Baseline implementation for the create_spec REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateSpecRequest) — 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::ApiHub::V1::Spec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Spec) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_version
def create_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Version
Baseline implementation for the create_version REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateVersionRequest) — 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::ApiHub::V1::Version)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Version) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_api
def delete_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_api REST call
- request_pb (::Google::Cloud::ApiHub::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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_attribute
def delete_attribute(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_attribute REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteAttributeRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_deployment
def delete_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_deployment REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteDeploymentRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_external_api
def delete_external_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_external_api REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteExternalApiRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_spec
def delete_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_spec REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteSpecRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_version
def delete_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_version REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteVersionRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — 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::ApiHub::V1::Api
Baseline implementation for the get_api REST call
- request_pb (::Google::Cloud::ApiHub::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::ApiHub::V1::Api)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Api) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_api_operation
def get_api_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ApiOperation
Baseline implementation for the get_api_operation REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetApiOperationRequest) — 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::ApiHub::V1::ApiOperation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ApiOperation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_attribute
def get_attribute(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Attribute
Baseline implementation for the get_attribute REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetAttributeRequest) — 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::ApiHub::V1::Attribute)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Attribute) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_definition
def get_definition(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Definition
Baseline implementation for the get_definition REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetDefinitionRequest) — 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::ApiHub::V1::Definition)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Definition) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_deployment
def get_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Deployment
Baseline implementation for the get_deployment REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetDeploymentRequest) — 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::ApiHub::V1::Deployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Deployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_external_api
def get_external_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ExternalApi
Baseline implementation for the get_external_api REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetExternalApiRequest) — 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::ApiHub::V1::ExternalApi)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ExternalApi) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_spec
def get_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Spec
Baseline implementation for the get_spec REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetSpecRequest) — 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::ApiHub::V1::Spec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Spec) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_spec_contents
def get_spec_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::SpecContents
Baseline implementation for the get_spec_contents REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetSpecContentsRequest) — 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::ApiHub::V1::SpecContents)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::SpecContents) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_version
def get_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Version
Baseline implementation for the get_version REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetVersionRequest) — 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::ApiHub::V1::Version)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Version) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_api_operations
def list_api_operations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListApiOperationsResponse
Baseline implementation for the list_api_operations REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListApiOperationsRequest) — 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::ApiHub::V1::ListApiOperationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListApiOperationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_apis
def list_apis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListApisResponse
Baseline implementation for the list_apis REST call
- request_pb (::Google::Cloud::ApiHub::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::ApiHub::V1::ListApisResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListApisResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_attributes
def list_attributes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListAttributesResponse
Baseline implementation for the list_attributes REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListAttributesRequest) — 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::ApiHub::V1::ListAttributesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListAttributesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_deployments
def list_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListDeploymentsResponse
Baseline implementation for the list_deployments REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListDeploymentsRequest) — 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::ApiHub::V1::ListDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListDeploymentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_external_apis
def list_external_apis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListExternalApisResponse
Baseline implementation for the list_external_apis REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListExternalApisRequest) — 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::ApiHub::V1::ListExternalApisResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListExternalApisResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_specs
def list_specs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListSpecsResponse
Baseline implementation for the list_specs REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListSpecsRequest) — 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::ApiHub::V1::ListSpecsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListSpecsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_versions
def list_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListVersionsResponse
Baseline implementation for the list_versions REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListVersionsRequest) — 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::ApiHub::V1::ListVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListVersionsResponse) — 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)
#search_resources
def search_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::SearchResourcesResponse
Baseline implementation for the search_resources REST call
- request_pb (::Google::Cloud::ApiHub::V1::SearchResourcesRequest) — 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::ApiHub::V1::SearchResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::SearchResourcesResponse) — 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::Cloud::ApiHub::V1::Api
Baseline implementation for the update_api REST call
- request_pb (::Google::Cloud::ApiHub::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::Cloud::ApiHub::V1::Api)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Api) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_attribute
def update_attribute(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Attribute
Baseline implementation for the update_attribute REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateAttributeRequest) — 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::ApiHub::V1::Attribute)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Attribute) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_deployment
def update_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Deployment
Baseline implementation for the update_deployment REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateDeploymentRequest) — 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::ApiHub::V1::Deployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Deployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_external_api
def update_external_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ExternalApi
Baseline implementation for the update_external_api REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateExternalApiRequest) — 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::ApiHub::V1::ExternalApi)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ExternalApi) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_spec
def update_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Spec
Baseline implementation for the update_spec REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateSpecRequest) — 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::ApiHub::V1::Spec)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Spec) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_version
def update_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::Version
Baseline implementation for the update_version REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateVersionRequest) — 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::ApiHub::V1::Version)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Version) — A result object deserialized from the server's reply
- (::ArgumentError)