Class ProjectsResource.LocationsResource.RepositoriesResource
The "repositories" collection of methods.
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource
Constructors
RepositoriesResource(IClientService)
Constructs a new resource.
Declaration
public RepositoriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AptArtifacts
Gets the AptArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.AptArtifactsResource AptArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.AptArtifactsResource |
Attachments
Gets the Attachments resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.AttachmentsResource Attachments { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.AttachmentsResource |
DockerImages
Gets the DockerImages resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.DockerImagesResource DockerImages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.DockerImagesResource |
Files
Gets the Files resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FilesResource Files { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.FilesResource |
GenericArtifacts
Gets the GenericArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GenericArtifactsResource GenericArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.GenericArtifactsResource |
GoModules
Gets the GoModules resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GoModulesResource GoModules { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.GoModulesResource |
GoogetArtifacts
Gets the GoogetArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GoogetArtifactsResource GoogetArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.GoogetArtifactsResource |
KfpArtifacts
Gets the KfpArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.KfpArtifactsResource KfpArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.KfpArtifactsResource |
MavenArtifacts
Gets the MavenArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.MavenArtifactsResource MavenArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.MavenArtifactsResource |
NpmPackages
Gets the NpmPackages resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.NpmPackagesResource NpmPackages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.NpmPackagesResource |
Packages
Gets the Packages resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource Packages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource |
PythonPackages
Gets the PythonPackages resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PythonPackagesResource PythonPackages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PythonPackagesResource |
Rules
Gets the Rules resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.RulesResource Rules { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.RulesResource |
YumArtifacts
Gets the YumArtifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.YumArtifactsResource YumArtifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.YumArtifactsResource |
Methods
Create(Repository, string)
Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.CreateRequest Create(Repository body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Repository | body | The body of the request. |
string | parent | Required. The name of the parent resource where the repository will be created. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.CreateRequest |
Delete(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the repository to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.DeleteRequest |
Get(string)
Gets a repository.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the repository to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.GetRequest |
GetIamPolicy(string)
Gets the IAM policy for a given resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.GetIamPolicyRequest |
List(string)
Lists repositories.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the parent resource whose repositories will be listed. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.ListRequest |
Patch(Repository, string)
Updates a repository.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest Patch(Repository body, string name)
Parameters
Type | Name | Description |
---|---|---|
Repository | body | The body of the request. |
string | name | The name of the repository, for example: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Updates the IAM policy for a given resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Tests if the caller has a list of permissions on a resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.TestIamPermissionsRequest |