Search Results for

    Show / Hide Table of Contents

    Class GooglePermission

    Permission resource grants user, group or the rest of the world access to the PaLM API resource (e.g. TunedModel or Corpus).

    A role is a collection of permitted operations that allows users to perform specific actions on PaLM API resources. To make them available to users, groups, or service accounts, you assign roles. When you assign a role, you grant permissions that the role contains.

    There are three concentric roles. Each role is a superset of the previous role's permitted operations:

    - reader can use the resource (e.g. tuned model, corpus) for inference

    - writer has reader's permissions and additionally can edit and share

    - owner has writer's permissions and additionally can delete

    Inheritance
    object
    GooglePermission
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class GooglePermission

    Properties

    | Edit this page View Source

    EmailAddress

    Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.

    Declaration
    [JsonProperty("emailAddress")]
    public string EmailAddress { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    GranteeType

    Optional. Immutable. The type of the grantee.

    Declaration
    [JsonProperty("granteeType")]
    public GoogleGranteeType GranteeType { get; set; }
    Property Value
    Type Description
    GoogleGranteeType
    | Edit this page View Source

    Name

    Output only. Identifier. The permission name. A unique name will be generated on create.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Role

    Required. The role granted by this permission.

    Declaration
    [JsonProperty("role")]
    public ChatRole Role { get; set; }
    Property Value
    Type Description
    ChatRole

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation