Class ProjectsResource.LocationsResource.CatalogsResource.ModelsResource
The "models" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.ModelsResource
Constructors
ModelsResource(IClientService)
Constructs a new resource.
Declaration
public ModelsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudRetailV2betaModel, string)
Creates a new model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.CreateRequest Create(GoogleCloudRetailV2betaModel body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2betaModel | body | The body of the request. |
string | parent | Required. The parent resource under which to create the model. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.CreateRequest |
Delete(string)
Deletes an existing model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Model to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.DeleteRequest |
Get(string)
Gets a model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Model to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.GetRequest |
List(string)
Lists all the models linked to this event store.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent for which to list models. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.ListRequest |
Patch(GoogleCloudRetailV2betaModel, string)
Update of model metadata. Only fields that currently can be updated are: filtering_option
and
periodic_tuning_state
. If other values are provided, this API method ignores them.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PatchRequest Patch(GoogleCloudRetailV2betaModel body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2betaModel | body | The body of the request. |
string | name | Required. The fully qualified resource name of the model. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PatchRequest |
Pause(GoogleCloudRetailV2betaPauseModelRequest, string)
Pauses the training of an existing model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PauseRequest Pause(GoogleCloudRetailV2betaPauseModelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2betaPauseModelRequest | body | The body of the request. |
string | name | Required. The name of the model to pause. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.PauseRequest |
Resume(GoogleCloudRetailV2betaResumeModelRequest, string)
Resumes the training of an existing model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.ResumeRequest Resume(GoogleCloudRetailV2betaResumeModelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2betaResumeModelRequest | body | The body of the request. |
string | name | Required. The name of the model to resume. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.ResumeRequest |
Tune(GoogleCloudRetailV2betaTuneModelRequest, string)
Tunes an existing model.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.TuneRequest Tune(GoogleCloudRetailV2betaTuneModelRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2betaTuneModelRequest | body | The body of the request. |
string | name | Required. The resource name of the model to tune. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.ModelsResource.TuneRequest |