From e550ff46127e7e99f0a6a66f07f4e661de0de45a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 14 Mar 2022 08:40:47 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1474) --- dialogflow/v2/dialogflow-api.json | 26 ++++++--- dialogflow/v2/dialogflow-gen.go | 59 +++++++++++++++++--- dialogflow/v2beta1/dialogflow-api.json | 26 ++++++--- dialogflow/v2beta1/dialogflow-gen.go | 59 +++++++++++++++++--- dialogflow/v3/dialogflow-api.json | 32 +++++++---- dialogflow/v3/dialogflow-gen.go | 76 ++++++++++++++++++++++---- dialogflow/v3beta1/dialogflow-api.json | 32 +++++++---- dialogflow/v3beta1/dialogflow-gen.go | 76 ++++++++++++++++++++++---- jobs/v3/jobs-api.json | 6 +- jobs/v3/jobs-gen.go | 21 ++++--- jobs/v3p1beta1/jobs-api.json | 8 +-- jobs/v3p1beta1/jobs-gen.go | 36 +++++++----- 12 files changed, 347 insertions(+), 110 deletions(-) diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 1fa1d4b547c..7dba2e5c5aa 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8077,7 +8077,7 @@ } } }, - "revision": "20220228", + "revision": "20220309", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -9453,7 +9453,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -11141,7 +11145,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -13055,7 +13063,7 @@ "id": "GoogleCloudDialogflowV2EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { @@ -13078,7 +13086,7 @@ "id": "GoogleCloudDialogflowV2ExportAgentRequest", "properties": { "agentUri": { - "description": "Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline.", + "description": "Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -13566,7 +13574,7 @@ "type": "string" }, "agentUri": { - "description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\".", + "description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -15485,7 +15493,7 @@ "type": "string" }, "agentUri": { - "description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\".", + "description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -16441,6 +16449,7 @@ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", + "HUMAN_INTERVENTION_NEEDED", "NEW_MESSAGE", "UNRECOVERABLE_ERROR" ], @@ -16448,6 +16457,7 @@ "Type not set.", "A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.", "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.", + "An existing conversation has received notification from Dialogflow that human intervention is required.", "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config", "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error." ], @@ -16533,7 +16543,7 @@ "id": "GoogleCloudDialogflowV2beta1EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index e530d406220..954a11a9ddb 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -3450,10 +3450,21 @@ func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a // test case. type GoogleCloudDialogflowCxV3TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -6665,10 +6676,21 @@ func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, er // GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations // for a test case. type GoogleCloudDialogflowCxV3beta1TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -9912,7 +9934,9 @@ type GoogleCloudDialogflowV2EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. @@ -9959,7 +9983,11 @@ type GoogleCloudDialogflowV2ExportAgentRequest struct { // AgentUri: Required. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the agent to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized agent is returned inline. + // serialized agent is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentUri") to @@ -11010,7 +11038,11 @@ type GoogleCloudDialogflowV2ImportAgentRequest struct { AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent - // to import. Note: The URI must start with "gs://". + // to import. Note: The URI must start with "gs://". Dialogflow performs + // a read operation for the Cloud Storage object on the caller's behalf, + // so your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -14330,7 +14362,12 @@ type GoogleCloudDialogflowV2RestoreAgentRequest struct { AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent - // to restore. Note: The URI must start with "gs://". + // to restore. Note: The URI must start with "gs://". Dialogflow + // performs a read operation for the Cloud Storage object on the + // caller's behalf, so your request authentication must have read + // permissions for the object. For more information, see Dialogflow + // access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -16195,6 +16232,8 @@ type GoogleCloudDialogflowV2beta1ConversationEvent struct { // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config @@ -16356,7 +16395,9 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index eddbfec7636..29a92e1ce1d 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -7431,7 +7431,7 @@ } } }, - "revision": "20220228", + "revision": "20220309", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -8807,7 +8807,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -10495,7 +10499,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -11293,7 +11301,7 @@ "id": "GoogleCloudDialogflowV2EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { @@ -13842,6 +13850,7 @@ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", + "HUMAN_INTERVENTION_NEEDED", "NEW_MESSAGE", "UNRECOVERABLE_ERROR" ], @@ -13849,6 +13858,7 @@ "Type not set.", "A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.", "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.", + "An existing conversation has received notification from Dialogflow that human intervention is required.", "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config", "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error." ], @@ -14321,7 +14331,7 @@ "id": "GoogleCloudDialogflowV2beta1EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { @@ -14344,7 +14354,7 @@ "id": "GoogleCloudDialogflowV2beta1ExportAgentRequest", "properties": { "agentUri": { - "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline.", + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -14824,7 +14834,7 @@ "type": "string" }, "agentUri": { - "description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\".", + "description": "The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -17086,7 +17096,7 @@ "type": "string" }, "agentUri": { - "description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\".", + "description": "The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with \"gs://\". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index cb29e004a78..b2e911f7aae 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -3378,10 +3378,21 @@ func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a // test case. type GoogleCloudDialogflowCxV3TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -6593,10 +6604,21 @@ func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, er // GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations // for a test case. type GoogleCloudDialogflowCxV3beta1TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -7938,7 +7960,9 @@ type GoogleCloudDialogflowV2EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. @@ -12254,6 +12278,8 @@ type GoogleCloudDialogflowV2beta1ConversationEvent struct { // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config @@ -13071,7 +13097,9 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. @@ -13118,7 +13146,11 @@ type GoogleCloudDialogflowV2beta1ExportAgentRequest struct { // AgentUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the agent to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized agent is returned inline. + // serialized agent is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentUri") to @@ -14168,7 +14200,11 @@ type GoogleCloudDialogflowV2beta1ImportAgentRequest struct { AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent - // to import. Note: The URI must start with "gs://". + // to import. Note: The URI must start with "gs://". Dialogflow performs + // a read operation for the Cloud Storage object on the caller's behalf, + // so your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -18081,7 +18117,12 @@ type GoogleCloudDialogflowV2beta1RestoreAgentRequest struct { AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent - // to restore. Note: The URI must start with "gs://". + // to restore. Note: The URI must start with "gs://". Dialogflow + // performs a read operation for the Cloud Storage object on the + // caller's behalf, so your request authentication must have read + // permissions for the object. For more information, see Dialogflow + // access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 9b77cacdcfe..4a3a5bf12ab 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220222", + "revision": "20220309", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -4877,7 +4877,7 @@ "id": "GoogleCloudDialogflowCxV3ExportAgentRequest", "properties": { "agentUri": { - "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline.", + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "environment": { @@ -4908,7 +4908,7 @@ "id": "GoogleCloudDialogflowCxV3ExportFlowRequest", "properties": { "flowUri": { - "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the flow to. The format of this URI must be `gs:///`. If left unspecified, the serialized flow is returned inline.", + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the flow to. The format of this URI must be `gs:///`. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "includeReferencedFlows": { @@ -4963,7 +4963,7 @@ "type": "string" }, "gcsUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -5323,7 +5323,7 @@ "type": "string" }, "flowUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "importOption": { @@ -5378,7 +5378,7 @@ "type": "string" }, "gcsUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -6664,7 +6664,7 @@ "type": "string" }, "agentUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "restoreOption": { @@ -7120,7 +7120,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -9263,7 +9267,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -10061,7 +10069,7 @@ "id": "GoogleCloudDialogflowV2EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { @@ -11877,6 +11885,7 @@ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", + "HUMAN_INTERVENTION_NEEDED", "NEW_MESSAGE", "UNRECOVERABLE_ERROR" ], @@ -11884,6 +11893,7 @@ "Type not set.", "A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.", "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.", + "An existing conversation has received notification from Dialogflow that human intervention is required.", "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config", "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error." ], @@ -11969,7 +11979,7 @@ "id": "GoogleCloudDialogflowV2beta1EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 5105f794ed7..713eba59bb7 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -2315,7 +2315,11 @@ type GoogleCloudDialogflowCxV3ExportAgentRequest struct { // AgentUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the agent to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized agent is returned inline. + // serialized agent is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // Environment: Optional. Environment name. If not set, draft @@ -2385,7 +2389,11 @@ type GoogleCloudDialogflowCxV3ExportFlowRequest struct { // FlowUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the flow to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized flow is returned inline. + // serialized flow is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `json:"flowUri,omitempty"` // IncludeReferencedFlows: Optional. Whether to export flows referenced @@ -2476,7 +2484,11 @@ type GoogleCloudDialogflowCxV3ExportTestCasesRequest struct { // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the test cases // to. The format of this URI must be `gs:///`. If unspecified, the - // serialized test cases is returned inline. + // serialized test cases is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "DataFormat") to @@ -3201,7 +3213,11 @@ type GoogleCloudDialogflowCxV3ImportFlowRequest struct { // FlowUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import flow from. The - // format of this URI must be `gs:///`. + // format of this URI must be `gs:///`. Dialogflow performs a read + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `json:"flowUri,omitempty"` // ImportOption: Flow import mode. If not specified, `KEEP` is assumed. @@ -3306,7 +3322,11 @@ type GoogleCloudDialogflowCxV3ImportTestCasesRequest struct { // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import test cases - // from. The format of this URI must be `gs:///`. + // from. The format of this URI must be `gs:///`. Dialogflow performs a + // read operation for the Cloud Storage object on the caller's behalf, + // so your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to @@ -5794,7 +5814,11 @@ type GoogleCloudDialogflowCxV3RestoreAgentRequest struct { // AgentUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to restore agent from. - // The format of this URI must be `gs:///`. + // The format of this URI must be `gs:///`. Dialogflow performs a read + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // RestoreOption: Agent restore mode. If not specified, `KEEP` is @@ -6662,10 +6686,21 @@ func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a // test case. type GoogleCloudDialogflowCxV3TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -10684,10 +10719,21 @@ func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, er // GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations // for a test case. type GoogleCloudDialogflowCxV3beta1TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -12029,7 +12075,9 @@ type GoogleCloudDialogflowV2EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. @@ -15093,6 +15141,8 @@ type GoogleCloudDialogflowV2beta1ConversationEvent struct { // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config @@ -15254,7 +15304,9 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index b1d53e22b82..c30a437775e 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220222", + "revision": "20220309", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -5196,7 +5196,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -6565,7 +6569,7 @@ "id": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest", "properties": { "agentUri": { - "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline.", + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "environment": { @@ -6596,7 +6600,7 @@ "id": "GoogleCloudDialogflowCxV3beta1ExportFlowRequest", "properties": { "flowUri": { - "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the flow to. The format of this URI must be `gs:///`. If left unspecified, the serialized flow is returned inline.", + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the flow to. The format of this URI must be `gs:///`. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "includeReferencedFlows": { @@ -6651,7 +6655,7 @@ "type": "string" }, "gcsUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -7011,7 +7015,7 @@ "type": "string" }, "flowUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import flow from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "importOption": { @@ -7066,7 +7070,7 @@ "type": "string" }, "gcsUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" } }, @@ -8352,7 +8356,7 @@ "type": "string" }, "agentUri": { - "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`.", + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).", "type": "string" }, "restoreOption": { @@ -8808,7 +8812,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "type": "string" + }, + "page": { + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -10061,7 +10069,7 @@ "id": "GoogleCloudDialogflowV2EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { @@ -11877,6 +11885,7 @@ "TYPE_UNSPECIFIED", "CONVERSATION_STARTED", "CONVERSATION_FINISHED", + "HUMAN_INTERVENTION_NEEDED", "NEW_MESSAGE", "UNRECOVERABLE_ERROR" ], @@ -11884,6 +11893,7 @@ "Type not set.", "A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.", "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.", + "An existing conversation has received notification from Dialogflow that human intervention is required.", "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config", "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error." ], @@ -11969,7 +11979,7 @@ "id": "GoogleCloudDialogflowV2beta1EventInput", "properties": { "languageCode": { - "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "description": "Required. The language of this query. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. This field is ignored when used in the context of a WebhookResponse.followup_event_input field, because the language was already defined in the originating detect intent request.", "type": "string" }, "name": { diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index a01fa7fd4ac..a51a69aa704 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -3066,10 +3066,21 @@ func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a // test case. type GoogleCloudDialogflowCxV3TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -5528,7 +5539,11 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { // AgentUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the agent to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized agent is returned inline. + // serialized agent is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // Environment: Optional. Environment name. If not set, draft @@ -5598,7 +5613,11 @@ type GoogleCloudDialogflowCxV3beta1ExportFlowRequest struct { // FlowUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the flow to. // The format of this URI must be `gs:///`. If left unspecified, the - // serialized flow is returned inline. + // serialized flow is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `json:"flowUri,omitempty"` // IncludeReferencedFlows: Optional. Whether to export flows referenced @@ -5689,7 +5708,11 @@ type GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest struct { // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the test cases // to. The format of this URI must be `gs:///`. If unspecified, the - // serialized test cases is returned inline. + // serialized test cases is returned inline. Dialogflow performs a write + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have write permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "DataFormat") to @@ -6416,7 +6439,11 @@ type GoogleCloudDialogflowCxV3beta1ImportFlowRequest struct { // FlowUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import flow from. The - // format of this URI must be `gs:///`. + // format of this URI must be `gs:///`. Dialogflow performs a read + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `json:"flowUri,omitempty"` // ImportOption: Flow import mode. If not specified, `KEEP` is assumed. @@ -6521,7 +6548,11 @@ type GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest struct { // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import test cases - // from. The format of this URI must be `gs:///`. + // from. The format of this URI must be `gs:///`. Dialogflow performs a + // read operation for the Cloud Storage object on the caller's behalf, + // so your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to @@ -9012,7 +9043,11 @@ type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { // AgentUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to restore agent from. - // The format of this URI must be `gs:///`. + // The format of this URI must be `gs:///`. Dialogflow performs a read + // operation for the Cloud Storage object on the caller's behalf, so + // your request authentication must have read permissions for the + // object. For more information, see Dialogflow access control + // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // RestoreOption: Agent restore mode. If not specified, `KEEP` is @@ -9881,10 +9916,21 @@ func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, er // GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations // for a test case. type GoogleCloudDialogflowCxV3beta1TestConfig struct { - // Flow: Flow name. If not set, default start flow is assumed. Format: - // `projects//locations//agents//flows/`. + // Flow: Flow name to start the test case with. Format: + // `projects//locations//agents//flows/`. Only one of `flow` and `page` + // should be set to indicate the starting point of the test case. If + // both are set, `page` takes precedence over `flow`. If neither is set, + // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` + // Page: The page to start the test case with. Format: + // `projects//locations//agents//flows//pages/`. Only one of `flow` and + // `page` should be set to indicate the starting point of the test case. + // If both are set, `page` takes precedence over `flow`. If neither is + // set, the test case will start with start page on the default start + // flow. + Page string `json:"page,omitempty"` + // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` @@ -12034,7 +12080,9 @@ type GoogleCloudDialogflowV2EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. @@ -15098,6 +15146,8 @@ type GoogleCloudDialogflowV2beta1ConversationEvent struct { // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config @@ -15259,7 +15309,9 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the - // same language. + // same language. This field is ignored when used in the context of a + // WebhookResponse.followup_event_input field, because the language was + // already defined in the originating detect intent request. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. diff --git a/jobs/v3/jobs-api.json b/jobs/v3/jobs-api.json index 411bff8ab41..ca2317eb669 100644 --- a/jobs/v3/jobs-api.json +++ b/jobs/v3/jobs-api.json @@ -651,7 +651,7 @@ } } }, - "revision": "20210830", + "revision": "20220303", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { @@ -1901,7 +1901,7 @@ "description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." }, "companyDisplayNames": { - "description": "Optional. This filter specifies the exact company display name of the jobs to search against. If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", + "description": "Optional. This filter specifies the company Company.display_name of the jobs to search against. The company name must match the value exactly. Alternatively, if the value being searched for is wrapped in SUBSTRING_MATCH([value]), the company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: SUBSTRING_MATCH(google) If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", "items": { "type": "string" }, @@ -2453,7 +2453,7 @@ "type": "array" }, "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", "type": "string" }, "revision": { diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go index 0792c292274..1384715d712 100644 --- a/jobs/v3/jobs-gen.go +++ b/jobs/v3/jobs-gen.go @@ -2132,12 +2132,17 @@ type JobQuery struct { // sorting by commute time. CommuteFilter *CommuteFilter `json:"commuteFilter,omitempty"` - // CompanyDisplayNames: Optional. This filter specifies the exact - // company display name of the jobs to search against. If a value isn't - // specified, jobs within the search results are associated with any - // company. If multiple values are specified, jobs within the search - // results may be associated with any of the specified companies. At - // most 20 company display name filters are allowed. + // CompanyDisplayNames: Optional. This filter specifies the company + // Company.display_name of the jobs to search against. The company name + // must match the value exactly. Alternatively, if the value being + // searched for is wrapped in SUBSTRING_MATCH([value]), the company name + // must contain a case insensitive substring match of the value. Using + // this function may increase latency. Sample Value: + // SUBSTRING_MATCH(google) If a value isn't specified, jobs within the + // search results are associated with any company. If multiple values + // are specified, jobs within the search results may be associated with + // any of the specified companies. At most 20 company display name + // filters are allowed. CompanyDisplayNames []string `json:"companyDisplayNames,omitempty"` // CompanyNames: Optional. This filter specifies the company entities to @@ -3052,8 +3057,8 @@ type PostalAddress struct { // RegionCode: Required. CLDR region code of the country/region of the // address. This is never inferred and it is up to the user to ensure - // the value is correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // the value is correct. See https://cldr.unicode.org/ and + // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. RegionCode string `json:"regionCode,omitempty"` diff --git a/jobs/v3p1beta1/jobs-api.json b/jobs/v3p1beta1/jobs-api.json index 79967962273..4ed25a7f2ff 100644 --- a/jobs/v3p1beta1/jobs-api.json +++ b/jobs/v3p1beta1/jobs-api.json @@ -681,7 +681,7 @@ } } }, - "revision": "20210830", + "revision": "20220303", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { @@ -1471,7 +1471,7 @@ "id": "HistogramQuery", "properties": { "histogramQuery": { - "description": "An expression specifies a histogram request against matching resources (for example, jobs) for searches. Expression syntax is a aggregation function call with histogram facets and other options. Available aggregation function calls are: * `count(string_histogram_facet)`: Count the number of matching entity, for each distinct attribute value. * `count(numeric_histogram_facet, list of buckets)`: Count the number of matching entity within each bucket. Data types: * Histogram facet: facet names with format a-zA-Z+. * String: string like \"any string with backslash escape for quote(\\\").\" * Number: whole number and floating point number like 10, -1 and -0.01. * List: list of elements with comma(,) separator surrounded by square brackets. For example, [1, 2, 3] and [\"one\", \"two\", \"three\"]. Built-in constants: * MIN (minimum number similar to java Double.MIN_VALUE) * MAX (maximum number similar to java Double.MAX_VALUE) Built-in functions: * bucket(start, end[, label]): bucket built-in function creates a bucket with range of start, end). Note that the end is exclusive. For example, bucket(1, MAX, \"positive number\") or bucket(1, 10). Job histogram facets: * company_id: histogram by [Job.distributor_company_id. * company_display_name: histogram by Job.company_display_name. * employment_type: histogram by Job.employment_types. For example, \"FULL_TIME\", \"PART_TIME\". * company_size: histogram by CompanySize, for example, \"SMALL\", \"MEDIUM\", \"BIG\". * publish_time_in_day: histogram by the Job.publish_time in days. Must specify list of numeric buckets in spec. * publish_time_in_month: histogram by the Job.publish_time in months. Must specify list of numeric buckets in spec. * publish_time_in_year: histogram by the Job.publish_time in years. Must specify list of numeric buckets in spec. * degree_type: histogram by the Job.degree_type. For example, \"Bachelors\", \"Masters\". * job_level: histogram by the Job.job_level. For example, \"Entry Level\". * country: histogram by the country code of jobs. For example, \"US\", \"FR\". * admin1: histogram by the admin1 code of jobs, which is a global placeholder referring to the state, province, or the particular term a country uses to define the geographic structure below the country level. For example, \"CA\", \"IL\". * city: histogram by a combination of the \"city name, admin1 code\". For example, \"Mountain View, CA\", \"New York, NY\". * admin1_country: histogram by a combination of the \"admin1 code, country\". For example, \"CA, US\", \"IL, US\". * city_coordinate: histogram by the city center's GPS coordinates (latitude and longitude). For example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, customers may need to refresh them periodically. * locale: histogram by the Job.language_code. For example, \"en-US\", \"fr-FR\". * language: histogram by the language subtag of the Job.language_code. For example, \"en\", \"fr\". * category: histogram by the JobCategory. For example, \"COMPUTER_AND_IT\", \"HEALTHCARE\". * base_compensation_unit: histogram by the CompensationUnit of base salary. For example, \"WEEKLY\", \"MONTHLY\". * base_compensation: histogram by the base salary. Must specify list of numeric buckets to group results by. * annualized_base_compensation: histogram by the base annualized salary. Must specify list of numeric buckets to group results by. * annualized_total_compensation: histogram by the total annualized salary. Must specify list of numeric buckets to group results by. * string_custom_attribute: histogram by string Job.custom_attributes. Values can be accessed via square bracket notations like string_custom_attribute[\"key1\"]. * numeric_custom_attribute: histogram by numeric Job.custom_attributes. Values can be accessed via square bracket notations like numeric_custom_attribute[\"key1\"]. Must specify list of numeric buckets to group results by. Example expressions: * count(admin1) * count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000), bucket(100000, MAX)]) * count(string_custom_attribute[\"some-string-custom-attribute\"]) * count(numeric_custom_attribute[\"some-numeric-custom-attribute\"], [bucket(MIN, 0, \"negative\"), bucket(0, MAX, \"non-negative\")])", + "description": "An expression specifies a histogram request against matching resources (for example, jobs) for searches. Expression syntax is a aggregation function call with histogram facets and other options. Available aggregation function calls are: * `count(string_histogram_facet)`: Count the number of matching entity, for each distinct attribute value. * `count(numeric_histogram_facet, list of buckets)`: Count the number of matching entity within each bucket. A maximum of 200 histogram buckets are supported. Data types: * Histogram facet: facet names with format a-zA-Z+. * String: string like \"any string with backslash escape for quote(\\\").\" * Number: whole number and floating point number like 10, -1 and -0.01. * List: list of elements with comma(,) separator surrounded by square brackets. For example, [1, 2, 3] and [\"one\", \"two\", \"three\"]. Built-in constants: * MIN (minimum number similar to java Double.MIN_VALUE) * MAX (maximum number similar to java Double.MAX_VALUE) Built-in functions: * bucket(start, end[, label]): bucket built-in function creates a bucket with range of start, end). Note that the end is exclusive. For example, bucket(1, MAX, \"positive number\") or bucket(1, 10). Job histogram facets: * company_id: histogram by [Job.distributor_company_id. * company_display_name: histogram by Job.company_display_name. * employment_type: histogram by Job.employment_types. For example, \"FULL_TIME\", \"PART_TIME\". * company_size: histogram by CompanySize, for example, \"SMALL\", \"MEDIUM\", \"BIG\". * publish_time_in_day: histogram by the Job.publish_time in days. Must specify list of numeric buckets in spec. * publish_time_in_month: histogram by the Job.publish_time in months. Must specify list of numeric buckets in spec. * publish_time_in_year: histogram by the Job.publish_time in years. Must specify list of numeric buckets in spec. * degree_type: histogram by the Job.degree_type. For example, \"Bachelors\", \"Masters\". * job_level: histogram by the Job.job_level. For example, \"Entry Level\". * country: histogram by the country code of jobs. For example, \"US\", \"FR\". * admin1: histogram by the admin1 code of jobs, which is a global placeholder referring to the state, province, or the particular term a country uses to define the geographic structure below the country level. For example, \"CA\", \"IL\". * city: histogram by a combination of the \"city name, admin1 code\". For example, \"Mountain View, CA\", \"New York, NY\". * admin1_country: histogram by a combination of the \"admin1 code, country\". For example, \"CA, US\", \"IL, US\". * city_coordinate: histogram by the city center's GPS coordinates (latitude and longitude). For example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, customers may need to refresh them periodically. * locale: histogram by the Job.language_code. For example, \"en-US\", \"fr-FR\". * language: histogram by the language subtag of the Job.language_code. For example, \"en\", \"fr\". * category: histogram by the JobCategory. For example, \"COMPUTER_AND_IT\", \"HEALTHCARE\". * base_compensation_unit: histogram by the CompensationUnit of base salary. For example, \"WEEKLY\", \"MONTHLY\". * base_compensation: histogram by the base salary. Must specify list of numeric buckets to group results by. * annualized_base_compensation: histogram by the base annualized salary. Must specify list of numeric buckets to group results by. * annualized_total_compensation: histogram by the total annualized salary. Must specify list of numeric buckets to group results by. * string_custom_attribute: histogram by string Job.custom_attributes. Values can be accessed via square bracket notations like string_custom_attribute[\"key1\"]. * numeric_custom_attribute: histogram by numeric Job.custom_attributes. Values can be accessed via square bracket notations like numeric_custom_attribute[\"key1\"]. Must specify list of numeric buckets to group results by. Example expressions: * count(admin1) * count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000), bucket(100000, MAX)]) * count(string_custom_attribute[\"some-string-custom-attribute\"]) * count(numeric_custom_attribute[\"some-numeric-custom-attribute\"], [bucket(MIN, 0, \"negative\"), bucket(0, MAX, \"non-negative\")])", "type": "string" } }, @@ -1998,7 +1998,7 @@ "description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." }, "companyDisplayNames": { - "description": "Optional. This filter specifies the exact company display name of the jobs to search against. If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", + "description": "Optional. This filter specifies the company Company.display_name of the jobs to search against. The company name must match the value exactly. Alternatively, if the value being searched for is wrapped in SUBSTRING_MATCH([value]), the company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: SUBSTRING_MATCH(google) If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", "items": { "type": "string" }, @@ -2592,7 +2592,7 @@ "type": "array" }, "regionCode": { - "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", "type": "string" }, "revision": { diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go index 5a31ccc5991..e1bf54fa606 100644 --- a/jobs/v3p1beta1/jobs-gen.go +++ b/jobs/v3p1beta1/jobs-gen.go @@ -1529,13 +1529,14 @@ type HistogramQuery struct { // `count(string_histogram_facet)`: Count the number of matching entity, // for each distinct attribute value. * `count(numeric_histogram_facet, // list of buckets)`: Count the number of matching entity within each - // bucket. Data types: * Histogram facet: facet names with format - // a-zA-Z+. * String: string like "any string with backslash escape for - // quote(\")." * Number: whole number and floating point number like 10, - // -1 and -0.01. * List: list of elements with comma(,) separator - // surrounded by square brackets. For example, [1, 2, 3] and ["one", - // "two", "three"]. Built-in constants: * MIN (minimum number similar to - // java Double.MIN_VALUE) * MAX (maximum number similar to java + // bucket. A maximum of 200 histogram buckets are supported. Data types: + // * Histogram facet: facet names with format a-zA-Z+. * String: string + // like "any string with backslash escape for quote(\")." * Number: + // whole number and floating point number like 10, -1 and -0.01. * List: + // list of elements with comma(,) separator surrounded by square + // brackets. For example, [1, 2, 3] and ["one", "two", "three"]. + // Built-in constants: * MIN (minimum number similar to java + // Double.MIN_VALUE) * MAX (maximum number similar to java // Double.MAX_VALUE) Built-in functions: * bucket(start, end[, label]): // bucket built-in function creates a bucket with range of start, end). // Note that the end is exclusive. For example, bucket(1, MAX, "positive @@ -2348,12 +2349,17 @@ type JobQuery struct { // sorting by commute time. CommuteFilter *CommuteFilter `json:"commuteFilter,omitempty"` - // CompanyDisplayNames: Optional. This filter specifies the exact - // company display name of the jobs to search against. If a value isn't - // specified, jobs within the search results are associated with any - // company. If multiple values are specified, jobs within the search - // results may be associated with any of the specified companies. At - // most 20 company display name filters are allowed. + // CompanyDisplayNames: Optional. This filter specifies the company + // Company.display_name of the jobs to search against. The company name + // must match the value exactly. Alternatively, if the value being + // searched for is wrapped in SUBSTRING_MATCH([value]), the company name + // must contain a case insensitive substring match of the value. Using + // this function may increase latency. Sample Value: + // SUBSTRING_MATCH(google) If a value isn't specified, jobs within the + // search results are associated with any company. If multiple values + // are specified, jobs within the search results may be associated with + // any of the specified companies. At most 20 company display name + // filters are allowed. CompanyDisplayNames []string `json:"companyDisplayNames,omitempty"` // CompanyNames: Optional. This filter specifies the company entities to @@ -3335,8 +3341,8 @@ type PostalAddress struct { // RegionCode: Required. CLDR region code of the country/region of the // address. This is never inferred and it is up to the user to ensure - // the value is correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html + // the value is correct. See https://cldr.unicode.org/ and + // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html // for details. Example: "CH" for Switzerland. RegionCode string `json:"regionCode,omitempty"`