Artifact Registry v1 API - Class CreateRepositoryRequest (2.5.0)

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

Reference documentation and code samples for the Artifact Registry v1 API class CreateRepositoryRequest.

The request to create a new repository.

Inheritance

object > CreateRepositoryRequest

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

CreateRepositoryRequest()

public CreateRepositoryRequest()

CreateRepositoryRequest(CreateRepositoryRequest)

public CreateRepositoryRequest(CreateRepositoryRequest other)
Parameter
NameDescription
otherCreateRepositoryRequest

Properties

Parent

public string Parent { get; set; }

Required. The name of the parent resource where the repository will be created.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Repository

public Repository Repository { get; set; }

Required. The repository to be created.

Property Value
TypeDescription
Repository

RepositoryId

public string RepositoryId { get; set; }

Required. The repository id to use for this repository.

Property Value
TypeDescription
string