Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::CreateAttachmentRequest.
The request to create a new attachment.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#attachment
def attachment() -> ::Google::Cloud::ArtifactRegistry::V1::Attachment
    Returns
    
  - (::Google::Cloud::ArtifactRegistry::V1::Attachment) — Required. The attachment to be created.
 
#attachment=
def attachment=(value) -> ::Google::Cloud::ArtifactRegistry::V1::Attachment
    Parameter
    
  - value (::Google::Cloud::ArtifactRegistry::V1::Attachment) — Required. The attachment to be created.
 
    Returns
    
  - (::Google::Cloud::ArtifactRegistry::V1::Attachment) — Required. The attachment to be created.
 
#attachment_id
def attachment_id() -> ::String
    Returns
    
  - (::String) — Required. The attachment id to use for this attachment.
 
#attachment_id=
def attachment_id=(value) -> ::String
    Parameter
    
  - value (::String) — Required. The attachment id to use for this attachment.
 
    Returns
    
  - (::String) — Required. The attachment id to use for this attachment.
 
#parent
def parent() -> ::String
    Returns
    
  - (::String) — Required. The name of the parent resource where the attachment will be created.
 
#parent=
def parent=(value) -> ::String
    Parameter
    
  - value (::String) — Required. The name of the parent resource where the attachment will be created.
 
    Returns
    
- (::String) — Required. The name of the parent resource where the attachment will be created.