Skip to content

Commit b49bfda

Browse files
feat(dialogflow): update the api
#### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3Experiment.properties.rolloutConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3Experiment.properties.rolloutFailureReason.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3Experiment.properties.rolloutState.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3RolloutConfig (Total Keys: 13) - schemas.GoogleCloudDialogflowCxV3RolloutState (Total Keys: 7) #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3beta1Experiment.properties.rolloutConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Experiment.properties.rolloutFailureReason.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1Experiment.properties.rolloutState.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1RolloutConfig (Total Keys: 13) - schemas.GoogleCloudDialogflowCxV3beta1RolloutState (Total Keys: 7)
1 parent 5213cff commit b49bfda

6 files changed

+446
-22
lines changed

docs/dyn/dialogflow_v3.projects.locations.agents.environments.experiments.html

Lines changed: 144 additions & 8 deletions
Large diffs are not rendered by default.

docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.experiments.html

Lines changed: 144 additions & 8 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/dialogflow.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6915,7 +6915,7 @@
69156915
}
69166916
}
69176917
},
6918-
"revision": "20210727",
6918+
"revision": "20210802",
69196919
"rootUrl": "https://dialogflow.googleapis.com/",
69206920
"schemas": {
69216921
"GoogleCloudDialogflowCxV3AudioInput": {

googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7247,7 +7247,7 @@
72477247
}
72487248
}
72497249
},
7250-
"revision": "20210727",
7250+
"revision": "20210802",
72517251
"rootUrl": "https://dialogflow.googleapis.com/",
72527252
"schemas": {
72537253
"GoogleCloudDialogflowCxV3AudioInput": {

googleapiclient/discovery_cache/documents/dialogflow.v3.json

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3553,7 +3553,7 @@
35533553
}
35543554
}
35553555
},
3556-
"revision": "20210727",
3556+
"revision": "20210802",
35573557
"rootUrl": "https://dialogflow.googleapis.com/",
35583558
"schemas": {
35593559
"GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -4202,7 +4202,7 @@
42024202
"type": "string"
42034203
},
42044204
"experimentLength": {
4205-
"description": "LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)",
4205+
"description": "Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.",
42064206
"format": "google-duration",
42074207
"type": "string"
42084208
},
@@ -4219,6 +4219,18 @@
42194219
"$ref": "GoogleCloudDialogflowCxV3ExperimentResult",
42204220
"description": "Inference result of the experiment."
42214221
},
4222+
"rolloutConfig": {
4223+
"$ref": "GoogleCloudDialogflowCxV3RolloutConfig",
4224+
"description": "The configuration for auto rollout. If set, there should be exactly two variants in the experiment (control variant being the default version of the flow), the traffic allocation for the non-control variant will gradually increase to 100% when conditions are met, and eventually replace the control variant to become the default version of the flow."
4225+
},
4226+
"rolloutFailureReason": {
4227+
"description": "The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.",
4228+
"type": "string"
4229+
},
4230+
"rolloutState": {
4231+
"$ref": "GoogleCloudDialogflowCxV3RolloutState",
4232+
"description": "State of the auto rollout process."
4233+
},
42224234
"startTime": {
42234235
"description": "Start time of this experiment.",
42244236
"format": "google-datetime",
@@ -6146,6 +6158,70 @@
61466158
},
61476159
"type": "object"
61486160
},
6161+
"GoogleCloudDialogflowCxV3RolloutConfig": {
6162+
"description": "The configuration for auto rollout.",
6163+
"id": "GoogleCloudDialogflowCxV3RolloutConfig",
6164+
"properties": {
6165+
"failureCondition": {
6166+
"description": "The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. \"containment_rate < 10% OR average_turn_count < 3\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).",
6167+
"type": "string"
6168+
},
6169+
"rolloutCondition": {
6170+
"description": "The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. \"containment_rate > 60% AND callback_rate < 20%\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).",
6171+
"type": "string"
6172+
},
6173+
"rolloutSteps": {
6174+
"description": "Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.",
6175+
"items": {
6176+
"$ref": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep"
6177+
},
6178+
"type": "array"
6179+
}
6180+
},
6181+
"type": "object"
6182+
},
6183+
"GoogleCloudDialogflowCxV3RolloutConfigRolloutStep": {
6184+
"description": "A single rollout step with specified traffic allocation.",
6185+
"id": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep",
6186+
"properties": {
6187+
"displayName": {
6188+
"description": "The name of the rollout step;",
6189+
"type": "string"
6190+
},
6191+
"minDuration": {
6192+
"description": "The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.",
6193+
"format": "google-duration",
6194+
"type": "string"
6195+
},
6196+
"trafficPercent": {
6197+
"description": "The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].",
6198+
"format": "int32",
6199+
"type": "integer"
6200+
}
6201+
},
6202+
"type": "object"
6203+
},
6204+
"GoogleCloudDialogflowCxV3RolloutState": {
6205+
"description": "State of the auto-rollout process.",
6206+
"id": "GoogleCloudDialogflowCxV3RolloutState",
6207+
"properties": {
6208+
"startTime": {
6209+
"description": "Start time of the current step.",
6210+
"format": "google-datetime",
6211+
"type": "string"
6212+
},
6213+
"step": {
6214+
"description": "Display name of the current auto rollout step.",
6215+
"type": "string"
6216+
},
6217+
"stepIndex": {
6218+
"description": "Index of the current step in the auto rollout steps list.",
6219+
"format": "int32",
6220+
"type": "integer"
6221+
}
6222+
},
6223+
"type": "object"
6224+
},
61496225
"GoogleCloudDialogflowCxV3RunContinuousTestMetadata": {
61506226
"description": "Metadata returned for the Environments.RunContinuousTest long running operation.",
61516227
"id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata",

googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3553,7 +3553,7 @@
35533553
}
35543554
}
35553555
},
3556-
"revision": "20210727",
3556+
"revision": "20210802",
35573557
"rootUrl": "https://dialogflow.googleapis.com/",
35583558
"schemas": {
35593559
"GoogleCloudDialogflowCxV3AudioInput": {
@@ -5773,7 +5773,7 @@
57735773
"type": "string"
57745774
},
57755775
"experimentLength": {
5776-
"description": "LINT.IfChange(default_experiment_length) Maximum number of days to run the experiment. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:default_experiment_length)",
5776+
"description": "Maximum number of days to run the experiment. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.",
57775777
"format": "google-duration",
57785778
"type": "string"
57795779
},
@@ -5790,6 +5790,18 @@
57905790
"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentResult",
57915791
"description": "Inference result of the experiment."
57925792
},
5793+
"rolloutConfig": {
5794+
"$ref": "GoogleCloudDialogflowCxV3beta1RolloutConfig",
5795+
"description": "The configuration for auto rollout. If set, there should be exactly two variants in the experiment (control variant being the default version of the flow), the traffic allocation for the non-control variant will gradually increase to 100% when conditions are met, and eventually replace the control variant to become the default version of the flow."
5796+
},
5797+
"rolloutFailureReason": {
5798+
"description": "The reason why rollout has failed. Should only be set when state is ROLLOUT_FAILED.",
5799+
"type": "string"
5800+
},
5801+
"rolloutState": {
5802+
"$ref": "GoogleCloudDialogflowCxV3beta1RolloutState",
5803+
"description": "State of the auto rollout process."
5804+
},
57935805
"startTime": {
57945806
"description": "Start time of this experiment.",
57955807
"format": "google-datetime",
@@ -7717,6 +7729,70 @@
77177729
},
77187730
"type": "object"
77197731
},
7732+
"GoogleCloudDialogflowCxV3beta1RolloutConfig": {
7733+
"description": "The configuration for auto rollout.",
7734+
"id": "GoogleCloudDialogflowCxV3beta1RolloutConfig",
7735+
"properties": {
7736+
"failureCondition": {
7737+
"description": "The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. \"containment_rate < 10% OR average_turn_count < 3\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).",
7738+
"type": "string"
7739+
},
7740+
"rolloutCondition": {
7741+
"description": "The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. \"containment_rate > 60% AND callback_rate < 20%\". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).",
7742+
"type": "string"
7743+
},
7744+
"rolloutSteps": {
7745+
"description": "Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.",
7746+
"items": {
7747+
"$ref": "GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep"
7748+
},
7749+
"type": "array"
7750+
}
7751+
},
7752+
"type": "object"
7753+
},
7754+
"GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep": {
7755+
"description": "A single rollout step with specified traffic allocation.",
7756+
"id": "GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep",
7757+
"properties": {
7758+
"displayName": {
7759+
"description": "The name of the rollout step;",
7760+
"type": "string"
7761+
},
7762+
"minDuration": {
7763+
"description": "The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.",
7764+
"format": "google-duration",
7765+
"type": "string"
7766+
},
7767+
"trafficPercent": {
7768+
"description": "The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].",
7769+
"format": "int32",
7770+
"type": "integer"
7771+
}
7772+
},
7773+
"type": "object"
7774+
},
7775+
"GoogleCloudDialogflowCxV3beta1RolloutState": {
7776+
"description": "State of the auto-rollout process.",
7777+
"id": "GoogleCloudDialogflowCxV3beta1RolloutState",
7778+
"properties": {
7779+
"startTime": {
7780+
"description": "Start time of the current step.",
7781+
"format": "google-datetime",
7782+
"type": "string"
7783+
},
7784+
"step": {
7785+
"description": "Display name of the current auto rollout step.",
7786+
"type": "string"
7787+
},
7788+
"stepIndex": {
7789+
"description": "Index of the current step in the auto rollout steps list.",
7790+
"format": "int32",
7791+
"type": "integer"
7792+
}
7793+
},
7794+
"type": "object"
7795+
},
77207796
"GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata": {
77217797
"description": "Metadata returned for the Environments.RunContinuousTest long running operation.",
77227798
"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata",

0 commit comments

Comments
 (0)