Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::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
#create_repository
def create_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_repository REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_tag
def create_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
Baseline implementation for the create_tag REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Tag)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Tag) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_package
def delete_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_package REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_repository
def delete_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_repository REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_tag
def delete_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_tag REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_version
def delete_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_version REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::DeleteVersionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_file
def get_file(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::File
Baseline implementation for the get_file REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::File)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::File) — A result object deserialized from the server's reply
- (::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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_package
def get_package(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Package
Baseline implementation for the get_package REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Package)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Package) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_project_settings
def get_project_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings
Baseline implementation for the get_project_settings REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_repository
def get_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
Baseline implementation for the get_repository REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Repository)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_tag
def get_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
Baseline implementation for the get_tag REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Tag)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Tag) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_version
def get_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Version
Baseline implementation for the get_version REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::GetVersionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Version)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Version) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#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
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_files
def list_files(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ListFilesResponse
Baseline implementation for the list_files REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ListFilesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ListFilesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_packages
def list_packages(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesResponse
Baseline implementation for the list_packages REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_repositories
def list_repositories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesResponse
Baseline implementation for the list_repositories REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_tags
def list_tags(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ListTagsResponse
Baseline implementation for the list_tags REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ListTagsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ListTagsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_versions
def list_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsResponse
Baseline implementation for the list_versions REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::TestIamPermissionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::TestIamPermissionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_project_settings
def update_project_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings
Baseline implementation for the update_project_settings REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::ProjectSettings) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_repository
def update_repository(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
Baseline implementation for the update_repository REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Repository)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_tag
def update_tag(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
Baseline implementation for the update_tag REST call
- request_pb (::Google::Cloud::ArtifactRegistry::V1beta2::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ArtifactRegistry::V1beta2::Tag)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ArtifactRegistry::V1beta2::Tag) — A result object deserialized from the server's reply
- (::ArgumentError)