Skip to content

feat(all): auto-regenerate discovery clients #3261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025
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
4 changes: 2 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
],
"parameters": {
"pageSize": {
"description": "The requested page size. The actual page size may be fixed to a min or max value.",
"description": "The requested page size. If unspecified, at most 10 devices will be returned. The maximum value is 100; values above 100 will be coerced to 100. The limits can change over time.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -1260,7 +1260,7 @@
}
}
},
"revision": "20250714",
"revision": "20250804",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down
5 changes: 3 additions & 2 deletions androidmanagement/v1/androidmanagement-gen.go

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

4 changes: 2 additions & 2 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@
}
}
},
"revision": "20250727",
"revision": "20250731",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"AccessSettings": {
Expand Down Expand Up @@ -4950,7 +4950,7 @@
"type": "string"
},
"customer": {
"description": "Optional. Immutable. The customer id of the domain of the space. Required only when creating a space with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`, otherwise should not be set. In the format `customers/{customer}`, where `customer` is the `id` from the [Admin SDK customer resource]( https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as the app. For DMs, this field isn't populated.",
"description": "Optional. Immutable. The customer id of the domain of the space. Required only when creating a space with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`, otherwise should not be set. In the format `customers/{customer}`, where `customer` is the `id` from the [Admin SDK customer resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as the app. For DMs, this field isn't populated.",
"type": "string"
},
"displayName": {
Expand Down
4 changes: 2 additions & 2 deletions chat/v1/chat-gen.go

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

135 changes: 134 additions & 1 deletion discoveryengine/v1/discoveryengine-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -7291,7 +7291,7 @@
}
}
},
"revision": "20250728",
"revision": "20250803",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GdataBlobstore2Info": {
Expand Down Expand Up @@ -9776,9 +9776,40 @@
"description": "Discovery Engine Assistant resource.",
"id": "GoogleCloudDiscoveryengineV1Assistant",
"properties": {
"customerPolicy": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy",
"description": "Optional. Customer policy for the assistant."
},
"enabledTools": {
"additionalProperties": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantToolList"
},
"description": "Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example \"projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {\"jira1ConnectorName\": [(toolId1, \"createTicket\"), (toolId2, \"transferTicket\")], \"gmail1ConnectorName\": [(toolId3, \"sendEmail\"),..] }",
"type": "object"
},
"generationConfig": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig",
"description": "Optional. Configuration for the generation of the assistant response."
},
"name": {
"description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.",
"type": "string"
},
"webGroundingType": {
"description": "Optional. The type of web grounding to use.",
"enum": [
"WEB_GROUNDING_TYPE_UNSPECIFIED",
"WEB_GROUNDING_TYPE_DISABLED",
"WEB_GROUNDING_TYPE_GOOGLE_SEARCH",
"WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"
],
"enumDescriptions": [
"Default, unspecified setting. This is the same as disabled.",
"Web grounding is disabled.",
"Grounding with Google Search is enabled.",
"Grounding with Enterprise Web Search is enabled."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -9887,6 +9918,75 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantCustomerPolicy": {
"description": "Customer-defined policy for the assistant.",
"id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy",
"properties": {
"bannedPhrases": {
"description": "Optional. List of banned phrases.",
"items": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase": {
"description": "Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.",
"id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase",
"properties": {
"ignoreDiacritics": {
"description": "Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when matching banned phrases. For example, \"cafe\" would match \"café\".",
"type": "boolean"
},
"matchType": {
"description": "Optional. Match type for the banned phrase.",
"enum": [
"BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED",
"SIMPLE_STRING_MATCH",
"WORD_BOUNDARY_STRING_MATCH"
],
"enumDescriptions": [
"Defaults to SIMPLE_STRING_MATCH.",
"The banned phrase matches if it is found anywhere in the text as an exact substring.",
"Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters."
],
"type": "string"
},
"phrase": {
"description": "Required. The raw string content to be banned.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantGenerationConfig": {
"description": "Configuration for the generation of the assistant response.",
"id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig",
"properties": {
"defaultLanguage": {
"description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.",
"type": "string"
},
"systemInstruction": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction",
"description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction": {
"description": "System instruction, also known as the prompt preamble for LLM calls.",
"id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction",
"properties": {
"additionalSystemInstruction": {
"description": "Optional. Additional system instruction that will be added to the default system instruction.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantGroundedContent": {
"description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.",
"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContent",
Expand Down Expand Up @@ -9999,6 +10099,35 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantToolInfo": {
"description": "Information to identify a tool.",
"id": "GoogleCloudDiscoveryengineV1AssistantToolInfo",
"properties": {
"toolDisplayName": {
"description": "The display name of the tool.",
"type": "string"
},
"toolName": {
"description": "The name of the tool as defined by DataConnectorService.QueryAvailableActions. Note: it's using `action` in the DataConnectorService apis, but they are the same as the `tool` here.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1AssistantToolList": {
"description": "The enabled tools on a connector",
"id": "GoogleCloudDiscoveryengineV1AssistantToolList",
"properties": {
"toolInfo": {
"description": "The list of tools with corresponding tool information.",
"items": {
"$ref": "GoogleCloudDiscoveryengineV1AssistantToolInfo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata": {
"description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.",
"id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata",
Expand Down Expand Up @@ -10619,6 +10748,10 @@
"description": "Document metadata contains the information of the document of the current chunk.",
"id": "GoogleCloudDiscoveryengineV1ChunkDocumentMetadata",
"properties": {
"mimeType": {
"description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.",
"type": "string"
},
"structData": {
"additionalProperties": {
"description": "Properties of the object.",
Expand Down
Loading