Method: projects.setPublisherModelConfig

Full name: projects.setPublisherModelConfig

Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config.

Endpoint

post https://{service-endpoint}/v1beta1/{name}:setPublisherModelConfig

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

name string

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

Request body

The request body contains data with the following structure:

Fields
publisherModelConfig object (PublisherModelConfig)

Required. The publisher model config.

updateMask string (FieldMask format)

Optional. The fields of publisherModelConfig to overwrite. If empty, the entire config is replaced. If set, only the listed fields are overwritten and the others are left unchanged; this lets you update one setting (for example inferenceEventLoggingConfig) without clearing its siblings.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Response body

If successful, the response body contains an instance of Operation.