Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource
The "tags" collection of methods.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2
Assembly: Google.Apis.ArtifactRegistry.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource
Constructors
TagsResource(IClientService)
Constructs a new resource.
Declaration
public TagsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Tag, string)
Creates a tag.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.CreateRequest Create(Tag body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Tag | body | The body of the request. |
string | parent | The name of the parent resource where the tag will be created. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.CreateRequest |
Delete(string)
Deletes a tag.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the tag to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.DeleteRequest |
Get(string)
Gets a tag.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the tag to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.GetRequest |
List(string)
Lists tags.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The name of the parent package whose tags will be listed. For example:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.ListRequest |
Patch(Tag, string)
Updates a tag.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.PatchRequest Patch(Tag body, string name)
Parameters
Type | Name | Description |
---|---|---|
Tag | body | The body of the request. |
string | name | 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. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.TagsResource.PatchRequest |