Full name: projects.setPublisherModelConfig
Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config.
Endpoint
posthttps://{service-endpoint}/v1beta1/{name}:setPublisherModelConfig
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
namestring
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:
Required. The publisher model config.
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.