public sealed class CreateAttachmentRequest : IMessage<CreateAttachmentRequest>, IEquatable<CreateAttachmentRequest>, IDeepCloneable<CreateAttachmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class CreateAttachmentRequest.
The request to create a new attachment.
Implements
IMessageCreateAttachmentRequest, IEquatableCreateAttachmentRequest, IDeepCloneableCreateAttachmentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
CreateAttachmentRequest()
public CreateAttachmentRequest()
CreateAttachmentRequest(CreateAttachmentRequest)
public CreateAttachmentRequest(CreateAttachmentRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateAttachmentRequest |
Properties
Attachment
public Attachment Attachment { get; set; }
Required. The attachment to be created.
Property Value | |
---|---|
Type | Description |
Attachment |
AttachmentId
public string AttachmentId { get; set; }
Required. The attachment id to use for this attachment.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The name of the parent resource where the attachment will be created.
Property Value | |
---|---|
Type | Description |
string |
ParentAsRepositoryName
public RepositoryName ParentAsRepositoryName { get; set; }
RepositoryName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
RepositoryName |