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.
Implements
IMessageCreateRepositoryRequest, IEquatableCreateRepositoryRequest, IDeepCloneableCreateRepositoryRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
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 -._~%!$&'()*+,;=@.
Property Value | |
---|---|
Type | Description |
string |