Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.20
version: 0.11.22
additionalDependencies:
dev: {}
main: {}
Expand Down
13 changes: 11 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 9d70dc6fd5686efed566683e892e33d087e59fb3
x-source-commit-sha: 1c30a2e9466bf278374bd82863042433f7fa8a6d
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 3c0c128eb9356e9aee605457114fd985b8165472
x-open-api-commit-sha: bfa098a27c3b8f11087766de34606765c946e305
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -8703,6 +8703,12 @@ components:
agentName:
type: string
description: Name of the agent to be shown in the agent column in this department over the specified time period.
icon:
$ref: "#/components/schemas/IconConfig"
description: Agent icon configuration
isDeleted:
type: boolean
description: Indicates whether the agent has been deleted
AgentUsersInsight:
properties:
person:
Expand Down Expand Up @@ -12414,6 +12420,9 @@ components:
enum:
- LIKELY
- VERY_LIKELY
- POSSIBLE
- UNLIKELY
- VERY_UNLIKELY
infoType:
description: Text representation of an info-type to scan for.
type: string
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:62524361387995d29512015c83e4aa5507ed826187bbe8f79d238fa78cc821eb
sourceBlobDigest: sha256:e7f1e3c78f0d40cb37537f7827319e5cf1d07d0bec0ea4b6385636b5d8d0678e
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
tags:
- latest
- speakeasy-sdk-regen-1763762738
- speakeasy-sdk-regen-1763969825
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:62524361387995d29512015c83e4aa5507ed826187bbe8f79d238fa78cc821eb
sourceBlobDigest: sha256:e7f1e3c78f0d40cb37537f7827319e5cf1d07d0bec0ea4b6385636b5d8d0678e
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:88e540398f913e4cdf884f04e70cb86cd33e117ad98b77fa01ec5939e8bd4dca
codeSamplesRevisionDigest: sha256:380bfe75991017e623736785201d21cac9de54b2bab5d9bfa09699ac73829ad6
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,4 +438,14 @@ Based on:
### Generated
- [python v0.11.20] .
### Releases
- [PyPI v0.11.20] https://pypi.org/project/glean/0.11.20 - .
- [PyPI v0.11.20] https://pypi.org/project/glean/0.11.20 - .

## 2025-11-24 19:31:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.22] .
### Releases
- [PyPI v0.11.22] https://pypi.org/project/glean/0.11.22 - .
18 changes: 10 additions & 8 deletions docs/models/agentsusagebydepartmentinsight.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `department` | *Optional[str]* | :heavy_minus_sign: | Name of the department |
| `agent_adoption_rate` | *Optional[float]* | :heavy_minus_sign: | Percentage of employees in the department who have used agents at least once over the specified time period. |
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users in this department who have used any agent over the specified time period. |
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs in this department over the specified time period. |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | ID of the agent to be shown in the agent column in this department over the specified time period. |
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Name of the agent to be shown in the agent column in this department over the specified time period. |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `department` | *Optional[str]* | :heavy_minus_sign: | Name of the department | |
| `agent_adoption_rate` | *Optional[float]* | :heavy_minus_sign: | Percentage of employees in the department who have used agents at least once over the specified time period. | |
| `user_count` | *Optional[int]* | :heavy_minus_sign: | Total number of users in this department who have used any agent over the specified time period. | |
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs in this department over the specified time period. | |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | ID of the agent to be shown in the agent column in this department over the specified time period. | |
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Name of the agent to be shown in the agent column in this department over the specified time period. | |
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
| `is_deleted` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the agent has been deleted | |
11 changes: 7 additions & 4 deletions docs/models/likelihoodthreshold.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

## Values

| Name | Value |
| ------------- | ------------- |
| `LIKELY` | LIKELY |
| `VERY_LIKELY` | VERY_LIKELY |
| Name | Value |
| --------------- | --------------- |
| `LIKELY` | LIKELY |
| `VERY_LIKELY` | VERY_LIKELY |
| `POSSIBLE` | POSSIBLE |
| `UNLIKELY` | UNLIKELY |
| `VERY_UNLIKELY` | VERY_UNLIKELY |
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "glean-api-client"
version = "0.11.20"
version = "0.11.22"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion speakeasyusagegen/.speakeasy/logs/naming.log
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ GetpolicyResponse (HttpMeta: HTTPMetadata, GetDlpReportResponse: GetDlpReportRes
DlpReport (id: string, name: string, config: DlpConfig ...)
DlpConfig (version: integer, sensitiveInfoTypes: array, inputOptions: InputOptions ...)
SensitiveInfoType (likelihoodThreshold: enum, infoType: string)
LikelihoodThreshold (enum: LIKELY, VERY_LIKELY)
LikelihoodThreshold (enum: LIKELY, VERY_LIKELY, POSSIBLE ...)
InputOptions (urlGreenlist: array, datasourcesType: enum, datasources: array ...)
DatasourcesType (enum: ALL, CUSTOM)
TimePeriodType (enum: ALL_TIME, PAST_YEAR, PAST_DAY ...)
Expand Down
4 changes: 2 additions & 2 deletions src/glean/api_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "glean"
__version__: str = "0.11.20"
__version__: str = "0.11.22"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.743.2"
__user_agent__: str = "speakeasy-sdk/python 0.11.20 2.743.2 0.9.0 glean"
__user_agent__: str = "speakeasy-sdk/python 0.11.22 2.743.2 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
11 changes: 11 additions & 0 deletions src/glean/api_client/models/agentsusagebydepartmentinsight.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .iconconfig import IconConfig, IconConfigTypedDict
from glean.api_client.types import BaseModel
import pydantic
from typing import Optional
Expand All @@ -20,6 +21,10 @@ class AgentsUsageByDepartmentInsightTypedDict(TypedDict):
r"""ID of the agent to be shown in the agent column in this department over the specified time period."""
agent_name: NotRequired[str]
r"""Name of the agent to be shown in the agent column in this department over the specified time period."""
icon: NotRequired[IconConfigTypedDict]
r"""Defines how to render an icon"""
is_deleted: NotRequired[bool]
r"""Indicates whether the agent has been deleted"""


class AgentsUsageByDepartmentInsight(BaseModel):
Expand All @@ -42,3 +47,9 @@ class AgentsUsageByDepartmentInsight(BaseModel):

agent_name: Annotated[Optional[str], pydantic.Field(alias="agentName")] = None
r"""Name of the agent to be shown in the agent column in this department over the specified time period."""

icon: Optional[IconConfig] = None
r"""Defines how to render an icon"""

is_deleted: Annotated[Optional[bool], pydantic.Field(alias="isDeleted")] = None
r"""Indicates whether the agent has been deleted"""
3 changes: 3 additions & 0 deletions src/glean/api_client/models/sensitiveinfotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
class LikelihoodThreshold(str, Enum):
LIKELY = "LIKELY"
VERY_LIKELY = "VERY_LIKELY"
POSSIBLE = "POSSIBLE"
UNLIKELY = "UNLIKELY"
VERY_UNLIKELY = "VERY_UNLIKELY"


class SensitiveInfoTypeTypedDict(TypedDict):
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.