Cloud Build v2 API - Class DeleteRepositoryRequest (1.2.0)

public sealed class DeleteRepositoryRequest : IMessage<DeleteRepositoryRequest>, IEquatable<DeleteRepositoryRequest>, IDeepCloneable<DeleteRepositoryRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v2 API class DeleteRepositoryRequest.

Message for deleting a Repository.

Inheritance

object > DeleteRepositoryRequest

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

DeleteRepositoryRequest()

public DeleteRepositoryRequest()

DeleteRepositoryRequest(DeleteRepositoryRequest)

public DeleteRepositoryRequest(DeleteRepositoryRequest other)
Parameter
NameDescription
otherDeleteRepositoryRequest

Properties

Etag

public string Etag { get; set; }

The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Required. The name of the Repository to delete. Format: projects/*/locations/*/connections/*/repositories/*.

Property Value
TypeDescription
string

RepositoryName

public RepositoryName RepositoryName { get; set; }

RepositoryName-typed view over the Name resource name property.

Property Value
TypeDescription
RepositoryName

ValidateOnly

public bool ValidateOnly { get; set; }

If set, validate the request, but do not actually post it.

Property Value
TypeDescription
bool