Skip to content

Commit 3e04004

Browse files
yoshi-automationfeywind
authored andcommitted
feat(discoveryengine): update the API
#### discoveryengine:v1alpha The following keys were added: - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.deprecated - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.description - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.flatPath - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.httpMethod - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.id - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameterOrder - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameters.name.description - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameters.name.location - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameters.name.pattern - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameters.name.required - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.parameters.name.type - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.path - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.response.$ref - resources.projects.resources.locations.resources.collections.resources.dataConnector.methods.checkRefreshToken.scopes - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.description - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.flatPath - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.httpMethod - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.id - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameterOrder - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameters.name.description - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameters.name.location - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameters.name.pattern - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameters.name.required - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.parameters.name.type - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.path - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.response.$ref - resources.projects.resources.locations.resources.collections.resources.engines.methods.getWorkspaceSettings.scopes - schemas.GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse.description - schemas.GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse.id - schemas.GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse.properties.refreshTokenInfo.$ref - schemas.GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse.properties.refreshTokenInfo.description - schemas.GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse.type - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceSettings.description - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceSettings.id - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceSettings.properties.workspaceAccessEnabled.description - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceSettings.properties.workspaceAccessEnabled.type - schemas.GoogleCloudDiscoveryengineV1alphaWorkspaceSettings.type
1 parent 38dfea8 commit 3e04004

File tree

2 files changed

+410
-1
lines changed

2 files changed

+410
-1
lines changed

discovery/discoveryengine-v1alpha.json

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,32 @@
918918
"https://www.googleapis.com/auth/cloud-platform"
919919
]
920920
},
921+
"checkRefreshToken": {
922+
"deprecated": true,
923+
"description": "Deprecated: Checks the existence of a refresh token for the EUC user for a given connection and returns its details. Use AcquireAccessToken instead and then check the validity of the returned token by asking the 3rd party system. There's no way to know for sure if a refresh token is valid without asking the 3rd party system.",
924+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:checkRefreshToken",
925+
"httpMethod": "GET",
926+
"id": "discoveryengine.projects.locations.collections.dataConnector.checkRefreshToken",
927+
"parameterOrder": [
928+
"name"
929+
],
930+
"parameters": {
931+
"name": {
932+
"description": "Required. The resource name of the connector for which a token is queried.",
933+
"location": "path",
934+
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$",
935+
"required": true,
936+
"type": "string"
937+
}
938+
},
939+
"path": "v1alpha/{+name}:checkRefreshToken",
940+
"response": {
941+
"$ref": "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse"
942+
},
943+
"scopes": [
944+
"https://www.googleapis.com/auth/cloud-platform"
945+
]
946+
},
921947
"getConnectorSecret": {
922948
"description": "Get the secret for the associated connector.",
923949
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector:getConnectorSecret",
@@ -4241,6 +4267,31 @@
42414267
"https://www.googleapis.com/auth/cloud-platform"
42424268
]
42434269
},
4270+
"getWorkspaceSettings": {
4271+
"description": "Get Workspace settings for the end user.",
4272+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:getWorkspaceSettings",
4273+
"httpMethod": "GET",
4274+
"id": "discoveryengine.projects.locations.collections.engines.getWorkspaceSettings",
4275+
"parameterOrder": [
4276+
"name"
4277+
],
4278+
"parameters": {
4279+
"name": {
4280+
"description": "Required. Full Engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`",
4281+
"location": "path",
4282+
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$",
4283+
"required": true,
4284+
"type": "string"
4285+
}
4286+
},
4287+
"path": "v1alpha/{+name}:getWorkspaceSettings",
4288+
"response": {
4289+
"$ref": "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings"
4290+
},
4291+
"scopes": [
4292+
"https://www.googleapis.com/auth/cloud-platform"
4293+
]
4294+
},
42444295
"list": {
42454296
"description": "Lists all the Engines associated with the project.",
42464297
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines",
@@ -10084,7 +10135,7 @@
1008410135
}
1008510136
}
1008610137
},
10087-
"revision": "20250929",
10138+
"revision": "20251008",
1008810139
"rootUrl": "https://discoveryengine.googleapis.com/",
1008910140
"schemas": {
1009010141
"ApiservingMediaRequestInfo": {
@@ -17903,6 +17954,17 @@
1790317954
},
1790417955
"type": "object"
1790517956
},
17957+
"GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse": {
17958+
"description": "Response message for the DataConnectorService.CheckRefreshToken method.",
17959+
"id": "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse",
17960+
"properties": {
17961+
"refreshTokenInfo": {
17962+
"$ref": "GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo",
17963+
"description": "Info about the stored refresh token."
17964+
}
17965+
},
17966+
"type": "object"
17967+
},
1790617968
"GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest": {
1790717969
"description": "Request for CheckRequirement method.",
1790817970
"id": "GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest",
@@ -28523,6 +28585,17 @@
2852328585
},
2852428586
"type": "object"
2852528587
},
28588+
"GoogleCloudDiscoveryengineV1alphaWorkspaceSettings": {
28589+
"description": "Workspace settings for the end user.",
28590+
"id": "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings",
28591+
"properties": {
28592+
"workspaceAccessEnabled": {
28593+
"description": "Whether an end user has workspace access enabled.",
28594+
"type": "boolean"
28595+
}
28596+
},
28597+
"type": "object"
28598+
},
2852628599
"GoogleCloudDiscoveryengineV1betaAclConfig": {
2852728600
"description": "Access Control Configuration.",
2852828601
"id": "GoogleCloudDiscoveryengineV1betaAclConfig",

0 commit comments

Comments
 (0)