Class ProjectsResource.ModelsResource.PatchRequest
Updates a model. The longrunning operation will eventually return a Model.
Inheritance
ProjectsResource.ModelsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.FirebaseML.v1beta2
Assembly: Google.Apis.FirebaseML.v1beta2.dll
Syntax
public class ProjectsResource.ModelsResource.PatchRequest : FirebaseMLBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Model, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Model body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Model | body | |
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.Operation>.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.Operation>.MethodName
Name
The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id}
The name is ignored when creating a 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.Operation>.RestPath
UpdateMask
The update mask
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseML.v1beta2.Data.Operation>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()