Class PublishersResource.ModelsResource.GetRequest
Gets a Model Garden publisher model.
Inheritance
PublishersResource.ModelsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class PublishersResource.ModelsResource.GetRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1PublisherModel>, IClientServiceRequest<GoogleCloudAiplatformV1beta1PublisherModel>, 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
HuggingFaceToken
Optional. Token used to access Hugging Face gated models.
Declaration
[RequestParameter("huggingFaceToken", RequestParameterType.Query)]
public virtual string HuggingFaceToken { get; set; }
Property Value
Type | Description |
---|---|
string |
IsHuggingFaceModel
Optional. Boolean indicates whether the requested model is a Hugging Face model.
Declaration
[RequestParameter("isHuggingFaceModel", RequestParameterType.Query)]
public virtual bool? IsHuggingFaceModel { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LanguageCode
Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the PublisherModel resource. Format:
publishers/{publisher}/models/{publisher_model}
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
View
Optional. PublisherModel view specifying which fields to read.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual PublishersResource.ModelsResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
PublishersResource.ModelsResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()