From d9bd05beb8861c3c1b2ac8e7dd57afcfcf871644 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 19 Jul 2023 00:22:13 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2077) --- .../v1alpha/analyticsadmin-api.json | 4 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 6 +- analyticsadmin/v1beta/analyticsadmin-api.json | 4 +- analyticsadmin/v1beta/analyticsadmin-gen.go | 6 +- checks/v1alpha/checks-api.json | 61 ++++- checks/v1alpha/checks-gen.go | 243 ++++++++++++++++++ dialogflow/v2/dialogflow-api.json | 62 +++-- dialogflow/v2/dialogflow-gen.go | 159 ++++++------ dialogflow/v2beta1/dialogflow-api.json | 68 +++-- dialogflow/v2beta1/dialogflow-gen.go | 181 +++++++------ dialogflow/v3/dialogflow-api.json | 44 +++- dialogflow/v3/dialogflow-gen.go | 111 ++++---- dialogflow/v3beta1/dialogflow-api.json | 44 +++- dialogflow/v3beta1/dialogflow-gen.go | 111 ++++---- documentai/v1/documentai-api.json | 23 +- documentai/v1/documentai-gen.go | 36 ++- documentai/v1beta3/documentai-api.json | 23 +- documentai/v1beta3/documentai-gen.go | 36 ++- games/v1/games-api.json | 26 +- games/v1/games-gen.go | 24 ++ .../v1/servicenetworking-api.json | 57 +++- servicenetworking/v1/servicenetworking-gen.go | 224 ++++++++++++++++ vault/v1/vault-api.json | 28 +- 23 files changed, 1226 insertions(+), 355 deletions(-) diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 0f4e663f255..66b989d1f59 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -3140,7 +3140,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. Omitted fields will not be updated.", + "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4322,7 +4322,7 @@ } } }, - "revision": "20230716", + "revision": "20230718", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index f333a6c1cb1..24498c0003f 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -23011,8 +23011,8 @@ func (r *PropertiesDataStreamsMeasurementProtocolSecretsService) Patch(name stri return c } -// UpdateMask sets the optional parameter "updateMask": The list of -// fields to be updated. Omitted fields will not be updated. +// UpdateMask sets the optional parameter "updateMask": Required. The +// list of fields to be updated. Omitted fields will not be updated. func (c *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) UpdateMask(updateMask string) *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -23127,7 +23127,7 @@ func (c *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Do(opts ...go // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. Omitted fields will not be updated.", + // "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/analyticsadmin/v1beta/analyticsadmin-api.json b/analyticsadmin/v1beta/analyticsadmin-api.json index 5ecd16e8a93..7e1a0294d06 100644 --- a/analyticsadmin/v1beta/analyticsadmin-api.json +++ b/analyticsadmin/v1beta/analyticsadmin-api.json @@ -1348,7 +1348,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. Omitted fields will not be updated.", + "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1594,7 +1594,7 @@ } } }, - "revision": "20230704", + "revision": "20230718", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1betaAccessBetweenFilter": { diff --git a/analyticsadmin/v1beta/analyticsadmin-gen.go b/analyticsadmin/v1beta/analyticsadmin-gen.go index bbb8af6d0f4..75501ae7066 100644 --- a/analyticsadmin/v1beta/analyticsadmin-gen.go +++ b/analyticsadmin/v1beta/analyticsadmin-gen.go @@ -9476,8 +9476,8 @@ func (r *PropertiesDataStreamsMeasurementProtocolSecretsService) Patch(name stri return c } -// UpdateMask sets the optional parameter "updateMask": The list of -// fields to be updated. Omitted fields will not be updated. +// UpdateMask sets the optional parameter "updateMask": Required. The +// list of fields to be updated. Omitted fields will not be updated. func (c *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) UpdateMask(updateMask string) *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -9592,7 +9592,7 @@ func (c *PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Do(opts ...go // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. Omitted fields will not be updated.", + // "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/checks/v1alpha/checks-api.json b/checks/v1alpha/checks-api.json index bcbb4a49289..14762b2da43 100644 --- a/checks/v1alpha/checks-api.json +++ b/checks/v1alpha/checks-api.json @@ -135,6 +135,47 @@ "scopes": [ "https://www.googleapis.com/auth/xapi.zoo" ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1alpha/accounts/{accountsId}/apps/{appsId}/operations", + "httpMethod": "GET", + "id": "checks.accounts.apps.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^accounts/[^/]+/apps/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/xapi.zoo" + ] } } } @@ -199,7 +240,7 @@ } } }, - "revision": "20230716", + "revision": "20230717", "rootUrl": "https://checks.googleapis.com/", "schemas": { "AnalyzePrivacyPolicyRequest": { @@ -300,6 +341,24 @@ }, "type": "object" }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index 81db8c69569..9e3a2f22fe9 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -393,6 +393,43 @@ func (s *LastUpdatedDate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ListOperationsResponse: The response message for +// Operations.ListOperations. +type ListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*Operation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Operation: This resource represents a long-running operation that is // the result of a network API call. type Operation struct { @@ -1043,6 +1080,212 @@ func (c *AccountsAppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Opera } +// method id "checks.accounts.apps.operations.list": + +type AccountsAppsOperationsListCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists operations that match the specified filter in the +// request. If the server doesn't support this method, it returns +// `UNIMPLEMENTED`. +// +// - name: The name of the operation's parent resource. +func (r *AccountsAppsOperationsService) List(name string) *AccountsAppsOperationsListCall { + c := &AccountsAppsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Filter sets the optional parameter "filter": The standard list +// filter. +func (c *AccountsAppsOperationsListCall) Filter(filter string) *AccountsAppsOperationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The standard list +// page size. +func (c *AccountsAppsOperationsListCall) PageSize(pageSize int64) *AccountsAppsOperationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The standard list +// page token. +func (c *AccountsAppsOperationsListCall) PageToken(pageToken string) *AccountsAppsOperationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AccountsAppsOperationsListCall) Fields(s ...googleapi.Field) *AccountsAppsOperationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *AccountsAppsOperationsListCall) IfNoneMatch(entityTag string) *AccountsAppsOperationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AccountsAppsOperationsListCall) Context(ctx context.Context) *AccountsAppsOperationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AccountsAppsOperationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AccountsAppsOperationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}/operations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "checks.accounts.apps.operations.list" call. +// Exactly one of *ListOperationsResponse or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ListOperationsResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *AccountsAppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &ListOperationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + // "flatPath": "v1alpha/accounts/{accountsId}/apps/{appsId}/operations", + // "httpMethod": "GET", + // "id": "checks.accounts.apps.operations.list", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "filter": { + // "description": "The standard list filter.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The name of the operation's parent resource.", + // "location": "path", + // "pattern": "^accounts/[^/]+/apps/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "pageSize": { + // "description": "The standard list page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The standard list page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1alpha/{+name}/operations", + // "response": { + // "$ref": "ListOperationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/xapi.zoo" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *AccountsAppsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "checks.privacypolicy.analyze": type PrivacypolicyAnalyzeCall struct { diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 27bda716519..f11649d82f8 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -1230,7 +1230,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2256,7 +2256,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -3284,7 +3284,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -5320,7 +5320,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -5986,7 +5986,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -7098,7 +7098,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -8211,7 +8211,7 @@ } } }, - "revision": "20230714", + "revision": "20230717", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -8615,7 +8615,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -9308,6 +9308,22 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, + "responseType": { + "description": "Response type.", + "enum": [ + "RESPONSE_TYPE_UNSPECIFIED", + "ENTRY_PROMPT", + "PARAMETER_PROMPT", + "HANDLER_PROMPT" + ], + "enumDescriptions": [ + "Not specified.", + "The response is from an entry prompt in the page.", + "The response is from form-filling prompt in the page.", + "The response is from a transition route or an event handler in the page or flow or transition route group." + ], + "type": "string" + }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -10547,7 +10563,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -12832,7 +12848,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -12840,7 +12856,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -13752,7 +13768,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -13935,7 +13951,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -13946,7 +13962,7 @@ "id": "GoogleCloudDialogflowV2GcsSources", "properties": { "uris": { - "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", + "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", "items": { "type": "string" }, @@ -14526,7 +14542,7 @@ }, "phraseHints": { "deprecated": true, - "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [speech_contexts]() instead. If you specify both [phrase_hints]() and [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional [SpeechContext]().", + "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().", "items": { "type": "string" }, @@ -16205,7 +16221,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { @@ -16835,7 +16851,7 @@ "type": "object" }, "GoogleCloudDialogflowV2TextInput": { - "description": "============================================================================ Auxiliary proto messages. Represents the natural language text to be processed.", + "description": "Auxiliary proto messages. Represents the natural language text to be processed.", "id": "GoogleCloudDialogflowV2TextInput", "properties": { "languageCode": { @@ -16925,7 +16941,7 @@ "id": "GoogleCloudDialogflowV2ValidationError", "properties": { "entries": { - "description": "The names of the entries that the error is associated with. Format: - \"projects//agent\", if the error is associated with the entire agent. - \"projects//agent/intents/\", if the error is associated with certain intents. - \"projects//agent/intents//trainingPhrases/\", if the error is associated with certain intent training phrases. - \"projects//agent/intents//parameters/\", if the error is associated with certain intent parameters. - \"projects//agent/entities/\", if the error is associated with certain entities.", + "description": "The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities.", "items": { "type": "string" }, @@ -17255,7 +17271,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -17263,7 +17279,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -17416,7 +17432,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -17489,7 +17505,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -19015,7 +19031,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 4c250582310..7f8bbce7cd6 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -1613,7 +1613,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -2968,6 +2968,17 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // ResponseType: Response type. + // + // Possible values: + // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. + // "ENTRY_PROMPT" - The response is from an entry prompt in the page. + // "PARAMETER_PROMPT" - The response is from form-filling prompt in + // the page. + // "HANDLER_PROMPT" - The response is from a transition route or an + // event handler in the page or flow or transition route group. + ResponseType string `json:"responseType,omitempty"` + // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -5190,7 +5201,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -9293,7 +9304,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -9305,13 +9316,14 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -10818,13 +10830,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -11199,7 +11211,7 @@ func (s *GoogleCloudDialogflowV2FulfillmentGenericWebService) MarshalJSON() ([]b // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: gs://bucket/object-prefix-or-name Whether a prefix or name is + // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -11231,8 +11243,8 @@ func (s *GoogleCloudDialogflowV2GcsDestination) MarshalJSON() ([]byte, error) { // the inputs. type GoogleCloudDialogflowV2GcsSources struct { // Uris: Required. Google Cloud Storage URIs for the inputs. A URI is of - // the form: gs://bucket/object-prefix-or-name Whether a prefix or name - // is used depends on the use case. + // the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // name is used depends on the use case. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to @@ -12457,9 +12469,9 @@ type GoogleCloudDialogflowV2InputAudioConfig struct { // Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. This field is deprecated. Please use - // speech_contexts () instead. If you specify both phrase_hints () and - // speech_contexts (), Dialogflow will treat the phrase_hints () as a - // single additional SpeechContext (). + // `speech_contexts` () instead. If you specify both `phrase_hints` () + // and `speech_contexts` (), Dialogflow will treat the `phrase_hints` () + // as a single additional `SpeechContext` (). PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Required. Sample rate (in Hertz) of the audio @@ -15308,13 +15320,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -16659,10 +16671,8 @@ func (s *GoogleCloudDialogflowV2SynthesizeSpeechConfig) UnmarshalJSON(data []byt return nil } -// GoogleCloudDialogflowV2TextInput: -// ====================================================================== -// ====== Auxiliary proto messages. Represents the natural language text -// to be processed. +// GoogleCloudDialogflowV2TextInput: Auxiliary proto messages. +// Represents the natural language text to be processed. type GoogleCloudDialogflowV2TextInput struct { // LanguageCode: Required. The language of this conversational query. // See Language Support @@ -16815,13 +16825,13 @@ type GoogleCloudDialogflowV2UndeployConversationModelRequest struct { // validation error. type GoogleCloudDialogflowV2ValidationError struct { // Entries: The names of the entries that the error is associated with. - // Format: - "projects//agent", if the error is associated with the - // entire agent. - "projects//agent/intents/", if the error is + // Format: - `projects//agent`, if the error is associated with the + // entire agent. - `projects//agent/intents/`, if the error is // associated with certain intents. - - // "projects//agent/intents//trainingPhrases/", if the error is + // `projects//agent/intents//trainingPhrases/`, if the error is // associated with certain intent training phrases. - - // "projects//agent/intents//parameters/", if the error is associated - // with certain intent parameters. - "projects//agent/entities/", if the + // `projects//agent/intents//parameters/`, if the error is associated + // with certain intent parameters. - `projects//agent/entities/`, if the // error is associated with certain entities. Entries []string `json:"entries,omitempty"` @@ -17377,7 +17387,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -17389,13 +17399,14 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -17657,13 +17668,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -17822,7 +17833,7 @@ func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: gs://bucket/object-prefix-or-name Whether a prefix or + // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -20296,13 +20307,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -27242,7 +27253,7 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If +// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -27363,7 +27374,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -32232,7 +32243,7 @@ type ProjectsAgentSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If +// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -32353,7 +32364,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -37427,7 +37438,7 @@ func (r *ProjectsConversationsService) Create(parentid string, googleclouddialog // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula "a-zA-Z*" with the characters length in range +// the regression fomula `a-zA-Z*` with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -37538,7 +37549,7 @@ func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*Goo // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, @@ -47588,7 +47599,7 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If +// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -47709,7 +47720,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(op // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -50784,7 +50795,7 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain -// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If +// characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -50905,7 +50916,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -56412,7 +56423,7 @@ func (r *ProjectsLocationsConversationsService) Create(parentid string, googlecl // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula "a-zA-Z*" with the characters length in range +// the regression fomula `a-zA-Z*` with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -56523,7 +56534,7 @@ func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index 36d55204dfe..3a5f4cf8899 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -1230,7 +1230,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2261,7 +2261,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -2971,7 +2971,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -5085,7 +5085,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -5751,7 +5751,7 @@ ], "parameters": { "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", "required": true, @@ -6461,7 +6461,7 @@ ], "parameters": { "conversationId": { - "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", "location": "query", "type": "string" }, @@ -7579,7 +7579,7 @@ } } }, - "revision": "20230714", + "revision": "20230717", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -7983,7 +7983,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -8676,6 +8676,22 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, + "responseType": { + "description": "Response type.", + "enum": [ + "RESPONSE_TYPE_UNSPECIFIED", + "ENTRY_PROMPT", + "PARAMETER_PROMPT", + "HANDLER_PROMPT" + ], + "enumDescriptions": [ + "Not specified.", + "The response is from an entry prompt in the page.", + "The response is from form-filling prompt in the page.", + "The response is from a transition route or an event handler in the page or flow or transition route group." + ], + "type": "string" + }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -9915,7 +9931,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -11610,7 +11626,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -11618,7 +11634,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -11946,7 +11962,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -12019,7 +12035,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -13221,7 +13237,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { @@ -13806,7 +13822,7 @@ "description": "An input event to send to Dialogflow." }, "messageSendTime": { - "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. - If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.", + "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.", "format": "google-datetime", "type": "string" }, @@ -14107,7 +14123,7 @@ "type": "object" }, "GoogleCloudDialogflowV2beta1BargeInConfig": { - "description": "Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases: * No barge-in phase: which goes first and during which speech detection should not be carried out. * Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. The flow goes like below: --\u003e Time without speech detection | utterance only | utterance or no-speech event | | +-------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- +-------------+ | +------------+ | +---------------+ No-speech event is a response with END_OF_UTTERANCE without any transcript following up.", + "description": "Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases: * No barge-in phase: which goes first and during which speech detection should not be carried out. * Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. The flow goes like below: ``` --\u003e Time without speech detection | utterance only | utterance or no-speech event | | +-------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- +-------------+ | +------------+ | +---------------+ ``` No-speech event is a response with END_OF_UTTERANCE without any transcript following up.", "id": "GoogleCloudDialogflowV2beta1BargeInConfig", "properties": { "noBargeInDuration": { @@ -14475,7 +14491,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -14483,7 +14499,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -15090,7 +15106,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -15254,7 +15270,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -15265,7 +15281,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsSource", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", + "description": "Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", "type": "string" } }, @@ -15276,7 +15292,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsSources", "properties": { "uris": { - "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case.", + "description": "Required. Google Cloud Storage URIs for the inputs. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case.", "items": { "type": "string" }, @@ -15827,7 +15843,7 @@ }, "phraseHints": { "deprecated": true, - "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [speech_contexts]() instead. If you specify both [phrase_hints]() and [speech_contexts](), Dialogflow will treat the [phrase_hints]() as a single additional [SpeechContext]().", + "description": "A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().", "items": { "type": "string" }, @@ -17852,7 +17868,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { @@ -18643,7 +18659,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "textOverride": { @@ -18838,7 +18854,7 @@ "id": "GoogleCloudDialogflowV2beta1ValidationError", "properties": { "entries": { - "description": "The names of the entries that the error is associated with. Format: - \"projects//agent\", if the error is associated with the entire agent. - \"projects//agent/intents/\", if the error is associated with certain intents. - \"projects//agent/intents//trainingPhrases/\", if the error is associated with certain intent training phrases. - \"projects//agent/intents//parameters/\", if the error is associated with certain intent parameters. - \"projects//agent/entities/\", if the error is associated with certain entities.", + "description": "The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities.", "items": { "type": "string" }, diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 728e66a185d..d3c75f41ed0 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -1541,7 +1541,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -2896,6 +2896,17 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // ResponseType: Response type. + // + // Possible values: + // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. + // "ENTRY_PROMPT" - The response is from an entry prompt in the page. + // "PARAMETER_PROMPT" - The response is from form-filling prompt in + // the page. + // "HANDLER_PROMPT" - The response is from a transition route or an + // event handler in the page or flow or transition route group. + ResponseType string `json:"responseType,omitempty"` + // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -5118,7 +5129,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -8233,7 +8244,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -8245,13 +8256,14 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -8756,13 +8768,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -8921,7 +8933,7 @@ func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error { // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: gs://bucket/object-prefix-or-name Whether a prefix or name is + // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -10796,13 +10808,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -11824,9 +11836,9 @@ type GoogleCloudDialogflowV2beta1AnalyzeContentRequest struct { // MessageSendTime: Optional. The send time of the message from end user // or human agent's perspective. It is used for identifying the same // message under one participant. Given two messages under the same - // participant: - If send time are different regardless of whether the + // participant: * If send time are different regardless of whether the // content of the messages are exactly the same, the conversation will - // regard them as two distinct messages sent by the participant. - If + // regard them as two distinct messages sent by the participant. * If // send time is the same regardless of whether the content of the // messages are exactly the same, the conversation will regard them as // same message, and ignore the message received later. If the value is @@ -12397,13 +12409,13 @@ func (s *GoogleCloudDialogflowV2beta1AutomatedAgentReply) UnmarshalJSON(data []b // expected in this phase. The client provides this configuration in // terms of the durations of those two phases. The durations are // measured in terms of the audio length fromt the the start of the -// input audio. The flow goes like below: --> Time without speech +// input audio. The flow goes like below: ``` --> Time without speech // detection | utterance only | utterance or no-speech event | | // +-------------+ | +------------+ | +---------------+ ----------+ no // barge-in +-|-+ barge-in +-|-+ normal period +----------- -// +-------------+ | +------------+ | +---------------+ No-speech event -// is a response with END_OF_UTTERANCE without any transcript following -// up. +// +-------------+ | +------------+ | +---------------+ ``` No-speech +// event is a response with END_OF_UTTERANCE without any transcript +// following up. type GoogleCloudDialogflowV2beta1BargeInConfig struct { // NoBargeInDuration: Duration that is not eligible for barge-in at the // beginning of the input audio. @@ -13059,7 +13071,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -13071,13 +13083,14 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -14086,13 +14099,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -14430,7 +14443,7 @@ func (s *GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) MarshalJSON() // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: gs://bucket/object-prefix-or-name Whether a prefix or + // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -14462,7 +14475,7 @@ func (s *GoogleCloudDialogflowV2beta1GcsDestination) MarshalJSON() ([]byte, erro // for single input. type GoogleCloudDialogflowV2beta1GcsSource struct { // Uri: Required. The Google Cloud Storage URIs for the inputs. A URI is - // of the form: gs://bucket/object-prefix-or-name Whether a prefix or + // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or // name is used depends on the use case. Uri string `json:"uri,omitempty"` @@ -14493,8 +14506,8 @@ func (s *GoogleCloudDialogflowV2beta1GcsSource) MarshalJSON() ([]byte, error) { // locations for the inputs. type GoogleCloudDialogflowV2beta1GcsSources struct { // Uris: Required. Google Cloud Storage URIs for the inputs. A URI is of - // the form: gs://bucket/object-prefix-or-name Whether a prefix or name - // is used depends on the use case. + // the form: `gs://bucket/object-prefix-or-name` Whether a prefix or + // name is used depends on the use case. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to @@ -15659,9 +15672,9 @@ type GoogleCloudDialogflowV2beta1InputAudioConfig struct { // Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. This field is deprecated. Please use - // speech_contexts () instead. If you specify both phrase_hints () and - // speech_contexts (), Dialogflow will treat the phrase_hints () as a - // single additional SpeechContext (). + // `speech_contexts` () instead. If you specify both `phrase_hints` () + // and `speech_contexts` (), Dialogflow will treat the `phrase_hints` () + // as a single additional `SpeechContext` (). PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Required. Sample rate (in Hertz) of the audio @@ -19120,13 +19133,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -20693,13 +20706,13 @@ type GoogleCloudDialogflowV2beta1SuggestionInput struct { // current page. The form parameters are specified via the parameters // field. Depending on your protocol or client library language, this is // a map, associative array, symbol table, dictionary, or JSON object - // composed of a collection of (MapKey, MapValue) pairs: - MapKey type: - // string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // composed of a collection of (MapKey, MapValue) pairs: * MapKey type: + // string * MapKey value: parameter name * MapValue type: If parameter's + // entity type is a composite entity then use map, otherwise, depending + // on the parameter value type, it could be one of string, number, + // boolean, null, list or map. * MapValue value: If parameter's entity + // type is a composite entity then use map from composite entity + // property names to property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // TextOverride: Optional. If the customer edited the suggestion before @@ -21019,13 +21032,13 @@ type GoogleCloudDialogflowV2beta1TrainAgentRequest struct { // validation error. type GoogleCloudDialogflowV2beta1ValidationError struct { // Entries: The names of the entries that the error is associated with. - // Format: - "projects//agent", if the error is associated with the - // entire agent. - "projects//agent/intents/", if the error is + // Format: - `projects//agent`, if the error is associated with the + // entire agent. - `projects//agent/intents/`, if the error is // associated with certain intents. - - // "projects//agent/intents//trainingPhrases/", if the error is + // `projects//agent/intents//trainingPhrases/`, if the error is // associated with certain intent training phrases. - - // "projects//agent/intents//parameters/", if the error is associated - // with certain intent parameters. - "projects//agent/entities/", if the + // `projects//agent/intents//parameters/`, if the error is associated + // with certain intent parameters. - `projects//agent/entities/`, if the // error is associated with certain entities. Entries []string `json:"entries,omitempty"` @@ -27623,7 +27636,7 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes +// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -27745,7 +27758,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...goo // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -32709,7 +32722,7 @@ type ProjectsAgentSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes +// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -32831,7 +32844,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -36300,7 +36313,7 @@ func (r *ProjectsConversationsService) Create(parentid string, googleclouddialog // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula "a-zA-Z*" with the characters length in range +// the regression fomula `a-zA-Z*` with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -36412,7 +36425,7 @@ func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*Goo // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, @@ -46918,7 +46931,7 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes +// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -47040,7 +47053,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(op // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -50169,7 +50182,7 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/ // `, The `Context ID` is always converted to lowercase, may only -// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes +// contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes // long. If `Environment ID` is not specified, we assume default // 'draft' environment. If `User ID` is not specified, we assume // default '-' user. The following context names are reserved for @@ -50291,7 +50304,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + // "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", // "required": true, @@ -53760,7 +53773,7 @@ func (r *ProjectsLocationsConversationsService) Create(parentid string, googlecl // Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. The conversation ID must be compliant with -// the regression fomula "a-zA-Z*" with the characters length in range +// the regression fomula `a-zA-Z*` with the characters length in range // of [3,64]. If the field is provided, the caller is resposible for 1. // the uniqueness of the ID, otherwise the request will be rejected. 2. // the consistency for whether to use custom ID or not under a project @@ -53872,7 +53885,7 @@ func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "conversationId": { - // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula \"a-zA-Z*\" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + // "description": "Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", // "location": "query", // "type": "string" // }, diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 6eef6919583..e0d383c310a 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20230714", + "revision": "20230717", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -3963,7 +3963,7 @@ "type": "string" }, "trackingBranch": { - "description": "The branch of GitHub repository tracked for this agent.", + "description": "The branch of the GitHub repository tracked for this agent.", "type": "string" } }, @@ -5025,7 +5025,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -6664,6 +6664,22 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, + "responseType": { + "description": "Response type.", + "enum": [ + "RESPONSE_TYPE_UNSPECIFIED", + "ENTRY_PROMPT", + "PARAMETER_PROMPT", + "HANDLER_PROMPT" + ], + "enumDescriptions": [ + "Not specified.", + "The response is from an entry prompt in the page.", + "The response is from form-filling prompt in the page.", + "The response is from a transition route or an event handler in the page or flow or transition route group." + ], + "type": "string" + }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -8644,7 +8660,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -10339,7 +10355,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -10347,7 +10363,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -10675,7 +10691,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -10748,7 +10764,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -11950,7 +11966,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { @@ -12452,7 +12468,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -12460,7 +12476,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -12613,7 +12629,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -12686,7 +12702,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -14212,7 +14228,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 44e64fcc0b2..513e54a1825 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -671,7 +671,7 @@ type GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings struct { // RepositoryUri: The GitHub repository URI related to the agent. RepositoryUri string `json:"repositoryUri,omitempty"` - // TrackingBranch: The branch of GitHub repository tracked for this + // TrackingBranch: The branch of the GitHub repository tracked for this // agent. TrackingBranch string `json:"trackingBranch,omitempty"` @@ -2576,7 +2576,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -5766,6 +5766,17 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // ResponseType: Response type. + // + // Possible values: + // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. + // "ENTRY_PROMPT" - The response is from an entry prompt in the page. + // "PARAMETER_PROMPT" - The response is from form-filling prompt in + // the page. + // "HANDLER_PROMPT" - The response is from a transition route or an + // event handler in the page or flow or transition route group. + ResponseType string `json:"responseType,omitempty"` + // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -9382,7 +9393,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -12497,7 +12508,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -12509,13 +12520,14 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -13020,13 +13032,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -13185,7 +13197,7 @@ func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error { // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: gs://bucket/object-prefix-or-name Whether a prefix or name is + // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -15060,13 +15072,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -16013,7 +16025,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -16025,13 +16037,14 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -16293,13 +16306,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -16458,7 +16471,7 @@ func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: gs://bucket/object-prefix-or-name Whether a prefix or + // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -18932,13 +18945,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index 40f602e617f..b2d8bb31012 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20230705", + "revision": "20230717", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -4224,7 +4224,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -4917,6 +4917,22 @@ "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." }, + "responseType": { + "description": "Response type.", + "enum": [ + "RESPONSE_TYPE_UNSPECIFIED", + "ENTRY_PROMPT", + "PARAMETER_PROMPT", + "HANDLER_PROMPT" + ], + "enumDescriptions": [ + "Not specified.", + "The response is from an entry prompt in the page.", + "The response is from form-filling prompt in the page.", + "The response is from a transition route or an event handler in the page or flow or transition route group." + ], + "type": "string" + }, "telephonyTransferCall": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." @@ -5895,7 +5911,7 @@ "type": "string" }, "trackingBranch": { - "description": "The branch of GitHub repository tracked for this agent.", + "description": "The branch of the GitHub repository tracked for this agent.", "type": "string" } }, @@ -6957,7 +6973,7 @@ "type": "string" }, "commitSha": { - "description": "Commit SHA of the git push. This field is populated if `git_destination` are specified in ExportAgentRequest.", + "description": "Commit SHA of the git push. This field is populated if `git_destination` is specified in ExportAgentRequest.", "type": "string" } }, @@ -10339,7 +10355,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -10347,7 +10363,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -10675,7 +10691,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -10748,7 +10764,7 @@ "id": "GoogleCloudDialogflowV2GcsDestination", "properties": { "uri": { - "description": "The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -11950,7 +11966,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { @@ -12452,7 +12468,7 @@ "type": "integer" }, "name": { - "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", + "description": "Required. The unique identifier of the context. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/`, The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`", "type": "string" }, "parameters": { @@ -12460,7 +12476,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Optional. The collection of parameters associated with this context. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -12613,7 +12629,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters associated with the event. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" } }, @@ -12686,7 +12702,7 @@ "id": "GoogleCloudDialogflowV2beta1GcsDestination", "properties": { "uri": { - "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", + "description": "Required. The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have \"write-permission\" to the bucket.", "type": "string" } }, @@ -14212,7 +14228,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of extracted parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "queryText": { diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index bc799b41ab1..01533d0cb6e 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -1181,7 +1181,7 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -2536,6 +2536,17 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // ResponseType: Response type. + // + // Possible values: + // "RESPONSE_TYPE_UNSPECIFIED" - Not specified. + // "ENTRY_PROMPT" - The response is from an entry prompt in the page. + // "PARAMETER_PROMPT" - The response is from form-filling prompt in + // the page. + // "HANDLER_PROMPT" - The response is from a transition route or an + // event handler in the page or flow or transition route group. + ResponseType string `json:"responseType,omitempty"` + // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` @@ -4247,7 +4258,7 @@ type GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings str // RepositoryUri: The GitHub repository URI related to the agent. RepositoryUri string `json:"repositoryUri,omitempty"` - // TrackingBranch: The branch of GitHub repository tracked for this + // TrackingBranch: The branch of the GitHub repository tracked for this // agent. TrackingBranch string `json:"trackingBranch,omitempty"` @@ -6155,7 +6166,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { AgentUri string `json:"agentUri,omitempty"` // CommitSha: Commit SHA of the git push. This field is populated if - // `git_destination` are specified in ExportAgentRequest. + // `git_destination` is specified in ExportAgentRequest. CommitSha string `json:"commitSha,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to @@ -12504,7 +12515,7 @@ type GoogleCloudDialogflowV2Context struct { // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -12516,13 +12527,14 @@ type GoogleCloudDialogflowV2Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -13027,13 +13039,13 @@ type GoogleCloudDialogflowV2EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -13192,7 +13204,7 @@ func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error { // for the output. type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the - // form: gs://bucket/object-prefix-or-name Whether a prefix or name is + // form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -15067,13 +15079,13 @@ type GoogleCloudDialogflowV2QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural @@ -16020,7 +16032,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by @@ -16032,13 +16044,14 @@ type GoogleCloudDialogflowV2beta1Context struct { // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: depending - // on parameter value type, could be one of string, number, boolean, - // null, list or map - MapValue value: - If parameter's entity type is a - // composite entity: map from composite entity property names to - // property values - Else: parameter value + // object composed of a collection of (MapKey, MapValue) pairs: * MapKey + // type: string * MapKey value: parameter name * MapValue type: If + // parameter's entity type is a composite entity then use map, + // otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. * MapValue value: If + // parameter's entity type is a composite entity then use map from + // composite entity property names to property values, otherwise, use + // parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to @@ -16300,13 +16313,13 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -16465,7 +16478,7 @@ func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error // location for the output. type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is - // of the form: gs://bucket/object-prefix-or-name Whether a prefix or + // of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. Uri string `json:"uri,omitempty"` @@ -18939,13 +18952,13 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index f42d4de0afe..8ce800ceb15 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -1042,7 +1042,7 @@ } } }, - "revision": "20230706", + "revision": "20230712", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -1928,6 +1928,10 @@ "gcsPrefix": { "$ref": "GoogleCloudDocumentaiV1GcsPrefix", "description": "The set of documents that match the specified Cloud Storage `gcs_prefix`." + }, + "rawDocuments": { + "$ref": "GoogleCloudDocumentaiV1RawDocuments", + "description": "The set of documents specified inline." } }, "type": "object" @@ -4237,7 +4241,8 @@ "description": "The schema of the processor version. Describes the output." }, "googleManaged": { - "description": "Denotes that this `ProcessorVersion` is managed by Google.", + "description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.", + "readOnly": true, "type": "boolean" }, "kmsKeyName": { @@ -4317,6 +4322,20 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1RawDocuments": { + "description": "Specifies a set of raw documents.", + "id": "GoogleCloudDocumentaiV1RawDocuments", + "properties": { + "documents": { + "description": "Specifies raw document content and mime type.", + "items": { + "$ref": "GoogleCloudDocumentaiV1RawDocument" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata": { "description": "The long-running operation metadata for the ReviewDocument method.", "id": "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata", diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index dd7453c6c8e..8c20c8c7197 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -1907,6 +1907,9 @@ type GoogleCloudDocumentaiV1BatchDocumentsInputConfig struct { // Storage `gcs_prefix`. GcsPrefix *GoogleCloudDocumentaiV1GcsPrefix `json:"gcsPrefix,omitempty"` + // RawDocuments: The set of documents specified inline. + RawDocuments *GoogleCloudDocumentaiV1RawDocuments `json:"rawDocuments,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcsDocuments") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5707,8 +5710,8 @@ type GoogleCloudDocumentaiV1ProcessorVersion struct { // output. DocumentSchema *GoogleCloudDocumentaiV1DocumentSchema `json:"documentSchema,omitempty"` - // GoogleManaged: Denotes that this `ProcessorVersion` is managed by - // Google. + // GoogleManaged: Output only. Denotes that this `ProcessorVersion` is + // managed by Google. GoogleManaged bool `json:"googleManaged,omitempty"` // KmsKeyName: The KMS key name used for encryption. @@ -5839,6 +5842,35 @@ func (s *GoogleCloudDocumentaiV1RawDocument) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiV1RawDocuments: Specifies a set of raw +// documents. +type GoogleCloudDocumentaiV1RawDocuments struct { + // Documents: Specifies raw document content and mime type. + Documents []*GoogleCloudDocumentaiV1RawDocument `json:"documents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Documents") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Documents") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiV1RawDocuments) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiV1RawDocuments + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata: The // long-running operation metadata for the ReviewDocument method. type GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata struct { diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index 0e85008a7cf..5c25e4f57a8 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -1256,7 +1256,7 @@ } } }, - "revision": "20230706", + "revision": "20230712", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -5400,6 +5400,10 @@ "gcsPrefix": { "$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", "description": "The set of documents that match the specified Cloud Storage `gcs_prefix`." + }, + "rawDocuments": { + "$ref": "GoogleCloudDocumentaiV1beta3RawDocuments", + "description": "The set of documents specified inline." } }, "type": "object" @@ -8096,7 +8100,8 @@ "description": "The schema of the processor version. Describes the output." }, "googleManaged": { - "description": "Denotes that this `ProcessorVersion` is managed by Google.", + "description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.", + "readOnly": true, "type": "boolean" }, "kmsKeyName": { @@ -8187,6 +8192,20 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1beta3RawDocuments": { + "description": "Specifies a set of raw documents.", + "id": "GoogleCloudDocumentaiV1beta3RawDocuments", + "properties": { + "documents": { + "description": "Specifies raw document content and mime type.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta3RawDocument" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata": { "description": "The long-running operation metadata for the ReviewDocument method.", "id": "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata", diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index 3050f1d4e27..1ecd354dfaf 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -7254,6 +7254,9 @@ type GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig struct { // Storage `gcs_prefix`. GcsPrefix *GoogleCloudDocumentaiV1beta3GcsPrefix `json:"gcsPrefix,omitempty"` + // RawDocuments: The set of documents specified inline. + RawDocuments *GoogleCloudDocumentaiV1beta3RawDocuments `json:"rawDocuments,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcsDocuments") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -11832,8 +11835,8 @@ type GoogleCloudDocumentaiV1beta3ProcessorVersion struct { // output. DocumentSchema *GoogleCloudDocumentaiV1beta3DocumentSchema `json:"documentSchema,omitempty"` - // GoogleManaged: Denotes that this `ProcessorVersion` is managed by - // Google. + // GoogleManaged: Output only. Denotes that this `ProcessorVersion` is + // managed by Google. GoogleManaged bool `json:"googleManaged,omitempty"` // KmsKeyName: The KMS key name used for encryption. @@ -11993,6 +11996,35 @@ func (s *GoogleCloudDocumentaiV1beta3RawDocument) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiV1beta3RawDocuments: Specifies a set of raw +// documents. +type GoogleCloudDocumentaiV1beta3RawDocuments struct { + // Documents: Specifies raw document content and mime type. + Documents []*GoogleCloudDocumentaiV1beta3RawDocument `json:"documents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Documents") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Documents") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiV1beta3RawDocuments) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiV1beta3RawDocuments + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata: The // long-running operation metadata for the ReviewDocument method. type GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata struct { diff --git a/games/v1/games-api.json b/games/v1/games-api.json index ab52f81219a..bb333cae1a3 100644 --- a/games/v1/games-api.json +++ b/games/v1/games-api.json @@ -782,6 +782,11 @@ "VISIBLE", "FRIENDS_ALL" ], + "enumDeprecated": [ + true, + true, + false + ], "enumDescriptions": [ "Retrieve a list of players that are also playing this game in reverse chronological order.", "Retrieve a list of players in the user's social graph that are visible to this game.", @@ -868,6 +873,13 @@ "SOCIAL", "FRIENDS" ], + "enumDeprecated": [ + false, + false, + false, + true, + false + ], "enumDescriptions": [ "Default value. Should be unused.", "Retrieve all supported ranks. In HTTP, this parameter value can also be specified as `ALL`.", @@ -954,6 +966,12 @@ "SOCIAL", "FRIENDS" ], + "enumDeprecated": [ + false, + false, + true, + false + ], "enumDescriptions": [ "Default value. This value is unused.", "List all scores in the public leaderboard.", @@ -1032,6 +1050,12 @@ "SOCIAL", "FRIENDS" ], + "enumDeprecated": [ + false, + false, + true, + false + ], "enumDescriptions": [ "Default value. This value is unused.", "List all scores in the public leaderboard.", @@ -1266,7 +1290,7 @@ } } }, - "revision": "20230310", + "revision": "20230712", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": { diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go index 83b0bca0d43..8704f4dbad3 100644 --- a/games/v1/games-gen.go +++ b/games/v1/games-gen.go @@ -6794,6 +6794,11 @@ func (c *PlayersListCall) Do(opts ...googleapi.CallOption) (*PlayerListResponse, // "VISIBLE", // "FRIENDS_ALL" // ], + // "enumDeprecated": [ + // true, + // true, + // false + // ], // "enumDescriptions": [ // "Retrieve a list of players that are also playing this game in reverse chronological order.", // "Retrieve a list of players in the user's social graph that are visible to this game.", @@ -7196,6 +7201,13 @@ func (c *ScoresGetCall) Do(opts ...googleapi.CallOption) (*PlayerLeaderboardScor // "SOCIAL", // "FRIENDS" // ], + // "enumDeprecated": [ + // false, + // false, + // false, + // true, + // false + // ], // "enumDescriptions": [ // "Default value. Should be unused.", // "Retrieve all supported ranks. In HTTP, this parameter value can also be specified as `ALL`.", @@ -7453,6 +7465,12 @@ func (c *ScoresListCall) Do(opts ...googleapi.CallOption) (*LeaderboardScores, e // "SOCIAL", // "FRIENDS" // ], + // "enumDeprecated": [ + // false, + // false, + // true, + // false + // ], // "enumDescriptions": [ // "Default value. This value is unused.", // "List all scores in the public leaderboard.", @@ -7721,6 +7739,12 @@ func (c *ScoresListWindowCall) Do(opts ...googleapi.CallOption) (*LeaderboardSco // "SOCIAL", // "FRIENDS" // ], + // "enumDeprecated": [ + // false, + // false, + // true, + // false + // ], // "enumDescriptions": [ // "Default value. This value is unused.", // "List all scores in the public leaderboard.", diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index 48cbbf0d3aa..c0404682048 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -639,6 +639,32 @@ "https://www.googleapis.com/auth/service.management" ] }, + "list": { + "description": "* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. *", + "flatPath": "v1/services/{servicesId}/dnsZones:list", + "httpMethod": "GET", + "id": "servicenetworking.services.dnsZones.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. Projects: the consumer project containing the consumer network. Network: The consumer network accessible from the tenant project.", + "location": "path", + "pattern": "^services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/dnsZones:list", + "response": { + "$ref": "ListDnsZonesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/service.management" + ] + }, "remove": { "description": "Service producers can use this method to remove private DNS zones in the shared producer host project and matching peering zones in the consumer project.", "flatPath": "v1/services/{servicesId}/dnsZones:remove", @@ -865,7 +891,7 @@ } } }, - "revision": "20230703", + "revision": "20230717", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1766,6 +1792,21 @@ }, "type": "object" }, + "DnsZonePair": { + "description": "* Represents a pair of private and peering DNS zone resources. *", + "id": "DnsZonePair", + "properties": { + "consumerPeeringZone": { + "$ref": "DnsZone", + "description": "The DNS peering zone in the consumer project." + }, + "producerPrivateZone": { + "$ref": "DnsZone", + "description": "The private DNS zone in the shared producer host project." + } + }, + "type": "object" + }, "Documentation": { "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: \u003e The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \u003e ... - selector: google.calendar.Calendar.Put description: \u003e ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", @@ -2335,6 +2376,20 @@ }, "type": "object" }, + "ListDnsZonesResponse": { + "description": "Represents all DNS zones in the shared producer host project and the matching peering zones in the consumer project.", + "id": "ListDnsZonesResponse", + "properties": { + "dnsZonePairs": { + "description": "All pairs of private DNS zones in the shared producer host project and the matching peering zones in the consumer project..", + "items": { + "$ref": "DnsZonePair" + }, + "type": "array" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index d23aaf6aa5c..5e59f4dd17a 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -1909,6 +1909,40 @@ func (s *DnsZone) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DnsZonePair: * Represents a pair of private and peering DNS zone +// resources. * +type DnsZonePair struct { + // ConsumerPeeringZone: The DNS peering zone in the consumer project. + ConsumerPeeringZone *DnsZone `json:"consumerPeeringZone,omitempty"` + + // ProducerPrivateZone: The private DNS zone in the shared producer host + // project. + ProducerPrivateZone *DnsZone `json:"producerPrivateZone,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConsumerPeeringZone") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConsumerPeeringZone") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *DnsZonePair) MarshalJSON() ([]byte, error) { + type NoMethod DnsZonePair + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Documentation: `Documentation` provides the information for // describing a service. Example: documentation: summary: > The Google // Calendar API gives access to most calendar features. pages: - name: @@ -2974,6 +3008,40 @@ func (s *ListConnectionsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ListDnsZonesResponse: Represents all DNS zones in the shared producer +// host project and the matching peering zones in the consumer project. +type ListDnsZonesResponse struct { + // DnsZonePairs: All pairs of private DNS zones in the shared producer + // host project and the matching peering zones in the consumer project.. + DnsZonePairs []*DnsZonePair `json:"dnsZonePairs,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DnsZonePairs") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DnsZonePairs") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ListDnsZonesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListDnsZonesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ListOperationsResponse: The response message for // Operations.ListOperations. type ListOperationsResponse struct { @@ -8311,6 +8379,162 @@ func (c *ServicesDnsZonesAddCall) Do(opts ...googleapi.CallOption) (*Operation, } +// method id "servicenetworking.services.dnsZones.list": + +type ServicesDnsZonesListCall struct { + s *APIService + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: * Service producers can use this method to retrieve a list of +// available DNS zones in the shared producer host project and the +// matching peering zones in the consumer project. * +// +// - parent: Parent resource identifying the connection which owns this +// collection of DNS zones in the format +// services/{service}/projects/{project}/global/networks/{network} +// Service: The service that is managing connectivity for the service +// producer's organization. For Google services that support this +// functionality, this value is `servicenetworking.googleapis.com`. +// Projects: the consumer project containing the consumer network. +// Network: The consumer network accessible from the tenant project. +func (r *ServicesDnsZonesService) List(parent string) *ServicesDnsZonesListCall { + c := &ServicesDnsZonesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ServicesDnsZonesListCall) Fields(s ...googleapi.Field) *ServicesDnsZonesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ServicesDnsZonesListCall) IfNoneMatch(entityTag string) *ServicesDnsZonesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ServicesDnsZonesListCall) Context(ctx context.Context) *ServicesDnsZonesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ServicesDnsZonesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ServicesDnsZonesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/dnsZones:list") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "servicenetworking.services.dnsZones.list" call. +// Exactly one of *ListDnsZonesResponse or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ListDnsZonesResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ServicesDnsZonesListCall) Do(opts ...googleapi.CallOption) (*ListDnsZonesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &ListDnsZonesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. *", + // "flatPath": "v1/services/{servicesId}/dnsZones:list", + // "httpMethod": "GET", + // "id": "servicenetworking.services.dnsZones.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. Projects: the consumer project containing the consumer network. Network: The consumer network accessible from the tenant project.", + // "location": "path", + // "pattern": "^services/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/dnsZones:list", + // "response": { + // "$ref": "ListDnsZonesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/service.management" + // ] + // } + +} + // method id "servicenetworking.services.dnsZones.remove": type ServicesDnsZonesRemoveCall struct { diff --git a/vault/v1/vault-api.json b/vault/v1/vault-api.json index 7dc4207bf78..303cad01512 100644 --- a/vault/v1/vault-api.json +++ b/vault/v1/vault-api.json @@ -1193,7 +1193,7 @@ } } }, - "revision": "20230626", + "revision": "20230711", "rootUrl": "https://vault.googleapis.com/", "schemas": { "AccountCount": { @@ -1520,6 +1520,7 @@ "type": "boolean" }, "includeTeamDrives": { + "deprecated": true, "description": "Set to true to include Team Drive.", "type": "boolean" }, @@ -1804,6 +1805,7 @@ "type": "boolean" }, "includeTeamDriveFiles": { + "deprecated": true, "description": "To include files in Team Drives in the hold, set to **true**.", "type": "boolean" } @@ -2348,6 +2350,16 @@ "SITES_URL", "SHARED_DRIVE" ], + "enumDeprecated": [ + false, + false, + false, + true, + false, + false, + false, + false + ], "enumDescriptions": [ "A search method must be specified or else it is rejected.", "Search the data of the accounts specified in [AccountInfo](https://developers.google.com/vault/reference/rest/v1/Query#accountinfo).", @@ -2365,6 +2377,7 @@ "description": "Required when **SearchMethod** is **ORG_UNIT**." }, "searchMethod": { + "deprecated": true, "description": "The search method to use.", "enum": [ "SEARCH_METHOD_UNSPECIFIED", @@ -2376,6 +2389,16 @@ "SITES_URL", "SHARED_DRIVE" ], + "enumDeprecated": [ + false, + false, + false, + true, + false, + false, + false, + false + ], "enumDescriptions": [ "A search method must be specified or else it is rejected.", "Search the data of the accounts specified in [AccountInfo](https://developers.google.com/vault/reference/rest/v1/Query#accountinfo).", @@ -2403,6 +2426,7 @@ }, "teamDriveInfo": { "$ref": "TeamDriveInfo", + "deprecated": true, "description": "Required when **SearchMethod** is **TEAM_DRIVE**." }, "terms": { @@ -2560,10 +2584,12 @@ "type": "object" }, "TeamDriveInfo": { + "deprecated": true, "description": "Team Drives to search", "id": "TeamDriveInfo", "properties": { "teamDriveIds": { + "deprecated": true, "description": "List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).", "items": { "type": "string"