# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub (v0.16.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub.

REST service stub for the Registry 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::ApigeeRegistry::V1::Api

Baseline implementation for the create_api REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::CreateApiRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-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.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_api_deployment

    def create_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the create_api_deployment REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::CreateApiDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-CreateApiDeploymentRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_api_spec

    def create_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the create_api_spec REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::CreateApiSpecRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-CreateApiSpecRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_api_version

    def create_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the create_api_version REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::CreateApiVersionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-CreateApiVersionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_artifact

    def create_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the create_artifact REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::CreateArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api

    def delete_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-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.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api_deployment

    def delete_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_deployment REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteApiDeploymentRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api_deployment_revision

    def delete_api_deployment_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the delete_api_deployment_revision REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiDeploymentRevisionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteApiDeploymentRevisionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api_spec

    def delete_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_spec REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiSpecRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteApiSpecRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api_spec_revision

    def delete_api_spec_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the delete_api_spec_revision REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiSpecRevisionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteApiSpecRevisionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_api_version

    def delete_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_version REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteApiVersionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteApiVersionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_artifact

    def delete_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_artifact REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::DeleteArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-DeleteArtifactRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #get_api

    def get_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Api

Baseline implementation for the get_api REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetApiRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-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.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_api_deployment

    def get_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the get_api_deployment REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetApiDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetApiDeploymentRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_api_spec

    def get_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the get_api_spec REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetApiSpecRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetApiSpecRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_api_spec_contents

    def get_api_spec_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_api_spec_contents REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetApiSpecContentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetApiSpecContentsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Api-HttpBody))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Api-HttpBody)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_api_version

    def get_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the get_api_version REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetApiVersionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetApiVersionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_artifact

    def get_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the get_artifact REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetArtifactRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_artifact_contents

    def get_artifact_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_artifact_contents REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::GetArtifactContentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-GetArtifactContentsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Api-HttpBody))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Api-HttpBody)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_api_deployment_revisions

    def list_api_deployment_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentRevisionsResponse

Baseline implementation for the list_api_deployment_revisions REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentRevisionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentRevisionsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentRevisionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentRevisionsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentRevisionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentRevisionsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_api_deployments

    def list_api_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentsResponse

Baseline implementation for the list_api_deployments REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiDeploymentsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_api_spec_revisions

    def list_api_spec_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiSpecRevisionsResponse

Baseline implementation for the list_api_spec_revisions REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecRevisionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecRevisionsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecRevisionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecRevisionsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecRevisionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecRevisionsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_api_specs

    def list_api_specs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiSpecsResponse

Baseline implementation for the list_api_specs REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApiSpecsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiSpecsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_api_versions

    def list_api_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiVersionsResponse

Baseline implementation for the list_api_versions REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApiVersionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiVersionsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApiVersionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiVersionsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApiVersionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApiVersionsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_apis

    def list_apis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApisResponse

Baseline implementation for the list_apis REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListApisRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-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.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListApisResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApisResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListApisResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListApisResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_artifacts

    def list_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListArtifactsResponse

Baseline implementation for the list_artifacts REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ListArtifactsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListArtifactsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ListArtifactsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListArtifactsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ListArtifactsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ListArtifactsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #logger

    def logger(stub: false) -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #replace_artifact

    def replace_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the replace_artifact REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::ReplaceArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ReplaceArtifactRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Artifact)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #rollback_api_deployment

    def rollback_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the rollback_api_deployment REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::RollbackApiDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-RollbackApiDeploymentRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #rollback_api_spec

    def rollback_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the rollback_api_spec REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::RollbackApiSpecRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-RollbackApiSpecRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #tag_api_deployment_revision

    def tag_api_deployment_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the tag_api_deployment_revision REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::TagApiDeploymentRevisionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-TagApiDeploymentRevisionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #tag_api_spec_revision

    def tag_api_spec_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the tag_api_spec_revision REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::TagApiSpecRevisionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-TagApiSpecRevisionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #update_api

    def update_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Api

Baseline implementation for the update_api REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::UpdateApiRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-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.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Api](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Api)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_api_deployment

    def update_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the update_api_deployment REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::UpdateApiDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-UpdateApiDeploymentRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiDeployment)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_api_spec

    def update_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the update_api_spec REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::UpdateApiSpecRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-UpdateApiSpecRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiSpec)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_api_version

    def update_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the update_api_version REST call
**Parameters**

- **request_pb** ([::Google::Cloud::ApigeeRegistry::V1::UpdateApiVersionRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-UpdateApiVersionRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::ApiVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-ApiVersion)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)