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.

Response body

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月31日 UTC.