Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource
The "packages" collection of methods.
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource
Constructors
PackagesResource(IClientService)
Constructs a new resource.
Declaration
public PackagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Tags
Gets the Tags resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource Tags { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource |
Versions
Gets the Versions resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource Versions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource |
Methods
Delete(string)
Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the package to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.DeleteRequest |
Get(string)
Gets a package.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the package to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.GetRequest |
List(string)
Lists packages.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the parent resource whose packages will be listed. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.ListRequest |
Patch(Package, string)
Updates a package.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.PatchRequest Patch(Package body, string name)
Parameters
Type | Name | Description |
---|---|---|
Package | body | The body of the request. |
string | name | The name of the package, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.PatchRequest |