@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.12.20251006 → 0.12.20251027
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +362 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -827,6 +827,8 @@ declare namespace gapi.client {
|
|
|
827
827
|
secretVersionsForRequestHeaders?: {
|
|
828
828
|
[P in string]: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue;
|
|
829
829
|
};
|
|
830
|
+
/** Optional. Configuration for service account authentication. */
|
|
831
|
+
serviceAccountAuthConfig?: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig;
|
|
830
832
|
/** Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header. */
|
|
831
833
|
serviceAgentAuth?: string;
|
|
832
834
|
/** Required. The webhook URI for receiving POST requests. It must use https protocol. */
|
|
@@ -852,6 +854,10 @@ declare namespace gapi.client {
|
|
|
852
854
|
/** Required. The SecretManager secret version resource storing the header value. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
|
|
853
855
|
secretVersion?: string;
|
|
854
856
|
}
|
|
857
|
+
interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig {
|
|
858
|
+
/** Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the `Authorization` header of the webhook request. The service account must have the `roles/iam.serviceAccountTokenCreator` role granted to the [Dialogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). */
|
|
859
|
+
serviceAccount?: string;
|
|
860
|
+
}
|
|
855
861
|
interface GoogleCloudDialogflowCxV3beta1WebhookRequest {
|
|
856
862
|
/** Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller. */
|
|
857
863
|
detectIntentResponseId?: string;
|
|
@@ -1619,6 +1625,8 @@ declare namespace gapi.client {
|
|
|
1619
1625
|
secretVersionsForRequestHeaders?: {
|
|
1620
1626
|
[P in string]: GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue;
|
|
1621
1627
|
};
|
|
1628
|
+
/** Optional. Configuration for service account authentication. */
|
|
1629
|
+
serviceAccountAuthConfig?: GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig;
|
|
1622
1630
|
/** Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header. */
|
|
1623
1631
|
serviceAgentAuth?: string;
|
|
1624
1632
|
/** Required. The webhook URI for receiving POST requests. It must use https protocol. */
|
|
@@ -1644,6 +1652,10 @@ declare namespace gapi.client {
|
|
|
1644
1652
|
/** Required. The SecretManager secret version resource storing the header value. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
|
|
1645
1653
|
secretVersion?: string;
|
|
1646
1654
|
}
|
|
1655
|
+
interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig {
|
|
1656
|
+
/** Required. The email address of the service account used to authenticate the webhook call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the `Authorization` header of the webhook request. The service account must have the `roles/iam.serviceAccountTokenCreator` role granted to the [Dialogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). */
|
|
1657
|
+
serviceAccount?: string;
|
|
1658
|
+
}
|
|
1647
1659
|
interface GoogleCloudDialogflowCxV3WebhookRequest {
|
|
1648
1660
|
/** Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller. */
|
|
1649
1661
|
detectIntentResponseId?: string;
|
|
@@ -3616,6 +3628,12 @@ declare namespace gapi.client {
|
|
|
3616
3628
|
/** Required. The list of suggestions. There will be a maximum number of items returned based on the page_size field in the request. `suggestions` is sorted by `create_time` in descending order. */
|
|
3617
3629
|
suggestions?: GoogleCloudDialogflowV2beta1Suggestion[];
|
|
3618
3630
|
}
|
|
3631
|
+
interface GoogleCloudDialogflowV2beta1ListToolsResponse {
|
|
3632
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3633
|
+
nextPageToken?: string;
|
|
3634
|
+
/** List of tools retrieved. */
|
|
3635
|
+
tools?: GoogleCloudDialogflowV2beta1Tool[];
|
|
3636
|
+
}
|
|
3619
3637
|
interface GoogleCloudDialogflowV2beta1ListVersionsResponse {
|
|
3620
3638
|
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3621
3639
|
nextPageToken?: string;
|
|
@@ -4417,6 +4435,78 @@ declare namespace gapi.client {
|
|
|
4417
4435
|
[P in string]: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig;
|
|
4418
4436
|
};
|
|
4419
4437
|
}
|
|
4438
|
+
interface GoogleCloudDialogflowV2beta1Tool {
|
|
4439
|
+
/** Optional. Confirmation requirement for the actions. Each key is an action name in the action_schemas. If an action's confirmation requirement is unspecified (either the key is not present, or its value is CONFIRMATION_REQUIREMENT_UNSPECIFIED), the requirement is inferred from the action's method_type - confirmation is not required if and only if method_type is GET. */
|
|
4440
|
+
actionConfirmationRequirement?: {[P in string]: string};
|
|
4441
|
+
/** Integration connectors tool specification. */
|
|
4442
|
+
connectorSpec?: GoogleCloudDialogflowV2beta1ToolConnectorTool;
|
|
4443
|
+
/** Output only. Creation time of this tool. */
|
|
4444
|
+
createTime?: string;
|
|
4445
|
+
/** Optional. A human readable description of the tool. */
|
|
4446
|
+
description?: string;
|
|
4447
|
+
/** Optional. A human readable short name of the tool, to be shown on the UI. */
|
|
4448
|
+
displayName?: string;
|
|
4449
|
+
/** Vertex extension tool specification. */
|
|
4450
|
+
extensionSpec?: GoogleCloudDialogflowV2beta1ToolExtensionTool;
|
|
4451
|
+
/** Client side executed function specification. */
|
|
4452
|
+
functionSpec?: GoogleCloudDialogflowV2beta1ToolFunctionTool;
|
|
4453
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
4454
|
+
name?: string;
|
|
4455
|
+
/** OpenAPI tool. */
|
|
4456
|
+
openApiSpec?: GoogleCloudDialogflowV2beta1ToolOpenApiTool;
|
|
4457
|
+
/** Output only. A read only boolean field reflecting Zone Isolation status of the tool. If the field is absent, it means the status is unknown. */
|
|
4458
|
+
satisfiesPzi?: boolean;
|
|
4459
|
+
/** Output only. A read only boolean field reflecting Zone Separation status of the tool. If the field is absent, it means the status is unknown. */
|
|
4460
|
+
satisfiesPzs?: boolean;
|
|
4461
|
+
/** Required. A human readable short name of the tool, which should be unique within the project. It should only contain letters, numbers, and underscores, and it will be used by LLM to identify the tool. */
|
|
4462
|
+
toolKey?: string;
|
|
4463
|
+
/** Output only. Update time of this tool. */
|
|
4464
|
+
updateTime?: string;
|
|
4465
|
+
}
|
|
4466
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthentication {
|
|
4467
|
+
/** Config for API key auth. */
|
|
4468
|
+
apiKeyConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig;
|
|
4469
|
+
/** Config for bearer token auth. */
|
|
4470
|
+
bearerTokenConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig;
|
|
4471
|
+
/** Config for OAuth. */
|
|
4472
|
+
oauthConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig;
|
|
4473
|
+
/** Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth. */
|
|
4474
|
+
serviceAgentAuthConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig;
|
|
4475
|
+
}
|
|
4476
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig {
|
|
4477
|
+
/** Optional. The API key. If the `secret_version_for_api_key` field is set, this field will be ignored. */
|
|
4478
|
+
apiKey?: string;
|
|
4479
|
+
/** Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name. */
|
|
4480
|
+
keyName?: string;
|
|
4481
|
+
/** Required. Key location in the request. */
|
|
4482
|
+
requestLocation?: string;
|
|
4483
|
+
/** Optional. The name of the SecretManager secret version resource storing the API key. If this field is set, the `api_key` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
|
|
4484
|
+
secretVersionForApiKey?: string;
|
|
4485
|
+
}
|
|
4486
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig {
|
|
4487
|
+
/** Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the `token` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
|
|
4488
|
+
secretVersionForToken?: string;
|
|
4489
|
+
/** Optional. The text token appended to the text `Bearer` to the request Authorization header. [Session parameters reference](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the token dynamically, e.g. `$session.params.parameter-id`. */
|
|
4490
|
+
token?: string;
|
|
4491
|
+
}
|
|
4492
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig {
|
|
4493
|
+
/** Required. The client ID from the OAuth provider. */
|
|
4494
|
+
clientId?: string;
|
|
4495
|
+
/** Optional. The client secret from the OAuth provider. If the `secret_version_for_client_secret` field is set, this field will be ignored. */
|
|
4496
|
+
clientSecret?: string;
|
|
4497
|
+
/** Required. OAuth grant types. */
|
|
4498
|
+
oauthGrantType?: string;
|
|
4499
|
+
/** Optional. The OAuth scopes to grant. */
|
|
4500
|
+
scopes?: string[];
|
|
4501
|
+
/** Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the `client_secret` field will be ignored. Format: `projects/{project}/secrets/{secret}/versions/{version}` */
|
|
4502
|
+
secretVersionForClientSecret?: string;
|
|
4503
|
+
/** Required. The token endpoint in the OAuth provider to exchange for an access token. */
|
|
4504
|
+
tokenEndpoint?: string;
|
|
4505
|
+
}
|
|
4506
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig {
|
|
4507
|
+
/** Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header. */
|
|
4508
|
+
serviceAgentAuth?: string;
|
|
4509
|
+
}
|
|
4420
4510
|
interface GoogleCloudDialogflowV2beta1ToolCall {
|
|
4421
4511
|
/** Optional. The name of the tool's action associated with this call. */
|
|
4422
4512
|
action?: string;
|
|
@@ -4455,6 +4545,64 @@ declare namespace gapi.client {
|
|
|
4455
4545
|
/** Optional. The error message of the function. */
|
|
4456
4546
|
message?: string;
|
|
4457
4547
|
}
|
|
4548
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorTool {
|
|
4549
|
+
/** Required. Actions for the tool to use. */
|
|
4550
|
+
actions?: GoogleCloudDialogflowV2beta1ToolConnectorToolAction[];
|
|
4551
|
+
/** Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects/*/locations/*/connections/*' */
|
|
4552
|
+
name?: string;
|
|
4553
|
+
}
|
|
4554
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorToolAction {
|
|
4555
|
+
/** ID of a Connection action for the tool to use. */
|
|
4556
|
+
connectionActionId?: string;
|
|
4557
|
+
/** Entity operation configuration for the tool to use. */
|
|
4558
|
+
entityOperation?: GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation;
|
|
4559
|
+
/** Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used. */
|
|
4560
|
+
inputFields?: string[];
|
|
4561
|
+
/** Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned. */
|
|
4562
|
+
outputFields?: string[];
|
|
4563
|
+
}
|
|
4564
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation {
|
|
4565
|
+
/** Required. ID of the entity. */
|
|
4566
|
+
entityId?: string;
|
|
4567
|
+
/** Required. Operation to perform on the entity. */
|
|
4568
|
+
operation?: string;
|
|
4569
|
+
}
|
|
4570
|
+
interface GoogleCloudDialogflowV2beta1ToolExtensionTool {
|
|
4571
|
+
/** Required. The full name of the referenced vertex extension. Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
4572
|
+
name?: string;
|
|
4573
|
+
}
|
|
4574
|
+
interface GoogleCloudDialogflowV2beta1ToolFunctionTool {
|
|
4575
|
+
/** Optional. The JSON schema is encapsulated in a google.protobuf.Struct to describe the input of the function. This input is a JSON object that contains the function's parameters as properties of the object. */
|
|
4576
|
+
inputSchema?: {[P in string]: any};
|
|
4577
|
+
/** Optional. The method type of the function. If not specified, the default value is GET. */
|
|
4578
|
+
methodType?: string;
|
|
4579
|
+
/** Optional. The JSON schema is encapsulated in a google.protobuf.Struct to describe the output of the function. This output is a JSON object that contains the function's parameters as properties of the object. */
|
|
4580
|
+
outputSchema?: {[P in string]: any};
|
|
4581
|
+
}
|
|
4582
|
+
interface GoogleCloudDialogflowV2beta1ToolOpenApiTool {
|
|
4583
|
+
/** Optional. Authentication information required by the API. */
|
|
4584
|
+
authentication?: GoogleCloudDialogflowV2beta1ToolAuthentication;
|
|
4585
|
+
/** Optional. Service Directory configuration. */
|
|
4586
|
+
serviceDirectoryConfig?: GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig;
|
|
4587
|
+
/** Required. The OpenAPI schema specified as a text. */
|
|
4588
|
+
textSchema?: string;
|
|
4589
|
+
/** Optional. TLS configuration for the HTTPS verification. */
|
|
4590
|
+
tlsConfig?: GoogleCloudDialogflowV2beta1ToolTLSConfig;
|
|
4591
|
+
}
|
|
4592
|
+
interface GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig {
|
|
4593
|
+
/** Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `LocationID` of the service directory must be the same as the location of the tool. */
|
|
4594
|
+
service?: string;
|
|
4595
|
+
}
|
|
4596
|
+
interface GoogleCloudDialogflowV2beta1ToolTLSConfig {
|
|
4597
|
+
/** Required. Specifies a list of allowed custom CA certificates for HTTPS verification. */
|
|
4598
|
+
caCerts?: GoogleCloudDialogflowV2beta1ToolTLSConfigCACert[];
|
|
4599
|
+
}
|
|
4600
|
+
interface GoogleCloudDialogflowV2beta1ToolTLSConfigCACert {
|
|
4601
|
+
/** Required. The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") ``` */
|
|
4602
|
+
cert?: string;
|
|
4603
|
+
/** Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates. */
|
|
4604
|
+
displayName?: string;
|
|
4605
|
+
}
|
|
4458
4606
|
interface GoogleCloudDialogflowV2beta1TrainAgentRequest {}
|
|
4459
4607
|
interface GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest {}
|
|
4460
4608
|
interface GoogleCloudDialogflowV2beta1ValidationError {
|
|
@@ -16574,6 +16722,217 @@ declare namespace gapi.client {
|
|
|
16574
16722
|
body: GoogleCloudDialogflowV2beta1SearchKnowledgeRequest,
|
|
16575
16723
|
): Request<GoogleCloudDialogflowV2beta1SearchKnowledgeResponse>;
|
|
16576
16724
|
}
|
|
16725
|
+
interface ToolsResource {
|
|
16726
|
+
/** Creates a tool. */
|
|
16727
|
+
create(request: {
|
|
16728
|
+
/** V1 error format. */
|
|
16729
|
+
'$.xgafv'?: string;
|
|
16730
|
+
/** OAuth access token. */
|
|
16731
|
+
access_token?: string;
|
|
16732
|
+
/** Data format for response. */
|
|
16733
|
+
alt?: string;
|
|
16734
|
+
/** JSONP */
|
|
16735
|
+
callback?: string;
|
|
16736
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16737
|
+
fields?: string;
|
|
16738
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16739
|
+
key?: string;
|
|
16740
|
+
/** OAuth 2.0 token for the current user. */
|
|
16741
|
+
oauth_token?: string;
|
|
16742
|
+
/** Required. The project/location to create tool for. Format: `projects//locations/` */
|
|
16743
|
+
parent: string;
|
|
16744
|
+
/** Returns response with indentations and line breaks. */
|
|
16745
|
+
prettyPrint?: boolean;
|
|
16746
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16747
|
+
quotaUser?: string;
|
|
16748
|
+
/** Optional. The ID to use for the tool, which will become the final component of the tool's resource name. The tool ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provide, an Id will be auto-generated. If the field is provided, the caller is responsible 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. */
|
|
16749
|
+
toolId?: string;
|
|
16750
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16751
|
+
upload_protocol?: string;
|
|
16752
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16753
|
+
uploadType?: string;
|
|
16754
|
+
/** Request body */
|
|
16755
|
+
resource: GoogleCloudDialogflowV2beta1Tool;
|
|
16756
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16757
|
+
create(
|
|
16758
|
+
request: {
|
|
16759
|
+
/** V1 error format. */
|
|
16760
|
+
'$.xgafv'?: string;
|
|
16761
|
+
/** OAuth access token. */
|
|
16762
|
+
access_token?: string;
|
|
16763
|
+
/** Data format for response. */
|
|
16764
|
+
alt?: string;
|
|
16765
|
+
/** JSONP */
|
|
16766
|
+
callback?: string;
|
|
16767
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16768
|
+
fields?: string;
|
|
16769
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16770
|
+
key?: string;
|
|
16771
|
+
/** OAuth 2.0 token for the current user. */
|
|
16772
|
+
oauth_token?: string;
|
|
16773
|
+
/** Required. The project/location to create tool for. Format: `projects//locations/` */
|
|
16774
|
+
parent: string;
|
|
16775
|
+
/** Returns response with indentations and line breaks. */
|
|
16776
|
+
prettyPrint?: boolean;
|
|
16777
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16778
|
+
quotaUser?: string;
|
|
16779
|
+
/** Optional. The ID to use for the tool, which will become the final component of the tool's resource name. The tool ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provide, an Id will be auto-generated. If the field is provided, the caller is responsible 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. */
|
|
16780
|
+
toolId?: string;
|
|
16781
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16782
|
+
upload_protocol?: string;
|
|
16783
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16784
|
+
uploadType?: string;
|
|
16785
|
+
},
|
|
16786
|
+
body: GoogleCloudDialogflowV2beta1Tool,
|
|
16787
|
+
): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16788
|
+
/** Deletes a tool. */
|
|
16789
|
+
delete(request?: {
|
|
16790
|
+
/** V1 error format. */
|
|
16791
|
+
'$.xgafv'?: string;
|
|
16792
|
+
/** OAuth access token. */
|
|
16793
|
+
access_token?: string;
|
|
16794
|
+
/** Data format for response. */
|
|
16795
|
+
alt?: string;
|
|
16796
|
+
/** JSONP */
|
|
16797
|
+
callback?: string;
|
|
16798
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16799
|
+
fields?: string;
|
|
16800
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16801
|
+
key?: string;
|
|
16802
|
+
/** Required. The tool resource name to delete. Format: `projects//locations//tools/` */
|
|
16803
|
+
name: string;
|
|
16804
|
+
/** OAuth 2.0 token for the current user. */
|
|
16805
|
+
oauth_token?: string;
|
|
16806
|
+
/** Returns response with indentations and line breaks. */
|
|
16807
|
+
prettyPrint?: boolean;
|
|
16808
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16809
|
+
quotaUser?: string;
|
|
16810
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16811
|
+
upload_protocol?: string;
|
|
16812
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16813
|
+
uploadType?: string;
|
|
16814
|
+
}): Request<{}>;
|
|
16815
|
+
/** Retrieves a tool. */
|
|
16816
|
+
get(request?: {
|
|
16817
|
+
/** V1 error format. */
|
|
16818
|
+
'$.xgafv'?: string;
|
|
16819
|
+
/** OAuth access token. */
|
|
16820
|
+
access_token?: string;
|
|
16821
|
+
/** Data format for response. */
|
|
16822
|
+
alt?: string;
|
|
16823
|
+
/** JSONP */
|
|
16824
|
+
callback?: string;
|
|
16825
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16826
|
+
fields?: string;
|
|
16827
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16828
|
+
key?: string;
|
|
16829
|
+
/** Required. The tool resource name to retrieve. Format: `projects//locations//tools/` */
|
|
16830
|
+
name: string;
|
|
16831
|
+
/** OAuth 2.0 token for the current user. */
|
|
16832
|
+
oauth_token?: string;
|
|
16833
|
+
/** Returns response with indentations and line breaks. */
|
|
16834
|
+
prettyPrint?: boolean;
|
|
16835
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16836
|
+
quotaUser?: string;
|
|
16837
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16838
|
+
upload_protocol?: string;
|
|
16839
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16840
|
+
uploadType?: string;
|
|
16841
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16842
|
+
/** Lists tools. */
|
|
16843
|
+
list(request?: {
|
|
16844
|
+
/** V1 error format. */
|
|
16845
|
+
'$.xgafv'?: string;
|
|
16846
|
+
/** OAuth access token. */
|
|
16847
|
+
access_token?: string;
|
|
16848
|
+
/** Data format for response. */
|
|
16849
|
+
alt?: string;
|
|
16850
|
+
/** JSONP */
|
|
16851
|
+
callback?: string;
|
|
16852
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16853
|
+
fields?: string;
|
|
16854
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16855
|
+
key?: string;
|
|
16856
|
+
/** OAuth 2.0 token for the current user. */
|
|
16857
|
+
oauth_token?: string;
|
|
16858
|
+
/** Optional. Maximum number of conversation models to return in a single page. Default to 10. */
|
|
16859
|
+
pageSize?: number;
|
|
16860
|
+
/** Optional. The next_page_token value returned from a previous list request. */
|
|
16861
|
+
pageToken?: string;
|
|
16862
|
+
/** Required. The project/location to list tools for. Format: `projects//locations/` */
|
|
16863
|
+
parent: string;
|
|
16864
|
+
/** Returns response with indentations and line breaks. */
|
|
16865
|
+
prettyPrint?: boolean;
|
|
16866
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16867
|
+
quotaUser?: string;
|
|
16868
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16869
|
+
upload_protocol?: string;
|
|
16870
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16871
|
+
uploadType?: string;
|
|
16872
|
+
}): Request<GoogleCloudDialogflowV2beta1ListToolsResponse>;
|
|
16873
|
+
/** Updates a tool. */
|
|
16874
|
+
patch(request: {
|
|
16875
|
+
/** V1 error format. */
|
|
16876
|
+
'$.xgafv'?: string;
|
|
16877
|
+
/** OAuth access token. */
|
|
16878
|
+
access_token?: string;
|
|
16879
|
+
/** Data format for response. */
|
|
16880
|
+
alt?: string;
|
|
16881
|
+
/** JSONP */
|
|
16882
|
+
callback?: string;
|
|
16883
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16884
|
+
fields?: string;
|
|
16885
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16886
|
+
key?: string;
|
|
16887
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
16888
|
+
name: string;
|
|
16889
|
+
/** OAuth 2.0 token for the current user. */
|
|
16890
|
+
oauth_token?: string;
|
|
16891
|
+
/** Returns response with indentations and line breaks. */
|
|
16892
|
+
prettyPrint?: boolean;
|
|
16893
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16894
|
+
quotaUser?: string;
|
|
16895
|
+
/** Optional. The list of fields to update. */
|
|
16896
|
+
updateMask?: string;
|
|
16897
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16898
|
+
upload_protocol?: string;
|
|
16899
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16900
|
+
uploadType?: string;
|
|
16901
|
+
/** Request body */
|
|
16902
|
+
resource: GoogleCloudDialogflowV2beta1Tool;
|
|
16903
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16904
|
+
patch(
|
|
16905
|
+
request: {
|
|
16906
|
+
/** V1 error format. */
|
|
16907
|
+
'$.xgafv'?: string;
|
|
16908
|
+
/** OAuth access token. */
|
|
16909
|
+
access_token?: string;
|
|
16910
|
+
/** Data format for response. */
|
|
16911
|
+
alt?: string;
|
|
16912
|
+
/** JSONP */
|
|
16913
|
+
callback?: string;
|
|
16914
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16915
|
+
fields?: string;
|
|
16916
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16917
|
+
key?: string;
|
|
16918
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
16919
|
+
name: string;
|
|
16920
|
+
/** OAuth 2.0 token for the current user. */
|
|
16921
|
+
oauth_token?: string;
|
|
16922
|
+
/** Returns response with indentations and line breaks. */
|
|
16923
|
+
prettyPrint?: boolean;
|
|
16924
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16925
|
+
quotaUser?: string;
|
|
16926
|
+
/** Optional. The list of fields to update. */
|
|
16927
|
+
updateMask?: string;
|
|
16928
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16929
|
+
upload_protocol?: string;
|
|
16930
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16931
|
+
uploadType?: string;
|
|
16932
|
+
},
|
|
16933
|
+
body: GoogleCloudDialogflowV2beta1Tool,
|
|
16934
|
+
): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16935
|
+
}
|
|
16577
16936
|
interface LocationsResource {
|
|
16578
16937
|
/** Deletes the specified agent. */
|
|
16579
16938
|
deleteAgent(request?: {
|
|
@@ -16693,7 +17052,7 @@ declare namespace gapi.client {
|
|
|
16693
17052
|
alt?: string;
|
|
16694
17053
|
/** JSONP */
|
|
16695
17054
|
callback?: string;
|
|
16696
|
-
/** Optional.
|
|
17055
|
+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
16697
17056
|
extraLocationTypes?: string | string[];
|
|
16698
17057
|
/** Selector specifying which fields to include in a partial response. */
|
|
16699
17058
|
fields?: string;
|
|
@@ -16792,6 +17151,7 @@ declare namespace gapi.client {
|
|
|
16792
17151
|
sipTrunks: SipTrunksResource;
|
|
16793
17152
|
statelessSuggestion: StatelessSuggestionResource;
|
|
16794
17153
|
suggestions: SuggestionsResource;
|
|
17154
|
+
tools: ToolsResource;
|
|
16795
17155
|
}
|
|
16796
17156
|
interface OperationsResource {
|
|
16797
17157
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|