[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::CreateArtifactRequest (v0.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.0 (latest)](/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.10.1/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.9.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.8.1/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.7.2/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.6.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.5.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.4.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.3.1](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.3.1/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.2.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-apigee_registry-v1/0.1.0/Google-Cloud-ApigeeRegistry-V1-CreateArtifactRequest) \nReference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::CreateArtifactRequest.\n\nRequest message for CreateArtifact. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #artifact\n\n def artifact() -\u003e ::Google::Cloud::ApigeeRegistry::V1::Artifact\n\n**Returns**\n\n- ([::Google::Cloud::ApigeeRegistry::V1::Artifact](./Google-Cloud-ApigeeRegistry-V1-Artifact)) --- Required. The artifact to create.\n\n### #artifact=\n\n def artifact=(value) -\u003e ::Google::Cloud::ApigeeRegistry::V1::Artifact\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ApigeeRegistry::V1::Artifact](./Google-Cloud-ApigeeRegistry-V1-Artifact)) --- Required. The artifact to create. \n**Returns**\n\n- ([::Google::Cloud::ApigeeRegistry::V1::Artifact](./Google-Cloud-ApigeeRegistry-V1-Artifact)) --- Required. The artifact to create.\n\n### #artifact_id\n\n def artifact_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.\n\n This value should be 4-63 characters, and valid characters\n are /\\[a-z\\]\\[0-9\\]-/.\n\n Following AIP-162, IDs must not have the form of a UUID.\n\n### #artifact_id=\n\n def artifact_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.\n\n\n This value should be 4-63 characters, and valid characters\n are /\\[a-z\\]\\[0-9\\]-/.\n\nFollowing AIP-162, IDs must not have the form of a UUID. \n**Returns**\n\n- (::String) --- Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.\n\n This value should be 4-63 characters, and valid characters\n are /\\[a-z\\]\\[0-9\\]-/.\n\n Following AIP-162, IDs must not have the form of a UUID.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent, which owns this collection of artifacts. Format: `{parent}`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent, which owns this collection of artifacts. Format: `{parent}` \n**Returns**\n\n- (::String) --- Required. The parent, which owns this collection of artifacts. Format: `{parent}`"]]