public sealed class GetModelRequest : IMessage<GetModelRequest>, IEquatable<GetModelRequest>, IDeepCloneable<GetModelRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class GetModelRequest.
Request message for
[ModelService.GetModel][google.cloud.aiplatform.v1beta1.ModelService.GetModel].
Required. The name of the Model resource.
Format: projects/{project}/locations/{location}/models/{model}
In order to retrieve a specific version of the model, also provide
the version ID or version alias.
Example: projects/{project}/locations/{location}/models/{model}@2
or
projects/{project}/locations/{location}/models/{model}@golden
If no version ID or alias is specified, the "default" version will be
returned. The "default" version alias is created for the first version of
the model, and can be moved to other versions later on. There will be
exactly one default version.
[[["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-14 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eGetModelRequest\u003c/code\u003e class, which is part of the Vertex AI v1beta1 API within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetModelRequest\u003c/code\u003e is a request message used for retrieving a specific model via \u003ccode\u003eModelService.GetModel\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, which facilitate message handling and object manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetModelRequest\u003c/code\u003e class includes two constructors and two properties, \u003ccode\u003eModelName\u003c/code\u003e (a \u003ccode\u003eModelName\u003c/code\u003e-typed view) and \u003ccode\u003eName\u003c/code\u003e (a string representing the Model's resource name and version).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is a required field specifying the model's resource name, and it allows retrieving a specific model version using its ID or alias, with the default version returned if no version is specified.\u003c/p\u003e\n"]]],[],null,[]]