Class ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource
The "predictionApiKeyRegistrations" collection of methods.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource
Inherited Members
Namespace: Google.Apis.RecommendationsAI .v1beta1
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource
Constructors
PredictionApiKeyRegistrationsResource(IClientService)
Constructs a new resource.
Declaration
public PredictionApiKeyRegistrationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Create(GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest, string)
Register an API key for use with predict method.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource.CreateRequest Create(GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | parent | Required. The parent resource path.
|
Returns
Type | Description |
---|---|
Projects |
Delete(string)
Unregister an apiKey from using for predict method.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The API key to unregister including full resource path.
|
Returns
Type | Description |
---|---|
Projects |
List(string)
List the registered apiKeys for use with predict method.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.EventStoresResource.PredictionApiKeyRegistrationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent placement resource name such as
|