Cloud Build v2 API - Class CreateRepositoryRequest (1.3.0)

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

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

Message for creating a Repository.

Inheritance

object > CreateRepositoryRequest

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

CreateRepositoryRequest()

public CreateRepositoryRequest()

CreateRepositoryRequest(CreateRepositoryRequest)

public CreateRepositoryRequest(CreateRepositoryRequest other)
Parameter
Name Description
other CreateRepositoryRequest

Properties

Parent

public string Parent { get; set; }

Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.

Property Value
Type Description
string

ParentAsConnectionName

public ConnectionName ParentAsConnectionName { get; set; }

ConnectionName-typed view over the Parent resource name property.

Property Value
Type Description
ConnectionName

Repository

public Repository Repository { get; set; }

Required. The repository to create.

Property Value
Type Description
Repository

RepositoryId

public string RepositoryId { get; set; }

Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&amp;'()*+,;=@.

Property Value
Type Description
string