@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface GroupMembershipWithAttributes

    see also nebius/iam/v1/tenant_user_account.proto/TenantUserAccountWithAttributes

    interface GroupMembershipWithAttributes {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.iam.v1.GroupMembershipWithAttributes";
        attributesOptional?:
            | { $case: "userAttributes"; userAttributes: UserAttributes }
            | {
                $case: "serviceAccountAttributes";
                serviceAccountAttributes: ServiceAccountAttributes;
            }
            | { $case: "error"; error: Error };
        groupMemberKind?: GroupMemberKind;
        groupMembership?: GroupMembership;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined

      see also nebius/iam/v1/tenant_user_account.proto/TenantUserAccountWithAttributes

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • see also nebius/iam/v1/tenant_user_account.proto/TenantUserAccountWithAttributes

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.iam.v1.GroupMembershipWithAttributes"

    Contains the fully qualified protobuf type name.

    attributesOptional?:
        | { $case: "userAttributes"; userAttributes: UserAttributes }
        | {
            $case: "serviceAccountAttributes";
            serviceAccountAttributes: ServiceAccountAttributes;
        }
        | { $case: "error"; error: Error }

    Contains the selected value for the attributesOptional protobuf oneof.

    Type Declaration

    • { $case: "userAttributes"; userAttributes: UserAttributes }
      • $case: "userAttributes"

        Contains the case.

      • userAttributes: UserAttributes

        Contains the user attributes.

    • {
          $case: "serviceAccountAttributes";
          serviceAccountAttributes: ServiceAccountAttributes;
      }
      • $case: "serviceAccountAttributes"

        Contains the case.

      • serviceAccountAttributes: ServiceAccountAttributes

        Contains the service account attributes.

    • { $case: "error"; error: Error }
      • $case: "error"

        Contains the case.

      • error: Error

        Contains the error.

    groupMemberKind?: GroupMemberKind

    Contains the group_member_kind protobuf field.

    groupMembership?: GroupMembership

    Contains the group_membership protobuf field.