public sealed class AiPlatformFloorSetting : IMessage<AiPlatformFloorSetting>, IEquatable<AiPlatformFloorSetting>, IDeepCloneable<AiPlatformFloorSetting>, IBufferMessage, IMessage
Reference documentation and code samples for the Model Armor v1 API class AiPlatformFloorSetting.
message describing AiPlatformFloorSetting
Implements
IMessageAiPlatformFloorSetting, IEquatableAiPlatformFloorSetting, IDeepCloneableAiPlatformFloorSetting, IBufferMessage, IMessageNamespace
Google.Cloud.ModelArmor.V1Assembly
Google.Cloud.ModelArmor.V1.dll
Constructors
AiPlatformFloorSetting()
public AiPlatformFloorSetting()
AiPlatformFloorSetting(AiPlatformFloorSetting)
public AiPlatformFloorSetting(AiPlatformFloorSetting other)
Parameter | |
---|---|
Name | Description |
other |
AiPlatformFloorSetting |
Properties
EnableCloudLogging
public bool EnableCloudLogging { get; set; }
Optional. If true, log Model Armor filter results to Cloud Logging.
Property Value | |
---|---|
Type | Description |
bool |
EnforcementTypeCase
public AiPlatformFloorSetting.EnforcementTypeOneofCase EnforcementTypeCase { get; }
Property Value | |
---|---|
Type | Description |
AiPlatformFloorSettingEnforcementTypeOneofCase |
HasInspectAndBlock
public bool HasInspectAndBlock { get; }
Gets whether the "inspect_and_block" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasInspectOnly
public bool HasInspectOnly { get; }
Gets whether the "inspect_only" field is set
Property Value | |
---|---|
Type | Description |
bool |
InspectAndBlock
public bool InspectAndBlock { get; set; }
Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
Property Value | |
---|---|
Type | Description |
bool |
InspectOnly
public bool InspectOnly { get; set; }
Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
Property Value | |
---|---|
Type | Description |
bool |