Class ProjectsResource.LocationsResource.ModelsResource.GetRequest
Gets a Model.
Inheritance
ProjectsResource.LocationsResource.ModelsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ModelsResource.GetRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1Model>, IClientServiceRequest<GoogleCloudAiplatformV1Model>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
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.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()