Artifact Registry v1 API - Class CreateRepositoryRequest (2.7.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
Name Description
other CreateRepositoryRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Repository

public Repository Repository { get; set; }

Required. The repository to be created.

Property Value
Type Description
Repository

RepositoryId

public string RepositoryId { get; set; }

Required. The repository id to use for this repository.

Property Value
Type Description
string