Class ProjectsResource.ModelsResource.DownloadRequest
Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.
Inheritance
ProjectsResource.ModelsResource.DownloadRequest
Inherited Members
Namespace: Google.Apis.FirebaseML.v1beta2
Assembly: Google.Apis.FirebaseML.v1beta2.dll
Syntax
public class ProjectsResource.ModelsResource.DownloadRequest : FirebaseMLBaseServiceRequest<DownloadModelResponse>, IClientServiceRequest<DownloadModelResponse>, IClientServiceRequest
Constructors
DownloadRequest(IClientService, string)
Constructs a new Download request.
Declaration
public DownloadRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseML.v1beta2.Data.DownloadModelResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseML.v1beta2.Data.DownloadModelResponse>.MethodName
Name
Required. The name of the model to download. The name must have the form
projects/{project}/models/{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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseML.v1beta2.Data.DownloadModelResponse>.RestPath
Methods
InitParameters()
Initializes Download parameter list.
Declaration
protected override void InitParameters()