Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
chore: generate GAPIC metadata JSON file
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 345596855

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Dec 3 21:00:34 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: d189e871205fea665a9648f7c4676f027495ccaf
Source-Link: googleapis/googleapis@d189e87
  • Loading branch information
yoshi-automation committed Dec 4, 2020
1 parent eeec3f7 commit 25ccbf6
Show file tree
Hide file tree
Showing 3 changed files with 650 additions and 2 deletions.
284 changes: 284 additions & 0 deletions src/v2/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,284 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.dialogflow.v2",
"libraryPackage": "@google-cloud/dialogflow",
"services": {"Agents": {"clients": {
"grpc": {
"libraryClient": "AgentsClient",
"rpcs": {"GetAgent": {
"methods": ["getAgent"]
},"SetAgent": {
"methods": ["setAgent"]
},"DeleteAgent": {
"methods": ["deleteAgent"]
},"GetValidationResult": {
"methods": ["getValidationResult"]
},"TrainAgent": {
"methods": ["trainAgent"]
},"ExportAgent": {
"methods": ["exportAgent"]
},"ImportAgent": {
"methods": ["importAgent"]
},"RestoreAgent": {
"methods": ["restoreAgent"]
},"SearchAgents": {
"methods": [
"searchAgents",
"searchAgentsStream",
"searchAgentsAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "AgentsClient",
"rpcs": {"GetAgent": {
"methods": ["getAgent"]
},"SetAgent": {
"methods": ["setAgent"]
},"DeleteAgent": {
"methods": ["deleteAgent"]
},"GetValidationResult": {
"methods": ["getValidationResult"]
},"TrainAgent": {
"methods": ["trainAgent"]
},"ExportAgent": {
"methods": ["exportAgent"]
},"ImportAgent": {
"methods": ["importAgent"]
},"RestoreAgent": {
"methods": ["restoreAgent"]
},"SearchAgents": {
"methods": [
"searchAgents",
"searchAgentsStream",
"searchAgentsAsync"
]
}}
}
}
},"Contexts": {"clients": {
"grpc": {
"libraryClient": "ContextsClient",
"rpcs": {"GetContext": {
"methods": ["getContext"]
},"CreateContext": {
"methods": ["createContext"]
},"UpdateContext": {
"methods": ["updateContext"]
},"DeleteContext": {
"methods": ["deleteContext"]
},"DeleteAllContexts": {
"methods": ["deleteAllContexts"]
},"ListContexts": {
"methods": [
"listContexts",
"listContextsStream",
"listContextsAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "ContextsClient",
"rpcs": {"GetContext": {
"methods": ["getContext"]
},"CreateContext": {
"methods": ["createContext"]
},"UpdateContext": {
"methods": ["updateContext"]
},"DeleteContext": {
"methods": ["deleteContext"]
},"DeleteAllContexts": {
"methods": ["deleteAllContexts"]
},"ListContexts": {
"methods": [
"listContexts",
"listContextsStream",
"listContextsAsync"
]
}}
}
}
},"EntityTypes": {"clients": {
"grpc": {
"libraryClient": "EntityTypesClient",
"rpcs": {"GetEntityType": {
"methods": ["getEntityType"]
},"CreateEntityType": {
"methods": ["createEntityType"]
},"UpdateEntityType": {
"methods": ["updateEntityType"]
},"DeleteEntityType": {
"methods": ["deleteEntityType"]
},"BatchUpdateEntityTypes": {
"methods": ["batchUpdateEntityTypes"]
},"BatchDeleteEntityTypes": {
"methods": ["batchDeleteEntityTypes"]
},"BatchCreateEntities": {
"methods": ["batchCreateEntities"]
},"BatchUpdateEntities": {
"methods": ["batchUpdateEntities"]
},"BatchDeleteEntities": {
"methods": ["batchDeleteEntities"]
},"ListEntityTypes": {
"methods": [
"listEntityTypes",
"listEntityTypesStream",
"listEntityTypesAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "EntityTypesClient",
"rpcs": {"GetEntityType": {
"methods": ["getEntityType"]
},"CreateEntityType": {
"methods": ["createEntityType"]
},"UpdateEntityType": {
"methods": ["updateEntityType"]
},"DeleteEntityType": {
"methods": ["deleteEntityType"]
},"BatchUpdateEntityTypes": {
"methods": ["batchUpdateEntityTypes"]
},"BatchDeleteEntityTypes": {
"methods": ["batchDeleteEntityTypes"]
},"BatchCreateEntities": {
"methods": ["batchCreateEntities"]
},"BatchUpdateEntities": {
"methods": ["batchUpdateEntities"]
},"BatchDeleteEntities": {
"methods": ["batchDeleteEntities"]
},"ListEntityTypes": {
"methods": [
"listEntityTypes",
"listEntityTypesStream",
"listEntityTypesAsync"
]
}}
}
}
},"Environments": {"clients": {
"grpc": {
"libraryClient": "EnvironmentsClient",
"rpcs": {"ListEnvironments": {
"methods": [
"listEnvironments",
"listEnvironmentsStream",
"listEnvironmentsAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "EnvironmentsClient",
"rpcs": {,"ListEnvironments": {
"methods": [
"listEnvironments",
"listEnvironmentsStream",
"listEnvironmentsAsync"
]
}}
}
}
},"Intents": {"clients": {
"grpc": {
"libraryClient": "IntentsClient",
"rpcs": {"GetIntent": {
"methods": ["getIntent"]
},"CreateIntent": {
"methods": ["createIntent"]
},"UpdateIntent": {
"methods": ["updateIntent"]
},"DeleteIntent": {
"methods": ["deleteIntent"]
},"BatchUpdateIntents": {
"methods": ["batchUpdateIntents"]
},"BatchDeleteIntents": {
"methods": ["batchDeleteIntents"]
},"ListIntents": {
"methods": [
"listIntents",
"listIntentsStream",
"listIntentsAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "IntentsClient",
"rpcs": {"GetIntent": {
"methods": ["getIntent"]
},"CreateIntent": {
"methods": ["createIntent"]
},"UpdateIntent": {
"methods": ["updateIntent"]
},"DeleteIntent": {
"methods": ["deleteIntent"]
},"BatchUpdateIntents": {
"methods": ["batchUpdateIntents"]
},"BatchDeleteIntents": {
"methods": ["batchDeleteIntents"]
},"ListIntents": {
"methods": [
"listIntents",
"listIntentsStream",
"listIntentsAsync"
]
}}
}
}
},"SessionEntityTypes": {"clients": {
"grpc": {
"libraryClient": "SessionEntityTypesClient",
"rpcs": {"GetSessionEntityType": {
"methods": ["getSessionEntityType"]
},"CreateSessionEntityType": {
"methods": ["createSessionEntityType"]
},"UpdateSessionEntityType": {
"methods": ["updateSessionEntityType"]
},"DeleteSessionEntityType": {
"methods": ["deleteSessionEntityType"]
},"ListSessionEntityTypes": {
"methods": [
"listSessionEntityTypes",
"listSessionEntityTypesStream",
"listSessionEntityTypesAsync"
]
}}
},
"grpc-fallback": {
"libraryClient": "SessionEntityTypesClient",
"rpcs": {"GetSessionEntityType": {
"methods": ["getSessionEntityType"]
},"CreateSessionEntityType": {
"methods": ["createSessionEntityType"]
},"UpdateSessionEntityType": {
"methods": ["updateSessionEntityType"]
},"DeleteSessionEntityType": {
"methods": ["deleteSessionEntityType"]
},"ListSessionEntityTypes": {
"methods": [
"listSessionEntityTypes",
"listSessionEntityTypesStream",
"listSessionEntityTypesAsync"
]
}}
}
}
},"Sessions": {"clients": {
"grpc": {
"libraryClient": "SessionsClient",
"rpcs": {"DetectIntent": {
"methods": ["detectIntent"]
},"StreamingDetectIntent": {
"methods": ["streamingDetectIntent"]
}}
},
"grpc-fallback": {
"libraryClient": "SessionsClient",
"rpcs": {"DetectIntent": {
"methods": ["detectIntent"]
}}
}
}
}}
}
Loading

0 comments on commit 25ccbf6

Please sign in to comment.