Skip to content

Commit d738ddc

Browse files
feat(dialogflow): update the API
#### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.inputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.inputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.inputParameterDefinitions.type - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.outputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.outputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3beta1Flow.properties.outputParameterDefinitions.type #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Action.properties.flowTransition.$ref - schemas.GoogleCloudDialogflowCxV3Action.properties.flowTransition.description - schemas.GoogleCloudDialogflowCxV3Action.properties.playbookTransition.$ref - schemas.GoogleCloudDialogflowCxV3Action.properties.playbookTransition.description - schemas.GoogleCloudDialogflowCxV3Flow.properties.inputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3Flow.properties.inputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3Flow.properties.inputParameterDefinitions.type - schemas.GoogleCloudDialogflowCxV3Flow.properties.outputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3Flow.properties.outputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3Flow.properties.outputParameterDefinitions.type - schemas.GoogleCloudDialogflowCxV3FlowTransition.description - schemas.GoogleCloudDialogflowCxV3FlowTransition.id - schemas.GoogleCloudDialogflowCxV3FlowTransition.properties.displayName.description - schemas.GoogleCloudDialogflowCxV3FlowTransition.properties.displayName.readOnly - schemas.GoogleCloudDialogflowCxV3FlowTransition.properties.displayName.type - schemas.GoogleCloudDialogflowCxV3FlowTransition.properties.flow.description - schemas.GoogleCloudDialogflowCxV3FlowTransition.properties.flow.type - schemas.GoogleCloudDialogflowCxV3FlowTransition.type - schemas.GoogleCloudDialogflowCxV3InlineSchema.description - schemas.GoogleCloudDialogflowCxV3InlineSchema.id - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.items.$ref - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.items.description - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.type.description - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.type.enum - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.type.enumDescriptions - schemas.GoogleCloudDialogflowCxV3InlineSchema.properties.type.type - schemas.GoogleCloudDialogflowCxV3InlineSchema.type - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.description - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.id - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.description.description - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.description.type - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.name.description - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.name.type - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.type.deprecated - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.type.description - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.type.enum - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.type.enumDescriptions - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.type.type - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.typeSchema.$ref - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.properties.typeSchema.description - schemas.GoogleCloudDialogflowCxV3ParameterDefinition.type - schemas.GoogleCloudDialogflowCxV3Playbook.properties.inputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3Playbook.properties.inputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3Playbook.properties.inputParameterDefinitions.type - schemas.GoogleCloudDialogflowCxV3Playbook.properties.outputParameterDefinitions.description - schemas.GoogleCloudDialogflowCxV3Playbook.properties.outputParameterDefinitions.items.$ref - schemas.GoogleCloudDialogflowCxV3Playbook.properties.outputParameterDefinitions.type - schemas.GoogleCloudDialogflowCxV3Playbook.properties.playbookType.description - schemas.GoogleCloudDialogflowCxV3Playbook.properties.playbookType.enum - schemas.GoogleCloudDialogflowCxV3Playbook.properties.playbookType.enumDescriptions - schemas.GoogleCloudDialogflowCxV3Playbook.properties.playbookType.type - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.description - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.id - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.properties.displayName.description - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.properties.displayName.readOnly - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.properties.displayName.type - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.properties.playbook.description - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.properties.playbook.type - schemas.GoogleCloudDialogflowCxV3PlaybookTransition.type - schemas.GoogleCloudDialogflowCxV3TypeSchema.description - schemas.GoogleCloudDialogflowCxV3TypeSchema.id - schemas.GoogleCloudDialogflowCxV3TypeSchema.properties.inlineSchema.$ref - schemas.GoogleCloudDialogflowCxV3TypeSchema.properties.inlineSchema.description - schemas.GoogleCloudDialogflowCxV3TypeSchema.properties.schemaReference.$ref - schemas.GoogleCloudDialogflowCxV3TypeSchema.properties.schemaReference.description - schemas.GoogleCloudDialogflowCxV3TypeSchema.type - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.description - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.id - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.properties.schema.description - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.properties.schema.type - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.properties.tool.description - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.properties.tool.type - schemas.GoogleCloudDialogflowCxV3TypeSchemaSchemaReference.type
1 parent 7a24706 commit d738ddc

File tree

4 files changed

+356
-2
lines changed

4 files changed

+356
-2
lines changed

discovery/dialogflow-v3.json

Lines changed: 184 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5309,7 +5309,7 @@
53095309
}
53105310
}
53115311
},
5312-
"revision": "20250627",
5312+
"revision": "20250804",
53135313
"rootUrl": "https://dialogflow.googleapis.com/",
53145314
"schemas": {
53155315
"GoogleCloudDialogflowCxV3Action": {
@@ -5324,10 +5324,18 @@
53245324
"$ref": "GoogleCloudDialogflowCxV3FlowInvocation",
53255325
"description": "Optional. Action performed on behalf of the agent by invoking a CX flow."
53265326
},
5327+
"flowTransition": {
5328+
"$ref": "GoogleCloudDialogflowCxV3FlowTransition",
5329+
"description": "Optional. Action performed on behalf of the agent by transitioning to a target CX flow."
5330+
},
53275331
"playbookInvocation": {
53285332
"$ref": "GoogleCloudDialogflowCxV3PlaybookInvocation",
53295333
"description": "Optional. Action performed on behalf of the agent by invoking a child playbook."
53305334
},
5335+
"playbookTransition": {
5336+
"$ref": "GoogleCloudDialogflowCxV3PlaybookTransition",
5337+
"description": "Optional. Action performed on behalf of the agent by transitioning to a target playbook."
5338+
},
53315339
"toolUse": {
53325340
"$ref": "GoogleCloudDialogflowCxV3ToolUse",
53335341
"description": "Optional. Action performed on behalf of the agent by calling a plugin tool."
@@ -7502,6 +7510,13 @@
75027510
},
75037511
"type": "array"
75047512
},
7513+
"inputParameterDefinitions": {
7514+
"description": "Optional. Defined structured input parameters for this flow.",
7515+
"items": {
7516+
"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition"
7517+
},
7518+
"type": "array"
7519+
},
75057520
"knowledgeConnectorSettings": {
75067521
"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings",
75077522
"description": "Optional. Knowledge connector configuration."
@@ -7522,6 +7537,13 @@
75227537
"$ref": "GoogleCloudDialogflowCxV3NluSettings",
75237538
"description": "NLU related settings of the flow."
75247539
},
7540+
"outputParameterDefinitions": {
7541+
"description": "Optional. Defined structured output parameters for this flow.",
7542+
"items": {
7543+
"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition"
7544+
},
7545+
"type": "array"
7546+
},
75257547
"transitionRouteGroups": {
75267548
"description": "A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition route groups. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups.",
75277549
"items": {
@@ -7620,6 +7642,22 @@
76207642
},
76217643
"type": "object"
76227644
},
7645+
"GoogleCloudDialogflowCxV3FlowTransition": {
7646+
"description": "Stores metadata of the transition to a target CX flow. Flow transition actions exit the caller playbook and enter the child flow.",
7647+
"id": "GoogleCloudDialogflowCxV3FlowTransition",
7648+
"properties": {
7649+
"displayName": {
7650+
"description": "Output only. The display name of the flow.",
7651+
"readOnly": true,
7652+
"type": "string"
7653+
},
7654+
"flow": {
7655+
"description": "Required. The unique identifier of the flow. Format: `projects//locations//agents/`.",
7656+
"type": "string"
7657+
}
7658+
},
7659+
"type": "object"
7660+
},
76237661
"GoogleCloudDialogflowCxV3FlowValidationResult": {
76247662
"description": "The response message for Flows.GetFlowValidationResult.",
76257663
"id": "GoogleCloudDialogflowCxV3FlowValidationResult",
@@ -8432,6 +8470,35 @@
84328470
},
84338471
"type": "object"
84348472
},
8473+
"GoogleCloudDialogflowCxV3InlineSchema": {
8474+
"description": "A type schema object that's specified inline.",
8475+
"id": "GoogleCloudDialogflowCxV3InlineSchema",
8476+
"properties": {
8477+
"items": {
8478+
"$ref": "GoogleCloudDialogflowCxV3TypeSchema",
8479+
"description": "Schema of the elements if this is an ARRAY type."
8480+
},
8481+
"type": {
8482+
"description": "Data type of the schema.",
8483+
"enum": [
8484+
"DATA_TYPE_UNSPECIFIED",
8485+
"STRING",
8486+
"NUMBER",
8487+
"BOOLEAN",
8488+
"ARRAY"
8489+
],
8490+
"enumDescriptions": [
8491+
"Not specified.",
8492+
"Represents any string value.",
8493+
"Represents any number value.",
8494+
"Represents a boolean value.",
8495+
"Represents a repeated value."
8496+
],
8497+
"type": "string"
8498+
}
8499+
},
8500+
"type": "object"
8501+
},
84358502
"GoogleCloudDialogflowCxV3InlineSource": {
84368503
"description": "Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow.",
84378504
"id": "GoogleCloudDialogflowCxV3InlineSource",
@@ -9506,6 +9573,48 @@
95069573
},
95079574
"type": "object"
95089575
},
9576+
"GoogleCloudDialogflowCxV3ParameterDefinition": {
9577+
"description": "Defines the properties of a parameter. Used to define parameters used in the agent and the input / output parameters for each fulfillment.",
9578+
"id": "GoogleCloudDialogflowCxV3ParameterDefinition",
9579+
"properties": {
9580+
"description": {
9581+
"description": "Human-readable description of the parameter. Limited to 300 characters.",
9582+
"type": "string"
9583+
},
9584+
"name": {
9585+
"description": "Required. Name of parameter.",
9586+
"type": "string"
9587+
},
9588+
"type": {
9589+
"deprecated": true,
9590+
"description": "Type of parameter.",
9591+
"enum": [
9592+
"PARAMETER_TYPE_UNSPECIFIED",
9593+
"STRING",
9594+
"NUMBER",
9595+
"BOOLEAN",
9596+
"NULL",
9597+
"OBJECT",
9598+
"LIST"
9599+
],
9600+
"enumDescriptions": [
9601+
"Not specified. No validation will be performed.",
9602+
"Represents any string value.",
9603+
"Represents any number value.",
9604+
"Represents a boolean value.",
9605+
"Represents a null value.",
9606+
"Represents any object value.",
9607+
"Represents a repeated value."
9608+
],
9609+
"type": "string"
9610+
},
9611+
"typeSchema": {
9612+
"$ref": "GoogleCloudDialogflowCxV3TypeSchema",
9613+
"description": "Optional. Type schema of parameter."
9614+
}
9615+
},
9616+
"type": "object"
9617+
},
95099618
"GoogleCloudDialogflowCxV3Phrase": {
95109619
"description": "Text input which can be used for prompt or banned phrases.",
95119620
"id": "GoogleCloudDialogflowCxV3Phrase",
@@ -9542,6 +9651,13 @@
95429651
},
95439652
"type": "array"
95449653
},
9654+
"inputParameterDefinitions": {
9655+
"description": "Optional. Defined structured input parameters for this playbook.",
9656+
"items": {
9657+
"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition"
9658+
},
9659+
"type": "array"
9660+
},
95459661
"instruction": {
95469662
"$ref": "GoogleCloudDialogflowCxV3PlaybookInstruction",
95479663
"description": "Instruction to accomplish target goal."
@@ -9554,6 +9670,27 @@
95549670
"description": "The unique identifier of the playbook. Format: `projects//locations//agents//playbooks/`.",
95559671
"type": "string"
95569672
},
9673+
"outputParameterDefinitions": {
9674+
"description": "Optional. Defined structured output parameters for this playbook.",
9675+
"items": {
9676+
"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition"
9677+
},
9678+
"type": "array"
9679+
},
9680+
"playbookType": {
9681+
"description": "Optional. Type of the playbook.",
9682+
"enum": [
9683+
"PLAYBOOK_TYPE_UNSPECIFIED",
9684+
"TASK",
9685+
"ROUTINE"
9686+
],
9687+
"enumDescriptions": [
9688+
"Unspecified type. Default to TASK.",
9689+
"Task playbook.",
9690+
"Routine playbook."
9691+
],
9692+
"type": "string"
9693+
},
95579694
"referencedFlows": {
95589695
"description": "Output only. The resource name of flows referenced by the current playbook in the instructions.",
95599696
"items": {
@@ -9761,6 +9898,22 @@
97619898
},
97629899
"type": "object"
97639900
},
9901+
"GoogleCloudDialogflowCxV3PlaybookTransition": {
9902+
"description": "Stores metadata of the transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.",
9903+
"id": "GoogleCloudDialogflowCxV3PlaybookTransition",
9904+
"properties": {
9905+
"displayName": {
9906+
"description": "Output only. The display name of the playbook.",
9907+
"readOnly": true,
9908+
"type": "string"
9909+
},
9910+
"playbook": {
9911+
"description": "Required. The unique identifier of the playbook. Format: `projects//locations//agents//playbooks/`.",
9912+
"type": "string"
9913+
}
9914+
},
9915+
"type": "object"
9916+
},
97649917
"GoogleCloudDialogflowCxV3PlaybookVersion": {
97659918
"description": "Playbook version is a snapshot of the playbook at certain timestamp.",
97669919
"id": "GoogleCloudDialogflowCxV3PlaybookVersion",
@@ -11707,6 +11860,36 @@
1170711860
},
1170811861
"type": "object"
1170911862
},
11863+
"GoogleCloudDialogflowCxV3TypeSchema": {
11864+
"description": "Encapsulates different type schema variations: either a reference to an a schema that's already defined by a tool, or an inline definition.",
11865+
"id": "GoogleCloudDialogflowCxV3TypeSchema",
11866+
"properties": {
11867+
"inlineSchema": {
11868+
"$ref": "GoogleCloudDialogflowCxV3InlineSchema",
11869+
"description": "Set if this is an inline schema definition."
11870+
},
11871+
"schemaReference": {
11872+
"$ref": "GoogleCloudDialogflowCxV3TypeSchemaSchemaReference",
11873+
"description": "Set if this is a schema reference."
11874+
}
11875+
},
11876+
"type": "object"
11877+
},
11878+
"GoogleCloudDialogflowCxV3TypeSchemaSchemaReference": {
11879+
"description": "A reference to the schema of an existing tool.",
11880+
"id": "GoogleCloudDialogflowCxV3TypeSchemaSchemaReference",
11881+
"properties": {
11882+
"schema": {
11883+
"description": "The name of the schema.",
11884+
"type": "string"
11885+
},
11886+
"tool": {
11887+
"description": "The tool that contains this schema definition. Format: `projects//locations//agents//tools/`.",
11888+
"type": "string"
11889+
}
11890+
},
11891+
"type": "object"
11892+
},
1171011893
"GoogleCloudDialogflowCxV3UserUtterance": {
1171111894
"description": "UserUtterance represents one message sent by the customer.",
1171211895
"id": "GoogleCloudDialogflowCxV3UserUtterance",

discovery/dialogflow-v3beta1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5436,7 +5436,7 @@
54365436
}
54375437
}
54385438
},
5439-
"revision": "20250627",
5439+
"revision": "20250804",
54405440
"rootUrl": "https://dialogflow.googleapis.com/",
54415441
"schemas": {
54425442
"GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -10664,6 +10664,13 @@
1066410664
},
1066510665
"type": "array"
1066610666
},
10667+
"inputParameterDefinitions": {
10668+
"description": "Optional. Defined structured input parameters for this flow.",
10669+
"items": {
10670+
"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition"
10671+
},
10672+
"type": "array"
10673+
},
1066710674
"knowledgeConnectorSettings": {
1066810675
"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings",
1066910676
"description": "Optional. Knowledge connector configuration."
@@ -10684,6 +10691,13 @@
1068410691
"$ref": "GoogleCloudDialogflowCxV3beta1NluSettings",
1068510692
"description": "NLU related settings of the flow."
1068610693
},
10694+
"outputParameterDefinitions": {
10695+
"description": "Optional. Defined structured output parameters for this flow.",
10696+
"items": {
10697+
"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition"
10698+
},
10699+
"type": "array"
10700+
},
1068710701
"transitionRouteGroups": {
1068810702
"description": "A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition route groups. Transition route groups defined in the page have higher priority than those defined in the flow. Format:`projects//locations//agents//flows//transitionRouteGroups/` or `projects//locations//agents//transitionRouteGroups/` for agent-level groups.",
1068910703
"items": {

0 commit comments

Comments
 (0)