Variables
AptArtifact_PackageType_name, AptArtifact_PackageType_value
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 AptArtifact_PackageType.
Hash_HashType_name, Hash_HashType_value
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 Hash_HashType.
CleanupPolicyCondition_TagState_name, CleanupPolicyCondition_TagState_value
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 CleanupPolicyCondition_TagState.
CleanupPolicy_Action_name, CleanupPolicy_Action_value
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 CleanupPolicy_Action.
RemoteRepositoryConfig_DockerRepository_PublicRepository_name, RemoteRepositoryConfig_DockerRepository_PublicRepository_value
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_DockerRepository_PublicRepository.
RemoteRepositoryConfig_MavenRepository_PublicRepository_name, RemoteRepositoryConfig_MavenRepository_PublicRepository_value
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_MavenRepository_PublicRepository.
RemoteRepositoryConfig_NpmRepository_PublicRepository_name, RemoteRepositoryConfig_NpmRepository_PublicRepository_value
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_NpmRepository_PublicRepository.
RemoteRepositoryConfig_PythonRepository_PublicRepository_name, RemoteRepositoryConfig_PythonRepository_PublicRepository_value
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_PythonRepository_PublicRepository.
RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_name, RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_value
var (
RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_name = map[int32]string{
0: "REPOSITORY_BASE_UNSPECIFIED",
1: "DEBIAN",
2: "UBUNTU",
3: "DEBIAN_SNAPSHOT",
}
RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase_value = map[string]int32{
"REPOSITORY_BASE_UNSPECIFIED": 0,
"DEBIAN": 1,
"UBUNTU": 2,
"DEBIAN_SNAPSHOT": 3,
}
)
Enum value maps for RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase.
RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase_name, RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase_value
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 RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase.
Repository_Format_name, Repository_Format_value
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",
11: "GENERIC",
}
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,
"GENERIC": 11,
}
)
Enum value maps for Repository_Format.
Repository_Mode_name, Repository_Mode_value
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_Mode.
Repository_MavenRepositoryConfig_VersionPolicy_name, Repository_MavenRepositoryConfig_VersionPolicy_value
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 Repository_MavenRepositoryConfig_VersionPolicy.
Repository_VulnerabilityScanningConfig_EnablementConfig_name, Repository_VulnerabilityScanningConfig_EnablementConfig_value
var (
Repository_VulnerabilityScanningConfig_EnablementConfig_name = map[int32]string{
0: "ENABLEMENT_CONFIG_UNSPECIFIED",
1: "INHERITED",
2: "DISABLED",
}
Repository_VulnerabilityScanningConfig_EnablementConfig_value = map[string]int32{
"ENABLEMENT_CONFIG_UNSPECIFIED": 0,
"INHERITED": 1,
"DISABLED": 2,
}
)
Enum value maps for Repository_VulnerabilityScanningConfig_EnablementConfig.
Repository_VulnerabilityScanningConfig_EnablementState_name, Repository_VulnerabilityScanningConfig_EnablementState_value
var (
Repository_VulnerabilityScanningConfig_EnablementState_name = map[int32]string{
0: "ENABLEMENT_STATE_UNSPECIFIED",
1: "SCANNING_UNSUPPORTED",
2: "SCANNING_DISABLED",
3: "SCANNING_ACTIVE",
}
Repository_VulnerabilityScanningConfig_EnablementState_value = map[string]int32{
"ENABLEMENT_STATE_UNSPECIFIED": 0,
"SCANNING_UNSUPPORTED": 1,
"SCANNING_DISABLED": 2,
"SCANNING_ACTIVE": 3,
}
)
Enum value maps for Repository_VulnerabilityScanningConfig_EnablementState.
Rule_Action_name, Rule_Action_value
var (
Rule_Action_name = map[int32]string{
0: "ACTION_UNSPECIFIED",
1: "ALLOW",
2: "DENY",
}
Rule_Action_value = map[string]int32{
"ACTION_UNSPECIFIED": 0,
"ALLOW": 1,
"DENY": 2,
}
)
Enum value maps for Rule_Action.
Rule_Operation_name, Rule_Operation_value
var (
Rule_Operation_name = map[int32]string{
0: "OPERATION_UNSPECIFIED",
1: "DOWNLOAD",
}
Rule_Operation_value = map[string]int32{
"OPERATION_UNSPECIFIED": 0,
"DOWNLOAD": 1,
}
)
Enum value maps for Rule_Operation.
ProjectSettings_RedirectionState_name, ProjectSettings_RedirectionState_value
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",
5: "REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING",
6: "REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING",
}
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,
"REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING": 5,
"REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING": 6,
}
)
Enum value maps for ProjectSettings_RedirectionState.
VersionView_name, VersionView_value
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 VersionView.
VPCSCConfig_VPCSCPolicy_name, VPCSCConfig_VPCSCPolicy_value
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 VPCSCConfig_VPCSCPolicy.
YumArtifact_PackageType_name, YumArtifact_PackageType_value
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,
}
)
Enum value maps for YumArtifact_PackageType.
File_google_devtools_artifactregistry_v1_apt_artifact_proto
var File_google_devtools_artifactregistry_v1_apt_artifact_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_artifact_proto
var File_google_devtools_artifactregistry_v1_artifact_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_attachment_proto
var File_google_devtools_artifactregistry_v1_attachment_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_file_proto
var File_google_devtools_artifactregistry_v1_file_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_generic_proto
var File_google_devtools_artifactregistry_v1_generic_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_package_proto
var File_google_devtools_artifactregistry_v1_package_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_repository_proto
var File_google_devtools_artifactregistry_v1_repository_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_rule_proto
var File_google_devtools_artifactregistry_v1_rule_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_service_proto
var File_google_devtools_artifactregistry_v1_service_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_settings_proto
var File_google_devtools_artifactregistry_v1_settings_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_tag_proto
var File_google_devtools_artifactregistry_v1_tag_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_version_proto
var File_google_devtools_artifactregistry_v1_version_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_vpcsc_config_proto
var File_google_devtools_artifactregistry_v1_vpcsc_config_proto protoreflect.FileDescriptor
File_google_devtools_artifactregistry_v1_yum_artifact_proto
var File_google_devtools_artifactregistry_v1_yum_artifact_proto protoreflect.FileDescriptor
Functions
func RegisterArtifactRegistryServer
func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer)
AptArtifact
type AptArtifact struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
PackageType AptArtifact_PackageType "" /* 160 byte string literal not displayed */
Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
ControlFile []byte `protobuf:"bytes,6,opt,name=control_file,json=controlFile,proto3" json:"control_file,omitempty"`
}
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
func (*AptArtifact) Descriptor
func (*AptArtifact) Descriptor() ([]byte, []int)
Deprecated: Use AptArtifact.ProtoReflect.Descriptor instead.
func (*AptArtifact) GetArchitecture
func (x *AptArtifact) GetArchitecture() string
func (*AptArtifact) GetComponent
func (x *AptArtifact) GetComponent() string
func (*AptArtifact) GetControlFile
func (x *AptArtifact) GetControlFile() []byte
func (*AptArtifact) GetName
func (x *AptArtifact) GetName() string
func (*AptArtifact) GetPackageName
func (x *AptArtifact) GetPackageName() string
func (*AptArtifact) GetPackageType
func (x *AptArtifact) GetPackageType() AptArtifact_PackageType
func (*AptArtifact) ProtoMessage
func (*AptArtifact) ProtoMessage()
func (*AptArtifact) ProtoReflect
func (x *AptArtifact) ProtoReflect() protoreflect.Message
func (*AptArtifact) Reset
func (x *AptArtifact) Reset()
func (*AptArtifact) String
func (x *AptArtifact) String() string
AptArtifact_PackageType
type AptArtifact_PackageType int32
Package type is either binary or source.
AptArtifact_PACKAGE_TYPE_UNSPECIFIED, AptArtifact_BINARY, AptArtifact_SOURCE
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
func (AptArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (AptArtifact_PackageType) Enum
func (x AptArtifact_PackageType) Enum() *AptArtifact_PackageType
func (AptArtifact_PackageType) EnumDescriptor
func (AptArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptArtifact_PackageType.Descriptor instead.
func (AptArtifact_PackageType) Number
func (x AptArtifact_PackageType) Number() protoreflect.EnumNumber
func (AptArtifact_PackageType) String
func (x AptArtifact_PackageType) String() string
func (AptArtifact_PackageType) Type
func (AptArtifact_PackageType) Type() protoreflect.EnumType
ArtifactRegistryClient
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)
// Updates a version.
UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, 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)
// Deletes a file and all of its content. It is only allowed on generic
// repositories. The returned operation will complete once the file has been
// deleted.
DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a file.
UpdateFile(ctx context.Context, in *UpdateFileRequest, 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)
// Creates a rule.
CreateRule(ctx context.Context, in *CreateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Lists rules.
ListRules(ctx context.Context, in *ListRulesRequest, opts ...grpc.CallOption) (*ListRulesResponse, error)
// Gets a rule.
GetRule(ctx context.Context, in *GetRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Updates a rule.
UpdateRule(ctx context.Context, in *UpdateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Deletes a rule.
DeleteRule(ctx context.Context, in *DeleteRuleRequest, 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)
// Updates a package.
UpdatePackage(ctx context.Context, in *UpdatePackageRequest, opts ...grpc.CallOption) (*Package, error)
// Lists attachments.
ListAttachments(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*ListAttachmentsResponse, error)
// Gets an attachment.
GetAttachment(ctx context.Context, in *GetAttachmentRequest, opts ...grpc.CallOption) (*Attachment, error)
// Creates an attachment. The returned Operation will finish once the
// attachment has been created. Its response will be the created attachment.
CreateAttachment(ctx context.Context, in *CreateAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes an attachment. The returned Operation will
// finish once the attachments has been deleted. It will not have any
// Operation metadata and will return a `google.protobuf.Empty` response.
DeleteAttachment(ctx context.Context, in *DeleteAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
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.
func NewArtifactRegistryClient
func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient
ArtifactRegistryServer
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)
// Updates a version.
UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
// Lists files.
ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
// Gets a file.
GetFile(context.Context, *GetFileRequest) (*File, error)
// Deletes a file and all of its content. It is only allowed on generic
// repositories. The returned operation will complete once the file has been
// deleted.
DeleteFile(context.Context, *DeleteFileRequest) (*longrunningpb.Operation, error)
// Updates a file.
UpdateFile(context.Context, *UpdateFileRequest) (*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)
// Creates a rule.
CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
// Lists rules.
ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
// Gets a rule.
GetRule(context.Context, *GetRuleRequest) (*Rule, error)
// Updates a rule.
UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
// Deletes a rule.
DeleteRule(context.Context, *DeleteRuleRequest) (*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)
// Updates a package.
UpdatePackage(context.Context, *UpdatePackageRequest) (*Package, error)
// Lists attachments.
ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
// Gets an attachment.
GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
// Creates an attachment. The returned Operation will finish once the
// attachment has been created. Its response will be the created attachment.
CreateAttachment(context.Context, *CreateAttachmentRequest) (*longrunningpb.Operation, error)
// Deletes an attachment. The returned Operation will
// finish once the attachments has been deleted. It will not have any
// Operation metadata and will return a `google.protobuf.Empty` response.
DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*longrunningpb.Operation, error)
}
ArtifactRegistryServer is the server API for ArtifactRegistry service.
Attachment
type Attachment struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
AttachmentNamespace string `protobuf:"bytes,4,opt,name=attachment_namespace,json=attachmentNamespace,proto3" json:"attachment_namespace,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Files []string `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
OciVersionName string `protobuf:"bytes,9,opt,name=oci_version_name,json=ociVersionName,proto3" json:"oci_version_name,omitempty"`
}
An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry. An attachment consists of one or more files.
func (*Attachment) Descriptor
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetAnnotations
func (x *Attachment) GetAnnotations() map[string]string
func (*Attachment) GetAttachmentNamespace
func (x *Attachment) GetAttachmentNamespace() string
func (*Attachment) GetCreateTime
func (x *Attachment) GetCreateTime() *timestamppb.Timestamp
func (*Attachment) GetFiles
func (x *Attachment) GetFiles() []string
func (*Attachment) GetName
func (x *Attachment) GetName() string
func (*Attachment) GetOciVersionName
func (x *Attachment) GetOciVersionName() string
func (*Attachment) GetTarget
func (x *Attachment) GetTarget() string
func (*Attachment) GetType
func (x *Attachment) GetType() string
func (*Attachment) GetUpdateTime
func (x *Attachment) GetUpdateTime() *timestamppb.Timestamp
func (*Attachment) ProtoMessage
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset
func (x *Attachment) Reset()
func (*Attachment) String
func (x *Attachment) String() string
BatchDeleteVersionsMetadata
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
}
The metadata of an LRO from deleting multiple versions.
func (*BatchDeleteVersionsMetadata) Descriptor
func (*BatchDeleteVersionsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteVersionsMetadata.ProtoReflect.Descriptor instead.
func (*BatchDeleteVersionsMetadata) GetFailedVersions
func (x *BatchDeleteVersionsMetadata) GetFailedVersions() []string
func (*BatchDeleteVersionsMetadata) ProtoMessage
func (*BatchDeleteVersionsMetadata) ProtoMessage()
func (*BatchDeleteVersionsMetadata) ProtoReflect
func (x *BatchDeleteVersionsMetadata) ProtoReflect() protoreflect.Message
func (*BatchDeleteVersionsMetadata) Reset
func (x *BatchDeleteVersionsMetadata) Reset()
func (*BatchDeleteVersionsMetadata) String
func (x *BatchDeleteVersionsMetadata) String() string
BatchDeleteVersionsRequest
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
}
The request to delete multiple versions across a repository.
func (*BatchDeleteVersionsRequest) Descriptor
func (*BatchDeleteVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteVersionsRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteVersionsRequest) GetNames
func (x *BatchDeleteVersionsRequest) GetNames() []string
func (*BatchDeleteVersionsRequest) GetParent
func (x *BatchDeleteVersionsRequest) GetParent() string
func (*BatchDeleteVersionsRequest) GetValidateOnly
func (x *BatchDeleteVersionsRequest) GetValidateOnly() bool
func (*BatchDeleteVersionsRequest) ProtoMessage
func (*BatchDeleteVersionsRequest) ProtoMessage()
func (*BatchDeleteVersionsRequest) ProtoReflect
func (x *BatchDeleteVersionsRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteVersionsRequest) Reset
func (x *BatchDeleteVersionsRequest) Reset()
func (*BatchDeleteVersionsRequest) String
func (x *BatchDeleteVersionsRequest) String() string
CleanupPolicy
type CleanupPolicy struct {
ConditionType isCleanupPolicy_ConditionType `protobuf_oneof:"condition_type"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Action CleanupPolicy_Action "" /* 128 byte string literal not displayed */
}
Artifact policy configuration for repository cleanup policies.
func (*CleanupPolicy) Descriptor
func (*CleanupPolicy) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicy.ProtoReflect.Descriptor instead.
func (*CleanupPolicy) GetAction
func (x *CleanupPolicy) GetAction() CleanupPolicy_Action
func (*CleanupPolicy) GetCondition
func (x *CleanupPolicy) GetCondition() *CleanupPolicyCondition
func (*CleanupPolicy) GetConditionType
func (m *CleanupPolicy) GetConditionType() isCleanupPolicy_ConditionType
func (*CleanupPolicy) GetId
func (x *CleanupPolicy) GetId() string
func (*CleanupPolicy) GetMostRecentVersions
func (x *CleanupPolicy) GetMostRecentVersions() *CleanupPolicyMostRecentVersions
func (*CleanupPolicy) ProtoMessage
func (*CleanupPolicy) ProtoMessage()
func (*CleanupPolicy) ProtoReflect
func (x *CleanupPolicy) ProtoReflect() protoreflect.Message
func (*CleanupPolicy) Reset
func (x *CleanupPolicy) Reset()
func (*CleanupPolicy) String
func (x *CleanupPolicy) String() string
CleanupPolicyCondition
type CleanupPolicyCondition struct {
TagState *CleanupPolicyCondition_TagState "" /* 165 byte string literal not displayed */
TagPrefixes []string `protobuf:"bytes,3,rep,name=tag_prefixes,json=tagPrefixes,proto3" json:"tag_prefixes,omitempty"`
VersionNamePrefixes []string `protobuf:"bytes,4,rep,name=version_name_prefixes,json=versionNamePrefixes,proto3" json:"version_name_prefixes,omitempty"`
PackageNamePrefixes []string `protobuf:"bytes,5,rep,name=package_name_prefixes,json=packageNamePrefixes,proto3" json:"package_name_prefixes,omitempty"`
OlderThan *durationpb.Duration `protobuf:"bytes,6,opt,name=older_than,json=olderThan,proto3,oneof" json:"older_than,omitempty"`
NewerThan *durationpb.Duration `protobuf:"bytes,7,opt,name=newer_than,json=newerThan,proto3,oneof" json:"newer_than,omitempty"`
}
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.
func (*CleanupPolicyCondition) Descriptor
func (*CleanupPolicyCondition) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyCondition.ProtoReflect.Descriptor instead.
func (*CleanupPolicyCondition) GetNewerThan
func (x *CleanupPolicyCondition) GetNewerThan() *durationpb.Duration
func (*CleanupPolicyCondition) GetOlderThan
func (x *CleanupPolicyCondition) GetOlderThan() *durationpb.Duration
func (*CleanupPolicyCondition) GetPackageNamePrefixes
func (x *CleanupPolicyCondition) GetPackageNamePrefixes() []string
func (*CleanupPolicyCondition) GetTagPrefixes
func (x *CleanupPolicyCondition) GetTagPrefixes() []string
func (*CleanupPolicyCondition) GetTagState
func (x *CleanupPolicyCondition) GetTagState() CleanupPolicyCondition_TagState
func (*CleanupPolicyCondition) GetVersionNamePrefixes
func (x *CleanupPolicyCondition) GetVersionNamePrefixes() []string
func (*CleanupPolicyCondition) ProtoMessage
func (*CleanupPolicyCondition) ProtoMessage()
func (*CleanupPolicyCondition) ProtoReflect
func (x *CleanupPolicyCondition) ProtoReflect() protoreflect.Message
func (*CleanupPolicyCondition) Reset
func (x *CleanupPolicyCondition) Reset()
func (*CleanupPolicyCondition) String
func (x *CleanupPolicyCondition) String() string
CleanupPolicyCondition_TagState
type CleanupPolicyCondition_TagState int32
Statuses applying to versions.
CleanupPolicyCondition_TAG_STATE_UNSPECIFIED, CleanupPolicyCondition_TAGGED, CleanupPolicyCondition_UNTAGGED, CleanupPolicyCondition_ANY
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
func (CleanupPolicyCondition_TagState) Descriptor() protoreflect.EnumDescriptor
func (CleanupPolicyCondition_TagState) Enum
func (x CleanupPolicyCondition_TagState) Enum() *CleanupPolicyCondition_TagState
func (CleanupPolicyCondition_TagState) EnumDescriptor
func (CleanupPolicyCondition_TagState) EnumDescriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyCondition_TagState.Descriptor instead.
func (CleanupPolicyCondition_TagState) Number
func (x CleanupPolicyCondition_TagState) Number() protoreflect.EnumNumber
func (CleanupPolicyCondition_TagState) String
func (x CleanupPolicyCondition_TagState) String() string
func (CleanupPolicyCondition_TagState) Type
func (CleanupPolicyCondition_TagState) Type() protoreflect.EnumType
CleanupPolicyMostRecentVersions
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
}
CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.
func (*CleanupPolicyMostRecentVersions) Descriptor
func (*CleanupPolicyMostRecentVersions) Descriptor() ([]byte, []int)
Deprecated: Use CleanupPolicyMostRecentVersions.ProtoReflect.Descriptor instead.
func (*CleanupPolicyMostRecentVersions) GetKeepCount
func (x *CleanupPolicyMostRecentVersions) GetKeepCount() int32
func (*CleanupPolicyMostRecentVersions) GetPackageNamePrefixes
func (x *CleanupPolicyMostRecentVersions) GetPackageNamePrefixes() []string
func (*CleanupPolicyMostRecentVersions) ProtoMessage
func (*CleanupPolicyMostRecentVersions) ProtoMessage()
func (*CleanupPolicyMostRecentVersions) ProtoReflect
func (x *CleanupPolicyMostRecentVersions) ProtoReflect() protoreflect.Message
func (*CleanupPolicyMostRecentVersions) Reset
func (x *CleanupPolicyMostRecentVersions) Reset()
func (*CleanupPolicyMostRecentVersions) String
func (x *CleanupPolicyMostRecentVersions) String() string
CleanupPolicy_Action
type CleanupPolicy_Action int32
Action type for a cleanup policy.
CleanupPolicy_ACTION_UNSPECIFIED, CleanupPolicy_DELETE, CleanupPolicy_KEEP
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
func (CleanupPolicy_Action) Descriptor() protoreflect.EnumDescriptor
func (CleanupPolicy_Action) Enum
func (x CleanupPolicy_Action) Enum() *CleanupPolicy_Action
func (CleanupPolicy_Action) EnumDescriptor
func (CleanupPolicy_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use CleanupPolicy_Action.Descriptor instead.
func (CleanupPolicy_Action) Number
func (x CleanupPolicy_Action) Number() protoreflect.EnumNumber
func (CleanupPolicy_Action) String
func (x CleanupPolicy_Action) String() string
func (CleanupPolicy_Action) Type
func (CleanupPolicy_Action) Type() protoreflect.EnumType
CleanupPolicy_Condition
type CleanupPolicy_Condition struct {
// Policy condition for matching versions.
Condition *CleanupPolicyCondition `protobuf:"bytes,2,opt,name=condition,proto3,oneof"`
}
CleanupPolicy_MostRecentVersions
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"`
}
CreateAttachmentRequest
type CreateAttachmentRequest struct {
// Required. The name of the parent resource where the attachment will be
// created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The attachment id to use for this attachment.
AttachmentId string `protobuf:"bytes,2,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
// Required. The attachment to be created.
Attachment *Attachment `protobuf:"bytes,3,opt,name=attachment,proto3" json:"attachment,omitempty"`
// contains filtered or unexported fields
}
The request to create a new attachment.
func (*CreateAttachmentRequest) Descriptor
func (*CreateAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
func (*CreateAttachmentRequest) GetAttachment
func (x *CreateAttachmentRequest) GetAttachment() *Attachment
func (*CreateAttachmentRequest) GetAttachmentId
func (x *CreateAttachmentRequest) GetAttachmentId() string
func (*CreateAttachmentRequest) GetParent
func (x *CreateAttachmentRequest) GetParent() string
func (*CreateAttachmentRequest) ProtoMessage
func (*CreateAttachmentRequest) ProtoMessage()
func (*CreateAttachmentRequest) ProtoReflect
func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message
func (*CreateAttachmentRequest) Reset
func (x *CreateAttachmentRequest) Reset()
func (*CreateAttachmentRequest) String
func (x *CreateAttachmentRequest) String() string
CreateRepositoryRequest
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
}
The request to create a new repository.
func (*CreateRepositoryRequest) Descriptor
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetParent
func (x *CreateRepositoryRequest) GetParent() string
func (*CreateRepositoryRequest) GetRepository
func (x *CreateRepositoryRequest) GetRepository() *Repository
func (*CreateRepositoryRequest) GetRepositoryId
func (x *CreateRepositoryRequest) GetRepositoryId() string
func (*CreateRepositoryRequest) ProtoMessage
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String
func (x *CreateRepositoryRequest) String() string
CreateRuleRequest
type CreateRuleRequest struct {
// Required. The name of the parent resource where the rule will be created.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The rule id to use for this repository.
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// The rule to be created.
Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"`
// contains filtered or unexported fields
}
The request to create a new rule.
func (*CreateRuleRequest) Descriptor
func (*CreateRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateRuleRequest) GetParent
func (x *CreateRuleRequest) GetParent() string
func (*CreateRuleRequest) GetRule
func (x *CreateRuleRequest) GetRule() *Rule
func (*CreateRuleRequest) GetRuleId
func (x *CreateRuleRequest) GetRuleId() string
func (*CreateRuleRequest) ProtoMessage
func (*CreateRuleRequest) ProtoMessage()
func (*CreateRuleRequest) ProtoReflect
func (x *CreateRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateRuleRequest) Reset
func (x *CreateRuleRequest) Reset()
func (*CreateRuleRequest) String
func (x *CreateRuleRequest) String() string
CreateTagRequest
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
}
The request to create a new tag.
func (*CreateTagRequest) Descriptor
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (*CreateTagRequest) GetParent
func (x *CreateTagRequest) GetParent() string
func (*CreateTagRequest) GetTag
func (x *CreateTagRequest) GetTag() *Tag
func (*CreateTagRequest) GetTagId
func (x *CreateTagRequest) GetTagId() string
func (*CreateTagRequest) ProtoMessage
func (*CreateTagRequest) ProtoMessage()
func (*CreateTagRequest) ProtoReflect
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
func (*CreateTagRequest) Reset
func (x *CreateTagRequest) Reset()
func (*CreateTagRequest) String
func (x *CreateTagRequest) String() string
DeleteAttachmentRequest
type DeleteAttachmentRequest struct {
// Required. The name of the attachment to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete an attachment.
func (*DeleteAttachmentRequest) Descriptor
func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAttachmentRequest) GetName
func (x *DeleteAttachmentRequest) GetName() string
func (*DeleteAttachmentRequest) ProtoMessage
func (*DeleteAttachmentRequest) ProtoMessage()
func (*DeleteAttachmentRequest) ProtoReflect
func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAttachmentRequest) Reset
func (x *DeleteAttachmentRequest) Reset()
func (*DeleteAttachmentRequest) String
func (x *DeleteAttachmentRequest) String() string
DeleteFileRequest
type DeleteFileRequest struct {
// Required. The name of the file to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete a file.
func (*DeleteFileRequest) Descriptor
func (*DeleteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileRequest) GetName
func (x *DeleteFileRequest) GetName() string
func (*DeleteFileRequest) ProtoMessage
func (*DeleteFileRequest) ProtoMessage()
func (*DeleteFileRequest) ProtoReflect
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileRequest) Reset
func (x *DeleteFileRequest) Reset()
func (*DeleteFileRequest) String
func (x *DeleteFileRequest) String() string
DeletePackageRequest
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
}
The request to delete a package.
func (*DeletePackageRequest) Descriptor
func (*DeletePackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePackageRequest.ProtoReflect.Descriptor instead.
func (*DeletePackageRequest) GetName
func (x *DeletePackageRequest) GetName() string
func (*DeletePackageRequest) ProtoMessage
func (*DeletePackageRequest) ProtoMessage()
func (*DeletePackageRequest) ProtoReflect
func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message
func (*DeletePackageRequest) Reset
func (x *DeletePackageRequest) Reset()
func (*DeletePackageRequest) String
func (x *DeletePackageRequest) String() string
DeleteRepositoryRequest
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
}
The request to delete a repository.
func (*DeleteRepositoryRequest) Descriptor
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) GetName
func (x *DeleteRepositoryRequest) GetName() string
func (*DeleteRepositoryRequest) ProtoMessage
func (*DeleteRepositoryRequest) ProtoMessage()
func (*DeleteRepositoryRequest) ProtoReflect
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryRequest) Reset
func (x *DeleteRepositoryRequest) Reset()
func (*DeleteRepositoryRequest) String
func (x *DeleteRepositoryRequest) String() string
DeleteRuleRequest
type DeleteRuleRequest struct {
// Required. The name of the rule to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete a rule.
func (*DeleteRuleRequest) Descriptor
func (*DeleteRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRuleRequest) GetName
func (x *DeleteRuleRequest) GetName() string
func (*DeleteRuleRequest) ProtoMessage
func (*DeleteRuleRequest) ProtoMessage()
func (*DeleteRuleRequest) ProtoReflect
func (x *DeleteRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRuleRequest) Reset
func (x *DeleteRuleRequest) Reset()
func (*DeleteRuleRequest) String
func (x *DeleteRuleRequest) String() string
DeleteTagRequest
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
}
The request to delete a tag.
func (*DeleteTagRequest) Descriptor
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetName
func (x *DeleteTagRequest) GetName() string
func (*DeleteTagRequest) ProtoMessage
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) ProtoReflect
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagRequest) Reset
func (x *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String
func (x *DeleteTagRequest) String() string
DeleteVersionRequest
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
}
The request to delete a version.
func (*DeleteVersionRequest) Descriptor
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetForce
func (x *DeleteVersionRequest) GetForce() bool
func (*DeleteVersionRequest) GetName
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage
func (*DeleteVersionRequest) ProtoMessage()
func (*DeleteVersionRequest) ProtoReflect
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteVersionRequest) Reset
func (x *DeleteVersionRequest) Reset()
func (*DeleteVersionRequest) String
func (x *DeleteVersionRequest) String() string
DockerImage
type DockerImage struct {
// Required. registry_location, project_id, repository_name and image id forms
// a unique image
// name:`projects/
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
func (*DockerImage) Descriptor
func (*DockerImage) Descriptor() ([]byte, []int)
Deprecated: Use DockerImage.ProtoReflect.Descriptor instead.
func (*DockerImage) GetBuildTime
func (x *DockerImage) GetBuildTime() *timestamppb.Timestamp
func (*DockerImage) GetImageSizeBytes
func (x *DockerImage) GetImageSizeBytes() int64
func (*DockerImage) GetMediaType
func (x *DockerImage) GetMediaType() string
func (*DockerImage) GetName
func (x *DockerImage) GetName() string
func (*DockerImage) GetTags
func (x *DockerImage) GetTags() []string
func (*DockerImage) GetUpdateTime
func (x *DockerImage) GetUpdateTime() *timestamppb.Timestamp
func (*DockerImage) GetUploadTime
func (x *DockerImage) GetUploadTime() *timestamppb.Timestamp
func (*DockerImage) GetUri
func (x *DockerImage) GetUri() string
func (*DockerImage) ProtoMessage
func (*DockerImage) ProtoMessage()
func (*DockerImage) ProtoReflect
func (x *DockerImage) ProtoReflect() protoreflect.Message
func (*DockerImage) Reset
func (x *DockerImage) Reset()
func (*DockerImage) String
func (x *DockerImage) String() string
File
type File struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
FetchTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=fetch_time,json=fetchTime,proto3" json:"fetch_time,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
}
Files store content that is potentially associated with Packages or Versions.
func (*File) Descriptor
Deprecated: Use File.ProtoReflect.Descriptor instead.
func (*File) GetAnnotations
func (*File) GetCreateTime
func (x *File) GetCreateTime() *timestamppb.Timestamp
func (*File) GetFetchTime
func (x *File) GetFetchTime() *timestamppb.Timestamp
func (*File) GetHashes
func (*File) GetName
func (*File) GetOwner
func (*File) GetSizeBytes
func (*File) GetUpdateTime
func (x *File) GetUpdateTime() *timestamppb.Timestamp
func (*File) ProtoMessage
func (*File) ProtoMessage()
func (*File) ProtoReflect
func (x *File) ProtoReflect() protoreflect.Message
func (*File) Reset
func (x *File) Reset()
func (*File) String
GenericArtifact
type GenericArtifact struct {
// Resource name of the generic artifact.
// project, location, repository, package_id and version_id
// create a unique generic artifact.
// i.e. "projects/test-project/locations/us-west4/repositories/test-repo/
// genericArtifacts/package_id:version_id"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The version of the generic artifact.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Output only. The time when the Generic module is created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the Generic module is updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
GenericArtifact represents a generic artifact
func (*GenericArtifact) Descriptor
func (*GenericArtifact) Descriptor() ([]byte, []int)
Deprecated: Use GenericArtifact.ProtoReflect.Descriptor instead.
func (*GenericArtifact) GetCreateTime
func (x *GenericArtifact) GetCreateTime() *timestamppb.Timestamp
func (*GenericArtifact) GetName
func (x *GenericArtifact) GetName() string
func (*GenericArtifact) GetUpdateTime
func (x *GenericArtifact) GetUpdateTime() *timestamppb.Timestamp
func (*GenericArtifact) GetVersion
func (x *GenericArtifact) GetVersion() string
func (*GenericArtifact) ProtoMessage
func (*GenericArtifact) ProtoMessage()
func (*GenericArtifact) ProtoReflect
func (x *GenericArtifact) ProtoReflect() protoreflect.Message
func (*GenericArtifact) Reset
func (x *GenericArtifact) Reset()
func (*GenericArtifact) String
func (x *GenericArtifact) String() string
GetAttachmentRequest
type GetAttachmentRequest struct {
// Required. The name of the attachment to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to retrieve an attachment.
func (*GetAttachmentRequest) Descriptor
func (*GetAttachmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
func (*GetAttachmentRequest) GetName
func (x *GetAttachmentRequest) GetName() string
func (*GetAttachmentRequest) ProtoMessage
func (*GetAttachmentRequest) ProtoMessage()
func (*GetAttachmentRequest) ProtoReflect
func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message
func (*GetAttachmentRequest) Reset
func (x *GetAttachmentRequest) Reset()
func (*GetAttachmentRequest) String
func (x *GetAttachmentRequest) String() string
GetDockerImageRequest
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
}
The request to get docker images.
func (*GetDockerImageRequest) Descriptor
func (*GetDockerImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDockerImageRequest.ProtoReflect.Descriptor instead.
func (*GetDockerImageRequest) GetName
func (x *GetDockerImageRequest) GetName() string
func (*GetDockerImageRequest) ProtoMessage
func (*GetDockerImageRequest) ProtoMessage()
func (*GetDockerImageRequest) ProtoReflect
func (x *GetDockerImageRequest) ProtoReflect() protoreflect.Message
func (*GetDockerImageRequest) Reset
func (x *GetDockerImageRequest) Reset()
func (*GetDockerImageRequest) String
func (x *GetDockerImageRequest) String() string
GetFileRequest
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
}
The request to retrieve a file.
func (*GetFileRequest) Descriptor
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetName
func (x *GetFileRequest) GetName() string
func (*GetFileRequest) ProtoMessage
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String
func (x *GetFileRequest) String() string
GetMavenArtifactRequest
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
}
The request to get maven artifacts.
func (*GetMavenArtifactRequest) Descriptor
func (*GetMavenArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMavenArtifactRequest.ProtoReflect.Descriptor instead.
func (*GetMavenArtifactRequest) GetName
func (x *GetMavenArtifactRequest) GetName() string
func (*GetMavenArtifactRequest) ProtoMessage
func (*GetMavenArtifactRequest) ProtoMessage()
func (*GetMavenArtifactRequest) ProtoReflect
func (x *GetMavenArtifactRequest) ProtoReflect() protoreflect.Message
func (*GetMavenArtifactRequest) Reset
func (x *GetMavenArtifactRequest) Reset()
func (*GetMavenArtifactRequest) String
func (x *GetMavenArtifactRequest) String() string
GetNpmPackageRequest
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
}
The request to get npm packages.
func (*GetNpmPackageRequest) Descriptor
func (*GetNpmPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNpmPackageRequest.ProtoReflect.Descriptor instead.
func (*GetNpmPackageRequest) GetName
func (x *GetNpmPackageRequest) GetName() string
func (*GetNpmPackageRequest) ProtoMessage
func (*GetNpmPackageRequest) ProtoMessage()
func (*GetNpmPackageRequest) ProtoReflect
func (x *GetNpmPackageRequest) ProtoReflect() protoreflect.Message
func (*GetNpmPackageRequest) Reset
func (x *GetNpmPackageRequest) Reset()
func (*GetNpmPackageRequest) String
func (x *GetNpmPackageRequest) String() string
GetPackageRequest
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
}
The request to retrieve a package.
func (*GetPackageRequest) Descriptor
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPackageRequest) GetName
func (x *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) ProtoReflect
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPackageRequest) Reset
func (x *GetPackageRequest) Reset()
func (*GetPackageRequest) String
func (x *GetPackageRequest) String() string
GetProjectSettingsRequest
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
}
Gets the redirection status for a project.
func (*GetProjectSettingsRequest) Descriptor
func (*GetProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetProjectSettingsRequest) GetName
func (x *GetProjectSettingsRequest) GetName() string
func (*GetProjectSettingsRequest) ProtoMessage
func (*GetProjectSettingsRequest) ProtoMessage()
func (*GetProjectSettingsRequest) ProtoReflect
func (x *GetProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetProjectSettingsRequest) Reset
func (x *GetProjectSettingsRequest) Reset()
func (*GetProjectSettingsRequest) String
func (x *GetProjectSettingsRequest) String() string
GetPythonPackageRequest
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
}
The request to get python packages.
func (*GetPythonPackageRequest) Descriptor
func (*GetPythonPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPythonPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPythonPackageRequest) GetName
func (x *GetPythonPackageRequest) GetName() string
func (*GetPythonPackageRequest) ProtoMessage
func (*GetPythonPackageRequest) ProtoMessage()
func (*GetPythonPackageRequest) ProtoReflect
func (x *GetPythonPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPythonPackageRequest) Reset
func (x *GetPythonPackageRequest) Reset()
func (*GetPythonPackageRequest) String
func (x *GetPythonPackageRequest) String() string
GetRepositoryRequest
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
}
The request to retrieve a repository.
func (*GetRepositoryRequest) Descriptor
func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryRequest) GetName
func (x *GetRepositoryRequest) GetName() string
func (*GetRepositoryRequest) ProtoMessage
func (*GetRepositoryRequest) ProtoMessage()
func (*GetRepositoryRequest) ProtoReflect
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryRequest) Reset
func (x *GetRepositoryRequest) Reset()
func (*GetRepositoryRequest) String
func (x *GetRepositoryRequest) String() string
GetRuleRequest
type GetRuleRequest struct {
// Required. The name of the rule to retrieve.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to retrieve a rule.
func (*GetRuleRequest) Descriptor
func (*GetRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleRequest.ProtoReflect.Descriptor instead.
func (*GetRuleRequest) GetName
func (x *GetRuleRequest) GetName() string
func (*GetRuleRequest) ProtoMessage
func (*GetRuleRequest) ProtoMessage()
func (*GetRuleRequest) ProtoReflect
func (x *GetRuleRequest) ProtoReflect() protoreflect.Message
func (*GetRuleRequest) Reset
func (x *GetRuleRequest) Reset()
func (*GetRuleRequest) String
func (x *GetRuleRequest) String() string
GetTagRequest
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
}
The request to retrieve a tag.
func (*GetTagRequest) Descriptor
func (*GetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.
func (*GetTagRequest) GetName
func (x *GetTagRequest) GetName() string
func (*GetTagRequest) ProtoMessage
func (*GetTagRequest) ProtoMessage()
func (*GetTagRequest) ProtoReflect
func (x *GetTagRequest) ProtoReflect() protoreflect.Message
func (*GetTagRequest) Reset
func (x *GetTagRequest) Reset()
func (*GetTagRequest) String
func (x *GetTagRequest) String() string
GetVPCSCConfigRequest
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
}
Gets the VPC SC config for a project.
func (*GetVPCSCConfigRequest) Descriptor
func (*GetVPCSCConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVPCSCConfigRequest.ProtoReflect.Descriptor instead.
func (*GetVPCSCConfigRequest) GetName
func (x *GetVPCSCConfigRequest) GetName() string
func (*GetVPCSCConfigRequest) ProtoMessage
func (*GetVPCSCConfigRequest) ProtoMessage()
func (*GetVPCSCConfigRequest) ProtoReflect
func (x *GetVPCSCConfigRequest) ProtoReflect() protoreflect.Message
func (*GetVPCSCConfigRequest) Reset
func (x *GetVPCSCConfigRequest) Reset()
func (*GetVPCSCConfigRequest) String
func (x *GetVPCSCConfigRequest) String() string
GetVersionRequest
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
}
The request to retrieve a version.
func (*GetVersionRequest) Descriptor
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName
func (x *GetVersionRequest) GetName() string
func (*GetVersionRequest) GetView
func (x *GetVersionRequest) GetView() VersionView
func (*GetVersionRequest) ProtoMessage
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String
func (x *GetVersionRequest) String() string
Hash
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
}
A hash of file content.
func (*Hash) Descriptor
Deprecated: Use Hash.ProtoReflect.Descriptor instead.
func (*Hash) GetType
func (x *Hash) GetType() Hash_HashType
func (*Hash) GetValue
func (*Hash) ProtoMessage
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect
func (x *Hash) ProtoReflect() protoreflect.Message
func (*Hash) Reset
func (x *Hash) Reset()
func (*Hash) String
Hash_HashType
type Hash_HashType int32
The algorithm used to compute the hash.
Hash_HASH_TYPE_UNSPECIFIED, Hash_SHA256, Hash_MD5
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
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
func (Hash_HashType) Enum
func (x Hash_HashType) Enum() *Hash_HashType
func (Hash_HashType) EnumDescriptor
func (Hash_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hash_HashType.Descriptor instead.
func (Hash_HashType) Number
func (x Hash_HashType) Number() protoreflect.EnumNumber
func (Hash_HashType) String
func (x Hash_HashType) String() string
func (Hash_HashType) Type
func (Hash_HashType) Type() protoreflect.EnumType
ImportAptArtifactsErrorInfo
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
}
Error information explaining why a package was not imported.
func (*ImportAptArtifactsErrorInfo) Descriptor
func (*ImportAptArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsErrorInfo) GetError
func (x *ImportAptArtifactsErrorInfo) GetError() *status.Status
func (*ImportAptArtifactsErrorInfo) GetGcsSource
func (x *ImportAptArtifactsErrorInfo) GetGcsSource() *ImportAptArtifactsGcsSource
func (*ImportAptArtifactsErrorInfo) GetSource
func (m *ImportAptArtifactsErrorInfo) GetSource() isImportAptArtifactsErrorInfo_Source
func (*ImportAptArtifactsErrorInfo) ProtoMessage
func (*ImportAptArtifactsErrorInfo) ProtoMessage()
func (*ImportAptArtifactsErrorInfo) ProtoReflect
func (x *ImportAptArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsErrorInfo) Reset
func (x *ImportAptArtifactsErrorInfo) Reset()
func (*ImportAptArtifactsErrorInfo) String
func (x *ImportAptArtifactsErrorInfo) String() string
ImportAptArtifactsErrorInfo_GcsSource
type ImportAptArtifactsErrorInfo_GcsSource struct {
// Google Cloud Storage location requested.
GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
ImportAptArtifactsGcsSource
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
}
Google Cloud Storage location where the artifacts currently reside.
func (*ImportAptArtifactsGcsSource) Descriptor
func (*ImportAptArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsGcsSource) GetUris
func (x *ImportAptArtifactsGcsSource) GetUris() []string
func (*ImportAptArtifactsGcsSource) GetUseWildcards
func (x *ImportAptArtifactsGcsSource) GetUseWildcards() bool
func (*ImportAptArtifactsGcsSource) ProtoMessage
func (*ImportAptArtifactsGcsSource) ProtoMessage()
func (*ImportAptArtifactsGcsSource) ProtoReflect
func (x *ImportAptArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsGcsSource) Reset
func (x *ImportAptArtifactsGcsSource) Reset()
func (*ImportAptArtifactsGcsSource) String
func (x *ImportAptArtifactsGcsSource) String() string
ImportAptArtifactsMetadata
type ImportAptArtifactsMetadata struct {
// contains filtered or unexported fields
}
The operation metadata for importing artifacts.
func (*ImportAptArtifactsMetadata) Descriptor
func (*ImportAptArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsMetadata) ProtoMessage
func (*ImportAptArtifactsMetadata) ProtoMessage()
func (*ImportAptArtifactsMetadata) ProtoReflect
func (x *ImportAptArtifactsMetadata) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsMetadata) Reset
func (x *ImportAptArtifactsMetadata) Reset()
func (*ImportAptArtifactsMetadata) String
func (x *ImportAptArtifactsMetadata) String() string
ImportAptArtifactsRequest
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
}
The request to import new apt artifacts.
func (*ImportAptArtifactsRequest) Descriptor
func (*ImportAptArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsRequest) GetGcsSource
func (x *ImportAptArtifactsRequest) GetGcsSource() *ImportAptArtifactsGcsSource
func (*ImportAptArtifactsRequest) GetParent
func (x *ImportAptArtifactsRequest) GetParent() string
func (*ImportAptArtifactsRequest) GetSource
func (m *ImportAptArtifactsRequest) GetSource() isImportAptArtifactsRequest_Source
func (*ImportAptArtifactsRequest) ProtoMessage
func (*ImportAptArtifactsRequest) ProtoMessage()
func (*ImportAptArtifactsRequest) ProtoReflect
func (x *ImportAptArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsRequest) Reset
func (x *ImportAptArtifactsRequest) Reset()
func (*ImportAptArtifactsRequest) String
func (x *ImportAptArtifactsRequest) String() string
ImportAptArtifactsRequest_GcsSource
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"`
}
ImportAptArtifactsResponse
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
}
The response message from importing APT artifacts.
func (*ImportAptArtifactsResponse) Descriptor
func (*ImportAptArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsResponse) GetAptArtifacts
func (x *ImportAptArtifactsResponse) GetAptArtifacts() []*AptArtifact
func (*ImportAptArtifactsResponse) GetErrors
func (x *ImportAptArtifactsResponse) GetErrors() []*ImportAptArtifactsErrorInfo
func (*ImportAptArtifactsResponse) ProtoMessage
func (*ImportAptArtifactsResponse) ProtoMessage()
func (*ImportAptArtifactsResponse) ProtoReflect
func (x *ImportAptArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsResponse) Reset
func (x *ImportAptArtifactsResponse) Reset()
func (*ImportAptArtifactsResponse) String
func (x *ImportAptArtifactsResponse) String() string
ImportYumArtifactsErrorInfo
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
}
Error information explaining why a package was not imported.
func (*ImportYumArtifactsErrorInfo) Descriptor
func (*ImportYumArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsErrorInfo) GetError
func (x *ImportYumArtifactsErrorInfo) GetError() *status.Status
func (*ImportYumArtifactsErrorInfo) GetGcsSource
func (x *ImportYumArtifactsErrorInfo) GetGcsSource() *ImportYumArtifactsGcsSource
func (*ImportYumArtifactsErrorInfo) GetSource
func (m *ImportYumArtifactsErrorInfo) GetSource() isImportYumArtifactsErrorInfo_Source
func (*ImportYumArtifactsErrorInfo) ProtoMessage
func (*ImportYumArtifactsErrorInfo) ProtoMessage()
func (*ImportYumArtifactsErrorInfo) ProtoReflect
func (x *ImportYumArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsErrorInfo) Reset
func (x *ImportYumArtifactsErrorInfo) Reset()
func (*ImportYumArtifactsErrorInfo) String
func (x *ImportYumArtifactsErrorInfo) String() string
ImportYumArtifactsErrorInfo_GcsSource
type ImportYumArtifactsErrorInfo_GcsSource struct {
// Google Cloud Storage location requested.
GcsSource *ImportYumArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
ImportYumArtifactsGcsSource
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
}
Google Cloud Storage location where the artifacts currently reside.
func (*ImportYumArtifactsGcsSource) Descriptor
func (*ImportYumArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsGcsSource) GetUris
func (x *ImportYumArtifactsGcsSource) GetUris() []string
func (*ImportYumArtifactsGcsSource) GetUseWildcards
func (x *ImportYumArtifactsGcsSource) GetUseWildcards() bool
func (*ImportYumArtifactsGcsSource) ProtoMessage
func (*ImportYumArtifactsGcsSource) ProtoMessage()
func (*ImportYumArtifactsGcsSource) ProtoReflect
func (x *ImportYumArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsGcsSource) Reset
func (x *ImportYumArtifactsGcsSource) Reset()
func (*ImportYumArtifactsGcsSource) String
func (x *ImportYumArtifactsGcsSource) String() string
ImportYumArtifactsMetadata
type ImportYumArtifactsMetadata struct {
// contains filtered or unexported fields
}
The operation metadata for importing artifacts.
func (*ImportYumArtifactsMetadata) Descriptor
func (*ImportYumArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsMetadata) ProtoMessage
func (*ImportYumArtifactsMetadata) ProtoMessage()
func (*ImportYumArtifactsMetadata) ProtoReflect
func (x *ImportYumArtifactsMetadata) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsMetadata) Reset
func (x *ImportYumArtifactsMetadata) Reset()
func (*ImportYumArtifactsMetadata) String
func (x *ImportYumArtifactsMetadata) String() string
ImportYumArtifactsRequest
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
}
The request to import new yum artifacts.
func (*ImportYumArtifactsRequest) Descriptor
func (*ImportYumArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsRequest) GetGcsSource
func (x *ImportYumArtifactsRequest) GetGcsSource() *ImportYumArtifactsGcsSource
func (*ImportYumArtifactsRequest) GetParent
func (x *ImportYumArtifactsRequest) GetParent() string
func (*ImportYumArtifactsRequest) GetSource
func (m *ImportYumArtifactsRequest) GetSource() isImportYumArtifactsRequest_Source
func (*ImportYumArtifactsRequest) ProtoMessage
func (*ImportYumArtifactsRequest) ProtoMessage()
func (*ImportYumArtifactsRequest) ProtoReflect
func (x *ImportYumArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsRequest) Reset
func (x *ImportYumArtifactsRequest) Reset()
func (*ImportYumArtifactsRequest) String
func (x *ImportYumArtifactsRequest) String() string
ImportYumArtifactsRequest_GcsSource
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"`
}
ImportYumArtifactsResponse
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
}
The response message from importing YUM artifacts.
func (*ImportYumArtifactsResponse) Descriptor
func (*ImportYumArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsResponse) GetErrors
func (x *ImportYumArtifactsResponse) GetErrors() []*ImportYumArtifactsErrorInfo
func (*ImportYumArtifactsResponse) GetYumArtifacts
func (x *ImportYumArtifactsResponse) GetYumArtifacts() []*YumArtifact
func (*ImportYumArtifactsResponse) ProtoMessage
func (*ImportYumArtifactsResponse) ProtoMessage()
func (*ImportYumArtifactsResponse) ProtoReflect
func (x *ImportYumArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsResponse) Reset
func (x *ImportYumArtifactsResponse) Reset()
func (*ImportYumArtifactsResponse) String
func (x *ImportYumArtifactsResponse) String() string
ListAttachmentsRequest
type ListAttachmentsRequest struct {
// Required. The name of the parent resource whose attachments will be listed.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. An expression for filtering the results of the request. Filter
// rules are case insensitive. The fields eligible for filtering are:
//
// - `target`
// - `type`
// - `attachment_namespace`
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// The maximum number of attachments to return. Maximum page size is 1,000.
PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
The request to list attachments.
func (*ListAttachmentsRequest) Descriptor
func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentsRequest) GetFilter
func (x *ListAttachmentsRequest) GetFilter() string
func (*ListAttachmentsRequest) GetPageSize
func (x *ListAttachmentsRequest) GetPageSize() int32
func (*ListAttachmentsRequest) GetPageToken
func (x *ListAttachmentsRequest) GetPageToken() string
func (*ListAttachmentsRequest) GetParent
func (x *ListAttachmentsRequest) GetParent() string
func (*ListAttachmentsRequest) ProtoMessage
func (*ListAttachmentsRequest) ProtoMessage()
func (*ListAttachmentsRequest) ProtoReflect
func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentsRequest) Reset
func (x *ListAttachmentsRequest) Reset()
func (*ListAttachmentsRequest) String
func (x *ListAttachmentsRequest) String() string
ListAttachmentsResponse
type ListAttachmentsResponse struct {
// The attachments returned.
Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
// The token to retrieve the next page of attachments, or empty if there are
// no more attachments 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
}
The response from listing attachments.
func (*ListAttachmentsResponse) Descriptor
func (*ListAttachmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.
func (*ListAttachmentsResponse) GetAttachments
func (x *ListAttachmentsResponse) GetAttachments() []*Attachment
func (*ListAttachmentsResponse) GetNextPageToken
func (x *ListAttachmentsResponse) GetNextPageToken() string
func (*ListAttachmentsResponse) ProtoMessage
func (*ListAttachmentsResponse) ProtoMessage()
func (*ListAttachmentsResponse) ProtoReflect
func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message
func (*ListAttachmentsResponse) Reset
func (x *ListAttachmentsResponse) Reset()
func (*ListAttachmentsResponse) String
func (x *ListAttachmentsResponse) String() string
ListDockerImagesRequest
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. 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 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
}
The request to list docker images.
func (*ListDockerImagesRequest) Descriptor
func (*ListDockerImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDockerImagesRequest.ProtoReflect.Descriptor instead.
func (*ListDockerImagesRequest) GetOrderBy
func (x *ListDockerImagesRequest) GetOrderBy() string
func (*ListDockerImagesRequest) GetPageSize
func (x *ListDockerImagesRequest) GetPageSize() int32
func (*ListDockerImagesRequest) GetPageToken
func (x *ListDockerImagesRequest) GetPageToken() string
func (*ListDockerImagesRequest) GetParent
func (x *ListDockerImagesRequest) GetParent() string
func (*ListDockerImagesRequest) ProtoMessage
func (*ListDockerImagesRequest) ProtoMessage()
func (*ListDockerImagesRequest) ProtoReflect
func (x *ListDockerImagesRequest) ProtoReflect() protoreflect.Message
func (*ListDockerImagesRequest) Reset
func (x *ListDockerImagesRequest) Reset()
func (*ListDockerImagesRequest) String
func (x *ListDockerImagesRequest) String() string
ListDockerImagesResponse
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
}
The response from listing docker images.
func (*ListDockerImagesResponse) Descriptor
func (*ListDockerImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDockerImagesResponse.ProtoReflect.Descriptor instead.
func (*ListDockerImagesResponse) GetDockerImages
func (x *ListDockerImagesResponse) GetDockerImages() []*DockerImage
func (*ListDockerImagesResponse) GetNextPageToken
func (x *ListDockerImagesResponse) GetNextPageToken() string
func (*ListDockerImagesResponse) ProtoMessage
func (*ListDockerImagesResponse) ProtoMessage()
func (*ListDockerImagesResponse) ProtoReflect
func (x *ListDockerImagesResponse) ProtoReflect() protoreflect.Message
func (*ListDockerImagesResponse) Reset
func (x *ListDockerImagesResponse) Reset()
func (*ListDockerImagesResponse) String
func (x *ListDockerImagesResponse) String() string
ListFilesRequest
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`
// - `annotations`
//
// Examples of using a filter:
//
// To filter the results of your request to files with the name `my_file.txt`
// in project `my-project` in the `us-central` region, in repository
// `my-repo`, append the following filter expression to your request:
//
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt"`
//
// You can also use wildcards to match any number of characters before or
// after the value:
//
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-*"`
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt"`
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file*"`
//
// To filter the results of your request to files owned by the version `1.0`
// in package `pkg1`, append the following filter expression to your request:
//
// * `owner="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"`
//
// To filter the results of your request to files with the annotation
// key-value pair [`external_link`: `external_link_value`], append the
// following filter expression to your request:
//
// * `"annotations.external_link:external_link_value"`
//
// To filter just for a specific annotation key `external_link`, append the
// following filter expression to your request:
//
// * `"annotations.external_link"`
//
// If the annotation key or value contains special characters, you can escape
// them by surrounding the value with backticks. For example, to filter the
// results of your request to files with the annotation key-value pair
// [`external.link`:`https://example.com/my-file`], append the following
// filter expression to your request:
//
// * `` "annotations.`external.link`:`https://example.com/my-file`" ``
//
// You can also filter with annotations with a wildcard to
// match any number of characters before or after the value:
//
// * `` "annotations.*_link:`*example.com*`" ``
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// The maximum number of files 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 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
}
The request to list files.
func (*ListFilesRequest) Descriptor
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetFilter
func (x *ListFilesRequest) GetFilter() string
func (*ListFilesRequest) GetOrderBy
func (x *ListFilesRequest) GetOrderBy() string
func (*ListFilesRequest) GetPageSize
func (x *ListFilesRequest) GetPageSize() int32
func (*ListFilesRequest) GetPageToken
func (x *ListFilesRequest) GetPageToken() string
func (*ListFilesRequest) GetParent
func (x *ListFilesRequest) GetParent() string
func (*ListFilesRequest) ProtoMessage
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String
func (x *ListFilesRequest) String() string
ListFilesResponse
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
}
The response from listing files.
func (*ListFilesResponse) Descriptor
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetFiles
func (x *ListFilesResponse) GetFiles() []*File
func (*ListFilesResponse) GetNextPageToken
func (x *ListFilesResponse) GetNextPageToken() string
func (*ListFilesResponse) ProtoMessage
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String
func (x *ListFilesResponse) String() string
ListMavenArtifactsRequest
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. 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
}
The request to list maven artifacts.
func (*ListMavenArtifactsRequest) Descriptor
func (*ListMavenArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMavenArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ListMavenArtifactsRequest) GetPageSize
func (x *ListMavenArtifactsRequest) GetPageSize() int32
func (*ListMavenArtifactsRequest) GetPageToken
func (x *ListMavenArtifactsRequest) GetPageToken() string
func (*ListMavenArtifactsRequest) GetParent
func (x *ListMavenArtifactsRequest) GetParent() string
func (*ListMavenArtifactsRequest) ProtoMessage
func (*ListMavenArtifactsRequest) ProtoMessage()
func (*ListMavenArtifactsRequest) ProtoReflect
func (x *ListMavenArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ListMavenArtifactsRequest) Reset
func (x *ListMavenArtifactsRequest) Reset()
func (*ListMavenArtifactsRequest) String
func (x *ListMavenArtifactsRequest) String() string
ListMavenArtifactsResponse
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
}
The response from listing maven artifacts.
func (*ListMavenArtifactsResponse) Descriptor
func (*ListMavenArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMavenArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ListMavenArtifactsResponse) GetMavenArtifacts
func (x *ListMavenArtifactsResponse) GetMavenArtifacts() []*MavenArtifact
func (*ListMavenArtifactsResponse) GetNextPageToken
func (x *ListMavenArtifactsResponse) GetNextPageToken() string
func (*ListMavenArtifactsResponse) ProtoMessage
func (*ListMavenArtifactsResponse) ProtoMessage()
func (*ListMavenArtifactsResponse) ProtoReflect
func (x *ListMavenArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ListMavenArtifactsResponse) Reset
func (x *ListMavenArtifactsResponse) Reset()
func (*ListMavenArtifactsResponse) String
func (x *ListMavenArtifactsResponse) String() string
ListNpmPackagesRequest
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. 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
}
The request to list npm packages.
func (*ListNpmPackagesRequest) Descriptor
func (*ListNpmPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNpmPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListNpmPackagesRequest) GetPageSize
func (x *ListNpmPackagesRequest) GetPageSize() int32
func (*ListNpmPackagesRequest) GetPageToken
func (x *ListNpmPackagesRequest) GetPageToken() string
func (*ListNpmPackagesRequest) GetParent
func (x *ListNpmPackagesRequest) GetParent() string
func (*ListNpmPackagesRequest) ProtoMessage
func (*ListNpmPackagesRequest) ProtoMessage()
func (*ListNpmPackagesRequest) ProtoReflect
func (x *ListNpmPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListNpmPackagesRequest) Reset
func (x *ListNpmPackagesRequest) Reset()
func (*ListNpmPackagesRequest) String
func (x *ListNpmPackagesRequest) String() string
ListNpmPackagesResponse
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
}
The response from listing npm packages.
func (*ListNpmPackagesResponse) Descriptor
func (*ListNpmPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNpmPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListNpmPackagesResponse) GetNextPageToken
func (x *ListNpmPackagesResponse) GetNextPageToken() string
func (*ListNpmPackagesResponse) GetNpmPackages
func (x *ListNpmPackagesResponse) GetNpmPackages() []*NpmPackage
func (*ListNpmPackagesResponse) ProtoMessage
func (*ListNpmPackagesResponse) ProtoMessage()
func (*ListNpmPackagesResponse) ProtoReflect
func (x *ListNpmPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListNpmPackagesResponse) Reset
func (x *ListNpmPackagesResponse) Reset()
func (*ListNpmPackagesResponse) String
func (x *ListNpmPackagesResponse) String() string
ListPackagesRequest
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"`
// Optional. An expression for filtering the results of the request. Filter
// rules are case insensitive. The fields eligible for filtering are:
//
// - `name`
// - `annotations`
//
// Examples of using a filter:
//
// To filter the results of your request to packages with the name
// `my-package` in project `my-project` in the `us-central` region, in
// repository `my-repo`, append the following filter expression to your
// request:
//
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package"`
//
// You can also use wildcards to match any number of characters before or
// after the value:
//
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-*"`
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*package"`
// * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*pack*"`
//
// To filter the results of your request to packages with the annotation
// key-value pair [`external_link`: `external_link_value`], append the
// following filter expression to your request":
//
// * `"annotations.external_link:external_link_value"`
//
// To filter the results just for a specific annotation key `external_link`,
// append the following filter expression to your request:
//
// * `"annotations.external_link"`
//
// If the annotation key or value contains special characters, you can escape
// them by surrounding the value with backticks. For example, to filter the
// results of your request to packages with the annotation key-value pair
// [`external.link`:`https://example.com/my-package`], append the following
// filter expression to your request:
//
// * `` "annotations.`external.link`:`https://example.com/my-package`" ``
//
// You can also filter with annotations with a wildcard to
// match any number of characters before or after the value:
//
// * `` "annotations.*_link:`*example.com*`" ``
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,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
}
The request to list packages.
func (*ListPackagesRequest) Descriptor
func (*ListPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListPackagesRequest) GetFilter
func (x *ListPackagesRequest) GetFilter() string
func (*ListPackagesRequest) GetOrderBy
func (x *ListPackagesRequest) GetOrderBy() string
func (*ListPackagesRequest) GetPageSize
func (x *ListPackagesRequest) GetPageSize() int32
func (*ListPackagesRequest) GetPageToken
func (x *ListPackagesRequest) GetPageToken() string
func (*ListPackagesRequest) GetParent
func (x *ListPackagesRequest) GetParent() string
func (*ListPackagesRequest) ProtoMessage
func (*ListPackagesRequest) ProtoMessage()
func (*ListPackagesRequest) ProtoReflect
func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListPackagesRequest) Reset
func (x *ListPackagesRequest) Reset()
func (*ListPackagesRequest) String
func (x *ListPackagesRequest) String() string
ListPackagesResponse
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
}
The response from listing packages.
func (*ListPackagesResponse) Descriptor
func (*ListPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListPackagesResponse) GetNextPageToken
func (x *ListPackagesResponse) GetNextPageToken() string
func (*ListPackagesResponse) GetPackages
func (x *ListPackagesResponse) GetPackages() []*Package
func (*ListPackagesResponse) ProtoMessage
func (*ListPackagesResponse) ProtoMessage()
func (*ListPackagesResponse) ProtoReflect
func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListPackagesResponse) Reset
func (x *ListPackagesResponse) Reset()
func (*ListPackagesResponse) String
func (x *ListPackagesResponse) String() string
ListPythonPackagesRequest
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. 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
}
The request to list python packages.
func (*ListPythonPackagesRequest) Descriptor
func (*ListPythonPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPythonPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListPythonPackagesRequest) GetPageSize
func (x *ListPythonPackagesRequest) GetPageSize() int32
func (*ListPythonPackagesRequest) GetPageToken
func (x *ListPythonPackagesRequest) GetPageToken() string
func (*ListPythonPackagesRequest) GetParent
func (x *ListPythonPackagesRequest) GetParent() string
func (*ListPythonPackagesRequest) ProtoMessage
func (*ListPythonPackagesRequest) ProtoMessage()
func (*ListPythonPackagesRequest) ProtoReflect
func (x *ListPythonPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListPythonPackagesRequest) Reset
func (x *ListPythonPackagesRequest) Reset()
func (*ListPythonPackagesRequest) String
func (x *ListPythonPackagesRequest) String() string
ListPythonPackagesResponse
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
}
The response from listing python packages.
func (*ListPythonPackagesResponse) Descriptor
func (*ListPythonPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPythonPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListPythonPackagesResponse) GetNextPageToken
func (x *ListPythonPackagesResponse) GetNextPageToken() string
func (*ListPythonPackagesResponse) GetPythonPackages
func (x *ListPythonPackagesResponse) GetPythonPackages() []*PythonPackage
func (*ListPythonPackagesResponse) ProtoMessage
func (*ListPythonPackagesResponse) ProtoMessage()
func (*ListPythonPackagesResponse) ProtoReflect
func (x *ListPythonPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListPythonPackagesResponse) Reset
func (x *ListPythonPackagesResponse) Reset()
func (*ListPythonPackagesResponse) String
func (x *ListPythonPackagesResponse) String() string
ListRepositoriesRequest
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"`
// Optional. An expression for filtering the results of the request. Filter
// rules are case insensitive. The fields eligible for filtering are:
//
// - `name`
//
// Examples of using a filter:
//
// To filter the results of your request to repositories with the name
// `my-repo` in project `my-project` in the `us-central` region, append the
// following filter expression to your request:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo"`
//
// You can also use wildcards to match any number of characters before or
// after the value:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-*"`
//
// - `name="projects/my-project/locations/us-central1/repositories/*repo"`
//
// - `name="projects/my-project/locations/us-central1/repositories/*repo*"`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,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
}
The request to list repositories.
func (*ListRepositoriesRequest) Descriptor
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetFilter
func (x *ListRepositoriesRequest) GetFilter() string
func (*ListRepositoriesRequest) GetOrderBy
func (x *ListRepositoriesRequest) GetOrderBy() string
func (*ListRepositoriesRequest) GetPageSize
func (x *ListRepositoriesRequest) GetPageSize() int32
func (*ListRepositoriesRequest) GetPageToken
func (x *ListRepositoriesRequest) GetPageToken() string
func (*ListRepositoriesRequest) GetParent
func (x *ListRepositoriesRequest) GetParent() string
func (*ListRepositoriesRequest) ProtoMessage
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String
func (x *ListRepositoriesRequest) String() string
ListRepositoriesResponse
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
}
The response from listing repositories.
func (*ListRepositoriesResponse) Descriptor
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetNextPageToken
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (*ListRepositoriesResponse) GetRepositories
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) ProtoMessage
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String
func (x *ListRepositoriesResponse) String() string
ListRulesRequest
type ListRulesRequest struct {
// Required. The name of the parent repository whose rules will be listed.
// For example:
// `projects/p1/locations/us-central1/repositories/repo1`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rules 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
}
The request to list rules.
func (*ListRulesRequest) Descriptor
func (*ListRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead.
func (*ListRulesRequest) GetPageSize
func (x *ListRulesRequest) GetPageSize() int32
func (*ListRulesRequest) GetPageToken
func (x *ListRulesRequest) GetPageToken() string
func (*ListRulesRequest) GetParent
func (x *ListRulesRequest) GetParent() string
func (*ListRulesRequest) ProtoMessage
func (*ListRulesRequest) ProtoMessage()
func (*ListRulesRequest) ProtoReflect
func (x *ListRulesRequest) ProtoReflect() protoreflect.Message
func (*ListRulesRequest) Reset
func (x *ListRulesRequest) Reset()
func (*ListRulesRequest) String
func (x *ListRulesRequest) String() string
ListRulesResponse
type ListRulesResponse struct {
// The rules returned.
Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// The token to retrieve the next page of rules, or empty if there are no
// more rules 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
}
The response from listing rules.
func (*ListRulesResponse) Descriptor
func (*ListRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead.
func (*ListRulesResponse) GetNextPageToken
func (x *ListRulesResponse) GetNextPageToken() string
func (*ListRulesResponse) GetRules
func (x *ListRulesResponse) GetRules() []*Rule
func (*ListRulesResponse) ProtoMessage
func (*ListRulesResponse) ProtoMessage()
func (*ListRulesResponse) ProtoReflect
func (x *ListRulesResponse) ProtoReflect() protoreflect.Message
func (*ListRulesResponse) Reset
func (x *ListRulesResponse) Reset()
func (*ListRulesResponse) String
func (x *ListRulesResponse) String() string
ListTagsRequest
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:
//
// - `name`
//
// - `version`
//
// Examples of using a filter:
//
// To filter the results of your request to tags with the name `my-tag` in
// package `my-package` in repository `my-repo` in project "`y-project` in
// the us-central region, append the following filter expression to your
// request:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"`
//
// You can also use wildcards to match any number of characters before or
// after the value:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"`
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"`
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"`
//
// To filter the results of your request to tags applied to the version
// `1.0` in package `my-package`, append the following filter expression to
// your request:
//
// - `version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// The maximum number of tags 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
}
The request to list tags.
func (*ListTagsRequest) Descriptor
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetFilter
func (x *ListTagsRequest) GetFilter() string
func (*ListTagsRequest) GetPageSize
func (x *ListTagsRequest) GetPageSize() int32
func (*ListTagsRequest) GetPageToken
func (x *ListTagsRequest) GetPageToken() string
func (*ListTagsRequest) GetParent
func (x *ListTagsRequest) GetParent() string
func (*ListTagsRequest) ProtoMessage
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String
func (x *ListTagsRequest) String() string
ListTagsResponse
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
}
The response from listing tags.
func (*ListTagsResponse) Descriptor
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetNextPageToken
func (x *ListTagsResponse) GetNextPageToken() string
func (*ListTagsResponse) GetTags
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String
func (x *ListTagsResponse) String() string
ListVersionsRequest
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"`
// Optional. An expression for filtering the results of the request. Filter
// rules are case insensitive. The fields eligible for filtering are:
//
// - `name`
//
// - `annotations`
//
// Examples of using a filter:
//
// To filter the results of your request to versions with the name
// `my-version` in project `my-project` in the `us-central` region, in
// repository `my-repo`, append the following filter expression to your
// request:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my-version"`
//
// You can also use wildcards to match any number of characters before or
// after the value:
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version"`
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*"`
//
// - `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version*"`
//
// To filter the results of your request to versions with the annotation
// key-value pair [`external_link`: `external_link_value`], append the
// following filter expression to your request:
//
// - `"annotations.external_link:external_link_value"`
//
// To filter just for a specific annotation key `external_link`, append the
// following filter expression to your request:
//
// - `"annotations.external_link"`
//
// If the annotation key or value contains special characters, you can escape
// them by surrounding the value with backticks. For example, to filter the
// results of your request to versions with the annotation key-value pair
// [`external.link`:`https://example.com/my-version`], append the following
// filter expression to your request:
//
// - “ "annotations.`external.link`:`https://example.com/my-version`" “
//
// You can also filter with annotations with a wildcard to
// match any number of characters before or after the value:
//
// - “ "annotations.*_link:`*example.com*`" “
Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
The request to list versions.
func (*ListVersionsRequest) Descriptor
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetFilter
func (x *ListVersionsRequest) GetFilter() string
func (*ListVersionsRequest) GetOrderBy
func (x *ListVersionsRequest) GetOrderBy() string
func (*ListVersionsRequest) GetPageSize
func (x *ListVersionsRequest) GetPageSize() int32
func (*ListVersionsRequest) GetPageToken
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetParent
func (x *ListVersionsRequest) GetParent() string
func (*ListVersionsRequest) GetView
func (x *ListVersionsRequest) GetView() VersionView
func (*ListVersionsRequest) ProtoMessage
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) String
func (x *ListVersionsRequest) String() string
ListVersionsResponse
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
}
The response from listing versions.
func (*ListVersionsResponse) Descriptor
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) String
func (x *ListVersionsResponse) String() string
MavenArtifact
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
}
MavenArtifact represents a maven artifact.
func (*MavenArtifact) Descriptor
func (*MavenArtifact) Descriptor() ([]byte, []int)
Deprecated: Use MavenArtifact.ProtoReflect.Descriptor instead.
func (*MavenArtifact) GetArtifactId
func (x *MavenArtifact) GetArtifactId() string
func (*MavenArtifact) GetCreateTime
func (x *MavenArtifact) GetCreateTime() *timestamppb.Timestamp
func (*MavenArtifact) GetGroupId
func (x *MavenArtifact) GetGroupId() string
func (*MavenArtifact) GetName
func (x *MavenArtifact) GetName() string
func (*MavenArtifact) GetPomUri
func (x *MavenArtifact) GetPomUri() string
func (*MavenArtifact) GetUpdateTime
func (x *MavenArtifact) GetUpdateTime() *timestamppb.Timestamp
func (*MavenArtifact) GetVersion
func (x *MavenArtifact) GetVersion() string
func (*MavenArtifact) ProtoMessage
func (*MavenArtifact) ProtoMessage()
func (*MavenArtifact) ProtoReflect
func (x *MavenArtifact) ProtoReflect() protoreflect.Message
func (*MavenArtifact) Reset
func (x *MavenArtifact) Reset()
func (*MavenArtifact) String
func (x *MavenArtifact) String() string
NpmPackage
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
}
NpmPackage represents an npm artifact.
func (*NpmPackage) Descriptor
func (*NpmPackage) Descriptor() ([]byte, []int)
Deprecated: Use NpmPackage.ProtoReflect.Descriptor instead.
func (*NpmPackage) GetCreateTime
func (x *NpmPackage) GetCreateTime() *timestamppb.Timestamp
func (*NpmPackage) GetName
func (x *NpmPackage) GetName() string
func (*NpmPackage) GetPackageName
func (x *NpmPackage) GetPackageName() string
func (*NpmPackage) GetTags
func (x *NpmPackage) GetTags() []string
func (*NpmPackage) GetUpdateTime
func (x *NpmPackage) GetUpdateTime() *timestamppb.Timestamp
func (*NpmPackage) GetVersion
func (x *NpmPackage) GetVersion() string
func (*NpmPackage) ProtoMessage
func (*NpmPackage) ProtoMessage()
func (*NpmPackage) ProtoReflect
func (x *NpmPackage) ProtoReflect() protoreflect.Message
func (*NpmPackage) Reset
func (x *NpmPackage) Reset()
func (*NpmPackage) String
func (x *NpmPackage) String() string
OperationMetadata
type OperationMetadata struct {
// contains filtered or unexported fields
}
Metadata type for longrunning-operations, currently empty.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
Package
type Package struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
}
Packages are named collections of versions.
func (*Package) Descriptor
Deprecated: Use Package.ProtoReflect.Descriptor instead.
func (*Package) GetAnnotations
func (*Package) GetCreateTime
func (x *Package) GetCreateTime() *timestamppb.Timestamp
func (*Package) GetDisplayName
func (*Package) GetName
func (*Package) GetUpdateTime
func (x *Package) GetUpdateTime() *timestamppb.Timestamp
func (*Package) ProtoMessage
func (*Package) ProtoMessage()
func (*Package) ProtoReflect
func (x *Package) ProtoReflect() protoreflect.Message
func (*Package) Reset
func (x *Package) Reset()
func (*Package) String
ProjectSettings
type ProjectSettings struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
LegacyRedirectionState ProjectSettings_RedirectionState "" /* 204 byte string literal not displayed */
PullPercent int32 `protobuf:"varint,3,opt,name=pull_percent,json=pullPercent,proto3" json:"pull_percent,omitempty"`
}
The Artifact Registry settings that apply to a Project.
func (*ProjectSettings) Descriptor
func (*ProjectSettings) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.
func (*ProjectSettings) GetLegacyRedirectionState
func (x *ProjectSettings) GetLegacyRedirectionState() ProjectSettings_RedirectionState
func (*ProjectSettings) GetName
func (x *ProjectSettings) GetName() string
func (*ProjectSettings) GetPullPercent
func (x *ProjectSettings) GetPullPercent() int32
func (*ProjectSettings) ProtoMessage
func (*ProjectSettings) ProtoMessage()
func (*ProjectSettings) ProtoReflect
func (x *ProjectSettings) ProtoReflect() protoreflect.Message
func (*ProjectSettings) Reset
func (x *ProjectSettings) Reset()
func (*ProjectSettings) String
func (x *ProjectSettings) String() string
ProjectSettings_RedirectionState
type ProjectSettings_RedirectionState int32
The possible redirection states for legacy repositories.
ProjectSettings_REDIRECTION_STATE_UNSPECIFIED, ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED, ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED, ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED, ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING, ProjectSettings_REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING
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
// Redirection is enabled and missing images are copied from GCR
ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING ProjectSettings_RedirectionState = 5
// Redirection is partially enabled and missing images are copied from GCR
ProjectSettings_REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING ProjectSettings_RedirectionState = 6
)
func (ProjectSettings_RedirectionState) Descriptor
func (ProjectSettings_RedirectionState) Descriptor() protoreflect.EnumDescriptor
func (ProjectSettings_RedirectionState) Enum
func (x ProjectSettings_RedirectionState) Enum() *ProjectSettings_RedirectionState
func (ProjectSettings_RedirectionState) EnumDescriptor
func (ProjectSettings_RedirectionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectSettings_RedirectionState.Descriptor instead.
func (ProjectSettings_RedirectionState) Number
func (x ProjectSettings_RedirectionState) Number() protoreflect.EnumNumber
func (ProjectSettings_RedirectionState) String
func (x ProjectSettings_RedirectionState) String() string
func (ProjectSettings_RedirectionState) Type
func (ProjectSettings_RedirectionState) Type() protoreflect.EnumType
PythonPackage
type PythonPackage struct {
// Required. registry_location, project_id, repository_name and python_package
// forms a unique package
// name:`projects/
PythonPackage represents a python artifact.
func (*PythonPackage) Descriptor
func (*PythonPackage) Descriptor() ([]byte, []int)
Deprecated: Use PythonPackage.ProtoReflect.Descriptor instead.
func (*PythonPackage) GetCreateTime
func (x *PythonPackage) GetCreateTime() *timestamppb.Timestamp
func (*PythonPackage) GetName
func (x *PythonPackage) GetName() string
func (*PythonPackage) GetPackageName
func (x *PythonPackage) GetPackageName() string
func (*PythonPackage) GetUpdateTime
func (x *PythonPackage) GetUpdateTime() *timestamppb.Timestamp
func (*PythonPackage) GetUri
func (x *PythonPackage) GetUri() string
func (*PythonPackage) GetVersion
func (x *PythonPackage) GetVersion() string
func (*PythonPackage) ProtoMessage
func (*PythonPackage) ProtoMessage()
func (*PythonPackage) ProtoReflect
func (x *PythonPackage) ProtoReflect() protoreflect.Message
func (*PythonPackage) Reset
func (x *PythonPackage) Reset()
func (*PythonPackage) String
func (x *PythonPackage) String() string
RemoteRepositoryConfig
type RemoteRepositoryConfig struct {
RemoteSource isRemoteRepositoryConfig_RemoteSource `protobuf_oneof:"remote_source"`
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
UpstreamCredentials *RemoteRepositoryConfig_UpstreamCredentials `protobuf:"bytes,9,opt,name=upstream_credentials,json=upstreamCredentials,proto3" json:"upstream_credentials,omitempty"`
DisableUpstreamValidation bool "" /* 140 byte string literal not displayed */
}
Remote repository configuration.
func (*RemoteRepositoryConfig) Descriptor
func (*RemoteRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig) GetAptRepository
func (x *RemoteRepositoryConfig) GetAptRepository() *RemoteRepositoryConfig_AptRepository
func (*RemoteRepositoryConfig) GetCommonRepository
func (x *RemoteRepositoryConfig) GetCommonRepository() *RemoteRepositoryConfig_CommonRemoteRepository
func (*RemoteRepositoryConfig) GetDescription
func (x *RemoteRepositoryConfig) GetDescription() string
func (*RemoteRepositoryConfig) GetDisableUpstreamValidation
func (x *RemoteRepositoryConfig) GetDisableUpstreamValidation() bool
func (*RemoteRepositoryConfig) GetDockerRepository
func (x *RemoteRepositoryConfig) GetDockerRepository() *RemoteRepositoryConfig_DockerRepository
func (*RemoteRepositoryConfig) GetMavenRepository
func (x *RemoteRepositoryConfig) GetMavenRepository() *RemoteRepositoryConfig_MavenRepository
func (*RemoteRepositoryConfig) GetNpmRepository
func (x *RemoteRepositoryConfig) GetNpmRepository() *RemoteRepositoryConfig_NpmRepository
func (*RemoteRepositoryConfig) GetPythonRepository
func (x *RemoteRepositoryConfig) GetPythonRepository() *RemoteRepositoryConfig_PythonRepository
func (*RemoteRepositoryConfig) GetRemoteSource
func (m *RemoteRepositoryConfig) GetRemoteSource() isRemoteRepositoryConfig_RemoteSource
func (*RemoteRepositoryConfig) GetUpstreamCredentials
func (x *RemoteRepositoryConfig) GetUpstreamCredentials() *RemoteRepositoryConfig_UpstreamCredentials
func (*RemoteRepositoryConfig) GetYumRepository
func (x *RemoteRepositoryConfig) GetYumRepository() *RemoteRepositoryConfig_YumRepository
func (*RemoteRepositoryConfig) ProtoMessage
func (*RemoteRepositoryConfig) ProtoMessage()
func (*RemoteRepositoryConfig) ProtoReflect
func (x *RemoteRepositoryConfig) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig) Reset
func (x *RemoteRepositoryConfig) Reset()
func (*RemoteRepositoryConfig) String
func (x *RemoteRepositoryConfig) String() string
RemoteRepositoryConfig_AptRepository
type RemoteRepositoryConfig_AptRepository struct {
// Address of the remote repository.
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_AptRepository_PublicRepository_
// *RemoteRepositoryConfig_AptRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_AptRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for an Apt remote repository.
func (*RemoteRepositoryConfig_AptRepository) Descriptor
func (*RemoteRepositoryConfig_AptRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_AptRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_AptRepository) GetCustomRepository() *RemoteRepositoryConfig_AptRepository_CustomRepository
func (*RemoteRepositoryConfig_AptRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_AptRepository) GetPublicRepository() *RemoteRepositoryConfig_AptRepository_PublicRepository
func (*RemoteRepositoryConfig_AptRepository) GetUpstream
func (m *RemoteRepositoryConfig_AptRepository) GetUpstream() isRemoteRepositoryConfig_AptRepository_Upstream
func (*RemoteRepositoryConfig_AptRepository) ProtoMessage
func (*RemoteRepositoryConfig_AptRepository) ProtoMessage()
func (*RemoteRepositoryConfig_AptRepository) ProtoReflect
func (x *RemoteRepositoryConfig_AptRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_AptRepository) Reset
func (x *RemoteRepositoryConfig_AptRepository) Reset()
func (*RemoteRepositoryConfig_AptRepository) String
func (x *RemoteRepositoryConfig_AptRepository) String() string
RemoteRepositoryConfig_AptRepository_
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"`
}
RemoteRepositoryConfig_AptRepository_CustomRepository
type RemoteRepositoryConfig_AptRepository_CustomRepository struct {
// An http/https uri reference to the upstream remote repository, for ex:
// "https://my.apt.registry/".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_AptRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_AptRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_AptRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_AptRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_AptRepository_CustomRepository) String() string
RemoteRepositoryConfig_AptRepository_CustomRepository_
type RemoteRepositoryConfig_AptRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_AptRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_AptRepository_PublicRepository
type RemoteRepositoryConfig_AptRepository_PublicRepository struct {
RepositoryBase RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase "" /* 214 byte string literal not displayed */
RepositoryPath string `protobuf:"bytes,2,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"`
}
Publicly available Apt repositories constructed from a common repository base and a custom repository path.
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) Descriptor
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository_PublicRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryBase
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryBase() RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryPath
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) GetRepositoryPath() string
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoMessage
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoMessage()
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoReflect
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) Reset
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) Reset()
func (*RemoteRepositoryConfig_AptRepository_PublicRepository) String
func (x *RemoteRepositoryConfig_AptRepository_PublicRepository) String() string
RemoteRepositoryConfig_AptRepository_PublicRepository_
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"`
}
RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase
type RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase int32
Predefined list of publicly available repository bases for Apt.
RemoteRepositoryConfig_AptRepository_PublicRepository_REPOSITORY_BASE_UNSPECIFIED, RemoteRepositoryConfig_AptRepository_PublicRepository_DEBIAN, RemoteRepositoryConfig_AptRepository_PublicRepository_UBUNTU, RemoteRepositoryConfig_AptRepository_PublicRepository_DEBIAN_SNAPSHOT
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
// Archived Debian.
RemoteRepositoryConfig_AptRepository_PublicRepository_DEBIAN_SNAPSHOT RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase = 3
)
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Descriptor
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Enum
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Enum() *RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) EnumDescriptor
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase.Descriptor instead.
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Number
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) String
func (x RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) String() string
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Type
func (RemoteRepositoryConfig_AptRepository_PublicRepository_RepositoryBase) Type() protoreflect.EnumType
RemoteRepositoryConfig_CommonRemoteRepository
type RemoteRepositoryConfig_CommonRemoteRepository struct {
// Required. A common public repository base for remote repository.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Common remote repository settings type.
func (*RemoteRepositoryConfig_CommonRemoteRepository) Descriptor
func (*RemoteRepositoryConfig_CommonRemoteRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_CommonRemoteRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_CommonRemoteRepository) GetUri
func (x *RemoteRepositoryConfig_CommonRemoteRepository) GetUri() string
func (*RemoteRepositoryConfig_CommonRemoteRepository) ProtoMessage
func (*RemoteRepositoryConfig_CommonRemoteRepository) ProtoMessage()
func (*RemoteRepositoryConfig_CommonRemoteRepository) ProtoReflect
func (x *RemoteRepositoryConfig_CommonRemoteRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_CommonRemoteRepository) Reset
func (x *RemoteRepositoryConfig_CommonRemoteRepository) Reset()
func (*RemoteRepositoryConfig_CommonRemoteRepository) String
func (x *RemoteRepositoryConfig_CommonRemoteRepository) String() string
RemoteRepositoryConfig_CommonRepository
type RemoteRepositoryConfig_CommonRepository struct {
// Common remote repository settings.
// Used as the remote repository upstream URL.
CommonRepository *RemoteRepositoryConfig_CommonRemoteRepository `protobuf:"bytes,14,opt,name=common_repository,json=commonRepository,proto3,oneof"`
}
RemoteRepositoryConfig_DockerRepository
type RemoteRepositoryConfig_DockerRepository struct {
// Address of the remote repository.
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_DockerRepository_PublicRepository_
// *RemoteRepositoryConfig_DockerRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_DockerRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for a Docker remote repository.
func (*RemoteRepositoryConfig_DockerRepository) Descriptor
func (*RemoteRepositoryConfig_DockerRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_DockerRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_DockerRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_DockerRepository) GetCustomRepository() *RemoteRepositoryConfig_DockerRepository_CustomRepository
func (*RemoteRepositoryConfig_DockerRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_DockerRepository) GetPublicRepository() RemoteRepositoryConfig_DockerRepository_PublicRepository
func (*RemoteRepositoryConfig_DockerRepository) GetUpstream
func (m *RemoteRepositoryConfig_DockerRepository) GetUpstream() isRemoteRepositoryConfig_DockerRepository_Upstream
func (*RemoteRepositoryConfig_DockerRepository) ProtoMessage
func (*RemoteRepositoryConfig_DockerRepository) ProtoMessage()
func (*RemoteRepositoryConfig_DockerRepository) ProtoReflect
func (x *RemoteRepositoryConfig_DockerRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_DockerRepository) Reset
func (x *RemoteRepositoryConfig_DockerRepository) Reset()
func (*RemoteRepositoryConfig_DockerRepository) String
func (x *RemoteRepositoryConfig_DockerRepository) String() string
RemoteRepositoryConfig_DockerRepository_
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"`
}
RemoteRepositoryConfig_DockerRepository_CustomRepository
type RemoteRepositoryConfig_DockerRepository_CustomRepository struct {
// An http/https uri reference to the custom remote repository, for ex:
// "https://registry-1.docker.io".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_DockerRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_DockerRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_DockerRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_DockerRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_DockerRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_DockerRepository_CustomRepository) String() string
RemoteRepositoryConfig_DockerRepository_CustomRepository_
type RemoteRepositoryConfig_DockerRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_DockerRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_DockerRepository_PublicRepository
type RemoteRepositoryConfig_DockerRepository_PublicRepository int32
Predefined list of publicly available Docker repositories like Docker Hub.
RemoteRepositoryConfig_DockerRepository_PUBLIC_REPOSITORY_UNSPECIFIED, RemoteRepositoryConfig_DockerRepository_DOCKER_HUB
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
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Enum
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) Enum() *RemoteRepositoryConfig_DockerRepository_PublicRepository
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) EnumDescriptor
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_DockerRepository_PublicRepository.Descriptor instead.
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Number
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) String
func (x RemoteRepositoryConfig_DockerRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_DockerRepository_PublicRepository) Type
RemoteRepositoryConfig_DockerRepository_PublicRepository_
type RemoteRepositoryConfig_DockerRepository_PublicRepository_ struct {
PublicRepository RemoteRepositoryConfig_DockerRepository_PublicRepository "" /* 179 byte string literal not displayed */
}
RemoteRepositoryConfig_MavenRepository
type RemoteRepositoryConfig_MavenRepository struct {
// Address of the remote repository.
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_MavenRepository_PublicRepository_
// *RemoteRepositoryConfig_MavenRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_MavenRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for a Maven remote repository.
func (*RemoteRepositoryConfig_MavenRepository) Descriptor
func (*RemoteRepositoryConfig_MavenRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_MavenRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_MavenRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_MavenRepository) GetCustomRepository() *RemoteRepositoryConfig_MavenRepository_CustomRepository
func (*RemoteRepositoryConfig_MavenRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_MavenRepository) GetPublicRepository() RemoteRepositoryConfig_MavenRepository_PublicRepository
func (*RemoteRepositoryConfig_MavenRepository) GetUpstream
func (m *RemoteRepositoryConfig_MavenRepository) GetUpstream() isRemoteRepositoryConfig_MavenRepository_Upstream
func (*RemoteRepositoryConfig_MavenRepository) ProtoMessage
func (*RemoteRepositoryConfig_MavenRepository) ProtoMessage()
func (*RemoteRepositoryConfig_MavenRepository) ProtoReflect
func (x *RemoteRepositoryConfig_MavenRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_MavenRepository) Reset
func (x *RemoteRepositoryConfig_MavenRepository) Reset()
func (*RemoteRepositoryConfig_MavenRepository) String
func (x *RemoteRepositoryConfig_MavenRepository) String() string
RemoteRepositoryConfig_MavenRepository_
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"`
}
RemoteRepositoryConfig_MavenRepository_CustomRepository
type RemoteRepositoryConfig_MavenRepository_CustomRepository struct {
// An http/https uri reference to the upstream remote repository, for ex:
// "https://my.maven.registry/".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_MavenRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_MavenRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_MavenRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_MavenRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_MavenRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_MavenRepository_CustomRepository) String() string
RemoteRepositoryConfig_MavenRepository_CustomRepository_
type RemoteRepositoryConfig_MavenRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_MavenRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_MavenRepository_PublicRepository
type RemoteRepositoryConfig_MavenRepository_PublicRepository int32
Predefined list of publicly available Maven repositories like Maven Central.
RemoteRepositoryConfig_MavenRepository_PUBLIC_REPOSITORY_UNSPECIFIED, RemoteRepositoryConfig_MavenRepository_MAVEN_CENTRAL
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
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Enum
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) Enum() *RemoteRepositoryConfig_MavenRepository_PublicRepository
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) EnumDescriptor
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_MavenRepository_PublicRepository.Descriptor instead.
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Number
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) String
func (x RemoteRepositoryConfig_MavenRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_MavenRepository_PublicRepository) Type
RemoteRepositoryConfig_MavenRepository_PublicRepository_
type RemoteRepositoryConfig_MavenRepository_PublicRepository_ struct {
PublicRepository RemoteRepositoryConfig_MavenRepository_PublicRepository "" /* 178 byte string literal not displayed */
}
RemoteRepositoryConfig_NpmRepository
type RemoteRepositoryConfig_NpmRepository struct {
// Address of the remote repository
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_NpmRepository_PublicRepository_
// *RemoteRepositoryConfig_NpmRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_NpmRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for a Npm remote repository.
func (*RemoteRepositoryConfig_NpmRepository) Descriptor
func (*RemoteRepositoryConfig_NpmRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_NpmRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_NpmRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_NpmRepository) GetCustomRepository() *RemoteRepositoryConfig_NpmRepository_CustomRepository
func (*RemoteRepositoryConfig_NpmRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_NpmRepository) GetPublicRepository() RemoteRepositoryConfig_NpmRepository_PublicRepository
func (*RemoteRepositoryConfig_NpmRepository) GetUpstream
func (m *RemoteRepositoryConfig_NpmRepository) GetUpstream() isRemoteRepositoryConfig_NpmRepository_Upstream
func (*RemoteRepositoryConfig_NpmRepository) ProtoMessage
func (*RemoteRepositoryConfig_NpmRepository) ProtoMessage()
func (*RemoteRepositoryConfig_NpmRepository) ProtoReflect
func (x *RemoteRepositoryConfig_NpmRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_NpmRepository) Reset
func (x *RemoteRepositoryConfig_NpmRepository) Reset()
func (*RemoteRepositoryConfig_NpmRepository) String
func (x *RemoteRepositoryConfig_NpmRepository) String() string
RemoteRepositoryConfig_NpmRepository_
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"`
}
RemoteRepositoryConfig_NpmRepository_CustomRepository
type RemoteRepositoryConfig_NpmRepository_CustomRepository struct {
// An http/https uri reference to the upstream remote repository, for ex:
// "https://my.npm.registry/".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_NpmRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_NpmRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_NpmRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_NpmRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_NpmRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_NpmRepository_CustomRepository) String() string
RemoteRepositoryConfig_NpmRepository_CustomRepository_
type RemoteRepositoryConfig_NpmRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_NpmRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_NpmRepository_PublicRepository
type RemoteRepositoryConfig_NpmRepository_PublicRepository int32
Predefined list of publicly available NPM repositories like npmjs.
RemoteRepositoryConfig_NpmRepository_PUBLIC_REPOSITORY_UNSPECIFIED, RemoteRepositoryConfig_NpmRepository_NPMJS
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
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Enum
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) Enum() *RemoteRepositoryConfig_NpmRepository_PublicRepository
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) EnumDescriptor
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_NpmRepository_PublicRepository.Descriptor instead.
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Number
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) String
func (x RemoteRepositoryConfig_NpmRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_NpmRepository_PublicRepository) Type
RemoteRepositoryConfig_NpmRepository_PublicRepository_
type RemoteRepositoryConfig_NpmRepository_PublicRepository_ struct {
PublicRepository RemoteRepositoryConfig_NpmRepository_PublicRepository "" /* 176 byte string literal not displayed */
}
RemoteRepositoryConfig_PythonRepository
type RemoteRepositoryConfig_PythonRepository struct {
// Address of the remote repository.
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_PythonRepository_PublicRepository_
// *RemoteRepositoryConfig_PythonRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_PythonRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for a Python remote repository.
func (*RemoteRepositoryConfig_PythonRepository) Descriptor
func (*RemoteRepositoryConfig_PythonRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_PythonRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_PythonRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_PythonRepository) GetCustomRepository() *RemoteRepositoryConfig_PythonRepository_CustomRepository
func (*RemoteRepositoryConfig_PythonRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_PythonRepository) GetPublicRepository() RemoteRepositoryConfig_PythonRepository_PublicRepository
func (*RemoteRepositoryConfig_PythonRepository) GetUpstream
func (m *RemoteRepositoryConfig_PythonRepository) GetUpstream() isRemoteRepositoryConfig_PythonRepository_Upstream
func (*RemoteRepositoryConfig_PythonRepository) ProtoMessage
func (*RemoteRepositoryConfig_PythonRepository) ProtoMessage()
func (*RemoteRepositoryConfig_PythonRepository) ProtoReflect
func (x *RemoteRepositoryConfig_PythonRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_PythonRepository) Reset
func (x *RemoteRepositoryConfig_PythonRepository) Reset()
func (*RemoteRepositoryConfig_PythonRepository) String
func (x *RemoteRepositoryConfig_PythonRepository) String() string
RemoteRepositoryConfig_PythonRepository_
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"`
}
RemoteRepositoryConfig_PythonRepository_CustomRepository
type RemoteRepositoryConfig_PythonRepository_CustomRepository struct {
// An http/https uri reference to the upstream remote repository, for ex:
// "https://my.python.registry/".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_PythonRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_PythonRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_PythonRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_PythonRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_PythonRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_PythonRepository_CustomRepository) String() string
RemoteRepositoryConfig_PythonRepository_CustomRepository_
type RemoteRepositoryConfig_PythonRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_PythonRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_PythonRepository_PublicRepository
type RemoteRepositoryConfig_PythonRepository_PublicRepository int32
Predefined list of publicly available Python repositories like PyPI.org.
RemoteRepositoryConfig_PythonRepository_PUBLIC_REPOSITORY_UNSPECIFIED, RemoteRepositoryConfig_PythonRepository_PYPI
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
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Enum
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) Enum() *RemoteRepositoryConfig_PythonRepository_PublicRepository
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) EnumDescriptor
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_PythonRepository_PublicRepository.Descriptor instead.
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Number
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) String
func (x RemoteRepositoryConfig_PythonRepository_PublicRepository) String() string
func (RemoteRepositoryConfig_PythonRepository_PublicRepository) Type
RemoteRepositoryConfig_PythonRepository_PublicRepository_
type RemoteRepositoryConfig_PythonRepository_PublicRepository_ struct {
PublicRepository RemoteRepositoryConfig_PythonRepository_PublicRepository "" /* 179 byte string literal not displayed */
}
RemoteRepositoryConfig_UpstreamCredentials
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
}
The credentials to access the remote repository.
func (*RemoteRepositoryConfig_UpstreamCredentials) Descriptor
func (*RemoteRepositoryConfig_UpstreamCredentials) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_UpstreamCredentials.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_UpstreamCredentials) GetCredentials
func (m *RemoteRepositoryConfig_UpstreamCredentials) GetCredentials() isRemoteRepositoryConfig_UpstreamCredentials_Credentials
func (*RemoteRepositoryConfig_UpstreamCredentials) GetUsernamePasswordCredentials
func (x *RemoteRepositoryConfig_UpstreamCredentials) GetUsernamePasswordCredentials() *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials
func (*RemoteRepositoryConfig_UpstreamCredentials) ProtoMessage
func (*RemoteRepositoryConfig_UpstreamCredentials) ProtoMessage()
func (*RemoteRepositoryConfig_UpstreamCredentials) ProtoReflect
func (x *RemoteRepositoryConfig_UpstreamCredentials) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_UpstreamCredentials) Reset
func (x *RemoteRepositoryConfig_UpstreamCredentials) Reset()
func (*RemoteRepositoryConfig_UpstreamCredentials) String
func (x *RemoteRepositoryConfig_UpstreamCredentials) String() string
RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials
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
}
Username and password credentials.
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Descriptor
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetPasswordSecretVersion
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetPasswordSecretVersion() string
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetUsername
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) GetUsername() string
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoMessage
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoMessage()
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoReflect
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Reset
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) Reset()
func (*RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) String
func (x *RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials) String() string
RemoteRepositoryConfig_UpstreamCredentials_UsernamePasswordCredentials_
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"`
}
RemoteRepositoryConfig_YumRepository
type RemoteRepositoryConfig_YumRepository struct {
// Address of the remote repository.
//
// Types that are assignable to Upstream:
//
// *RemoteRepositoryConfig_YumRepository_PublicRepository_
// *RemoteRepositoryConfig_YumRepository_CustomRepository_
Upstream isRemoteRepositoryConfig_YumRepository_Upstream `protobuf_oneof:"upstream"`
// contains filtered or unexported fields
}
Configuration for a Yum remote repository.
func (*RemoteRepositoryConfig_YumRepository) Descriptor
func (*RemoteRepositoryConfig_YumRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_YumRepository) GetCustomRepository
func (x *RemoteRepositoryConfig_YumRepository) GetCustomRepository() *RemoteRepositoryConfig_YumRepository_CustomRepository
func (*RemoteRepositoryConfig_YumRepository) GetPublicRepository
func (x *RemoteRepositoryConfig_YumRepository) GetPublicRepository() *RemoteRepositoryConfig_YumRepository_PublicRepository
func (*RemoteRepositoryConfig_YumRepository) GetUpstream
func (m *RemoteRepositoryConfig_YumRepository) GetUpstream() isRemoteRepositoryConfig_YumRepository_Upstream
func (*RemoteRepositoryConfig_YumRepository) ProtoMessage
func (*RemoteRepositoryConfig_YumRepository) ProtoMessage()
func (*RemoteRepositoryConfig_YumRepository) ProtoReflect
func (x *RemoteRepositoryConfig_YumRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_YumRepository) Reset
func (x *RemoteRepositoryConfig_YumRepository) Reset()
func (*RemoteRepositoryConfig_YumRepository) String
func (x *RemoteRepositoryConfig_YumRepository) String() string
RemoteRepositoryConfig_YumRepository_
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"`
}
RemoteRepositoryConfig_YumRepository_CustomRepository
type RemoteRepositoryConfig_YumRepository_CustomRepository struct {
// An http/https uri reference to the upstream remote repository, for ex:
// "https://my.yum.registry/".
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Customer-specified publicly available remote repository.
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) Descriptor
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository_CustomRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) GetUri
func (x *RemoteRepositoryConfig_YumRepository_CustomRepository) GetUri() string
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) ProtoMessage
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) ProtoMessage()
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) ProtoReflect
func (x *RemoteRepositoryConfig_YumRepository_CustomRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) Reset
func (x *RemoteRepositoryConfig_YumRepository_CustomRepository) Reset()
func (*RemoteRepositoryConfig_YumRepository_CustomRepository) String
func (x *RemoteRepositoryConfig_YumRepository_CustomRepository) String() string
RemoteRepositoryConfig_YumRepository_CustomRepository_
type RemoteRepositoryConfig_YumRepository_CustomRepository_ struct {
// Customer-specified remote repository.
CustomRepository *RemoteRepositoryConfig_YumRepository_CustomRepository `protobuf:"bytes,3,opt,name=custom_repository,json=customRepository,proto3,oneof"`
}
RemoteRepositoryConfig_YumRepository_PublicRepository
type RemoteRepositoryConfig_YumRepository_PublicRepository struct {
RepositoryBase RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase "" /* 214 byte string literal not displayed */
RepositoryPath string `protobuf:"bytes,2,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"`
}
Publicly available Yum repositories constructed from a common repository base and a custom repository path.
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) Descriptor
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) Descriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository_PublicRepository.ProtoReflect.Descriptor instead.
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryBase
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryBase() RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryPath
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) GetRepositoryPath() string
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoMessage
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoMessage()
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoReflect
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) ProtoReflect() protoreflect.Message
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) Reset
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) Reset()
func (*RemoteRepositoryConfig_YumRepository_PublicRepository) String
func (x *RemoteRepositoryConfig_YumRepository_PublicRepository) String() string
RemoteRepositoryConfig_YumRepository_PublicRepository_
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"`
}
RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase
type RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase int32
Predefined list of publicly available repository bases for Yum.
RemoteRepositoryConfig_YumRepository_PublicRepository_REPOSITORY_BASE_UNSPECIFIED, RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS, RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_DEBUG, RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_VAULT, RemoteRepositoryConfig_YumRepository_PublicRepository_CENTOS_STREAM, RemoteRepositoryConfig_YumRepository_PublicRepository_ROCKY, RemoteRepositoryConfig_YumRepository_PublicRepository_EPEL
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
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Descriptor() protoreflect.EnumDescriptor
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Enum
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Enum() *RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) EnumDescriptor
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase.Descriptor instead.
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Number
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Number() protoreflect.EnumNumber
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) String
func (x RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) String() string
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Type
func (RemoteRepositoryConfig_YumRepository_PublicRepository_RepositoryBase) Type() protoreflect.EnumType
Repository
type Repository struct {
FormatConfig isRepository_FormatConfig `protobuf_oneof:"format_config"`
ModeConfig isRepository_ModeConfig `protobuf_oneof:"mode_config"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Format Repository_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.devtools.artifactregistry.v1.Repository_Format" json:"format,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
Mode Repository_Mode `protobuf:"varint,10,opt,name=mode,proto3,enum=google.devtools.artifactregistry.v1.Repository_Mode" json:"mode,omitempty"`
CleanupPolicies map[string]*CleanupPolicy "" /* 195 byte string literal not displayed */
SizeBytes int64 `protobuf:"varint,13,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
SatisfiesPzs bool `protobuf:"varint,16,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
CleanupPolicyDryRun bool `protobuf:"varint,18,opt,name=cleanup_policy_dry_run,json=cleanupPolicyDryRun,proto3" json:"cleanup_policy_dry_run,omitempty"`
VulnerabilityScanningConfig *Repository_VulnerabilityScanningConfig "" /* 145 byte string literal not displayed */
DisallowUnspecifiedMode bool "" /* 134 byte string literal not displayed */
SatisfiesPzi bool `protobuf:"varint,22,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
}
A Repository for storing artifacts with a specific format.
func (*Repository) Descriptor
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetCleanupPolicies
func (x *Repository) GetCleanupPolicies() map[string]*CleanupPolicy
func (*Repository) GetCleanupPolicyDryRun
func (x *Repository) GetCleanupPolicyDryRun() bool
func (*Repository) GetCreateTime
func (x *Repository) GetCreateTime() *timestamppb.Timestamp
func (*Repository) GetDescription
func (x *Repository) GetDescription() string
func (*Repository) GetDisallowUnspecifiedMode
func (x *Repository) GetDisallowUnspecifiedMode() bool
func (*Repository) GetDockerConfig
func (x *Repository) GetDockerConfig() *Repository_DockerRepositoryConfig
func (*Repository) GetFormat
func (x *Repository) GetFormat() Repository_Format
func (*Repository) GetFormatConfig
func (m *Repository) GetFormatConfig() isRepository_FormatConfig
func (*Repository) GetKmsKeyName
func (x *Repository) GetKmsKeyName() string
func (*Repository) GetLabels
func (x *Repository) GetLabels() map[string]string
func (*Repository) GetMavenConfig
func (x *Repository) GetMavenConfig() *Repository_MavenRepositoryConfig
func (*Repository) GetMode
func (x *Repository) GetMode() Repository_Mode
func (*Repository) GetModeConfig
func (m *Repository) GetModeConfig() isRepository_ModeConfig
func (*Repository) GetName
func (x *Repository) GetName() string
func (*Repository) GetRemoteRepositoryConfig
func (x *Repository) GetRemoteRepositoryConfig() *RemoteRepositoryConfig
func (*Repository) GetSatisfiesPzi
func (x *Repository) GetSatisfiesPzi() bool
func (*Repository) GetSatisfiesPzs
func (x *Repository) GetSatisfiesPzs() bool
func (*Repository) GetSizeBytes
func (x *Repository) GetSizeBytes() int64
func (*Repository) GetUpdateTime
func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
func (*Repository) GetVirtualRepositoryConfig
func (x *Repository) GetVirtualRepositoryConfig() *VirtualRepositoryConfig
func (*Repository) GetVulnerabilityScanningConfig
func (x *Repository) GetVulnerabilityScanningConfig() *Repository_VulnerabilityScanningConfig
func (*Repository) ProtoMessage
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset
func (x *Repository) Reset()
func (*Repository) String
func (x *Repository) String() string
Repository_DockerConfig
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"`
}
Repository_DockerRepositoryConfig
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
}
DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.
func (*Repository_DockerRepositoryConfig) Descriptor
func (*Repository_DockerRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_DockerRepositoryConfig.ProtoReflect.Descriptor instead.
func (*Repository_DockerRepositoryConfig) GetImmutableTags
func (x *Repository_DockerRepositoryConfig) GetImmutableTags() bool
func (*Repository_DockerRepositoryConfig) ProtoMessage
func (*Repository_DockerRepositoryConfig) ProtoMessage()
func (*Repository_DockerRepositoryConfig) ProtoReflect
func (x *Repository_DockerRepositoryConfig) ProtoReflect() protoreflect.Message
func (*Repository_DockerRepositoryConfig) Reset
func (x *Repository_DockerRepositoryConfig) Reset()
func (*Repository_DockerRepositoryConfig) String
func (x *Repository_DockerRepositoryConfig) String() string
Repository_Format
type Repository_Format int32
A package format.
Repository_FORMAT_UNSPECIFIED, Repository_DOCKER, Repository_MAVEN, Repository_NPM, Repository_APT, Repository_YUM, Repository_PYTHON, Repository_KFP, Repository_GO, Repository_GENERIC
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
// Generic package format.
Repository_GENERIC Repository_Format = 11
)
func (Repository_Format) Descriptor
func (Repository_Format) Descriptor() protoreflect.EnumDescriptor
func (Repository_Format) Enum
func (x Repository_Format) Enum() *Repository_Format
func (Repository_Format) EnumDescriptor
func (Repository_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_Format.Descriptor instead.
func (Repository_Format) Number
func (x Repository_Format) Number() protoreflect.EnumNumber
func (Repository_Format) String
func (x Repository_Format) String() string
func (Repository_Format) Type
func (Repository_Format) Type() protoreflect.EnumType
Repository_MavenConfig
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"`
}
Repository_MavenRepositoryConfig
type Repository_MavenRepositoryConfig struct {
AllowSnapshotOverwrites bool "" /* 133 byte string literal not displayed */
VersionPolicy Repository_MavenRepositoryConfig_VersionPolicy "" /* 189 byte string literal not displayed */
}
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
func (*Repository_MavenRepositoryConfig) Descriptor
func (*Repository_MavenRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig.ProtoReflect.Descriptor instead.
func (*Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites
func (x *Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites() bool
func (*Repository_MavenRepositoryConfig) GetVersionPolicy
func (x *Repository_MavenRepositoryConfig) GetVersionPolicy() Repository_MavenRepositoryConfig_VersionPolicy
func (*Repository_MavenRepositoryConfig) ProtoMessage
func (*Repository_MavenRepositoryConfig) ProtoMessage()
func (*Repository_MavenRepositoryConfig) ProtoReflect
func (x *Repository_MavenRepositoryConfig) ProtoReflect() protoreflect.Message
func (*Repository_MavenRepositoryConfig) Reset
func (x *Repository_MavenRepositoryConfig) Reset()
func (*Repository_MavenRepositoryConfig) String
func (x *Repository_MavenRepositoryConfig) String() string
Repository_MavenRepositoryConfig_VersionPolicy
type Repository_MavenRepositoryConfig_VersionPolicy int32
VersionPolicy is the version policy for the repository.
Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED, Repository_MavenRepositoryConfig_RELEASE, Repository_MavenRepositoryConfig_SNAPSHOT
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
func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor() protoreflect.EnumDescriptor
func (Repository_MavenRepositoryConfig_VersionPolicy) Enum
func (x Repository_MavenRepositoryConfig_VersionPolicy) Enum() *Repository_MavenRepositoryConfig_VersionPolicy
func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor
func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig_VersionPolicy.Descriptor instead.
func (Repository_MavenRepositoryConfig_VersionPolicy) Number
func (x Repository_MavenRepositoryConfig_VersionPolicy) Number() protoreflect.EnumNumber
func (Repository_MavenRepositoryConfig_VersionPolicy) String
func (x Repository_MavenRepositoryConfig_VersionPolicy) String() string
func (Repository_MavenRepositoryConfig_VersionPolicy) Type
Repository_Mode
type Repository_Mode int32
The mode configures the repository to serve artifacts from different sources.
Repository_MODE_UNSPECIFIED, Repository_STANDARD_REPOSITORY, Repository_VIRTUAL_REPOSITORY, Repository_REMOTE_REPOSITORY
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
func (Repository_Mode) Descriptor() protoreflect.EnumDescriptor
func (Repository_Mode) Enum
func (x Repository_Mode) Enum() *Repository_Mode
func (Repository_Mode) EnumDescriptor
func (Repository_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_Mode.Descriptor instead.
func (Repository_Mode) Number
func (x Repository_Mode) Number() protoreflect.EnumNumber
func (Repository_Mode) String
func (x Repository_Mode) String() string
func (Repository_Mode) Type
func (Repository_Mode) Type() protoreflect.EnumType
Repository_RemoteRepositoryConfig
type Repository_RemoteRepositoryConfig struct {
// Configuration specific for a Remote Repository.
RemoteRepositoryConfig *RemoteRepositoryConfig `protobuf:"bytes,15,opt,name=remote_repository_config,json=remoteRepositoryConfig,proto3,oneof"`
}
Repository_VirtualRepositoryConfig
type Repository_VirtualRepositoryConfig struct {
// Configuration specific for a Virtual Repository.
VirtualRepositoryConfig *VirtualRepositoryConfig `protobuf:"bytes,14,opt,name=virtual_repository_config,json=virtualRepositoryConfig,proto3,oneof"`
}
Repository_VulnerabilityScanningConfig
type Repository_VulnerabilityScanningConfig struct {
EnablementConfig Repository_VulnerabilityScanningConfig_EnablementConfig "" /* 207 byte string literal not displayed */
LastEnableTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_enable_time,json=lastEnableTime,proto3" json:"last_enable_time,omitempty"`
EnablementState Repository_VulnerabilityScanningConfig_EnablementState "" /* 203 byte string literal not displayed */
EnablementStateReason string `protobuf:"bytes,4,opt,name=enablement_state_reason,json=enablementStateReason,proto3" json:"enablement_state_reason,omitempty"`
}
Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.
func (*Repository_VulnerabilityScanningConfig) Descriptor
func (*Repository_VulnerabilityScanningConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_VulnerabilityScanningConfig.ProtoReflect.Descriptor instead.
func (*Repository_VulnerabilityScanningConfig) GetEnablementConfig
func (x *Repository_VulnerabilityScanningConfig) GetEnablementConfig() Repository_VulnerabilityScanningConfig_EnablementConfig
func (*Repository_VulnerabilityScanningConfig) GetEnablementState
func (x *Repository_VulnerabilityScanningConfig) GetEnablementState() Repository_VulnerabilityScanningConfig_EnablementState
func (*Repository_VulnerabilityScanningConfig) GetEnablementStateReason
func (x *Repository_VulnerabilityScanningConfig) GetEnablementStateReason() string
func (*Repository_VulnerabilityScanningConfig) GetLastEnableTime
func (x *Repository_VulnerabilityScanningConfig) GetLastEnableTime() *timestamppb.Timestamp
func (*Repository_VulnerabilityScanningConfig) ProtoMessage
func (*Repository_VulnerabilityScanningConfig) ProtoMessage()
func (*Repository_VulnerabilityScanningConfig) ProtoReflect
func (x *Repository_VulnerabilityScanningConfig) ProtoReflect() protoreflect.Message
func (*Repository_VulnerabilityScanningConfig) Reset
func (x *Repository_VulnerabilityScanningConfig) Reset()
func (*Repository_VulnerabilityScanningConfig) String
func (x *Repository_VulnerabilityScanningConfig) String() string
Repository_VulnerabilityScanningConfig_EnablementConfig
type Repository_VulnerabilityScanningConfig_EnablementConfig int32
Config for vulnerability scanning of resources in this repository.
Repository_VulnerabilityScanningConfig_ENABLEMENT_CONFIG_UNSPECIFIED, Repository_VulnerabilityScanningConfig_INHERITED, Repository_VulnerabilityScanningConfig_DISABLED
const (
// Not set. This will be treated as INHERITED.
Repository_VulnerabilityScanningConfig_ENABLEMENT_CONFIG_UNSPECIFIED Repository_VulnerabilityScanningConfig_EnablementConfig = 0
// Scanning is Enabled, but dependent on API enablement.
Repository_VulnerabilityScanningConfig_INHERITED Repository_VulnerabilityScanningConfig_EnablementConfig = 1
// No automatic vulnerability scanning will be performed for this
// repository.
Repository_VulnerabilityScanningConfig_DISABLED Repository_VulnerabilityScanningConfig_EnablementConfig = 2
)
func (Repository_VulnerabilityScanningConfig_EnablementConfig) Descriptor
func (Repository_VulnerabilityScanningConfig_EnablementConfig) Descriptor() protoreflect.EnumDescriptor
func (Repository_VulnerabilityScanningConfig_EnablementConfig) Enum
func (x Repository_VulnerabilityScanningConfig_EnablementConfig) Enum() *Repository_VulnerabilityScanningConfig_EnablementConfig
func (Repository_VulnerabilityScanningConfig_EnablementConfig) EnumDescriptor
func (Repository_VulnerabilityScanningConfig_EnablementConfig) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_VulnerabilityScanningConfig_EnablementConfig.Descriptor instead.
func (Repository_VulnerabilityScanningConfig_EnablementConfig) Number
func (x Repository_VulnerabilityScanningConfig_EnablementConfig) Number() protoreflect.EnumNumber
func (Repository_VulnerabilityScanningConfig_EnablementConfig) String
func (x Repository_VulnerabilityScanningConfig_EnablementConfig) String() string
func (Repository_VulnerabilityScanningConfig_EnablementConfig) Type
Repository_VulnerabilityScanningConfig_EnablementState
type Repository_VulnerabilityScanningConfig_EnablementState int32
Describes the state of vulnerability scanning in this repository, including both repository enablement and API enablement.
Repository_VulnerabilityScanningConfig_ENABLEMENT_STATE_UNSPECIFIED, Repository_VulnerabilityScanningConfig_SCANNING_UNSUPPORTED, Repository_VulnerabilityScanningConfig_SCANNING_DISABLED, Repository_VulnerabilityScanningConfig_SCANNING_ACTIVE
const (
// Enablement state is unclear.
Repository_VulnerabilityScanningConfig_ENABLEMENT_STATE_UNSPECIFIED Repository_VulnerabilityScanningConfig_EnablementState = 0
// Repository does not support vulnerability scanning.
Repository_VulnerabilityScanningConfig_SCANNING_UNSUPPORTED Repository_VulnerabilityScanningConfig_EnablementState = 1
// Vulnerability scanning is disabled for this repository.
Repository_VulnerabilityScanningConfig_SCANNING_DISABLED Repository_VulnerabilityScanningConfig_EnablementState = 2
// Vulnerability scanning is active for this repository.
Repository_VulnerabilityScanningConfig_SCANNING_ACTIVE Repository_VulnerabilityScanningConfig_EnablementState = 3
)
func (Repository_VulnerabilityScanningConfig_EnablementState) Descriptor
func (Repository_VulnerabilityScanningConfig_EnablementState) Descriptor() protoreflect.EnumDescriptor
func (Repository_VulnerabilityScanningConfig_EnablementState) Enum
func (x Repository_VulnerabilityScanningConfig_EnablementState) Enum() *Repository_VulnerabilityScanningConfig_EnablementState
func (Repository_VulnerabilityScanningConfig_EnablementState) EnumDescriptor
func (Repository_VulnerabilityScanningConfig_EnablementState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_VulnerabilityScanningConfig_EnablementState.Descriptor instead.
func (Repository_VulnerabilityScanningConfig_EnablementState) Number
func (x Repository_VulnerabilityScanningConfig_EnablementState) Number() protoreflect.EnumNumber
func (Repository_VulnerabilityScanningConfig_EnablementState) String
func (x Repository_VulnerabilityScanningConfig_EnablementState) String() string
func (Repository_VulnerabilityScanningConfig_EnablementState) Type
Rule
type Rule struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Action Rule_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.devtools.artifactregistry.v1.Rule_Action" json:"action,omitempty"`
Operation Rule_Operation "" /* 128 byte string literal not displayed */
Condition *expr.Expr `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
PackageId string `protobuf:"bytes,5,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
}
A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply. You can set one rule for an entire repository and one rule for each package within.
func (*Rule) Descriptor
Deprecated: Use Rule.ProtoReflect.Descriptor instead.
func (*Rule) GetAction
func (x *Rule) GetAction() Rule_Action
func (*Rule) GetCondition
func (*Rule) GetName
func (*Rule) GetOperation
func (x *Rule) GetOperation() Rule_Operation
func (*Rule) GetPackageId
func (*Rule) ProtoMessage
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) Reset
func (x *Rule) Reset()
func (*Rule) String
Rule_Action
type Rule_Action int32
Defines the action of the rule.
Rule_ACTION_UNSPECIFIED, Rule_ALLOW, Rule_DENY
const (
// Action not specified.
Rule_ACTION_UNSPECIFIED Rule_Action = 0
// Allow the operation.
Rule_ALLOW Rule_Action = 1
// Deny the operation.
Rule_DENY Rule_Action = 2
)
func (Rule_Action) Descriptor
func (Rule_Action) Descriptor() protoreflect.EnumDescriptor
func (Rule_Action) Enum
func (x Rule_Action) Enum() *Rule_Action
func (Rule_Action) EnumDescriptor
func (Rule_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rule_Action.Descriptor instead.
func (Rule_Action) Number
func (x Rule_Action) Number() protoreflect.EnumNumber
func (Rule_Action) String
func (x Rule_Action) String() string
func (Rule_Action) Type
func (Rule_Action) Type() protoreflect.EnumType
Rule_Operation
type Rule_Operation int32
The operation the rule applies to.
Rule_OPERATION_UNSPECIFIED, Rule_DOWNLOAD
const (
// Operation not specified.
Rule_OPERATION_UNSPECIFIED Rule_Operation = 0
// Download operation.
Rule_DOWNLOAD Rule_Operation = 1
)
func (Rule_Operation) Descriptor
func (Rule_Operation) Descriptor() protoreflect.EnumDescriptor
func (Rule_Operation) Enum
func (x Rule_Operation) Enum() *Rule_Operation
func (Rule_Operation) EnumDescriptor
func (Rule_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rule_Operation.Descriptor instead.
func (Rule_Operation) Number
func (x Rule_Operation) Number() protoreflect.EnumNumber
func (Rule_Operation) String
func (x Rule_Operation) String() string
func (Rule_Operation) Type
func (Rule_Operation) Type() protoreflect.EnumType
Tag
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
}
Tags point to a version and represent an alternative name that can be used to access the version.
func (*Tag) Descriptor
Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (*Tag) GetName
func (*Tag) GetVersion
func (*Tag) ProtoMessage
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Reset
func (x *Tag) Reset()
func (*Tag) String
UnimplementedArtifactRegistryServer
type UnimplementedArtifactRegistryServer struct {
}
UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations.
func (*UnimplementedArtifactRegistryServer) BatchDeleteVersions
func (*UnimplementedArtifactRegistryServer) BatchDeleteVersions(context.Context, *BatchDeleteVersionsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateAttachment
func (*UnimplementedArtifactRegistryServer) CreateAttachment(context.Context, *CreateAttachmentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateRepository
func (*UnimplementedArtifactRegistryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateRule
func (*UnimplementedArtifactRegistryServer) CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
func (*UnimplementedArtifactRegistryServer) CreateTag
func (*UnimplementedArtifactRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) DeleteAttachment
func (*UnimplementedArtifactRegistryServer) DeleteAttachment(context.Context, *DeleteAttachmentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteFile
func (*UnimplementedArtifactRegistryServer) DeleteFile(context.Context, *DeleteFileRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeletePackage
func (*UnimplementedArtifactRegistryServer) DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteRepository
func (*UnimplementedArtifactRegistryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteRule
func (*UnimplementedArtifactRegistryServer) DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error)
func (*UnimplementedArtifactRegistryServer) DeleteTag
func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
func (*UnimplementedArtifactRegistryServer) DeleteVersion
func (*UnimplementedArtifactRegistryServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) GetAttachment
func (*UnimplementedArtifactRegistryServer) GetAttachment(context.Context, *GetAttachmentRequest) (*Attachment, error)
func (*UnimplementedArtifactRegistryServer) GetDockerImage
func (*UnimplementedArtifactRegistryServer) GetDockerImage(context.Context, *GetDockerImageRequest) (*DockerImage, error)
func (*UnimplementedArtifactRegistryServer) GetFile
func (*UnimplementedArtifactRegistryServer) GetFile(context.Context, *GetFileRequest) (*File, error)
func (*UnimplementedArtifactRegistryServer) GetIamPolicy
func (*UnimplementedArtifactRegistryServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) GetMavenArtifact
func (*UnimplementedArtifactRegistryServer) GetMavenArtifact(context.Context, *GetMavenArtifactRequest) (*MavenArtifact, error)
func (*UnimplementedArtifactRegistryServer) GetNpmPackage
func (*UnimplementedArtifactRegistryServer) GetNpmPackage(context.Context, *GetNpmPackageRequest) (*NpmPackage, error)
func (*UnimplementedArtifactRegistryServer) GetPackage
func (*UnimplementedArtifactRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
func (*UnimplementedArtifactRegistryServer) GetProjectSettings
func (*UnimplementedArtifactRegistryServer) GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) GetPythonPackage
func (*UnimplementedArtifactRegistryServer) GetPythonPackage(context.Context, *GetPythonPackageRequest) (*PythonPackage, error)
func (*UnimplementedArtifactRegistryServer) GetRepository
func (*UnimplementedArtifactRegistryServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) GetRule
func (*UnimplementedArtifactRegistryServer) GetRule(context.Context, *GetRuleRequest) (*Rule, error)
func (*UnimplementedArtifactRegistryServer) GetTag
func (*UnimplementedArtifactRegistryServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) GetVPCSCConfig
func (*UnimplementedArtifactRegistryServer) GetVPCSCConfig(context.Context, *GetVPCSCConfigRequest) (*VPCSCConfig, error)
func (*UnimplementedArtifactRegistryServer) GetVersion
func (*UnimplementedArtifactRegistryServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts
func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts
func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ListAttachments
func (*UnimplementedArtifactRegistryServer) ListAttachments(context.Context, *ListAttachmentsRequest) (*ListAttachmentsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListDockerImages
func (*UnimplementedArtifactRegistryServer) ListDockerImages(context.Context, *ListDockerImagesRequest) (*ListDockerImagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListFiles
func (*UnimplementedArtifactRegistryServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListMavenArtifacts
func (*UnimplementedArtifactRegistryServer) ListMavenArtifacts(context.Context, *ListMavenArtifactsRequest) (*ListMavenArtifactsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListNpmPackages
func (*UnimplementedArtifactRegistryServer) ListNpmPackages(context.Context, *ListNpmPackagesRequest) (*ListNpmPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListPackages
func (*UnimplementedArtifactRegistryServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListPythonPackages
func (*UnimplementedArtifactRegistryServer) ListPythonPackages(context.Context, *ListPythonPackagesRequest) (*ListPythonPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListRepositories
func (*UnimplementedArtifactRegistryServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListRules
func (*UnimplementedArtifactRegistryServer) ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListTags
func (*UnimplementedArtifactRegistryServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListVersions
func (*UnimplementedArtifactRegistryServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedArtifactRegistryServer) SetIamPolicy
func (*UnimplementedArtifactRegistryServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) TestIamPermissions
func (*UnimplementedArtifactRegistryServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedArtifactRegistryServer) UpdateFile
func (*UnimplementedArtifactRegistryServer) UpdateFile(context.Context, *UpdateFileRequest) (*File, error)
func (*UnimplementedArtifactRegistryServer) UpdatePackage
func (*UnimplementedArtifactRegistryServer) UpdatePackage(context.Context, *UpdatePackageRequest) (*Package, error)
func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings
func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) UpdateRepository
func (*UnimplementedArtifactRegistryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) UpdateRule
func (*UnimplementedArtifactRegistryServer) UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
func (*UnimplementedArtifactRegistryServer) UpdateTag
func (*UnimplementedArtifactRegistryServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) UpdateVPCSCConfig
func (*UnimplementedArtifactRegistryServer) UpdateVPCSCConfig(context.Context, *UpdateVPCSCConfigRequest) (*VPCSCConfig, error)
func (*UnimplementedArtifactRegistryServer) UpdateVersion
func (*UnimplementedArtifactRegistryServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
UpdateFileRequest
type UpdateFileRequest struct {
// Required. The File that replaces the resource on the server.
File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// Required. 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
}
The request to update a file.
func (*UpdateFileRequest) Descriptor
func (*UpdateFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileRequest.ProtoReflect.Descriptor instead.
func (*UpdateFileRequest) GetFile
func (x *UpdateFileRequest) GetFile() *File
func (*UpdateFileRequest) GetUpdateMask
func (x *UpdateFileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFileRequest) ProtoMessage
func (*UpdateFileRequest) ProtoMessage()
func (*UpdateFileRequest) ProtoReflect
func (x *UpdateFileRequest) ProtoReflect() protoreflect.Message
func (*UpdateFileRequest) Reset
func (x *UpdateFileRequest) Reset()
func (*UpdateFileRequest) String
func (x *UpdateFileRequest) String() string
UpdatePackageRequest
type UpdatePackageRequest struct {
// The package that replaces the resource on the server.
Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,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
}
The request to update a package.
func (*UpdatePackageRequest) Descriptor
func (*UpdatePackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePackageRequest.ProtoReflect.Descriptor instead.
func (*UpdatePackageRequest) GetPackage
func (x *UpdatePackageRequest) GetPackage() *Package
func (*UpdatePackageRequest) GetUpdateMask
func (x *UpdatePackageRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePackageRequest) ProtoMessage
func (*UpdatePackageRequest) ProtoMessage()
func (*UpdatePackageRequest) ProtoReflect
func (x *UpdatePackageRequest) ProtoReflect() protoreflect.Message
func (*UpdatePackageRequest) Reset
func (x *UpdatePackageRequest) Reset()
func (*UpdatePackageRequest) String
func (x *UpdatePackageRequest) String() string
UpdateProjectSettingsRequest
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
}
Sets the settings of the project.
func (*UpdateProjectSettingsRequest) Descriptor
func (*UpdateProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectSettingsRequest) GetProjectSettings
func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings
func (*UpdateProjectSettingsRequest) GetUpdateMask
func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProjectSettingsRequest) ProtoMessage
func (*UpdateProjectSettingsRequest) ProtoMessage()
func (*UpdateProjectSettingsRequest) ProtoReflect
func (x *UpdateProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectSettingsRequest) Reset
func (x *UpdateProjectSettingsRequest) Reset()
func (*UpdateProjectSettingsRequest) String
func (x *UpdateProjectSettingsRequest) String() string
UpdateRepositoryRequest
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
}
The request to update a repository.
func (*UpdateRepositoryRequest) Descriptor
func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryRequest) GetRepository
func (x *UpdateRepositoryRequest) GetRepository() *Repository
func (*UpdateRepositoryRequest) GetUpdateMask
func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRepositoryRequest) ProtoMessage
func (*UpdateRepositoryRequest) ProtoMessage()
func (*UpdateRepositoryRequest) ProtoReflect
func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryRequest) Reset
func (x *UpdateRepositoryRequest) Reset()
func (*UpdateRepositoryRequest) String
func (x *UpdateRepositoryRequest) String() string
UpdateRuleRequest
type UpdateRuleRequest struct {
// The rule that replaces the resource on the server.
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,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
}
The request to update a rule.
func (*UpdateRuleRequest) Descriptor
func (*UpdateRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleRequest) GetRule
func (x *UpdateRuleRequest) GetRule() *Rule
func (*UpdateRuleRequest) GetUpdateMask
func (x *UpdateRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRuleRequest) ProtoMessage
func (*UpdateRuleRequest) ProtoMessage()
func (*UpdateRuleRequest) ProtoReflect
func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuleRequest) Reset
func (x *UpdateRuleRequest) Reset()
func (*UpdateRuleRequest) String
func (x *UpdateRuleRequest) String() string
UpdateTagRequest
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
}
The request to create or update a tag.
func (*UpdateTagRequest) Descriptor
func (*UpdateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagRequest) GetTag
func (x *UpdateTagRequest) GetTag() *Tag
func (*UpdateTagRequest) GetUpdateMask
func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagRequest) ProtoMessage
func (*UpdateTagRequest) ProtoMessage()
func (*UpdateTagRequest) ProtoReflect
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagRequest) Reset
func (x *UpdateTagRequest) Reset()
func (*UpdateTagRequest) String
func (x *UpdateTagRequest) String() string
UpdateVPCSCConfigRequest
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
}
Sets the VPCSC config of the project.
func (*UpdateVPCSCConfigRequest) Descriptor
func (*UpdateVPCSCConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVPCSCConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateVPCSCConfigRequest) GetUpdateMask
func (x *UpdateVPCSCConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVPCSCConfigRequest) GetVpcscConfig
func (x *UpdateVPCSCConfigRequest) GetVpcscConfig() *VPCSCConfig
func (*UpdateVPCSCConfigRequest) ProtoMessage
func (*UpdateVPCSCConfigRequest) ProtoMessage()
func (*UpdateVPCSCConfigRequest) ProtoReflect
func (x *UpdateVPCSCConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateVPCSCConfigRequest) Reset
func (x *UpdateVPCSCConfigRequest) Reset()
func (*UpdateVPCSCConfigRequest) String
func (x *UpdateVPCSCConfigRequest) String() string
UpdateVersionRequest
type UpdateVersionRequest struct {
// Required. The Version that replaces the resource on the server.
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,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
}
The request to update a version.
func (*UpdateVersionRequest) Descriptor
func (*UpdateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) GetUpdateMask
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVersionRequest) GetVersion
func (x *UpdateVersionRequest) GetVersion() *Version
func (*UpdateVersionRequest) ProtoMessage
func (*UpdateVersionRequest) ProtoMessage()
func (*UpdateVersionRequest) ProtoReflect
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message
func (*UpdateVersionRequest) Reset
func (x *UpdateVersionRequest) Reset()
func (*UpdateVersionRequest) String
func (x *UpdateVersionRequest) String() string
UpstreamPolicy
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
}
Artifact policy configuration for the repository contents.
func (*UpstreamPolicy) Descriptor
func (*UpstreamPolicy) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamPolicy.ProtoReflect.Descriptor instead.
func (*UpstreamPolicy) GetId
func (x *UpstreamPolicy) GetId() string
func (*UpstreamPolicy) GetPriority
func (x *UpstreamPolicy) GetPriority() int32
func (*UpstreamPolicy) GetRepository
func (x *UpstreamPolicy) GetRepository() string
func (*UpstreamPolicy) ProtoMessage
func (*UpstreamPolicy) ProtoMessage()
func (*UpstreamPolicy) ProtoReflect
func (x *UpstreamPolicy) ProtoReflect() protoreflect.Message
func (*UpstreamPolicy) Reset
func (x *UpstreamPolicy) Reset()
func (*UpstreamPolicy) String
func (x *UpstreamPolicy) String() string
VPCSCConfig
type VPCSCConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
VpcscPolicy VPCSCConfig_VPCSCPolicy "" /* 160 byte string literal not displayed */
}
The Artifact Registry VPC SC config that apply to a Project.
func (*VPCSCConfig) Descriptor
func (*VPCSCConfig) Descriptor() ([]byte, []int)
Deprecated: Use VPCSCConfig.ProtoReflect.Descriptor instead.
func (*VPCSCConfig) GetName
func (x *VPCSCConfig) GetName() string
func (*VPCSCConfig) GetVpcscPolicy
func (x *VPCSCConfig) GetVpcscPolicy() VPCSCConfig_VPCSCPolicy
func (*VPCSCConfig) ProtoMessage
func (*VPCSCConfig) ProtoMessage()
func (*VPCSCConfig) ProtoReflect
func (x *VPCSCConfig) ProtoReflect() protoreflect.Message
func (*VPCSCConfig) Reset
func (x *VPCSCConfig) Reset()
func (*VPCSCConfig) String
func (x *VPCSCConfig) String() string
VPCSCConfig_VPCSCPolicy
type VPCSCConfig_VPCSCPolicy int32
VPCSCPolicy is the VPC SC policy for project and location.
VPCSCConfig_VPCSC_POLICY_UNSPECIFIED, VPCSCConfig_DENY, VPCSCConfig_ALLOW
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
func (VPCSCConfig_VPCSCPolicy) Descriptor() protoreflect.EnumDescriptor
func (VPCSCConfig_VPCSCPolicy) Enum
func (x VPCSCConfig_VPCSCPolicy) Enum() *VPCSCConfig_VPCSCPolicy
func (VPCSCConfig_VPCSCPolicy) EnumDescriptor
func (VPCSCConfig_VPCSCPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use VPCSCConfig_VPCSCPolicy.Descriptor instead.
func (VPCSCConfig_VPCSCPolicy) Number
func (x VPCSCConfig_VPCSCPolicy) Number() protoreflect.EnumNumber
func (VPCSCConfig_VPCSCPolicy) String
func (x VPCSCConfig_VPCSCPolicy) String() string
func (VPCSCConfig_VPCSCPolicy) Type
func (VPCSCConfig_VPCSCPolicy) Type() protoreflect.EnumType
Version
type Version struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"`
Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
Annotations map[string]string "" /* 163 byte string literal not displayed */
}
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.
func (*Version) Descriptor
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetAnnotations
func (*Version) GetCreateTime
func (x *Version) GetCreateTime() *timestamppb.Timestamp
func (*Version) GetDescription
func (*Version) GetMetadata
func (*Version) GetName
func (*Version) GetRelatedTags
func (*Version) GetUpdateTime
func (x *Version) GetUpdateTime() *timestamppb.Timestamp
func (*Version) ProtoMessage
func (*Version) ProtoMessage()
func (*Version) ProtoReflect
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) Reset
func (x *Version) Reset()
func (*Version) String
VersionView
type VersionView int32
The view, which determines what version information is returned in a response.
VersionView_VERSION_VIEW_UNSPECIFIED, VersionView_BASIC, VersionView_FULL
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
func (VersionView) Descriptor() protoreflect.EnumDescriptor
func (VersionView) Enum
func (x VersionView) Enum() *VersionView
func (VersionView) EnumDescriptor
func (VersionView) EnumDescriptor() ([]byte, []int)
Deprecated: Use VersionView.Descriptor instead.
func (VersionView) Number
func (x VersionView) Number() protoreflect.EnumNumber
func (VersionView) String
func (x VersionView) String() string
func (VersionView) Type
func (VersionView) Type() protoreflect.EnumType
VirtualRepositoryConfig
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
}
Virtual repository configuration.
func (*VirtualRepositoryConfig) Descriptor
func (*VirtualRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use VirtualRepositoryConfig.ProtoReflect.Descriptor instead.
func (*VirtualRepositoryConfig) GetUpstreamPolicies
func (x *VirtualRepositoryConfig) GetUpstreamPolicies() []*UpstreamPolicy
func (*VirtualRepositoryConfig) ProtoMessage
func (*VirtualRepositoryConfig) ProtoMessage()
func (*VirtualRepositoryConfig) ProtoReflect
func (x *VirtualRepositoryConfig) ProtoReflect() protoreflect.Message
func (*VirtualRepositoryConfig) Reset
func (x *VirtualRepositoryConfig) Reset()
func (*VirtualRepositoryConfig) String
func (x *VirtualRepositoryConfig) String() string
YumArtifact
type YumArtifact struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
PackageType YumArtifact_PackageType "" /* 160 byte string literal not displayed */
Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
}
A detailed representation of a Yum artifact.
func (*YumArtifact) Descriptor
func (*YumArtifact) Descriptor() ([]byte, []int)
Deprecated: Use YumArtifact.ProtoReflect.Descriptor instead.
func (*YumArtifact) GetArchitecture
func (x *YumArtifact) GetArchitecture() string
func (*YumArtifact) GetName
func (x *YumArtifact) GetName() string
func (*YumArtifact) GetPackageName
func (x *YumArtifact) GetPackageName() string
func (*YumArtifact) GetPackageType
func (x *YumArtifact) GetPackageType() YumArtifact_PackageType
func (*YumArtifact) ProtoMessage
func (*YumArtifact) ProtoMessage()
func (*YumArtifact) ProtoReflect
func (x *YumArtifact) ProtoReflect() protoreflect.Message
func (*YumArtifact) Reset
func (x *YumArtifact) Reset()
func (*YumArtifact) String
func (x *YumArtifact) String() string
YumArtifact_PackageType
type YumArtifact_PackageType int32
Package type is either binary or source.
YumArtifact_PACKAGE_TYPE_UNSPECIFIED, YumArtifact_BINARY, YumArtifact_SOURCE
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
func (YumArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (YumArtifact_PackageType) Enum
func (x YumArtifact_PackageType) Enum() *YumArtifact_PackageType
func (YumArtifact_PackageType) EnumDescriptor
func (YumArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use YumArtifact_PackageType.Descriptor instead.
func (YumArtifact_PackageType) Number
func (x YumArtifact_PackageType) Number() protoreflect.EnumNumber
func (YumArtifact_PackageType) String
func (x YumArtifact_PackageType) String() string
func (YumArtifact_PackageType) Type
func (YumArtifact_PackageType) Type() protoreflect.EnumType