Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.CompareVersionsRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ base_version
string
Required. Name of the base flow version to compare with the target version. Use version ID0to indicate the draft version of the specified flow. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
↳ target_version
string
Required. Name of the target flow version to compare with the base version. Use version ID0to indicate the draft version of the specified flow. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
↳ language_code
string
The language to compare the flow versions for. If not specified, the agent's default language is used.Many languagesare supported. Note: languages must be enabled in the agent before they can be used.
getBaseVersion
Required. Name of the base flow version to compare with the target version.
Use version ID0to indicate the draft version of the specified flow.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
Returns
Type
Description
string
setBaseVersion
Required. Name of the base flow version to compare with the target version.
Use version ID0to indicate the draft version of the specified flow.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTargetVersion
Required. Name of the target flow version to compare with the
base version. Use version ID0to indicate the draft version of the
specified flow. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
Returns
Type
Description
string
setTargetVersion
Required. Name of the target flow version to compare with the
base version. Use version ID0to indicate the draft version of the
specified flow. Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLanguageCode
The language to compare the flow versions for.
If not specified, the agent's default language is used.Many
languagesare
supported. Note: languages must be enabled in the agent before they can be
used.
Returns
Type
Description
string
setLanguageCode
The language to compare the flow versions for.
If not specified, the agent's default language is used.Many
languagesare
supported. Note: languages must be enabled in the agent before they can be
used.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
baseVersion
string
Required. Name of the base flow version to compare with the target version.
Use version ID0to indicate the draft version of the specified flow.
Format:projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. Please seeVersionsClient::versionName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class CompareVersionsRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.CompareVersionsRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.CompareVersionsRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.CompareVersionsRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.CompareVersionsRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.CompareVersionsRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.CompareVersionsRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.CompareVersionsRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.CompareVersionsRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.CompareVersionsRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CompareVersionsRequest.\n\nThe request message for\n[Versions.CompareVersions](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.VersionsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_VersionsClient__compareVersions__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.CompareVersionsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBaseVersion\n\nRequired. Name of the base flow version to compare with the target version.\n\nUse version ID `0` to indicate the draft version of the specified flow.\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/versions/\u003cVersionID\u003e`.\n\n### setBaseVersion\n\nRequired. Name of the base flow version to compare with the target version.\n\nUse version ID `0` to indicate the draft version of the specified flow.\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/versions/\u003cVersionID\u003e`.\n\n### getTargetVersion\n\nRequired. Name of the target flow version to compare with the\nbase version. Use version ID `0` to indicate the draft version of the\nspecified flow. Format:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/versions/\u003cVersionID\u003e`.\n\n### setTargetVersion\n\nRequired. Name of the target flow version to compare with the\nbase version. Use version ID `0` to indicate the draft version of the\nspecified flow. Format:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e/versions/\u003cVersionID\u003e`.\n\n### getLanguageCode\n\nThe language to compare the flow versions for.\n\nIf not specified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language) are\nsupported. Note: languages must be enabled in the agent before they can be\nused.\n\n### setLanguageCode\n\nThe language to compare the flow versions for.\n\nIf not specified, the agent's default language is used.\n[Many\nlanguages](https://cloud.google.com/dialogflow/docs/reference/language) are\nsupported. Note: languages must be enabled in the agent before they can be\nused.\n\n### static::build"]]