Table of Contents

Enum Role

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Defines the role granted by this permission. See Official API Documentation

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

Fields

ROLE_UNSPECIFIED = 0

The default value. This value is unused.

OWNER = 1

Owner can use, update, share and delete the resource.

WRITER = 2

Writer can use, update and share the resource.

READER = 3

Reader can use the resource.