Enum value maps for AptArtifact_PackageType.
var ( AptArtifact_PackageType_name = map[int32]string{ 0: "PACKAGE_TYPE_UNSPECIFIED", 1: "BINARY", 2: "SOURCE", } AptArtifact_PackageType_value = map[string]int32{ "PACKAGE_TYPE_UNSPECIFIED": 0, "BINARY": 1, "SOURCE": 2, } )
Enum value maps for Hash_HashType.
var ( Hash_HashType_name = map[int32]string{ 0: "HASH_TYPE_UNSPECIFIED", 1: "SHA256", 2: "MD5", } Hash_HashType_value = map[string]int32{ "HASH_TYPE_UNSPECIFIED": 0, "SHA256": 1, "MD5": 2, } )
Enum value maps for CleanupPolicyCondition_TagState.
var ( CleanupPolicyCondition_TagState_name = map[int32]string{ 0: "TAG_STATE_UNSPECIFIED", 1: "TAGGED", 2: "UNTAGGED", 3: "ANY", } CleanupPolicyCondition_TagState_value = map[string]int32{ "TAG_STATE_UNSPECIFIED": 0, "TAGGED": 1, "UNTAGGED": 2, "ANY": 3, } )
Enum value maps for CleanupPolicy_Action.
var ( CleanupPolicy_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "DELETE", 2: "KEEP", } CleanupPolicy_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "DELETE": 1, "KEEP": 2, } )
Enum value maps for RemoteRepositoryConfig_DockerRepository_PublicRepository.
var ( RemoteRepositoryConfig_DockerRepository_PublicRepository_name = map[int32]string{ 0: "PUBLIC_REPOSITORY_UNSPECIFIED", 1: "DOCKER_HUB", } RemoteRepositoryConfig_DockerRepository_PublicRepository_value = map[string]int32{ "PUBLIC_REPOSITORY_UNSPECIFIED": 0, "DOCKER_HUB": 1, } )
Enum value maps for RemoteRepositoryConfig_MavenRepository_PublicRepository.
var ( RemoteRepositoryConfig_MavenRepository_PublicRepository_name = map[int32]string{ 0: "PUBLIC_REPOSITORY_UNSPECIFIED", 1: "MAVEN_CENTRAL", } RemoteRepositoryConfig_MavenRepository_PublicRepository_value = map[string]int32{ "PUBLIC_REPOSITORY_UNSPECIFIED": 0, "MAVEN_CENTRAL": 1, } )
Enum value maps for RemoteRepositoryConfig_NpmRepository_PublicRepository.
var ( RemoteRepositoryConfig_NpmRepository_PublicRepository_name = map[int32]string{ 0: "PUBLIC_REPOSITORY_UNSPECIFIED", 1: "NPMJS", } RemoteRepositoryConfig_NpmRepository_PublicRepository_value = map[string]int32{ "PUBLIC_REPOSITORY_UNSPECIFIED": 0, "NPMJS": 1, } )
Enum value maps for RemoteRepositoryConfig_PythonRepository_PublicRepository.
var ( RemoteRepositoryConfig_PythonRepository_PublicRepository_name = map[int32]string{ 0: "PUBLIC_REPOSITORY_UNSPECIFIED", 1: "PYPI", } RemoteRepositoryConfig_PythonRepository_PublicRepository_value = map[string]int32{ "PUBLIC_REPOSITORY_UNSPECIFIED": 0, "PYPI": 1, } )
Enum value maps for RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase.
var ( RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_name = map[int32]string{ 0: "REPOSITORY_BASE_UNSPECIFIED", 1: "DEBIAN", 2: "UBUNTU", } RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_value = map[string]int32{ "REPOSITORY_BASE_UNSPECIFIED": 0, "DEBIAN": 1, "UBUNTU": 2, } )
Enum value maps for RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase.
var ( RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase_name = map[int32]string{ 0: "REPOSITORY_BASE_UNSPECIFIED", 1: "CENTOS", 2: "CENTOS_DEBUG", 3: "CENTOS_VAULT", 4: "CENTOS_STREAM", 5: "ROCKY", 6: "EPEL", } RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase_value = map[string]int32{ "REPOSITORY_BASE_UNSPECIFIED": 0, "CENTOS": 1, "CENTOS_DEBUG": 2, "CENTOS_VAULT": 3, "CENTOS_STREAM": 4, "ROCKY": 5, "EPEL": 6, } )
Enum value maps for Repository_Format.
var ( Repository_Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "DOCKER", 2: "MAVEN", 3: "NPM", 5: "APT", 6: "YUM", 8: "PYTHON", 9: "KFP", 10: "GO", } Repository_Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "DOCKER": 1, "MAVEN": 2, "NPM": 3, "APT": 5, "YUM": 6, "PYTHON": 8, "KFP": 9, "GO": 10, } )
Enum value maps for Repository_Mode.
var ( Repository_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "STANDARD_REPOSITORY", 2: "VIRTUAL_REPOSITORY", 3: "REMOTE_REPOSITORY", } Repository_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "STANDARD_REPOSITORY": 1, "VIRTUAL_REPOSITORY": 2, "REMOTE_REPOSITORY": 3, } )
Enum value maps for Repository_MavenRepositoryConfig_VersionPolicy.
var ( Repository_MavenRepositoryConfig_VersionPolicy_name = map[int32]string{ 0: "VERSION_POLICY_UNSPECIFIED", 1: "RELEASE", 2: "SNAPSHOT", } Repository_MavenRepositoryConfig_VersionPolicy_value = map[string]int32{ "VERSION_POLICY_UNSPECIFIED": 0, "RELEASE": 1, "SNAPSHOT": 2, } )
Enum value maps for ProjectSettings_RedirectionState.
var ( ProjectSettings_RedirectionState_name = map[int32]string{ 0: "REDIRECTION_STATE_UNSPECIFIED", 1: "REDIRECTION_FROM_GCR_IO_DISABLED", 2: "REDIRECTION_FROM_GCR_IO_ENABLED", 3: "REDIRECTION_FROM_GCR_IO_FINALIZED", } ProjectSettings_RedirectionState_value = map[string]int32{ "REDIRECTION_STATE_UNSPECIFIED": 0, "REDIRECTION_FROM_GCR_IO_DISABLED": 1, "REDIRECTION_FROM_GCR_IO_ENABLED": 2, "REDIRECTION_FROM_GCR_IO_FINALIZED": 3, } )
Enum value maps for VersionView.
var ( VersionView_name = map[int32]string{ 0: "VERSION_VIEW_UNSPECIFIED", 1: "BASIC", 2: "FULL", } VersionView_value = map[string]int32{ "VERSION_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2, } )
Enum value maps for VPCSCConfig_VPCSCPolicy.
var ( VPCSCConfig_VPCSCPolicy_name = map[int32]string{ 0: "VPCSC_POLICY_UNSPECIFIED", 1: "DENY", 2: "ALLOW", } VPCSCConfig_VPCSCPolicy_value = map[string]int32{ "VPCSC_POLICY_UNSPECIFIED": 0, "DENY": 1, "ALLOW": 2, } )
Enum value maps for YumArtifact_PackageType.
var ( YumArtifact_PackageType_name = map[int32]string{ 0: "PACKAGE_TYPE_UNSPECIFIED", 1: "BINARY", 2: "SOURCE", } YumArtifact_PackageType_value = map[string]int32{ "PACKAGE_TYPE_UNSPECIFIED": 0, "BINARY": 1, "SOURCE": 2, } )
var File_google_devtools_artifactregistry_v1_apt_artifact_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_artifact_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_file_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_package_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_repository_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_service_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_settings_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_tag_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_version_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_vpcsc_config_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1_yum_artifact_proto protoreflect.FileDescriptor
func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer)
A detailed representation of an Apt artifact. Information in the record is derived from the archive's control file. See https://www.debian.org/doc/debian-policy/ch-controlfields.html
type AptArtifact struct { // Output only. The Artifact Registry resource name of the artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The Apt package name of the artifact. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Output only. An artifact is a binary or source package. PackageType AptArtifact_PackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=google.devtools.artifactregistry.v1.AptArtifact_PackageType" json:"package_type,omitempty"` // Output only. Operating system architecture of the artifact. Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"` // Output only. Repository component of the artifact. Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` // Output only. Contents of the artifact's control metadata file. ControlFile []byte `protobuf:"bytes,6,opt,name=control_file,json=controlFile,proto3" json:"control_file,omitempty"` // contains filtered or unexported fields }
func (*AptArtifact) Descriptor() ([]byte, []int)
Deprecated: Use AptArtifact.ProtoReflect.Descriptor instead.
func (x *AptArtifact) GetArchitecture() string
func (x *AptArtifact) GetComponent() string
func (x *AptArtifact) GetControlFile() []byte
func (x *AptArtifact) GetName() string
func (x *AptArtifact) GetPackageName() string
func (x *AptArtifact) GetPackageType() AptArtifact_PackageType
func (*AptArtifact) ProtoMessage()
func (x *AptArtifact) ProtoReflect() protoreflect.Message
func (x *AptArtifact) Reset()
func (x *AptArtifact) String() string
Package type is either binary or source.
type AptArtifact_PackageType int32
const ( // Package type is not specified. AptArtifact_PACKAGE_TYPE_UNSPECIFIED AptArtifact_PackageType = 0 // Binary package. AptArtifact_BINARY AptArtifact_PackageType = 1 // Source package. AptArtifact_SOURCE AptArtifact_PackageType = 2 )
func (AptArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (x AptArtifact_PackageType) Enum() *AptArtifact_PackageType
func (AptArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptArtifact_PackageType.Descriptor instead.
func (x AptArtifact_PackageType) Number() protoreflect.EnumNumber
func (x AptArtifact_PackageType) String() string
func (AptArtifact_PackageType) Type() protoreflect.EnumType
ArtifactRegistryClient is the client API for ArtifactRegistry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ArtifactRegistryClient interface { // Lists docker images. ListDockerImages(ctx context.Context, in *ListDockerImagesRequest, opts ...grpc.CallOption) (*ListDockerImagesResponse, error) // Gets a docker image. GetDockerImage(ctx context.Context, in *GetDockerImageRequest, opts ...grpc.CallOption) (*DockerImage, error) // Lists maven artifacts. ListMavenArtifacts(ctx context.Context, in *ListMavenArtifactsRequest, opts ...grpc.CallOption) (*ListMavenArtifactsResponse, error) // Gets a maven artifact. GetMavenArtifact(ctx context.Context, in *GetMavenArtifactRequest, opts ...grpc.CallOption) (*MavenArtifact, error) // Lists npm packages. ListNpmPackages(ctx context.Context, in *ListNpmPackagesRequest, opts ...grpc.CallOption) (*ListNpmPackagesResponse, error) // Gets a npm package. GetNpmPackage(ctx context.Context, in *GetNpmPackageRequest, opts ...grpc.CallOption) (*NpmPackage, error) // Lists python packages. ListPythonPackages(ctx context.Context, in *ListPythonPackagesRequest, opts ...grpc.CallOption) (*ListPythonPackagesResponse, error) // Gets a python package. GetPythonPackage(ctx context.Context, in *GetPythonPackageRequest, opts ...grpc.CallOption) (*PythonPackage, error) // Imports Apt artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportAptArtifacts(ctx context.Context, in *ImportAptArtifactsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Imports Yum (RPM) artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportYumArtifacts(ctx context.Context, in *ImportYumArtifactsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists repositories. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // Gets a repository. GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Creates a repository. The returned Operation will finish once the // repository has been created. Its response will be the created Repository. CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates a repository. UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Deletes a repository and all of its contents. The returned Operation will // finish once the repository has been deleted. It will not have any Operation // metadata and will return a google.protobuf.Empty response. DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists packages. ListPackages(ctx context.Context, in *ListPackagesRequest, opts ...grpc.CallOption) (*ListPackagesResponse, error) // Gets a package. GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error) // Deletes a package and all of its versions and tags. The returned operation // will complete once the package has been deleted. DeletePackage(ctx context.Context, in *DeletePackageRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists versions. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Gets a version GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // Deletes a version and all of its content. The returned operation will // complete once the version has been deleted. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes multiple versions across a repository. The returned operation will // complete once the versions have been deleted. BatchDeleteVersions(ctx context.Context, in *BatchDeleteVersionsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists files. ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error) // Gets a file. GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*File, error) // Lists tags. ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) // Gets a tag. GetTag(ctx context.Context, in *GetTagRequest, opts ...grpc.CallOption) (*Tag, error) // Creates a tag. CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Updates a tag. UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes a tag. DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Gets the IAM policy for a given resource. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Tests if the caller has a list of permissions on a resource. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) // Retrieves the Settings for the Project. GetProjectSettings(ctx context.Context, in *GetProjectSettingsRequest, opts ...grpc.CallOption) (*ProjectSettings, error) // Updates the Settings for the Project. UpdateProjectSettings(ctx context.Context, in *UpdateProjectSettingsRequest, opts ...grpc.CallOption) (*ProjectSettings, error) // Retrieves the VPCSC Config for the Project. GetVPCSCConfig(ctx context.Context, in *GetVPCSCConfigRequest, opts ...grpc.CallOption) (*VPCSCConfig, error) // Updates the VPCSC Config for the Project. UpdateVPCSCConfig(ctx context.Context, in *UpdateVPCSCConfigRequest, opts ...grpc.CallOption) (*VPCSCConfig, error) }
func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient
ArtifactRegistryServer is the server API for ArtifactRegistry service.
type ArtifactRegistryServer interface { // Lists docker images. ListDockerImages(context.Context, *ListDockerImagesRequest) (*ListDockerImagesResponse, error) // Gets a docker image. GetDockerImage(context.Context, *GetDockerImageRequest) (*DockerImage, error) // Lists maven artifacts. ListMavenArtifacts(context.Context, *ListMavenArtifactsRequest) (*ListMavenArtifactsResponse, error) // Gets a maven artifact. GetMavenArtifact(context.Context, *GetMavenArtifactRequest) (*MavenArtifact, error) // Lists npm packages. ListNpmPackages(context.Context, *ListNpmPackagesRequest) (*ListNpmPackagesResponse, error) // Gets a npm package. GetNpmPackage(context.Context, *GetNpmPackageRequest) (*NpmPackage, error) // Lists python packages. ListPythonPackages(context.Context, *ListPythonPackagesRequest) (*ListPythonPackagesResponse, error) // Gets a python package. GetPythonPackage(context.Context, *GetPythonPackageRequest) (*PythonPackage, error) // Imports Apt artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error) // Imports Yum (RPM) artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error) // Lists repositories. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // Gets a repository. GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error) // Creates a repository. The returned Operation will finish once the // repository has been created. Its response will be the created Repository. CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error) // Updates a repository. UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error) // Deletes a repository and all of its contents. The returned Operation will // finish once the repository has been deleted. It will not have any Operation // metadata and will return a google.protobuf.Empty response. DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error) // Lists packages. ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error) // Gets a package. GetPackage(context.Context, *GetPackageRequest) (*Package, error) // Deletes a package and all of its versions and tags. The returned operation // will complete once the package has been deleted. DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error) // Lists versions. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Gets a version GetVersion(context.Context, *GetVersionRequest) (*Version, error) // Deletes a version and all of its content. The returned operation will // complete once the version has been deleted. DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error) // Deletes multiple versions across a repository. The returned operation will // complete once the versions have been deleted. BatchDeleteVersions(context.Context, *BatchDeleteVersionsRequest) (*longrunningpb.Operation, error) // Lists files. ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error) // Gets a file. GetFile(context.Context, *GetFileRequest) (*File, error) // Lists tags. ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) // Gets a tag. GetTag(context.Context, *GetTagRequest) (*Tag, error) // Creates a tag. CreateTag(context.Context, *CreateTagRequest) (*Tag, error) // Updates a tag. UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) // Deletes a tag. DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Gets the IAM policy for a given resource. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Tests if the caller has a list of permissions on a resource. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // Retrieves the Settings for the Project. GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error) // Updates the Settings for the Project. UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error) // Retrieves the VPCSC Config for the Project. GetVPCSCConfig(context.Context, *GetVPCSCConfigRequest) (*VPCSCConfig, error) // Updates the VPCSC Config for the Project. UpdateVPCSCConfig(context.Context, *UpdateVPCSCConfigRequest) (*VPCSCConfig, error) }
The metadata of an LRO from deleting multiple versions.
type BatchDeleteVersionsMetadata struct { // The versions the operation failed to delete. FailedVersions []string `protobuf:"bytes,2,rep,name=failed_versions,json=failedVersions,proto3" json:"failed_versions,omitempty"` // contains filtered or unexported fields }
func (*BatchDeleteVersionsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteVersionsMetadata.ProtoReflect.Descriptor instead.
func (x *BatchDeleteVersionsMetadata) GetFailedVersions() []string
func (*BatchDeleteVersionsMetadata) ProtoMessage()
func (x *BatchDeleteVersionsMetadata) ProtoReflect() protoreflect.Message
func (x *BatchDeleteVersionsMetadata) Reset()
func (x *BatchDeleteVersionsMetadata) String() string
The request to delete multiple versions across a repository.
type BatchDeleteVersionsRequest struct { // The name of the repository holding all requested versions. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The names of the versions to delete. // A maximum of 10000 versions can be deleted in a batch. Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` // If true, the request is performed without deleting data, following AIP-163. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
func (*BatchDeleteVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteVersionsRequest.ProtoReflect.Descriptor instead.
func (x *BatchDeleteVersionsRequest) GetNames() []string
func (x *BatchDeleteVersionsRequest) GetParent() string
func (x *BatchDeleteVersionsRequest) GetValidateOnly() bool
func (*BatchDeleteVersionsRequest) ProtoMessage()
func (x *BatchDeleteVersionsRequest) ProtoReflect() protoreflect.Message
func (x *BatchDeleteVersionsRequest) Reset()
func (x *BatchDeleteVersionsRequest) String() string
Artifact policy configuration for repository cleanup policies.
type CleanupPolicy struct { // Types that are assignable to ConditionType: // // *CleanupPolicy_Condition // *CleanupPolicy_MostRecentVersions ConditionType isCleanupPolicy_ConditionType `protobuf_oneof:"condition_type"` // The user-provided ID of the cleanup policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Policy action. Action CleanupPolicy_Action `protobuf:"varint,3,opt,name=action,proto3,enum=google.devtools.artifactregistry.v1.CleanupPolicy_Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CleanupPolicy) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicy.ProtoReflect.Descriptor instead.
func (x *CleanupPolicy) GetAction() CleanupPolicy_Action
func (x *CleanupPolicy) GetCondition() *CleanupPolicyCondition
func (m *CleanupPolicy) GetConditionType() isCleanupPolicy_ConditionType
func (x *CleanupPolicy) GetId() string
func (x *CleanupPolicy) GetMostRecentVersions() *CleanupPolicyMostRecentVersions
func (*CleanupPolicy) ProtoMessage()
func (x *CleanupPolicy) ProtoReflect() protoreflect.Message
func (x *CleanupPolicy) Reset()
func (x *CleanupPolicy) String() string
CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy. If multiple entries are set, all must be satisfied for the condition to be satisfied.
type CleanupPolicyCondition struct { // Match versions by tag status. TagState *CleanupPolicyCondition_TagState `protobuf:"varint,2,opt,name=tag_state,json=tagState,proto3,enum=google.devtools.artifactregistry.v1.CleanupPolicyCondition_TagState,oneof" json:"tag_state,omitempty"` // Match versions by tag prefix. Applied on any prefix match. TagPrefixes []string `protobuf:"bytes,3,rep,name=tag_prefixes,json=tagPrefixes,proto3" json:"tag_prefixes,omitempty"` // Match versions by version name prefix. Applied on any prefix match. VersionNamePrefixes []string `protobuf:"bytes,4,rep,name=version_name_prefixes,json=versionNamePrefixes,proto3" json:"version_name_prefixes,omitempty"` // Match versions by package prefix. Applied on any prefix match. PackageNamePrefixes []string `protobuf:"bytes,5,rep,name=package_name_prefixes,json=packageNamePrefixes,proto3" json:"package_name_prefixes,omitempty"` // Match versions older than a duration. OlderThan *durationpb.Duration `protobuf:"bytes,6,opt,name=older_than,json=olderThan,proto3,oneof" json:"older_than,omitempty"` // Match versions newer than a duration. NewerThan *durationpb.Duration `protobuf:"bytes,7,opt,name=newer_than,json=newerThan,proto3,oneof" json:"newer_than,omitempty"` // contains filtered or unexported fields }
func (*CleanupPolicyCondition) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyCondition.ProtoReflect.Descriptor instead.
func (x *CleanupPolicyCondition) GetNewerThan() *durationpb.Duration
func (x *CleanupPolicyCondition) GetOlderThan() *durationpb.Duration
func (x *CleanupPolicyCondition) GetPackageNamePrefixes() []string
func (x *CleanupPolicyCondition) GetTagPrefixes() []string
func (x *CleanupPolicyCondition) GetTagState() CleanupPolicyCondition_TagState
func (x *CleanupPolicyCondition) GetVersionNamePrefixes() []string
func (*CleanupPolicyCondition) ProtoMessage()
func (x *CleanupPolicyCondition) ProtoReflect() protoreflect.Message
func (x *CleanupPolicyCondition) Reset()
func (x *CleanupPolicyCondition) String() string
Statuses applying to versions.
type CleanupPolicyCondition_TagState int32
const ( // Tag status not specified. CleanupPolicyCondition_TAG_STATE_UNSPECIFIED CleanupPolicyCondition_TagState = 0 // Applies to tagged versions only. CleanupPolicyCondition_TAGGED CleanupPolicyCondition_TagState = 1 // Applies to untagged versions only. CleanupPolicyCondition_UNTAGGED CleanupPolicyCondition_TagState = 2 // Applies to all versions. CleanupPolicyCondition_ANY CleanupPolicyCondition_TagState = 3 )
func (CleanupPolicyCondition_TagState) Descriptor() protoreflect.EnumDescriptor
func (x CleanupPolicyCondition_TagState) Enum() *CleanupPolicyCondition_TagState
func (CleanupPolicyCondition_TagState) EnumDescriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyCondition_TagState.Descriptor instead.
func (x CleanupPolicyCondition_TagState) Number() protoreflect.EnumNumber
func (x CleanupPolicyCondition_TagState) String() string
func (CleanupPolicyCondition_TagState) Type() protoreflect.EnumType
CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.
type CleanupPolicyMostRecentVersions struct { // List of package name prefixes that will apply this rule. PackageNamePrefixes []string `protobuf:"bytes,1,rep,name=package_name_prefixes,json=packageNamePrefixes,proto3" json:"package_name_prefixes,omitempty"` // Minimum number of versions to keep. KeepCount *int32 `protobuf:"varint,2,opt,name=keep_count,json=keepCount,proto3,oneof" json:"keep_count,omitempty"` // contains filtered or unexported fields }
func (*CleanupPolicyMostRecentVersions) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyMostRecentVersions.ProtoReflect.Descriptor instead.
func (x *CleanupPolicyMostRecentVersions) GetKeepCount() int32
func (x *CleanupPolicyMostRecentVersions) GetPackageNamePrefixes() []string
func (*CleanupPolicyMostRecentVersions) ProtoMessage()
func (x *CleanupPolicyMostRecentVersions) ProtoReflect() protoreflect.Message
func (x *CleanupPolicyMostRecentVersions) Reset()
func (x *CleanupPolicyMostRecentVersions) String() string
Action type for a cleanup policy.
type CleanupPolicy_Action int32
const ( // Action not specified. CleanupPolicy_ACTION_UNSPECIFIED CleanupPolicy_Action = 0 // Delete action. CleanupPolicy_DELETE CleanupPolicy_Action = 1 // Keep action. CleanupPolicy_KEEP CleanupPolicy_Action = 2 )
func (CleanupPolicy_Action) Descriptor() protoreflect.EnumDescriptor
func (x CleanupPolicy_Action) Enum() *CleanupPolicy_Action
func (CleanupPolicy_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use CleanupPolicy_Action.Descriptor instead.
func (x CleanupPolicy_Action) Number() protoreflect.EnumNumber
func (x CleanupPolicy_Action) String() string
func (CleanupPolicy_Action) Type() protoreflect.EnumType
type CleanupPolicy_Condition struct { // Policy condition for matching versions. Condition *CleanupPolicyCondition `protobuf:"bytes,2,opt,name=condition,proto3,oneof"` }
type CleanupPolicy_MostRecentVersions struct { // Policy condition for retaining a minimum number of versions. May only be // specified with a Keep action. MostRecentVersions *CleanupPolicyMostRecentVersions `protobuf:"bytes,4,opt,name=most_recent_versions,json=mostRecentVersions,proto3,oneof"` }
The request to create a new repository.
type CreateRepositoryRequest struct { // Required. The name of the parent resource where the repository will be // created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The repository id to use for this repository. RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // Required. The repository to be created. Repository *Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (x *CreateRepositoryRequest) GetParent() string
func (x *CreateRepositoryRequest) GetRepository() *Repository
func (x *CreateRepositoryRequest) GetRepositoryId() string
func (*CreateRepositoryRequest) ProtoMessage()
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (x *CreateRepositoryRequest) Reset()
func (x *CreateRepositoryRequest) String() string
The request to create a new tag.
type CreateTagRequest struct { // The name of the parent resource where the tag will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The tag id to use for this repository. TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` // The tag to be created. Tag *Tag `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (x *CreateTagRequest) GetParent() string
func (x *CreateTagRequest) GetTag() *Tag
func (x *CreateTagRequest) GetTagId() string
func (*CreateTagRequest) ProtoMessage()
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
func (x *CreateTagRequest) Reset()
func (x *CreateTagRequest) String() string
The request to delete a package.
type DeletePackageRequest struct { // Required. The name of the package to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeletePackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePackageRequest.ProtoReflect.Descriptor instead.
func (x *DeletePackageRequest) GetName() string
func (*DeletePackageRequest) ProtoMessage()
func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message
func (x *DeletePackageRequest) Reset()
func (x *DeletePackageRequest) String() string
The request to delete a repository.
type DeleteRepositoryRequest struct { // Required. The name of the repository to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (x *DeleteRepositoryRequest) GetName() string
func (*DeleteRepositoryRequest) ProtoMessage()
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (x *DeleteRepositoryRequest) Reset()
func (x *DeleteRepositoryRequest) String() string
The request to delete a tag.
type DeleteTagRequest struct { // The name of the tag to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (x *DeleteTagRequest) GetName() string
func (*DeleteTagRequest) ProtoMessage()
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (x *DeleteTagRequest) Reset()
func (x *DeleteTagRequest) String() string
The request to delete a version.
type DeleteVersionRequest struct { // The name of the version to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // By default, a version that is tagged may not be deleted. If force=true, the // version and any tags pointing to the version are deleted. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (x *DeleteVersionRequest) GetForce() bool
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage()
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (x *DeleteVersionRequest) Reset()
func (x *DeleteVersionRequest) String() string
DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): * imageSizeBytes * mediaType * buildTime
type DockerImage struct { // Required. registry_location, project_id, repository_name and image id forms // a unique image // name:`projects/<project_id>/locations/<location>/repository/<repository_name>/dockerImages/<docker_image>`. // For example, // "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ // nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", // where "us-west4" is the registry_location, "test-project" is the // project_id, "test-repo" is the repository_name and // "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf" // is the image's digest. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. URL to access the image. // Example: // us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Tags attached to this image. Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // Calculated size of the image. // This field is returned as the 'metadata.imageSizeBytes' field in the // Version resource. ImageSizeBytes int64 `protobuf:"varint,4,opt,name=image_size_bytes,json=imageSizeBytes,proto3" json:"image_size_bytes,omitempty"` // Time the image was uploaded. UploadTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"` // Media type of this image, e.g. // "application/vnd.docker.distribution.manifest.v2+json". // This field is returned as the 'metadata.mediaType' field in the // Version resource. MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // The time this image was built. // This field is returned as the 'metadata.buildTime' field in the // Version resource. // The build time is returned to the client as an RFC 3339 string, which can // be easily used with the JavaScript Date constructor. BuildTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"` // Output only. The time when the docker image was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*DockerImage) Descriptor() ([]byte, []int)
Deprecated: Use DockerImage.ProtoReflect.Descriptor instead.
func (x *DockerImage) GetBuildTime() *timestamppb.Timestamp
func (x *DockerImage) GetImageSizeBytes() int64
func (x *DockerImage) GetMediaType() string
func (x *DockerImage) GetName() string
func (x *DockerImage) GetTags() []string
func (x *DockerImage) GetUpdateTime() *timestamppb.Timestamp
func (x *DockerImage) GetUploadTime() *timestamppb.Timestamp
func (x *DockerImage) GetUri() string
func (*DockerImage) ProtoMessage()
func (x *DockerImage) ProtoReflect() protoreflect.Message
func (x *DockerImage) Reset()
func (x *DockerImage) String() string
Files store content that is potentially associated with Packages or Versions.
type File struct { // The name of the file, for example: // "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". // If the file ID part contains slashes, they are escaped. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The size of the File in bytes. SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // The hashes of the file content. Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"` // Output only. The time when the File was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the File was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Package or Version that owns this file, if any. Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` // Output only. The time when the last attempt to refresh the file's data was // made. Only set when the repository is remote. FetchTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=fetch_time,json=fetchTime,proto3" json:"fetch_time,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor() ([]byte, []int)
Deprecated: Use File.ProtoReflect.Descriptor instead.
func (x *File) GetCreateTime() *timestamppb.Timestamp
func (x *File) GetFetchTime() *timestamppb.Timestamp
func (x *File) GetHashes() []*Hash
func (x *File) GetName() string
func (x *File) GetOwner() string
func (x *File) GetSizeBytes() int64
func (x *File) GetUpdateTime() *timestamppb.Timestamp
func (*File) ProtoMessage()
func (x *File) ProtoReflect() protoreflect.Message
func (x *File) Reset()
func (x *File) String() string
The request to get docker images.
type GetDockerImageRequest struct { // Required. The name of the docker images. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDockerImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDockerImageRequest.ProtoReflect.Descriptor instead.
func (x *GetDockerImageRequest) GetName() string
func (*GetDockerImageRequest) ProtoMessage()
func (x *GetDockerImageRequest) ProtoReflect() protoreflect.Message
func (x *GetDockerImageRequest) Reset()
func (x *GetDockerImageRequest) String() string
The request to retrieve a file.
type GetFileRequest struct { // Required. The name of the file to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (x *GetFileRequest) GetName() string
func (*GetFileRequest) ProtoMessage()
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (x *GetFileRequest) Reset()
func (x *GetFileRequest) String() string
The request to get maven artifacts.
type GetMavenArtifactRequest struct { // Required. The name of the maven artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetMavenArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMavenArtifactRequest.ProtoReflect.Descriptor instead.
func (x *GetMavenArtifactRequest) GetName() string
func (*GetMavenArtifactRequest) ProtoMessage()
func (x *GetMavenArtifactRequest) ProtoReflect() protoreflect.Message
func (x *GetMavenArtifactRequest) Reset()
func (x *GetMavenArtifactRequest) String() string
The request to get npm packages.
type GetNpmPackageRequest struct { // Required. The name of the npm package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNpmPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNpmPackageRequest.ProtoReflect.Descriptor instead.
func (x *GetNpmPackageRequest) GetName() string
func (*GetNpmPackageRequest) ProtoMessage()
func (x *GetNpmPackageRequest) ProtoReflect() protoreflect.Message
func (x *GetNpmPackageRequest) Reset()
func (x *GetNpmPackageRequest) String() string
The request to retrieve a package.
type GetPackageRequest struct { // Required. The name of the package to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (x *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage()
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (x *GetPackageRequest) Reset()
func (x *GetPackageRequest) String() string
Gets the redirection status for a project.
type GetProjectSettingsRequest struct { // Required. The name of the projectSettings resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (x *GetProjectSettingsRequest) GetName() string
func (*GetProjectSettingsRequest) ProtoMessage()
func (x *GetProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (x *GetProjectSettingsRequest) Reset()
func (x *GetProjectSettingsRequest) String() string
The request to get python packages.
type GetPythonPackageRequest struct { // Required. The name of the python package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPythonPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPythonPackageRequest.ProtoReflect.Descriptor instead.
func (x *GetPythonPackageRequest) GetName() string
func (*GetPythonPackageRequest) ProtoMessage()
func (x *GetPythonPackageRequest) ProtoReflect() protoreflect.Message
func (x *GetPythonPackageRequest) Reset()
func (x *GetPythonPackageRequest) String() string
The request to retrieve a repository.
type GetRepositoryRequest struct { // Required. The name of the repository to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (x *GetRepositoryRequest) GetName() string
func (*GetRepositoryRequest) ProtoMessage()
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
func (x *GetRepositoryRequest) Reset()
func (x *GetRepositoryRequest) String() string
The request to retrieve a tag.
type GetTagRequest struct { // The name of the tag to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.
func (x *GetTagRequest) GetName() string
func (*GetTagRequest) ProtoMessage()
func (x *GetTagRequest) ProtoReflect() protoreflect.Message
func (x *GetTagRequest) Reset()
func (x *GetTagRequest) String() string
Gets the VPC SC config for a project.
type GetVPCSCConfigRequest struct { // Required. The name of the VPCSCConfig resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetVPCSCConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVPCSCConfigRequest.ProtoReflect.Descriptor instead.
func (x *GetVPCSCConfigRequest) GetName() string
func (*GetVPCSCConfigRequest) ProtoMessage()
func (x *GetVPCSCConfigRequest) ProtoReflect() protoreflect.Message
func (x *GetVPCSCConfigRequest) Reset()
func (x *GetVPCSCConfigRequest) String() string
The request to retrieve a version.
type GetVersionRequest struct { // The name of the version to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The view that should be returned in the response. View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (x *GetVersionRequest) GetName() string
func (x *GetVersionRequest) GetView() VersionView
func (*GetVersionRequest) ProtoMessage()
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (x *GetVersionRequest) Reset()
func (x *GetVersionRequest) String() string
A hash of file content.
type Hash struct { // The algorithm used to compute the hash value. Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.artifactregistry.v1.Hash_HashType" json:"type,omitempty"` // The hash value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Hash) Descriptor() ([]byte, []int)
Deprecated: Use Hash.ProtoReflect.Descriptor instead.
func (x *Hash) GetType() Hash_HashType
func (x *Hash) GetValue() []byte
func (*Hash) ProtoMessage()
func (x *Hash) ProtoReflect() protoreflect.Message
func (x *Hash) Reset()
func (x *Hash) String() string
The algorithm used to compute the hash.
type Hash_HashType int32
const ( // Unspecified. Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 // SHA256 hash. Hash_SHA256 Hash_HashType = 1 // MD5 hash. Hash_MD5 Hash_HashType = 2 )
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
func (x Hash_HashType) Enum() *Hash_HashType
func (Hash_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hash_HashType.Descriptor instead.
func (x Hash_HashType) Number() protoreflect.EnumNumber
func (x Hash_HashType) String() string
func (Hash_HashType) Type() protoreflect.EnumType
Error information explaining why a package was not imported.
type ImportAptArtifactsErrorInfo struct { // The source that was not imported. // // Types that are assignable to Source: // // *ImportAptArtifactsErrorInfo_GcsSource Source isImportAptArtifactsErrorInfo_Source `protobuf_oneof:"source"` // The detailed error status. Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ImportAptArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (x *ImportAptArtifactsErrorInfo) GetError() *status.Status
func (x *ImportAptArtifactsErrorInfo) GetGcsSource() *ImportAptArtifactsGcsSource
func (m *ImportAptArtifactsErrorInfo) GetSource() isImportAptArtifactsErrorInfo_Source
func (*ImportAptArtifactsErrorInfo) ProtoMessage()
func (x *ImportAptArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (x *ImportAptArtifactsErrorInfo) Reset()
func (x *ImportAptArtifactsErrorInfo) String() string
type ImportAptArtifactsErrorInfo_GcsSource struct { // Google Cloud Storage location requested. GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
Google Cloud Storage location where the artifacts currently reside.
type ImportAptArtifactsGcsSource struct { // Cloud Storage paths URI (e.g., gs://my_bucket//my_object). Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // Supports URI wildcards for matching multiple objects from a single URI. UseWildcards bool `protobuf:"varint,2,opt,name=use_wildcards,json=useWildcards,proto3" json:"use_wildcards,omitempty"` // contains filtered or unexported fields }
func (*ImportAptArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (x *ImportAptArtifactsGcsSource) GetUris() []string
func (x *ImportAptArtifactsGcsSource) GetUseWildcards() bool
func (*ImportAptArtifactsGcsSource) ProtoMessage()
func (x *ImportAptArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (x *ImportAptArtifactsGcsSource) Reset()
func (x *ImportAptArtifactsGcsSource) String() string
The operation metadata for importing artifacts.
type ImportAptArtifactsMetadata struct {
// contains filtered or unexported fields
}
func (*ImportAptArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsMetadata) ProtoMessage()
func (x *ImportAptArtifactsMetadata) ProtoReflect() protoreflect.Message
func (x *ImportAptArtifactsMetadata) Reset()
func (x *ImportAptArtifactsMetadata) String() string
The request to import new apt artifacts.
type ImportAptArtifactsRequest struct { // The source location of the package binaries. // // Types that are assignable to Source: // // *ImportAptArtifactsRequest_GcsSource Source isImportAptArtifactsRequest_Source `protobuf_oneof:"source"` // The name of the parent resource where the artifacts will be imported. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ImportAptArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsRequest.ProtoReflect.Descriptor instead.
func (x *ImportAptArtifactsRequest) GetGcsSource() *ImportAptArtifactsGcsSource
func (x *ImportAptArtifactsRequest) GetParent() string
func (m *ImportAptArtifactsRequest) GetSource() isImportAptArtifactsRequest_Source
func (*ImportAptArtifactsRequest) ProtoMessage()
func (x *ImportAptArtifactsRequest) ProtoReflect() protoreflect.Message
func (x *ImportAptArtifactsRequest) Reset()
func (x *ImportAptArtifactsRequest) String() string
type ImportAptArtifactsRequest_GcsSource struct { // Google Cloud Storage location where input content is located. GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
The response message from importing APT artifacts.
type ImportAptArtifactsResponse struct { // The Apt artifacts imported. AptArtifacts []*AptArtifact `protobuf:"bytes,1,rep,name=apt_artifacts,json=aptArtifacts,proto3" json:"apt_artifacts,omitempty"` // Detailed error info for packages that were not imported. Errors []*ImportAptArtifactsErrorInfo `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ImportAptArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsResponse.ProtoReflect.Descriptor instead.
func (x *ImportAptArtifactsResponse) GetAptArtifacts() []*AptArtifact
func (x *ImportAptArtifactsResponse) GetErrors() []*ImportAptArtifactsErrorInfo
func (*ImportAptArtifactsResponse) ProtoMessage()
func (x *ImportAptArtifactsResponse) ProtoReflect() protoreflect.Message
func (x *ImportAptArtifactsResponse) Reset()
func (x *ImportAptArtifactsResponse) String() string
Error information explaining why a package was not imported.
type ImportYumArtifactsErrorInfo struct { // The source that was not imported. // // Types that are assignable to Source: // // *ImportYumArtifactsErrorInfo_GcsSource Source isImportYumArtifactsErrorInfo_Source `protobuf_oneof:"source"` // The detailed error status. Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ImportYumArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (x *ImportYumArtifactsErrorInfo) GetError() *status.Status
func (x *ImportYumArtifactsErrorInfo) GetGcsSource() *ImportYumArtifactsGcsSource
func (m *ImportYumArtifactsErrorInfo) GetSource() isImportYumArtifactsErrorInfo_Source
func (*ImportYumArtifactsErrorInfo) ProtoMessage()
func (x *ImportYumArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (x *ImportYumArtifactsErrorInfo) Reset()
func (x *ImportYumArtifactsErrorInfo) String() string
type ImportYumArtifactsErrorInfo_GcsSource struct { // Google Cloud Storage location requested. GcsSource *ImportYumArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
Google Cloud Storage location where the artifacts currently reside.
type ImportYumArtifactsGcsSource struct { // Cloud Storage paths URI (e.g., gs://my_bucket//my_object). Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // Supports URI wildcards for matching multiple objects from a single URI. UseWildcards bool `protobuf:"varint,2,opt,name=use_wildcards,json=useWildcards,proto3" json:"use_wildcards,omitempty"` // contains filtered or unexported fields }
func (*ImportYumArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (x *ImportYumArtifactsGcsSource) GetUris() []string
func (x *ImportYumArtifactsGcsSource) GetUseWildcards() bool
func (*ImportYumArtifactsGcsSource) ProtoMessage()
func (x *ImportYumArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (x *ImportYumArtifactsGcsSource) Reset()
func (x *ImportYumArtifactsGcsSource) String() string
The operation metadata for importing artifacts.
type ImportYumArtifactsMetadata struct {
// contains filtered or unexported fields
}
func (*ImportYumArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsMetadata) ProtoMessage()
func (x *ImportYumArtifactsMetadata) ProtoReflect() protoreflect.Message
func (x *ImportYumArtifactsMetadata) Reset()
func (x *ImportYumArtifactsMetadata) String() string
The request to import new yum artifacts.
type ImportYumArtifactsRequest struct { // The source location of the package binaries. // // Types that are assignable to Source: // // *ImportYumArtifactsRequest_GcsSource Source isImportYumArtifactsRequest_Source `protobuf_oneof:"source"` // The name of the parent resource where the artifacts will be imported. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ImportYumArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsRequest.ProtoReflect.Descriptor instead.
func (x *ImportYumArtifactsRequest) GetGcsSource() *ImportYumArtifactsGcsSource
func (x *ImportYumArtifactsRequest) GetParent() string
func (m *ImportYumArtifactsRequest) GetSource() isImportYumArtifactsRequest_Source
func (*ImportYumArtifactsRequest) ProtoMessage()
func (x *ImportYumArtifactsRequest) ProtoReflect() protoreflect.Message
func (x *ImportYumArtifactsRequest) Reset()
func (x *ImportYumArtifactsRequest) String() string
type ImportYumArtifactsRequest_GcsSource struct { // Google Cloud Storage location where input content is located. GcsSource *ImportYumArtifactsGcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
The response message from importing YUM artifacts.
type ImportYumArtifactsResponse struct { // The yum artifacts imported. YumArtifacts []*YumArtifact `protobuf:"bytes,1,rep,name=yum_artifacts,json=yumArtifacts,proto3" json:"yum_artifacts,omitempty"` // Detailed error info for packages that were not imported. Errors []*ImportYumArtifactsErrorInfo `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ImportYumArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsResponse.ProtoReflect.Descriptor instead.
func (x *ImportYumArtifactsResponse) GetErrors() []*ImportYumArtifactsErrorInfo
func (x *ImportYumArtifactsResponse) GetYumArtifacts() []*YumArtifact
func (*ImportYumArtifactsResponse) ProtoMessage()
func (x *ImportYumArtifactsResponse) ProtoReflect() protoreflect.Message
func (x *ImportYumArtifactsResponse) Reset()
func (x *ImportYumArtifactsResponse) String() string
The request to list docker images.
type ListDockerImagesRequest struct { // Required. The name of the parent resource whose docker images will be // listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of artifacts to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The field to order the results by. OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListDockerImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDockerImagesRequest.ProtoReflect.Descriptor instead.
func (x *ListDockerImagesRequest) GetOrderBy() string
func (x *ListDockerImagesRequest) GetPageSize() int32
func (x *ListDockerImagesRequest) GetPageToken() string
func (x *ListDockerImagesRequest) GetParent() string
func (*ListDockerImagesRequest) ProtoMessage()
func (x *ListDockerImagesRequest) ProtoReflect() protoreflect.Message
func (x *ListDockerImagesRequest) Reset()
func (x *ListDockerImagesRequest) String() string
The response from listing docker images.
type ListDockerImagesResponse struct { // The docker images returned. DockerImages []*DockerImage `protobuf:"bytes,1,rep,name=docker_images,json=dockerImages,proto3" json:"docker_images,omitempty"` // The token to retrieve the next page of artifacts, or empty if there are no // more artifacts to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDockerImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDockerImagesResponse.ProtoReflect.Descriptor instead.
func (x *ListDockerImagesResponse) GetDockerImages() []*DockerImage
func (x *ListDockerImagesResponse) GetNextPageToken() string
func (*ListDockerImagesResponse) ProtoMessage()
func (x *ListDockerImagesResponse) ProtoReflect() protoreflect.Message
func (x *ListDockerImagesResponse) Reset()
func (x *ListDockerImagesResponse) String() string
The request to list files.
type ListFilesRequest struct { // Required. The name of the repository whose files will be listed. For // example: "projects/p1/locations/us-central1/repositories/repo1 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. Filter rules are // case insensitive. The fields eligible for filtering are: // // - `name` // // - `owner` // // An example of using a filter: // // - `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an // ID starting with "a/b/". // // - `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> // Files owned by the version `1.0` in package `pkg1`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of files to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The field to order the results by. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (x *ListFilesRequest) GetFilter() string
func (x *ListFilesRequest) GetOrderBy() string
func (x *ListFilesRequest) GetPageSize() int32
func (x *ListFilesRequest) GetPageToken() string
func (x *ListFilesRequest) GetParent() string
func (*ListFilesRequest) ProtoMessage()
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (x *ListFilesRequest) Reset()
func (x *ListFilesRequest) String() string
The response from listing files.
type ListFilesResponse struct { // The files returned. Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // The token to retrieve the next page of files, or empty if there are no // more files to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (x *ListFilesResponse) GetFiles() []*File
func (x *ListFilesResponse) GetNextPageToken() string
func (*ListFilesResponse) ProtoMessage()
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (x *ListFilesResponse) Reset()
func (x *ListFilesResponse) String() string
The request to list maven artifacts.
type ListMavenArtifactsRequest struct { // Required. The name of the parent resource whose maven artifacts will be // listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of artifacts to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMavenArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMavenArtifactsRequest.ProtoReflect.Descriptor instead.
func (x *ListMavenArtifactsRequest) GetPageSize() int32
func (x *ListMavenArtifactsRequest) GetPageToken() string
func (x *ListMavenArtifactsRequest) GetParent() string
func (*ListMavenArtifactsRequest) ProtoMessage()
func (x *ListMavenArtifactsRequest) ProtoReflect() protoreflect.Message
func (x *ListMavenArtifactsRequest) Reset()
func (x *ListMavenArtifactsRequest) String() string
The response from listing maven artifacts.
type ListMavenArtifactsResponse struct { // The maven artifacts returned. MavenArtifacts []*MavenArtifact `protobuf:"bytes,1,rep,name=maven_artifacts,json=mavenArtifacts,proto3" json:"maven_artifacts,omitempty"` // The token to retrieve the next page of artifacts, or empty if there are no // more artifacts to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMavenArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMavenArtifactsResponse.ProtoReflect.Descriptor instead.
func (x *ListMavenArtifactsResponse) GetMavenArtifacts() []*MavenArtifact
func (x *ListMavenArtifactsResponse) GetNextPageToken() string
func (*ListMavenArtifactsResponse) ProtoMessage()
func (x *ListMavenArtifactsResponse) ProtoReflect() protoreflect.Message
func (x *ListMavenArtifactsResponse) Reset()
func (x *ListMavenArtifactsResponse) String() string
The request to list npm packages.
type ListNpmPackagesRequest struct { // Required. The name of the parent resource whose npm packages will be // listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of artifacts to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListNpmPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNpmPackagesRequest.ProtoReflect.Descriptor instead.
func (x *ListNpmPackagesRequest) GetPageSize() int32
func (x *ListNpmPackagesRequest) GetPageToken() string
func (x *ListNpmPackagesRequest) GetParent() string
func (*ListNpmPackagesRequest) ProtoMessage()
func (x *ListNpmPackagesRequest) ProtoReflect() protoreflect.Message
func (x *ListNpmPackagesRequest) Reset()
func (x *ListNpmPackagesRequest) String() string
The response from listing npm packages.
type ListNpmPackagesResponse struct { // The npm packages returned. NpmPackages []*NpmPackage `protobuf:"bytes,1,rep,name=npm_packages,json=npmPackages,proto3" json:"npm_packages,omitempty"` // The token to retrieve the next page of artifacts, or empty if there are no // more artifacts to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListNpmPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNpmPackagesResponse.ProtoReflect.Descriptor instead.
func (x *ListNpmPackagesResponse) GetNextPageToken() string
func (x *ListNpmPackagesResponse) GetNpmPackages() []*NpmPackage
func (*ListNpmPackagesResponse) ProtoMessage()
func (x *ListNpmPackagesResponse) ProtoReflect() protoreflect.Message
func (x *ListNpmPackagesResponse) Reset()
func (x *ListNpmPackagesResponse) String() string
The request to list packages.
type ListPackagesRequest struct { // Required. The name of the parent resource whose packages will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of packages to return. Maximum page size is 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesRequest.ProtoReflect.Descriptor instead.
func (x *ListPackagesRequest) GetPageSize() int32
func (x *ListPackagesRequest) GetPageToken() string
func (x *ListPackagesRequest) GetParent() string
func (*ListPackagesRequest) ProtoMessage()
func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
func (x *ListPackagesRequest) Reset()
func (x *ListPackagesRequest) String() string
The response from listing packages.
type ListPackagesResponse struct { // The packages returned. Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` // The token to retrieve the next page of packages, or empty if there are no // more packages to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesResponse.ProtoReflect.Descriptor instead.
func (x *ListPackagesResponse) GetNextPageToken() string
func (x *ListPackagesResponse) GetPackages() []*Package
func (*ListPackagesResponse) ProtoMessage()
func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
func (x *ListPackagesResponse) Reset()
func (x *ListPackagesResponse) String() string
The request to list python packages.
type ListPythonPackagesRequest struct { // Required. The name of the parent resource whose python packages will be // listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of artifacts to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPythonPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPythonPackagesRequest.ProtoReflect.Descriptor instead.
func (x *ListPythonPackagesRequest) GetPageSize() int32
func (x *ListPythonPackagesRequest) GetPageToken() string
func (x *ListPythonPackagesRequest) GetParent() string
func (*ListPythonPackagesRequest) ProtoMessage()
func (x *ListPythonPackagesRequest) ProtoReflect() protoreflect.Message
func (x *ListPythonPackagesRequest) Reset()
func (x *ListPythonPackagesRequest) String() string
The response from listing python packages.
type ListPythonPackagesResponse struct { // The python packages returned. PythonPackages []*PythonPackage `protobuf:"bytes,1,rep,name=python_packages,json=pythonPackages,proto3" json:"python_packages,omitempty"` // The token to retrieve the next page of artifacts, or empty if there are no // more artifacts to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPythonPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPythonPackagesResponse.ProtoReflect.Descriptor instead.
func (x *ListPythonPackagesResponse) GetNextPageToken() string
func (x *ListPythonPackagesResponse) GetPythonPackages() []*PythonPackage
func (*ListPythonPackagesResponse) ProtoMessage()
func (x *ListPythonPackagesResponse) ProtoReflect() protoreflect.Message
func (x *ListPythonPackagesResponse) Reset()
func (x *ListPythonPackagesResponse) String() string
The request to list repositories.
type ListRepositoriesRequest struct { // Required. The name of the parent resource whose repositories will be // listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of repositories to return. Maximum page size is 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (x *ListRepositoriesRequest) GetPageSize() int32
func (x *ListRepositoriesRequest) GetPageToken() string
func (x *ListRepositoriesRequest) GetParent() string
func (*ListRepositoriesRequest) ProtoMessage()
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (x *ListRepositoriesRequest) Reset()
func (x *ListRepositoriesRequest) String() string
The response from listing repositories.
type ListRepositoriesResponse struct { // The repositories returned. Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // The token to retrieve the next page of repositories, or empty if there are // no more repositories to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) ProtoMessage()
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (x *ListRepositoriesResponse) Reset()
func (x *ListRepositoriesResponse) String() string
The request to list tags.
type ListTagsRequest struct { // The name of the parent package whose tags will be listed. // For example: // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. Filter rules are // case insensitive. The fields eligible for filtering are: // // - `version` // // An example of using a filter: // // - `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` // --> Tags that are applied to the version `1.0` in package `pkg1`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of tags to return. Maximum page size is 10,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (x *ListTagsRequest) GetFilter() string
func (x *ListTagsRequest) GetPageSize() int32
func (x *ListTagsRequest) GetPageToken() string
func (x *ListTagsRequest) GetParent() string
func (*ListTagsRequest) ProtoMessage()
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (x *ListTagsRequest) Reset()
func (x *ListTagsRequest) String() string
The response from listing tags.
type ListTagsResponse struct { // The tags returned. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // The token to retrieve the next page of tags, or empty if there are no // more tags to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (x *ListTagsResponse) GetNextPageToken() string
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage()
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (x *ListTagsResponse) Reset()
func (x *ListTagsResponse) String() string
The request to list versions.
type ListVersionsRequest struct { // The name of the parent resource whose versions will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of versions to return. Maximum page size is 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The view that should be returned in the response. View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"` // Optional. The field to order the results by. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (x *ListVersionsRequest) GetOrderBy() string
func (x *ListVersionsRequest) GetPageSize() int32
func (x *ListVersionsRequest) GetPageToken() string
func (x *ListVersionsRequest) GetParent() string
func (x *ListVersionsRequest) GetView() VersionView
func (*ListVersionsRequest) ProtoMessage()
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (x *ListVersionsRequest) Reset()
func (x *ListVersionsRequest) String() string
The response from listing versions.
type ListVersionsResponse struct { // The versions returned. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // The token to retrieve the next page of versions, or empty if there are no // more versions to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (x *ListVersionsResponse) GetNextPageToken() string
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage()
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (x *ListVersionsResponse) Reset()
func (x *ListVersionsResponse) String() string
MavenArtifact represents a maven artifact.
type MavenArtifact struct { // Required. registry_location, project_id, repository_name and maven_artifact // forms a unique artifact For example, // "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ // com.google.guava:guava:31.0-jre", // where "us-west4" is the registry_location, "test-project" is the // project_id, "test-repo" is the repository_name and // "com.google.guava:guava:31.0-jre" // is the maven artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. URL to access the pom file of the artifact. // Example: // us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom PomUri string `protobuf:"bytes,2,opt,name=pom_uri,json=pomUri,proto3" json:"pom_uri,omitempty"` // Group ID for the artifact. // Example: // com.google.guava GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Artifact ID for the artifact. ArtifactId string `protobuf:"bytes,4,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Version of this artifact. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // Output only. Time the artifact was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time the artifact was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*MavenArtifact) Descriptor() ([]byte, []int)
Deprecated: Use MavenArtifact.ProtoReflect.Descriptor instead.
func (x *MavenArtifact) GetArtifactId() string
func (x *MavenArtifact) GetCreateTime() *timestamppb.Timestamp
func (x *MavenArtifact) GetGroupId() string
func (x *MavenArtifact) GetName() string
func (x *MavenArtifact) GetPomUri() string
func (x *MavenArtifact) GetUpdateTime() *timestamppb.Timestamp
func (x *MavenArtifact) GetVersion() string
func (*MavenArtifact) ProtoMessage()
func (x *MavenArtifact) ProtoReflect() protoreflect.Message
func (x *MavenArtifact) Reset()
func (x *MavenArtifact) String() string
NpmPackage represents an npm artifact.
type NpmPackage struct { // Required. registry_location, project_id, repository_name and npm_package // forms a unique package For example, // "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ // npm_test:1.0.0", // where "us-west4" is the registry_location, "test-project" is the // project_id, "test-repo" is the repository_name and // npm_test:1.0.0" is the npm package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Package for the artifact. PackageName string `protobuf:"bytes,3,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Version of this package. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Tags attached to this package. Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // Output only. Time the package was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time the package was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*NpmPackage) Descriptor() ([]byte, []int)
Deprecated: Use NpmPackage.ProtoReflect.Descriptor instead.
func (x *NpmPackage) GetCreateTime() *timestamppb.Timestamp
func (x *NpmPackage) GetName() string
func (x *NpmPackage) GetPackageName() string
func (x *NpmPackage) GetTags() []string
func (x *NpmPackage) GetUpdateTime() *timestamppb.Timestamp
func (x *NpmPackage) GetVersion() string
func (*NpmPackage) ProtoMessage()
func (x *NpmPackage) ProtoReflect() protoreflect.Message
func (x *NpmPackage) Reset()
func (x *NpmPackage) String() string
Metadata type for longrunning-operations, currently empty.
type OperationMetadata struct {
// contains filtered or unexported fields
}
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) ProtoMessage()
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (x *OperationMetadata) Reset()
func (x *OperationMetadata) String() string
Packages are named collections of versions.
type Package struct { // The name of the package, for example: // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. // If the package ID part contains slashes, the slashes are escaped. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The display name of the package. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The time when the package was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the package was last updated. This includes publishing a new // version of the package. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor() ([]byte, []int)
Deprecated: Use Package.ProtoReflect.Descriptor instead.
func (x *Package) GetCreateTime() *timestamppb.Timestamp
func (x *Package) GetDisplayName() string
func (x *Package) GetName() string
func (x *Package) GetUpdateTime() *timestamppb.Timestamp
func (*Package) ProtoMessage()
func (x *Package) ProtoReflect() protoreflect.Message
func (x *Package) Reset()
func (x *Package) String() string
The Artifact Registry settings that apply to a Project.
type ProjectSettings struct { // The name of the project's settings. // // Always of the form: // projects/{project-id}/projectSettings // // In update request: never set // In response: always set Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The redirection state of the legacy repositories in this project. LegacyRedirectionState ProjectSettings_RedirectionState `protobuf:"varint,2,opt,name=legacy_redirection_state,json=legacyRedirectionState,proto3,enum=google.devtools.artifactregistry.v1.ProjectSettings_RedirectionState" json:"legacy_redirection_state,omitempty"` // contains filtered or unexported fields }
func (*ProjectSettings) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.
func (x *ProjectSettings) GetLegacyRedirectionState() ProjectSettings_RedirectionState
func (x *ProjectSettings) GetName() string
func (*ProjectSettings) ProtoMessage()
func (x *ProjectSettings) ProtoReflect() protoreflect.Message
func (x *ProjectSettings) Reset()
func (x *ProjectSettings) String() string
The possible redirection states for legacy repositories.
type ProjectSettings_RedirectionState int32
const ( // No redirection status has been set. ProjectSettings_REDIRECTION_STATE_UNSPECIFIED ProjectSettings_RedirectionState = 0 // Redirection is disabled. ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED ProjectSettings_RedirectionState = 1 // Redirection is enabled. ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED ProjectSettings_RedirectionState = 2 // Redirection is enabled, and has been finalized so cannot be reverted. // // Deprecated: Marked as deprecated in google/devtools/artifactregistry/v1/settings.proto. ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED ProjectSettings_RedirectionState = 3 )
func (ProjectSettings_RedirectionState) Descriptor() protoreflect.EnumDescriptor
func (x ProjectSettings_RedirectionState) Enum() *ProjectSettings_RedirectionState
func (ProjectSettings_RedirectionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectSettings_RedirectionState.Descriptor instead.
func (x ProjectSettings_RedirectionState) Number() protoreflect.EnumNumber
func (x ProjectSettings_RedirectionState) String() string
func (ProjectSettings_RedirectionState) Type() protoreflect.EnumType
PythonPackage represents a python artifact.
type PythonPackage struct { // Required. registry_location, project_id, repository_name and python_package // forms a unique package // name:`projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>`. // For example, // "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ // python_package:1.0.0", // where "us-west4" is the registry_location, "test-project" is the // project_id, "test-repo" is the repository_name and // python_package:1.0.0" is the python package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. URL to access the package. // Example: // us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Package for the artifact. PackageName string `protobuf:"bytes,3,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Version of this package. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Output only. Time the package was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time the package was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*PythonPackage) Descriptor() ([]byte, []int)
Deprecated: Use PythonPackage.ProtoReflect.Descriptor instead.
func (x *PythonPackage) GetCreateTime() *timestamppb.Timestamp
func (x *PythonPackage) GetName() string
func (x *PythonPackage) GetPackageName() string
func (x *PythonPackage) GetUpdateTime() *timestamppb.Timestamp
func (x *PythonPackage) GetUri() string
func (x *PythonPackage) GetVersion() string
func (*PythonPackage) ProtoMessage()
func (x *PythonPackage) ProtoReflect() protoreflect.Message
func (x *PythonPackage) Reset()
func (x *PythonPackage) String() string
Remote repository configuration.
type RemoteRepositoryConfig struct { // Settings specific to the remote repository. // // Types that are assignable to RemoteSource: // // *RemoteRepositoryConfig_DockerRepository_ // *RemoteRepositoryConfig_MavenRepository_ // *RemoteRepositoryConfig_NpmRepository_ // *RemoteRepositoryConfig_PythonRepository_ // *RemoteRepositoryConfig_AptRepository_ // *RemoteRepositoryConfig_YumRepository_ RemoteSource isRemoteRepositoryConfig_RemoteSource `protobuf_oneof:"remote_source"` // The description of the remote source. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // Optional. The credentials used to access the remote repository. UpstreamCredentials *RemoteRepositoryConfig_UpstreamCredentials `protobuf:"bytes,9,opt,name=upstream_credentials,json=upstreamCredentials,proto3" json:"upstream_credentials,omitempty"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig) GetAptRepository() *RemoteRepositoryConfig_AptRepository
func (x *RemoteRepositoryConfig) GetDescription() string
func (x *RemoteRepositoryConfig) GetDockerRepository() *RemoteRepositoryConfig_DockerRepository
func (x *RemoteRepositoryConfig) GetMavenRepository() *RemoteRepositoryConfig_MavenRepository
func (x *RemoteRepositoryConfig) GetNpmRepository() *RemoteRepositoryConfig_NpmRepository
func (x *RemoteRepositoryConfig) GetPythonRepository() *RemoteRepositoryConfig_PythonRepository
func (m *RemoteRepositoryConfig) GetRemoteSource() isRemoteRepositoryConfig_RemoteSource
func (x *RemoteRepositoryConfig) GetUpstreamCredentials() *RemoteRepositoryConfig_UpstreamCredentials
func (x *RemoteRepositoryConfig) GetYumRepository() *RemoteRepositoryConfig_YumRepository
func (*RemoteRepositoryConfig) ProtoMessage()
func (x *RemoteRepositoryConfig) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig) Reset()
func (x *RemoteRepositoryConfig) String() string
Configuration for an Apt remote repository.
type RemoteRepositoryConfig_AptRepository struct { // Address of the remote repository. // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_AptRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_AptRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_AptRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_AptRepository) GetPublicRepository() *RemoteRepositoryConfig_AptRepository_PublicRepository
func (m *RemoteRepositoryConfig_AptRepository) GetUpstream() isRemoteRepositoryConfig_AptRepository_Upstream
func (*RemoteRepositoryConfig_AptRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_AptRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_AptRepository) Reset()
func (x *RemoteRepositoryConfig_AptRepository) String() string
type RemoteRepositoryConfig_AptRepository_ struct { // Specific settings for an Apt remote repository. AptRepository *RemoteRepositoryConfig_AptRepository `protobuf:"bytes,6,opt,name=apt_repository,json=aptRepository,proto3,oneof"` }
Publicly available Apt repositories constructed from a common repository base and a custom repository path.
type RemoteRepositoryConfig_AptRepository_PublicRepository struct { // A common public repository base for Apt. RepositoryBase RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase `protobuf:"varint,1,opt,name=repository_base,json=repositoryBase,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase" json:"repository_base,omitempty"` // A custom field to define a path to a specific repository from the base. RepositoryPath string `protobuf:"bytes,2,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository_PublicRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryBase() RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryPath() string
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) Reset()
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) String() string
type RemoteRepositoryConfig_AptRepository_PublicRepository_ struct { // One of the publicly available Apt repositories supported by Artifact // Registry. PublicRepository *RemoteRepositoryConfig_AptRepository_PublicRepository `protobuf:"bytes,1,opt,name=public_repository,json=publicRepository,proto3,oneof"` }
Predefined list of publicly available repository bases for Apt.
type RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase int32
const ( // Unspecified repository base. RemoteRepositoryConfig_AptRepository_PublicRepository_REPOSITORY_BASE_UNSPECIFIED RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase = 0 // Debian. RemoteRepositoryConfig_AptRepository_PublicRepository_DEBIAN RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase = 1 // Ubuntu LTS/Pro. RemoteRepositoryConfig_AptRepository_PublicRepository_UBUNTU RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase = 2 )
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Enum() *RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase.Descriptor instead.
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) String() string
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Type() protoreflect.EnumType
Configuration for a Docker remote repository.
type RemoteRepositoryConfig_DockerRepository struct { // Address of the remote repository. // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_DockerRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_DockerRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_DockerRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_DockerRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_DockerRepository) GetPublicRepository() RemoteRepositoryConfig_DockerRepository_PublicRepository
func (m *RemoteRepositoryConfig_DockerRepository) GetUpstream() isRemoteRepositoryConfig_DockerRepository_Upstream
func (*RemoteRepositoryConfig_DockerRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_DockerRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_DockerRepository) Reset()
func (x *RemoteRepositoryConfig_DockerRepository) String() string
type RemoteRepositoryConfig_DockerRepository_ struct { // Specific settings for a Docker remote repository. DockerRepository *RemoteRepositoryConfig_DockerRepository `protobuf:"bytes,2,opt,name=docker_repository,json=dockerRepository,proto3,oneof"` }
Predefined list of publicly available Docker repositories like Docker Hub.
type RemoteRepositoryConfig_DockerRepository_PublicRepository int32
const ( // Unspecified repository. RemoteRepositoryConfig_DockerRepository_PUBLIC_REPOSITORY_UNSPECIFIED RemoteRepositoryConfig_DockerRepository_PublicRepository = 0 // Docker Hub. RemoteRepositoryConfig_DockerRepository_DOCKER_HUB RemoteRepositoryConfig_DockerRepository_PublicRepository = 1 )
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) Enum() *RemoteRepositoryConfig_DockerRepository_PublicRepository
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_DockerRepository_PublicRepository.Descriptor instead.
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Type() protoreflect.EnumType
type RemoteRepositoryConfig_DockerRepository_PublicRepository_ struct { // One of the publicly available Docker repositories supported by Artifact // Registry. PublicRepository RemoteRepositoryConfig_DockerRepository_PublicRepository `protobuf:"varint,1,opt,name=public_repository,json=publicRepository,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_DockerRepository_PublicRepository,oneof"` }
Configuration for a Maven remote repository.
type RemoteRepositoryConfig_MavenRepository struct { // Address of the remote repository. // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_MavenRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_MavenRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_MavenRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_MavenRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_MavenRepository) GetPublicRepository() RemoteRepositoryConfig_MavenRepository_PublicRepository
func (m *RemoteRepositoryConfig_MavenRepository) GetUpstream() isRemoteRepositoryConfig_MavenRepository_Upstream
func (*RemoteRepositoryConfig_MavenRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_MavenRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_MavenRepository) Reset()
func (x *RemoteRepositoryConfig_MavenRepository) String() string
type RemoteRepositoryConfig_MavenRepository_ struct { // Specific settings for a Maven remote repository. MavenRepository *RemoteRepositoryConfig_MavenRepository `protobuf:"bytes,3,opt,name=maven_repository,json=mavenRepository,proto3,oneof"` }
Predefined list of publicly available Maven repositories like Maven Central.
type RemoteRepositoryConfig_MavenRepository_PublicRepository int32
const ( // Unspecified repository. RemoteRepositoryConfig_MavenRepository_PUBLIC_REPOSITORY_UNSPECIFIED RemoteRepositoryConfig_MavenRepository_PublicRepository = 0 // Maven Central. RemoteRepositoryConfig_MavenRepository_MAVEN_CENTRAL RemoteRepositoryConfig_MavenRepository_PublicRepository = 1 )
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) Enum() *RemoteRepositoryConfig_MavenRepository_PublicRepository
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_MavenRepository_PublicRepository.Descriptor instead.
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Type() protoreflect.EnumType
type RemoteRepositoryConfig_MavenRepository_PublicRepository_ struct { // One of the publicly available Maven repositories supported by Artifact // Registry. PublicRepository RemoteRepositoryConfig_MavenRepository_PublicRepository `protobuf:"varint,1,opt,name=public_repository,json=publicRepository,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_MavenRepository_PublicRepository,oneof"` }
Configuration for a Npm remote repository.
type RemoteRepositoryConfig_NpmRepository struct { // Address of the remote repository // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_NpmRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_NpmRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_NpmRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_NpmRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_NpmRepository) GetPublicRepository() RemoteRepositoryConfig_NpmRepository_PublicRepository
func (m *RemoteRepositoryConfig_NpmRepository) GetUpstream() isRemoteRepositoryConfig_NpmRepository_Upstream
func (*RemoteRepositoryConfig_NpmRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_NpmRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_NpmRepository) Reset()
func (x *RemoteRepositoryConfig_NpmRepository) String() string
type RemoteRepositoryConfig_NpmRepository_ struct { // Specific settings for an Npm remote repository. NpmRepository *RemoteRepositoryConfig_NpmRepository `protobuf:"bytes,4,opt,name=npm_repository,json=npmRepository,proto3,oneof"` }
Predefined list of publicly available NPM repositories like npmjs.
type RemoteRepositoryConfig_NpmRepository_PublicRepository int32
const ( // Unspecified repository. RemoteRepositoryConfig_NpmRepository_PUBLIC_REPOSITORY_UNSPECIFIED RemoteRepositoryConfig_NpmRepository_PublicRepository = 0 // npmjs. RemoteRepositoryConfig_NpmRepository_NPMJS RemoteRepositoryConfig_NpmRepository_PublicRepository = 1 )
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) Enum() *RemoteRepositoryConfig_NpmRepository_PublicRepository
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_NpmRepository_PublicRepository.Descriptor instead.
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Type() protoreflect.EnumType
type RemoteRepositoryConfig_NpmRepository_PublicRepository_ struct { // One of the publicly available Npm repositories supported by Artifact // Registry. PublicRepository RemoteRepositoryConfig_NpmRepository_PublicRepository `protobuf:"varint,1,opt,name=public_repository,json=publicRepository,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_NpmRepository_PublicRepository,oneof"` }
Configuration for a Python remote repository.
type RemoteRepositoryConfig_PythonRepository struct { // Address of the remote repository. // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_PythonRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_PythonRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_PythonRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_PythonRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_PythonRepository) GetPublicRepository() RemoteRepositoryConfig_PythonRepository_PublicRepository
func (m *RemoteRepositoryConfig_PythonRepository) GetUpstream() isRemoteRepositoryConfig_PythonRepository_Upstream
func (*RemoteRepositoryConfig_PythonRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_PythonRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_PythonRepository) Reset()
func (x *RemoteRepositoryConfig_PythonRepository) String() string
type RemoteRepositoryConfig_PythonRepository_ struct { // Specific settings for a Python remote repository. PythonRepository *RemoteRepositoryConfig_PythonRepository `protobuf:"bytes,5,opt,name=python_repository,json=pythonRepository,proto3,oneof"` }
Predefined list of publicly available Python repositories like PyPI.org.
type RemoteRepositoryConfig_PythonRepository_PublicRepository int32
const ( // Unspecified repository. RemoteRepositoryConfig_PythonRepository_PUBLIC_REPOSITORY_UNSPECIFIED RemoteRepositoryConfig_PythonRepository_PublicRepository = 0 // PyPI. RemoteRepositoryConfig_PythonRepository_PYPI RemoteRepositoryConfig_PythonRepository_PublicRepository = 1 )
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) Enum() *RemoteRepositoryConfig_PythonRepository_PublicRepository
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_PythonRepository_PublicRepository.Descriptor instead.
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Type() protoreflect.EnumType
type RemoteRepositoryConfig_PythonRepository_PublicRepository_ struct { // One of the publicly available Python repositories supported by Artifact // Registry. PublicRepository RemoteRepositoryConfig_PythonRepository_PublicRepository `protobuf:"varint,1,opt,name=public_repository,json=publicRepository,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_PythonRepository_PublicRepository,oneof"` }
The credentials to access the remote repository.
type RemoteRepositoryConfig_UpstreamCredentials struct { // Types that are assignable to Credentials: // // *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials_ Credentials isRemoteRepositoryConfig_UpstreamCredentials_Credentials `protobuf_oneof:"credentials"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_UpstreamCredentials) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_UpstreamCredentials.ProtoReflect.Descriptor instead.
func (m *RemoteRepositoryConfig_UpstreamCredentials) GetCredentials() isRemoteRepositoryConfig_UpstreamCredentials_Credentials
func (x *RemoteRepositoryConfig_UpstreamCredentials) GetUsernamePasswordCredentials() *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials
func (*RemoteRepositoryConfig_UpstreamCredentials) ProtoMessage()
func (x *RemoteRepositoryConfig_UpstreamCredentials) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_UpstreamCredentials) Reset()
func (x *RemoteRepositoryConfig_UpstreamCredentials) String() string
Username and password credentials.
type RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials struct { // The username to access the remote repository. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The Secret Manager key version that holds the password to access the // remote repository. Must be in the format of // `projects/{project}/secrets/{secret}/versions/{version}`. PasswordSecretVersion string `protobuf:"bytes,2,opt,name=password_secret_version,json=passwordSecretVersion,proto3" json:"password_secret_version,omitempty"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetPasswordSecretVersion() string
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetUsername() string
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoMessage()
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Reset()
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) String() string
type RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials_ struct { // Use username and password to access the remote repository. UsernamePasswordCredentials *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials `protobuf:"bytes,1,opt,name=username_password_credentials,json=usernamePasswordCredentials,proto3,oneof"` }
Configuration for a Yum remote repository.
type RemoteRepositoryConfig_YumRepository struct { // Address of the remote repository. // // Types that are assignable to Upstream: // // *RemoteRepositoryConfig_YumRepository_PublicRepository_ Upstream isRemoteRepositoryConfig_YumRepository_Upstream `protobuf_oneof:"upstream"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_YumRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_YumRepository) GetPublicRepository() *RemoteRepositoryConfig_YumRepository_PublicRepository
func (m *RemoteRepositoryConfig_YumRepository) GetUpstream() isRemoteRepositoryConfig_YumRepository_Upstream
func (*RemoteRepositoryConfig_YumRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_YumRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_YumRepository) Reset()
func (x *RemoteRepositoryConfig_YumRepository) String() string
type RemoteRepositoryConfig_YumRepository_ struct { // Specific settings for a Yum remote repository. YumRepository *RemoteRepositoryConfig_YumRepository `protobuf:"bytes,7,opt,name=yum_repository,json=yumRepository,proto3,oneof"` }
Publicly available Yum repositories constructed from a common repository base and a custom repository path.
type RemoteRepositoryConfig_YumRepository_PublicRepository struct { // A common public repository base for Yum. RepositoryBase RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase `protobuf:"varint,1,opt,name=repository_base,json=repositoryBase,proto3,enum=google.devtools.artifactregistry.v1.RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase" json:"repository_base,omitempty"` // A custom field to define a path to a specific repository from the base. RepositoryPath string `protobuf:"bytes,2,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"` // contains filtered or unexported fields }
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository_PublicRepository.ProtoReflect.Descriptor instead.
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryBase() RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryPath() string
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoMessage()
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoReflect() protoreflect.Message
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) Reset()
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) String() string
type RemoteRepositoryConfig_YumRepository_PublicRepository_ struct { // One of the publicly available Yum repositories supported by Artifact // Registry. PublicRepository *RemoteRepositoryConfig_YumRepository_PublicRepository `protobuf:"bytes,1,opt,name=public_repository,json=publicRepository,proto3,oneof"` }
Predefined list of publicly available repository bases for Yum.
type RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase int32
const ( // Unspecified repository base. RemoteRepositoryConfig_YumRepository_PublicRepository_REPOSITORY_BASE_UNSPECIFIED RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 0 // CentOS. RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 1 // CentOS Debug. RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_DEBUG RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 2 // CentOS Vault. RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_VAULT RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 3 // CentOS Stream. RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_STREAM RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 4 // Rocky. RemoteRepositoryConfig_YumRepository_PublicRepository_ROCKY RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 5 // Fedora Extra Packages for Enterprise Linux (EPEL). RemoteRepositoryConfig_YumRepository_PublicRepository_EPEL RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase = 6 )
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Descriptor() protoreflect.EnumDescriptor
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Enum() *RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase.Descriptor instead.
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Number() protoreflect.EnumNumber
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) String() string
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Type() protoreflect.EnumType
A Repository for storing artifacts with a specific format.
type Repository struct { // Repository-specific configurations. // // Types that are assignable to FormatConfig: // // *Repository_MavenConfig // *Repository_DockerConfig FormatConfig isRepository_FormatConfig `protobuf_oneof:"format_config"` // Repository configuration specific to the Mode value being selected (Remote // or Virtual) // // Types that are assignable to ModeConfig: // // *Repository_VirtualRepositoryConfig // *Repository_RemoteRepositoryConfig ModeConfig isRepository_ModeConfig `protobuf_oneof:"mode_config"` // The name of the repository, for example: // `projects/p1/locations/us-central1/repositories/repo1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The format of packages that are stored in the repository. Format Repository_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.devtools.artifactregistry.v1.Repository_Format" json:"format,omitempty"` // The user-provided description of the repository. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Labels with user-defined metadata. // This field may contain up to 64 entries. Label keys and values may be no // longer than 63 characters. Label keys must begin with a lowercase letter // and may only contain lowercase letters, numeric characters, underscores, // and dashes. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The time when the repository was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the repository was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The Cloud KMS resource name of the customer managed encryption key that's // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // Optional. The mode of the repository. Mode Repository_Mode `protobuf:"varint,10,opt,name=mode,proto3,enum=google.devtools.artifactregistry.v1.Repository_Mode" json:"mode,omitempty"` // Optional. Cleanup policies for this repository. Cleanup policies indicate // when certain package versions can be automatically deleted. Map keys are // policy IDs supplied by users during policy creation. They must unique // within a repository and be under 128 characters in length. CleanupPolicies map[string]*CleanupPolicy `protobuf:"bytes,12,rep,name=cleanup_policies,json=cleanupPolicies,proto3" json:"cleanup_policies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The size, in bytes, of all artifact storage in this // repository. Repositories that are generally available or in public preview // // use this to calculate storage costs. SizeBytes int64 `protobuf:"varint,13,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // Output only. If set, the repository satisfies physical zone separation. SatisfiesPzs bool `protobuf:"varint,16,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Optional. If true, the cleanup pipeline is prevented from deleting versions // in this repository. CleanupPolicyDryRun bool `protobuf:"varint,18,opt,name=cleanup_policy_dry_run,json=cleanupPolicyDryRun,proto3" json:"cleanup_policy_dry_run,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (x *Repository) GetCleanupPolicies() map[string]*CleanupPolicy
func (x *Repository) GetCleanupPolicyDryRun() bool
func (x *Repository) GetCreateTime() *timestamppb.Timestamp
func (x *Repository) GetDescription() string
func (x *Repository) GetDockerConfig() *Repository_DockerRepositoryConfig
func (x *Repository) GetFormat() Repository_Format
func (m *Repository) GetFormatConfig() isRepository_FormatConfig
func (x *Repository) GetKmsKeyName() string
func (x *Repository) GetLabels() map[string]string
func (x *Repository) GetMavenConfig() *Repository_MavenRepositoryConfig
func (x *Repository) GetMode() Repository_Mode
func (m *Repository) GetModeConfig() isRepository_ModeConfig
func (x *Repository) GetName() string
func (x *Repository) GetRemoteRepositoryConfig() *RemoteRepositoryConfig
func (x *Repository) GetSatisfiesPzs() bool
func (x *Repository) GetSizeBytes() int64
func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
func (x *Repository) GetVirtualRepositoryConfig() *VirtualRepositoryConfig
func (*Repository) ProtoMessage()
func (x *Repository) ProtoReflect() protoreflect.Message
func (x *Repository) Reset()
func (x *Repository) String() string
type Repository_DockerConfig struct { // Docker repository config contains repository level configuration // for the repositories of docker type. DockerConfig *Repository_DockerRepositoryConfig `protobuf:"bytes,17,opt,name=docker_config,json=dockerConfig,proto3,oneof"` }
DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.
type Repository_DockerRepositoryConfig struct { // The repository which enabled this flag prevents all tags from being // modified, moved or deleted. This does not prevent tags from being // created. ImmutableTags bool `protobuf:"varint,1,opt,name=immutable_tags,json=immutableTags,proto3" json:"immutable_tags,omitempty"` // contains filtered or unexported fields }
func (*Repository_DockerRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_DockerRepositoryConfig.ProtoReflect.Descriptor instead.
func (x *Repository_DockerRepositoryConfig) GetImmutableTags() bool
func (*Repository_DockerRepositoryConfig) ProtoMessage()
func (x *Repository_DockerRepositoryConfig) ProtoReflect() protoreflect.Message
func (x *Repository_DockerRepositoryConfig) Reset()
func (x *Repository_DockerRepositoryConfig) String() string
A package format.
type Repository_Format int32
const ( // Unspecified package format. Repository_FORMAT_UNSPECIFIED Repository_Format = 0 // Docker package format. Repository_DOCKER Repository_Format = 1 // Maven package format. Repository_MAVEN Repository_Format = 2 // NPM package format. Repository_NPM Repository_Format = 3 // APT package format. Repository_APT Repository_Format = 5 // YUM package format. Repository_YUM Repository_Format = 6 // Python package format. Repository_PYTHON Repository_Format = 8 // Kubeflow Pipelines package format. Repository_KFP Repository_Format = 9 // Go package format. Repository_GO Repository_Format = 10 )
func (Repository_Format) Descriptor() protoreflect.EnumDescriptor
func (x Repository_Format) Enum() *Repository_Format
func (Repository_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_Format.Descriptor instead.
func (x Repository_Format) Number() protoreflect.EnumNumber
func (x Repository_Format) String() string
func (Repository_Format) Type() protoreflect.EnumType
type Repository_MavenConfig struct { // Maven repository config contains repository level configuration // for the repositories of maven type. MavenConfig *Repository_MavenRepositoryConfig `protobuf:"bytes,9,opt,name=maven_config,json=mavenConfig,proto3,oneof"` }
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
type Repository_MavenRepositoryConfig struct { // The repository with this flag will allow publishing // the same snapshot versions. AllowSnapshotOverwrites bool `protobuf:"varint,1,opt,name=allow_snapshot_overwrites,json=allowSnapshotOverwrites,proto3" json:"allow_snapshot_overwrites,omitempty"` // Version policy defines the versions that the registry will accept. VersionPolicy Repository_MavenRepositoryConfig_VersionPolicy `protobuf:"varint,2,opt,name=version_policy,json=versionPolicy,proto3,enum=google.devtools.artifactregistry.v1.Repository_MavenRepositoryConfig_VersionPolicy" json:"version_policy,omitempty"` // contains filtered or unexported fields }
func (*Repository_MavenRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig.ProtoReflect.Descriptor instead.
func (x *Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites() bool
func (x *Repository_MavenRepositoryConfig) GetVersionPolicy() Repository_MavenRepositoryConfig_VersionPolicy
func (*Repository_MavenRepositoryConfig) ProtoMessage()
func (x *Repository_MavenRepositoryConfig) ProtoReflect() protoreflect.Message
func (x *Repository_MavenRepositoryConfig) Reset()
func (x *Repository_MavenRepositoryConfig) String() string
VersionPolicy is the version policy for the repository.
type Repository_MavenRepositoryConfig_VersionPolicy int32
const ( // VERSION_POLICY_UNSPECIFIED - the version policy is not defined. // When the version policy is not defined, no validation is performed // for the versions. Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED Repository_MavenRepositoryConfig_VersionPolicy = 0 // RELEASE - repository will accept only Release versions. Repository_MavenRepositoryConfig_RELEASE Repository_MavenRepositoryConfig_VersionPolicy = 1 // SNAPSHOT - repository will accept only Snapshot versions. Repository_MavenRepositoryConfig_SNAPSHOT Repository_MavenRepositoryConfig_VersionPolicy = 2 )
func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor() protoreflect.EnumDescriptor
func (x Repository_MavenRepositoryConfig_VersionPolicy) Enum() *Repository_MavenRepositoryConfig_VersionPolicy
func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig_VersionPolicy.Descriptor instead.
func (x Repository_MavenRepositoryConfig_VersionPolicy) Number() protoreflect.EnumNumber
func (x Repository_MavenRepositoryConfig_VersionPolicy) String() string
func (Repository_MavenRepositoryConfig_VersionPolicy) Type() protoreflect.EnumType
The mode configures the repository to serve artifacts from different sources.
type Repository_Mode int32
const ( // Unspecified mode. Repository_MODE_UNSPECIFIED Repository_Mode = 0 // A standard repository storing artifacts. Repository_STANDARD_REPOSITORY Repository_Mode = 1 // A virtual repository to serve artifacts from one or more sources. Repository_VIRTUAL_REPOSITORY Repository_Mode = 2 // A remote repository to serve artifacts from a remote source. Repository_REMOTE_REPOSITORY Repository_Mode = 3 )
func (Repository_Mode) Descriptor() protoreflect.EnumDescriptor
func (x Repository_Mode) Enum() *Repository_Mode
func (Repository_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_Mode.Descriptor instead.
func (x Repository_Mode) Number() protoreflect.EnumNumber
func (x Repository_Mode) String() string
func (Repository_Mode) Type() protoreflect.EnumType
type Repository_RemoteRepositoryConfig struct { // Configuration specific for a Remote Repository. RemoteRepositoryConfig *RemoteRepositoryConfig `protobuf:"bytes,15,opt,name=remote_repository_config,json=remoteRepositoryConfig,proto3,oneof"` }
type Repository_VirtualRepositoryConfig struct { // Configuration specific for a Virtual Repository. VirtualRepositoryConfig *VirtualRepositoryConfig `protobuf:"bytes,14,opt,name=virtual_repository_config,json=virtualRepositoryConfig,proto3,oneof"` }
Tags point to a version and represent an alternative name that can be used to access the version.
type Tag struct { // The name of the tag, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". // If the package part contains slashes, the slashes are escaped. // The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else // must be URL encoded. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the version the tag refers to, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" // If the package or version ID parts contain slashes, the slashes are // escaped. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor() ([]byte, []int)
Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (x *Tag) GetName() string
func (x *Tag) GetVersion() string
func (*Tag) ProtoMessage()
func (x *Tag) ProtoReflect() protoreflect.Message
func (x *Tag) Reset()
func (x *Tag) String() string
UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations.
type UnimplementedArtifactRegistryServer struct { }
func (*UnimplementedArtifactRegistryServer) BatchDeleteVersions(context.Context, *BatchDeleteVersionsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
func (*UnimplementedArtifactRegistryServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) GetDockerImage(context.Context, *GetDockerImageRequest) (*DockerImage, error)
func (*UnimplementedArtifactRegistryServer) GetFile(context.Context, *GetFileRequest) (*File, error)
func (*UnimplementedArtifactRegistryServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) GetMavenArtifact(context.Context, *GetMavenArtifactRequest) (*MavenArtifact, error)
func (*UnimplementedArtifactRegistryServer) GetNpmPackage(context.Context, *GetNpmPackageRequest) (*NpmPackage, error)
func (*UnimplementedArtifactRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
func (*UnimplementedArtifactRegistryServer) GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) GetPythonPackage(context.Context, *GetPythonPackageRequest) (*PythonPackage, error)
func (*UnimplementedArtifactRegistryServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) GetVPCSCConfig(context.Context, *GetVPCSCConfigRequest) (*VPCSCConfig, error)
func (*UnimplementedArtifactRegistryServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ListDockerImages(context.Context, *ListDockerImagesRequest) (*ListDockerImagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListMavenArtifacts(context.Context, *ListMavenArtifactsRequest) (*ListMavenArtifactsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListNpmPackages(context.Context, *ListNpmPackagesRequest) (*ListNpmPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListPythonPackages(context.Context, *ListPythonPackagesRequest) (*ListPythonPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedArtifactRegistryServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) UpdateVPCSCConfig(context.Context, *UpdateVPCSCConfigRequest) (*VPCSCConfig, error)
Sets the settings of the project.
type UpdateProjectSettingsRequest struct { // The project settings. ProjectSettings *ProjectSettings `protobuf:"bytes,2,opt,name=project_settings,json=projectSettings,proto3" json:"project_settings,omitempty"` // Field mask to support partial updates. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings
func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProjectSettingsRequest) ProtoMessage()
func (x *UpdateProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (x *UpdateProjectSettingsRequest) Reset()
func (x *UpdateProjectSettingsRequest) String() string
The request to update a repository.
type UpdateRepositoryRequest struct { // The repository that replaces the resource on the server. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.
func (x *UpdateRepositoryRequest) GetRepository() *Repository
func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRepositoryRequest) ProtoMessage()
func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
func (x *UpdateRepositoryRequest) Reset()
func (x *UpdateRepositoryRequest) String() string
The request to create or update a tag.
type UpdateTagRequest struct { // The tag that replaces the resource on the server. Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
func (x *UpdateTagRequest) GetTag() *Tag
func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagRequest) ProtoMessage()
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
func (x *UpdateTagRequest) Reset()
func (x *UpdateTagRequest) String() string
Sets the VPCSC config of the project.
type UpdateVPCSCConfigRequest struct { // The project config. VpcscConfig *VPCSCConfig `protobuf:"bytes,1,opt,name=vpcsc_config,json=vpcscConfig,proto3" json:"vpcsc_config,omitempty"` // Field mask to support partial updates. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateVPCSCConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVPCSCConfigRequest.ProtoReflect.Descriptor instead.
func (x *UpdateVPCSCConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (x *UpdateVPCSCConfigRequest) GetVpcscConfig() *VPCSCConfig
func (*UpdateVPCSCConfigRequest) ProtoMessage()
func (x *UpdateVPCSCConfigRequest) ProtoReflect() protoreflect.Message
func (x *UpdateVPCSCConfigRequest) Reset()
func (x *UpdateVPCSCConfigRequest) String() string
Artifact policy configuration for the repository contents.
type UpstreamPolicy struct { // The user-provided ID of the upstream policy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A reference to the repository resource, for example: // `projects/p1/locations/us-central1/repositories/repo1`. Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // Entries with a greater priority value take precedence in the pull order. Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
func (*UpstreamPolicy) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamPolicy.ProtoReflect.Descriptor instead.
func (x *UpstreamPolicy) GetId() string
func (x *UpstreamPolicy) GetPriority() int32
func (x *UpstreamPolicy) GetRepository() string
func (*UpstreamPolicy) ProtoMessage()
func (x *UpstreamPolicy) ProtoReflect() protoreflect.Message
func (x *UpstreamPolicy) Reset()
func (x *UpstreamPolicy) String() string
The Artifact Registry VPC SC config that apply to a Project.
type VPCSCConfig struct { // The name of the project's VPC SC Config. // // Always of the form: // projects/{projectID}/locations/{location}/vpcscConfig // // In update request: never set // In response: always set Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The project per location VPC SC policy that defines the VPC SC behavior for // the Remote Repository (Allow/Deny). VpcscPolicy VPCSCConfig_VPCSCPolicy `protobuf:"varint,2,opt,name=vpcsc_policy,json=vpcscPolicy,proto3,enum=google.devtools.artifactregistry.v1.VPCSCConfig_VPCSCPolicy" json:"vpcsc_policy,omitempty"` // contains filtered or unexported fields }
func (*VPCSCConfig) Descriptor() ([]byte, []int)
Deprecated: Use VPCSCConfig.ProtoReflect.Descriptor instead.
func (x *VPCSCConfig) GetName() string
func (x *VPCSCConfig) GetVpcscPolicy() VPCSCConfig_VPCSCPolicy
func (*VPCSCConfig) ProtoMessage()
func (x *VPCSCConfig) ProtoReflect() protoreflect.Message
func (x *VPCSCConfig) Reset()
func (x *VPCSCConfig) String() string
VPCSCPolicy is the VPC SC policy for project and location.
type VPCSCConfig_VPCSCPolicy int32
const ( // VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined. // When VPS SC policy is not defined - the Service will use the default // behavior (VPCSC_DENY). VPCSCConfig_VPCSC_POLICY_UNSPECIFIED VPCSCConfig_VPCSCPolicy = 0 // VPCSC_DENY - repository will block the requests to the Upstreams for the // Remote Repositories if the resource is in the perimeter. VPCSCConfig_DENY VPCSCConfig_VPCSCPolicy = 1 // VPCSC_ALLOW - repository will allow the requests to the Upstreams for the // Remote Repositories if the resource is in the perimeter. VPCSCConfig_ALLOW VPCSCConfig_VPCSCPolicy = 2 )
func (VPCSCConfig_VPCSCPolicy) Descriptor() protoreflect.EnumDescriptor
func (x VPCSCConfig_VPCSCPolicy) Enum() *VPCSCConfig_VPCSCPolicy
func (VPCSCConfig_VPCSCPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use VPCSCConfig_VPCSCPolicy.Descriptor instead.
func (x VPCSCConfig_VPCSCPolicy) Number() protoreflect.EnumNumber
func (x VPCSCConfig_VPCSCPolicy) String() string
func (VPCSCConfig_VPCSCPolicy) Type() protoreflect.EnumType
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
type Version struct { // The name of the version, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". // If the package or version ID parts contain slashes, the slashes are // escaped. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Description of the version, as specified in its metadata. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The time when the version was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the version was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. A list of related tags. Will contain up to 100 tags that // reference this version. RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"` // Output only. Repository-specific Metadata stored against this version. // The fields returned are defined by the underlying repository-specific // resource. Currently, the resources could be: // [DockerImage][google.devtools.artifactregistry.v1.DockerImage] // [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact] Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor() ([]byte, []int)
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (x *Version) GetCreateTime() *timestamppb.Timestamp
func (x *Version) GetDescription() string
func (x *Version) GetMetadata() *structpb.Struct
func (x *Version) GetName() string
func (x *Version) GetRelatedTags() []*Tag
func (x *Version) GetUpdateTime() *timestamppb.Timestamp
func (*Version) ProtoMessage()
func (x *Version) ProtoReflect() protoreflect.Message
func (x *Version) Reset()
func (x *Version) String() string
The view, which determines what version information is returned in a response.
type VersionView int32
const ( // The default / unset value. // The API will default to the BASIC view. VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0 // Includes basic information about the version, but not any related tags. VersionView_BASIC VersionView = 1 // Include everything. VersionView_FULL VersionView = 2 )
func (VersionView) Descriptor() protoreflect.EnumDescriptor
func (x VersionView) Enum() *VersionView
func (VersionView) EnumDescriptor() ([]byte, []int)
Deprecated: Use VersionView.Descriptor instead.
func (x VersionView) Number() protoreflect.EnumNumber
func (x VersionView) String() string
func (VersionView) Type() protoreflect.EnumType
Virtual repository configuration.
type VirtualRepositoryConfig struct { // Policies that configure the upstream artifacts distributed by the Virtual // Repository. Upstream policies cannot be set on a standard repository. UpstreamPolicies []*UpstreamPolicy `protobuf:"bytes,1,rep,name=upstream_policies,json=upstreamPolicies,proto3" json:"upstream_policies,omitempty"` // contains filtered or unexported fields }
func (*VirtualRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use VirtualRepositoryConfig.ProtoReflect.Descriptor instead.
func (x *VirtualRepositoryConfig) GetUpstreamPolicies() []*UpstreamPolicy
func (*VirtualRepositoryConfig) ProtoMessage()
func (x *VirtualRepositoryConfig) ProtoReflect() protoreflect.Message
func (x *VirtualRepositoryConfig) Reset()
func (x *VirtualRepositoryConfig) String() string
A detailed representation of a Yum artifact.
type YumArtifact struct { // Output only. The Artifact Registry resource name of the artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The yum package name of the artifact. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Output only. An artifact is a binary or source package. PackageType YumArtifact_PackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=google.devtools.artifactregistry.v1.YumArtifact_PackageType" json:"package_type,omitempty"` // Output only. Operating system architecture of the artifact. Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"` // contains filtered or unexported fields }
func (*YumArtifact) Descriptor() ([]byte, []int)
Deprecated: Use YumArtifact.ProtoReflect.Descriptor instead.
func (x *YumArtifact) GetArchitecture() string
func (x *YumArtifact) GetName() string
func (x *YumArtifact) GetPackageName() string
func (x *YumArtifact) GetPackageType() YumArtifact_PackageType
func (*YumArtifact) ProtoMessage()
func (x *YumArtifact) ProtoReflect() protoreflect.Message
func (x *YumArtifact) Reset()
func (x *YumArtifact) String() string
Package type is either binary or source.
type YumArtifact_PackageType int32
const ( // Package type is not specified. YumArtifact_PACKAGE_TYPE_UNSPECIFIED YumArtifact_PackageType = 0 // Binary package (.rpm). YumArtifact_BINARY YumArtifact_PackageType = 1 // Source package (.srpm). YumArtifact_SOURCE YumArtifact_PackageType = 2 )
func (YumArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (x YumArtifact_PackageType) Enum() *YumArtifact_PackageType
func (YumArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use YumArtifact_PackageType.Descriptor instead.
func (x YumArtifact_PackageType) Number() protoreflect.EnumNumber
func (x YumArtifact_PackageType) String() string
func (YumArtifact_PackageType) Type() protoreflect.EnumType