# Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::ServiceStub (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::ServiceStub.

REST service stub for the ArtifactRegistry service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.

## Inherits

- Object

## Methods

### #batch_delete_versions

    def batch_delete_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::BatchDeleteVersionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-BatchDeleteVersionsRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #create_attachment

    def create_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::CreateAttachmentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-CreateAttachmentRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #create_repository

    def create_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::CreateRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-CreateRepositoryRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #create_rule

    def create_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Rule

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::CreateRuleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-CreateRuleRequest)) --- 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::ArtifactRegistry::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Rule))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #create_tag

    def create_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Tag

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::CreateTagRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-CreateTagRequest)) --- 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::ArtifactRegistry::V1::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Tag))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_attachment

    def delete_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeleteAttachmentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeleteAttachmentRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_file

    def delete_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeleteFileRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeleteFileRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_package

    def delete_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeletePackageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeletePackageRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_repository

    def delete_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeleteRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeleteRepositoryRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_rule

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

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeleteRuleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeleteRuleRequest)) --- 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-artifact_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_tag

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

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::DeleteTagRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DeleteTagRequest)) --- 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-artifact_registry-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_version

    def delete_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

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

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

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

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

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #export_artifact

    def export_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ExportArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ExportArtifactRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_attachment

    def get_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Attachment

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetAttachmentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetAttachmentRequest)) --- 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::ArtifactRegistry::V1::Attachment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Attachment))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_docker_image

    def get_docker_image(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::DockerImage

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetDockerImageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetDockerImageRequest)) --- 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::ArtifactRegistry::V1::DockerImage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-DockerImage))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_file

    def get_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::File

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetFileRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetFileRequest)) --- 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::ArtifactRegistry::V1::File](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-File))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_iam_policy

    def get_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

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

- **request_pb** ([::Google::Iam::V1::GetIamPolicyRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-GetIamPolicyRequest)) --- 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::Iam::V1::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-Policy))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_maven_artifact

    def get_maven_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::MavenArtifact

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetMavenArtifactRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetMavenArtifactRequest)) --- 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::ArtifactRegistry::V1::MavenArtifact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-MavenArtifact))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_npm_package

    def get_npm_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::NpmPackage

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetNpmPackageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetNpmPackageRequest)) --- 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::ArtifactRegistry::V1::NpmPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-NpmPackage))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_package

    def get_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Package

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetPackageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetPackageRequest)) --- 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::ArtifactRegistry::V1::Package](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Package))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_project_settings

    def get_project_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetProjectSettingsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetProjectSettingsRequest)) --- 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::ArtifactRegistry::V1::ProjectSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ProjectSettings))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_python_package

    def get_python_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::PythonPackage

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetPythonPackageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetPythonPackageRequest)) --- 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::ArtifactRegistry::V1::PythonPackage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-PythonPackage))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_repository

    def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Repository

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetRepositoryRequest)) --- 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::ArtifactRegistry::V1::Repository](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Repository))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_rule

    def get_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Rule

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetRuleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetRuleRequest)) --- 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::ArtifactRegistry::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Rule))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_tag

    def get_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Tag

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetTagRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetTagRequest)) --- 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::ArtifactRegistry::V1::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Tag))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #get_version

    def get_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Version

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

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

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

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

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

- (::ArgumentError)

### #get_vpcsc_config

    def get_vpcsc_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::GetVPCSCConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-GetVPCSCConfigRequest)) --- 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::ArtifactRegistry::V1::VPCSCConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-VPCSCConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #import_apt_artifacts

    def import_apt_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ImportAptArtifactsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ImportAptArtifactsRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #import_yum_artifacts

    def import_yum_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ImportYumArtifactsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ImportYumArtifactsRequest)) --- 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::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_attachments

    def list_attachments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListAttachmentsResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListAttachmentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListAttachmentsRequest)) --- 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::ArtifactRegistry::V1::ListAttachmentsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListAttachmentsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_docker_images

    def list_docker_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListDockerImagesRequest)) --- 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::ArtifactRegistry::V1::ListDockerImagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListDockerImagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_files

    def list_files(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListFilesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListFilesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListFilesRequest)) --- 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::ArtifactRegistry::V1::ListFilesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListFilesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_maven_artifacts

    def list_maven_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListMavenArtifactsRequest)) --- 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::ArtifactRegistry::V1::ListMavenArtifactsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListMavenArtifactsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_npm_packages

    def list_npm_packages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListNpmPackagesRequest)) --- 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::ArtifactRegistry::V1::ListNpmPackagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListNpmPackagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_packages

    def list_packages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListPackagesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListPackagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListPackagesRequest)) --- 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::ArtifactRegistry::V1::ListPackagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListPackagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_python_packages

    def list_python_packages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListPythonPackagesRequest)) --- 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::ArtifactRegistry::V1::ListPythonPackagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListPythonPackagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_repositories

    def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListRepositoriesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListRepositoriesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListRepositoriesRequest)) --- 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::ArtifactRegistry::V1::ListRepositoriesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListRepositoriesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_rules

    def list_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListRulesResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListRulesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListRulesRequest)) --- 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::ArtifactRegistry::V1::ListRulesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListRulesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_tags

    def list_tags(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListTagsResponse

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::ListTagsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListTagsRequest)) --- 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::ArtifactRegistry::V1::ListTagsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListTagsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_versions

    def list_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ListVersionsResponse

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

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

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

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

- ([::Google::Cloud::ArtifactRegistry::V1::ListVersionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ListVersionsResponse)) --- 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)

### #set_iam_policy

    def set_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

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

- **request_pb** ([::Google::Iam::V1::SetIamPolicyRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-SetIamPolicyRequest)) --- 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::Iam::V1::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-Policy))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #test_iam_permissions

    def test_iam_permissions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::TestIamPermissionsResponse

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

- **request_pb** ([::Google::Iam::V1::TestIamPermissionsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-TestIamPermissionsRequest)) --- 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::Iam::V1::TestIamPermissionsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Iam-V1-TestIamPermissionsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #update_file

    def update_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::File

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateFileRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateFileRequest)) --- 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::ArtifactRegistry::V1::File](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-File))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_package

    def update_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Package

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdatePackageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdatePackageRequest)) --- 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::ArtifactRegistry::V1::Package](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Package))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_project_settings

    def update_project_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateProjectSettingsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateProjectSettingsRequest)) --- 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::ArtifactRegistry::V1::ProjectSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-ProjectSettings))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_repository

    def update_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Repository

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateRepositoryRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateRepositoryRequest)) --- 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::ArtifactRegistry::V1::Repository](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Repository))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_rule

    def update_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Rule

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateRuleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateRuleRequest)) --- 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::ArtifactRegistry::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Rule))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_tag

    def update_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Tag

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateTagRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateTagRequest)) --- 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::ArtifactRegistry::V1::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-Tag))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_version

    def update_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::Version

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

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

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

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

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

- (::ArgumentError)

### #update_vpcsc_config

    def update_vpcsc_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig

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

- **request_pb** ([::Google::Cloud::ArtifactRegistry::V1::UpdateVPCSCConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-UpdateVPCSCConfigRequest)) --- 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::ArtifactRegistry::V1::VPCSCConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1/latest/Google-Cloud-ArtifactRegistry-V1-VPCSCConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)