Class ProjectsResource.LocationsResource.RepositoriesResource
The "repositories" collection of methods.
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2
Assembly: Google.Apis.ArtifactRegistry.v1beta2.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 |
Files
Gets the Files resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FilesResource Files { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.FilesResource |
Packages
Gets the Packages resource.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource Packages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource |
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 |