Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::CreateAttachmentRequest (v1.2.0)

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

#attachment=

def attachment=(value) -> ::Google::Cloud::ArtifactRegistry::V1::Attachment
Parameter
Returns

#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.