public sealed class ImportYumArtifactsRequest : IMessage<ImportYumArtifactsRequest>, IEquatable<ImportYumArtifactsRequest>, IDeepCloneable<ImportYumArtifactsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class ImportYumArtifactsRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eImportYumArtifactsRequest\u003c/code\u003e class in the Artifact Registry v1beta2 API is used to request the import of new Yum artifacts.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for enhanced functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: a default constructor and one that takes another \u003ccode\u003eImportYumArtifactsRequest\u003c/code\u003e object for creating copies.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eGcsSource\u003c/code\u003e to specify the Google Cloud Storage location of the content and \u003ccode\u003eParent\u003c/code\u003e for the resource name where artifacts are imported.\u003c/p\u003e\n"],["\u003cp\u003eThere are three documented versions of this API, with the latest version being \u003ccode\u003e2.0.0-beta05\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class ImportYumArtifactsRequest (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest) \n\n public sealed class ImportYumArtifactsRequest : IMessage\u003cImportYumArtifactsRequest\u003e, IEquatable\u003cImportYumArtifactsRequest\u003e, IDeepCloneable\u003cImportYumArtifactsRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class ImportYumArtifactsRequest.\n\nThe request to import new yum artifacts. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ImportYumArtifactsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ImportYumArtifactsRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ImportYumArtifactsRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ImportYumArtifactsRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ImportYumArtifactsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.ArtifactRegistry.V1Beta2](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1Beta2.dll\n\nConstructors\n------------\n\n### ImportYumArtifactsRequest()\n\n public ImportYumArtifactsRequest()\n\n### ImportYumArtifactsRequest(ImportYumArtifactsRequest)\n\n public ImportYumArtifactsRequest(ImportYumArtifactsRequest other)\n\nProperties\n----------\n\n### GcsSource\n\n public ImportYumArtifactsGcsSource GcsSource { get; set; }\n\nGoogle Cloud Storage location where input content is located.\n\n### Parent\n\n public string Parent { get; set; }\n\nThe name of the parent resource where the artifacts will be imported.\n\n### SourceCase\n\n public ImportYumArtifactsRequest.SourceOneofCase SourceCase { get; }"]]