Table of Contents

Enum SafetyPolicy

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Computer Use safety policies that can be disabled through DisabledSafetyPolicies.

[JsonConverter(typeof(JsonStringEnumConverter<SafetyPolicy>))]
public enum SafetyPolicy
Extension Methods

Fields

SAFETY_POLICY_UNSPECIFIED = 0

The safety policy is unspecified.

FINANCIAL_TRANSACTIONS = 1

Confirmation before financial transactions.

SENSITIVE_DATA_MODIFICATION = 2

Confirmation before modifying sensitive data.

COMMUNICATION_TOOL = 3

Confirmation before using communication tools (for example sending messages).

ACCOUNT_CREATION = 4

Confirmation before creating accounts.

DATA_MODIFICATION = 5

Confirmation before modifying data.

Confirmation before changing user consent settings.

Confirmation before accepting legal terms and agreements.