1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class PublisherModelConfig : IMessage<PublisherModelConfig>, IEquatable<PublisherModelConfig>, IDeepCloneable<PublisherModelConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class PublisherModelConfig.

This message contains configs of a publisher model.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PublisherModelConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PublisherModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PublisherModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PublisherModelConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### PublisherModelConfig()

    public PublisherModelConfig()

### PublisherModelConfig(PublisherModelConfig)

    public PublisherModelConfig(PublisherModelConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig` |

## Properties

### DataSharingEnabledProvider

    public PublisherModelConfig.Types.ModelProvider DataSharingEnabledProvider { get; set; }

Optional. The model provider (publisher) for which the customer has enabled
data sharing. For publisher models that are configured to require data
sharing, a prediction request is only allowed when the model's publisher
matches this provider. Otherwise, the request is rejected.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelConfig.Types.ModelProvider` |   |

### LoggingConfig

    public PredictRequestResponseLoggingConfig LoggingConfig { get; set; }

The prediction request/response logging config.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PredictRequestResponseLoggingConfig` |   |