Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class CreateAttachmentRequest.
The request to create a new attachment.
Generated from protobuf message google.devtools.artifactregistry.v1.CreateAttachmentRequest
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the parent resource where the attachment will be created.
↳ attachment_id
string
Required. The attachment id to use for this attachment.
↳ attachment
getParent
Required. The name of the parent resource where the attachment will be created.
string
setParent
Required. The name of the parent resource where the attachment will be created.
var
string
$this
getAttachmentId
Required. The attachment id to use for this attachment.
string
setAttachmentId
Required. The attachment id to use for this attachment.
var
string
$this
getAttachment
Required. The attachment to be created.
hasAttachment
clearAttachment
setAttachment
Required. The attachment to be created.
$this
static::build
parent
string
Required. The name of the parent resource where the attachment will be created. Please see ArtifactRegistryClient::repositoryName() for help formatting this field.
attachment
attachmentId
string
Required. The attachment id to use for this attachment.