@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.12.20251002 → 0.12.20251013
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 +349 -1
- 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: 20251013
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3616,6 +3616,12 @@ declare namespace gapi.client {
|
|
|
3616
3616
|
/** 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
3617
|
suggestions?: GoogleCloudDialogflowV2beta1Suggestion[];
|
|
3618
3618
|
}
|
|
3619
|
+
interface GoogleCloudDialogflowV2beta1ListToolsResponse {
|
|
3620
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3621
|
+
nextPageToken?: string;
|
|
3622
|
+
/** List of tools retrieved. */
|
|
3623
|
+
tools?: GoogleCloudDialogflowV2beta1Tool[];
|
|
3624
|
+
}
|
|
3619
3625
|
interface GoogleCloudDialogflowV2beta1ListVersionsResponse {
|
|
3620
3626
|
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3621
3627
|
nextPageToken?: string;
|
|
@@ -4417,6 +4423,78 @@ declare namespace gapi.client {
|
|
|
4417
4423
|
[P in string]: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig;
|
|
4418
4424
|
};
|
|
4419
4425
|
}
|
|
4426
|
+
interface GoogleCloudDialogflowV2beta1Tool {
|
|
4427
|
+
/** 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. */
|
|
4428
|
+
actionConfirmationRequirement?: {[P in string]: string};
|
|
4429
|
+
/** Integration connectors tool specification. */
|
|
4430
|
+
connectorSpec?: GoogleCloudDialogflowV2beta1ToolConnectorTool;
|
|
4431
|
+
/** Output only. Creation time of this tool. */
|
|
4432
|
+
createTime?: string;
|
|
4433
|
+
/** Optional. A human readable description of the tool. */
|
|
4434
|
+
description?: string;
|
|
4435
|
+
/** Optional. A human readable short name of the tool, to be shown on the UI. */
|
|
4436
|
+
displayName?: string;
|
|
4437
|
+
/** Vertex extension tool specification. */
|
|
4438
|
+
extensionSpec?: GoogleCloudDialogflowV2beta1ToolExtensionTool;
|
|
4439
|
+
/** Client side executed function specification. */
|
|
4440
|
+
functionSpec?: GoogleCloudDialogflowV2beta1ToolFunctionTool;
|
|
4441
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
4442
|
+
name?: string;
|
|
4443
|
+
/** OpenAPI tool. */
|
|
4444
|
+
openApiSpec?: GoogleCloudDialogflowV2beta1ToolOpenApiTool;
|
|
4445
|
+
/** 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. */
|
|
4446
|
+
satisfiesPzi?: boolean;
|
|
4447
|
+
/** 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. */
|
|
4448
|
+
satisfiesPzs?: boolean;
|
|
4449
|
+
/** 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. */
|
|
4450
|
+
toolKey?: string;
|
|
4451
|
+
/** Output only. Update time of this tool. */
|
|
4452
|
+
updateTime?: string;
|
|
4453
|
+
}
|
|
4454
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthentication {
|
|
4455
|
+
/** Config for API key auth. */
|
|
4456
|
+
apiKeyConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig;
|
|
4457
|
+
/** Config for bearer token auth. */
|
|
4458
|
+
bearerTokenConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig;
|
|
4459
|
+
/** Config for OAuth. */
|
|
4460
|
+
oauthConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig;
|
|
4461
|
+
/** Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth. */
|
|
4462
|
+
serviceAgentAuthConfig?: GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig;
|
|
4463
|
+
}
|
|
4464
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig {
|
|
4465
|
+
/** Optional. The API key. If the `secret_version_for_api_key` field is set, this field will be ignored. */
|
|
4466
|
+
apiKey?: string;
|
|
4467
|
+
/** 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. */
|
|
4468
|
+
keyName?: string;
|
|
4469
|
+
/** Required. Key location in the request. */
|
|
4470
|
+
requestLocation?: string;
|
|
4471
|
+
/** 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}` */
|
|
4472
|
+
secretVersionForApiKey?: string;
|
|
4473
|
+
}
|
|
4474
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig {
|
|
4475
|
+
/** 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}` */
|
|
4476
|
+
secretVersionForToken?: string;
|
|
4477
|
+
/** 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`. */
|
|
4478
|
+
token?: string;
|
|
4479
|
+
}
|
|
4480
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig {
|
|
4481
|
+
/** Required. The client ID from the OAuth provider. */
|
|
4482
|
+
clientId?: string;
|
|
4483
|
+
/** Optional. The client secret from the OAuth provider. If the `secret_version_for_client_secret` field is set, this field will be ignored. */
|
|
4484
|
+
clientSecret?: string;
|
|
4485
|
+
/** Required. OAuth grant types. */
|
|
4486
|
+
oauthGrantType?: string;
|
|
4487
|
+
/** Optional. The OAuth scopes to grant. */
|
|
4488
|
+
scopes?: string[];
|
|
4489
|
+
/** 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}` */
|
|
4490
|
+
secretVersionForClientSecret?: string;
|
|
4491
|
+
/** Required. The token endpoint in the OAuth provider to exchange for an access token. */
|
|
4492
|
+
tokenEndpoint?: string;
|
|
4493
|
+
}
|
|
4494
|
+
interface GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig {
|
|
4495
|
+
/** 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. */
|
|
4496
|
+
serviceAgentAuth?: string;
|
|
4497
|
+
}
|
|
4420
4498
|
interface GoogleCloudDialogflowV2beta1ToolCall {
|
|
4421
4499
|
/** Optional. The name of the tool's action associated with this call. */
|
|
4422
4500
|
action?: string;
|
|
@@ -4455,6 +4533,64 @@ declare namespace gapi.client {
|
|
|
4455
4533
|
/** Optional. The error message of the function. */
|
|
4456
4534
|
message?: string;
|
|
4457
4535
|
}
|
|
4536
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorTool {
|
|
4537
|
+
/** Required. Actions for the tool to use. */
|
|
4538
|
+
actions?: GoogleCloudDialogflowV2beta1ToolConnectorToolAction[];
|
|
4539
|
+
/** Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects/*/locations/*/connections/*' */
|
|
4540
|
+
name?: string;
|
|
4541
|
+
}
|
|
4542
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorToolAction {
|
|
4543
|
+
/** ID of a Connection action for the tool to use. */
|
|
4544
|
+
connectionActionId?: string;
|
|
4545
|
+
/** Entity operation configuration for the tool to use. */
|
|
4546
|
+
entityOperation?: GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation;
|
|
4547
|
+
/** Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used. */
|
|
4548
|
+
inputFields?: string[];
|
|
4549
|
+
/** Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned. */
|
|
4550
|
+
outputFields?: string[];
|
|
4551
|
+
}
|
|
4552
|
+
interface GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation {
|
|
4553
|
+
/** Required. ID of the entity. */
|
|
4554
|
+
entityId?: string;
|
|
4555
|
+
/** Required. Operation to perform on the entity. */
|
|
4556
|
+
operation?: string;
|
|
4557
|
+
}
|
|
4558
|
+
interface GoogleCloudDialogflowV2beta1ToolExtensionTool {
|
|
4559
|
+
/** Required. The full name of the referenced vertex extension. Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
4560
|
+
name?: string;
|
|
4561
|
+
}
|
|
4562
|
+
interface GoogleCloudDialogflowV2beta1ToolFunctionTool {
|
|
4563
|
+
/** 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. */
|
|
4564
|
+
inputSchema?: {[P in string]: any};
|
|
4565
|
+
/** Optional. The method type of the function. If not specified, the default value is GET. */
|
|
4566
|
+
methodType?: string;
|
|
4567
|
+
/** 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. */
|
|
4568
|
+
outputSchema?: {[P in string]: any};
|
|
4569
|
+
}
|
|
4570
|
+
interface GoogleCloudDialogflowV2beta1ToolOpenApiTool {
|
|
4571
|
+
/** Optional. Authentication information required by the API. */
|
|
4572
|
+
authentication?: GoogleCloudDialogflowV2beta1ToolAuthentication;
|
|
4573
|
+
/** Optional. Service Directory configuration. */
|
|
4574
|
+
serviceDirectoryConfig?: GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig;
|
|
4575
|
+
/** Required. The OpenAPI schema specified as a text. */
|
|
4576
|
+
textSchema?: string;
|
|
4577
|
+
/** Optional. TLS configuration for the HTTPS verification. */
|
|
4578
|
+
tlsConfig?: GoogleCloudDialogflowV2beta1ToolTLSConfig;
|
|
4579
|
+
}
|
|
4580
|
+
interface GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig {
|
|
4581
|
+
/** 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. */
|
|
4582
|
+
service?: string;
|
|
4583
|
+
}
|
|
4584
|
+
interface GoogleCloudDialogflowV2beta1ToolTLSConfig {
|
|
4585
|
+
/** Required. Specifies a list of allowed custom CA certificates for HTTPS verification. */
|
|
4586
|
+
caCerts?: GoogleCloudDialogflowV2beta1ToolTLSConfigCACert[];
|
|
4587
|
+
}
|
|
4588
|
+
interface GoogleCloudDialogflowV2beta1ToolTLSConfigCACert {
|
|
4589
|
+
/** 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'") */
|
|
4590
|
+
cert?: string;
|
|
4591
|
+
/** Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates. */
|
|
4592
|
+
displayName?: string;
|
|
4593
|
+
}
|
|
4458
4594
|
interface GoogleCloudDialogflowV2beta1TrainAgentRequest {}
|
|
4459
4595
|
interface GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest {}
|
|
4460
4596
|
interface GoogleCloudDialogflowV2beta1ValidationError {
|
|
@@ -16574,6 +16710,217 @@ declare namespace gapi.client {
|
|
|
16574
16710
|
body: GoogleCloudDialogflowV2beta1SearchKnowledgeRequest,
|
|
16575
16711
|
): Request<GoogleCloudDialogflowV2beta1SearchKnowledgeResponse>;
|
|
16576
16712
|
}
|
|
16713
|
+
interface ToolsResource {
|
|
16714
|
+
/** Creates a tool. */
|
|
16715
|
+
create(request: {
|
|
16716
|
+
/** V1 error format. */
|
|
16717
|
+
'$.xgafv'?: string;
|
|
16718
|
+
/** OAuth access token. */
|
|
16719
|
+
access_token?: string;
|
|
16720
|
+
/** Data format for response. */
|
|
16721
|
+
alt?: string;
|
|
16722
|
+
/** JSONP */
|
|
16723
|
+
callback?: string;
|
|
16724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16725
|
+
fields?: string;
|
|
16726
|
+
/** 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. */
|
|
16727
|
+
key?: string;
|
|
16728
|
+
/** OAuth 2.0 token for the current user. */
|
|
16729
|
+
oauth_token?: string;
|
|
16730
|
+
/** Required. The project/location to create tool for. Format: `projects//locations/` */
|
|
16731
|
+
parent: string;
|
|
16732
|
+
/** Returns response with indentations and line breaks. */
|
|
16733
|
+
prettyPrint?: boolean;
|
|
16734
|
+
/** 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. */
|
|
16735
|
+
quotaUser?: string;
|
|
16736
|
+
/** 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. */
|
|
16737
|
+
toolId?: string;
|
|
16738
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16739
|
+
upload_protocol?: string;
|
|
16740
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16741
|
+
uploadType?: string;
|
|
16742
|
+
/** Request body */
|
|
16743
|
+
resource: GoogleCloudDialogflowV2beta1Tool;
|
|
16744
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16745
|
+
create(
|
|
16746
|
+
request: {
|
|
16747
|
+
/** V1 error format. */
|
|
16748
|
+
'$.xgafv'?: string;
|
|
16749
|
+
/** OAuth access token. */
|
|
16750
|
+
access_token?: string;
|
|
16751
|
+
/** Data format for response. */
|
|
16752
|
+
alt?: string;
|
|
16753
|
+
/** JSONP */
|
|
16754
|
+
callback?: string;
|
|
16755
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16756
|
+
fields?: string;
|
|
16757
|
+
/** 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. */
|
|
16758
|
+
key?: string;
|
|
16759
|
+
/** OAuth 2.0 token for the current user. */
|
|
16760
|
+
oauth_token?: string;
|
|
16761
|
+
/** Required. The project/location to create tool for. Format: `projects//locations/` */
|
|
16762
|
+
parent: string;
|
|
16763
|
+
/** Returns response with indentations and line breaks. */
|
|
16764
|
+
prettyPrint?: boolean;
|
|
16765
|
+
/** 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. */
|
|
16766
|
+
quotaUser?: string;
|
|
16767
|
+
/** 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. */
|
|
16768
|
+
toolId?: string;
|
|
16769
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16770
|
+
upload_protocol?: string;
|
|
16771
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16772
|
+
uploadType?: string;
|
|
16773
|
+
},
|
|
16774
|
+
body: GoogleCloudDialogflowV2beta1Tool,
|
|
16775
|
+
): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16776
|
+
/** Deletes a tool. */
|
|
16777
|
+
delete(request?: {
|
|
16778
|
+
/** V1 error format. */
|
|
16779
|
+
'$.xgafv'?: string;
|
|
16780
|
+
/** OAuth access token. */
|
|
16781
|
+
access_token?: string;
|
|
16782
|
+
/** Data format for response. */
|
|
16783
|
+
alt?: string;
|
|
16784
|
+
/** JSONP */
|
|
16785
|
+
callback?: string;
|
|
16786
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16787
|
+
fields?: string;
|
|
16788
|
+
/** 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. */
|
|
16789
|
+
key?: string;
|
|
16790
|
+
/** Required. The tool resource name to delete. Format: `projects//locations//tools/` */
|
|
16791
|
+
name: string;
|
|
16792
|
+
/** OAuth 2.0 token for the current user. */
|
|
16793
|
+
oauth_token?: string;
|
|
16794
|
+
/** Returns response with indentations and line breaks. */
|
|
16795
|
+
prettyPrint?: boolean;
|
|
16796
|
+
/** 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. */
|
|
16797
|
+
quotaUser?: string;
|
|
16798
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16799
|
+
upload_protocol?: string;
|
|
16800
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16801
|
+
uploadType?: string;
|
|
16802
|
+
}): Request<{}>;
|
|
16803
|
+
/** Retrieves a tool. */
|
|
16804
|
+
get(request?: {
|
|
16805
|
+
/** V1 error format. */
|
|
16806
|
+
'$.xgafv'?: string;
|
|
16807
|
+
/** OAuth access token. */
|
|
16808
|
+
access_token?: string;
|
|
16809
|
+
/** Data format for response. */
|
|
16810
|
+
alt?: string;
|
|
16811
|
+
/** JSONP */
|
|
16812
|
+
callback?: string;
|
|
16813
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16814
|
+
fields?: string;
|
|
16815
|
+
/** 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. */
|
|
16816
|
+
key?: string;
|
|
16817
|
+
/** Required. The tool resource name to retrieve. Format: `projects//locations//tools/` */
|
|
16818
|
+
name: string;
|
|
16819
|
+
/** OAuth 2.0 token for the current user. */
|
|
16820
|
+
oauth_token?: string;
|
|
16821
|
+
/** Returns response with indentations and line breaks. */
|
|
16822
|
+
prettyPrint?: boolean;
|
|
16823
|
+
/** 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. */
|
|
16824
|
+
quotaUser?: string;
|
|
16825
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16826
|
+
upload_protocol?: string;
|
|
16827
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16828
|
+
uploadType?: string;
|
|
16829
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16830
|
+
/** Lists tools. */
|
|
16831
|
+
list(request?: {
|
|
16832
|
+
/** V1 error format. */
|
|
16833
|
+
'$.xgafv'?: string;
|
|
16834
|
+
/** OAuth access token. */
|
|
16835
|
+
access_token?: string;
|
|
16836
|
+
/** Data format for response. */
|
|
16837
|
+
alt?: string;
|
|
16838
|
+
/** JSONP */
|
|
16839
|
+
callback?: string;
|
|
16840
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16841
|
+
fields?: string;
|
|
16842
|
+
/** 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. */
|
|
16843
|
+
key?: string;
|
|
16844
|
+
/** OAuth 2.0 token for the current user. */
|
|
16845
|
+
oauth_token?: string;
|
|
16846
|
+
/** Optional. Maximum number of conversation models to return in a single page. Default to 10. */
|
|
16847
|
+
pageSize?: number;
|
|
16848
|
+
/** Optional. The next_page_token value returned from a previous list request. */
|
|
16849
|
+
pageToken?: string;
|
|
16850
|
+
/** Required. The project/location to list tools for. Format: `projects//locations/` */
|
|
16851
|
+
parent: string;
|
|
16852
|
+
/** Returns response with indentations and line breaks. */
|
|
16853
|
+
prettyPrint?: boolean;
|
|
16854
|
+
/** 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. */
|
|
16855
|
+
quotaUser?: string;
|
|
16856
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16857
|
+
upload_protocol?: string;
|
|
16858
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16859
|
+
uploadType?: string;
|
|
16860
|
+
}): Request<GoogleCloudDialogflowV2beta1ListToolsResponse>;
|
|
16861
|
+
/** Updates a tool. */
|
|
16862
|
+
patch(request: {
|
|
16863
|
+
/** V1 error format. */
|
|
16864
|
+
'$.xgafv'?: string;
|
|
16865
|
+
/** OAuth access token. */
|
|
16866
|
+
access_token?: string;
|
|
16867
|
+
/** Data format for response. */
|
|
16868
|
+
alt?: string;
|
|
16869
|
+
/** JSONP */
|
|
16870
|
+
callback?: string;
|
|
16871
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16872
|
+
fields?: string;
|
|
16873
|
+
/** 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. */
|
|
16874
|
+
key?: string;
|
|
16875
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
16876
|
+
name: string;
|
|
16877
|
+
/** OAuth 2.0 token for the current user. */
|
|
16878
|
+
oauth_token?: string;
|
|
16879
|
+
/** Returns response with indentations and line breaks. */
|
|
16880
|
+
prettyPrint?: boolean;
|
|
16881
|
+
/** 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. */
|
|
16882
|
+
quotaUser?: string;
|
|
16883
|
+
/** Optional. The list of fields to update. */
|
|
16884
|
+
updateMask?: string;
|
|
16885
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16886
|
+
upload_protocol?: string;
|
|
16887
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16888
|
+
uploadType?: string;
|
|
16889
|
+
/** Request body */
|
|
16890
|
+
resource: GoogleCloudDialogflowV2beta1Tool;
|
|
16891
|
+
}): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16892
|
+
patch(
|
|
16893
|
+
request: {
|
|
16894
|
+
/** V1 error format. */
|
|
16895
|
+
'$.xgafv'?: string;
|
|
16896
|
+
/** OAuth access token. */
|
|
16897
|
+
access_token?: string;
|
|
16898
|
+
/** Data format for response. */
|
|
16899
|
+
alt?: string;
|
|
16900
|
+
/** JSONP */
|
|
16901
|
+
callback?: string;
|
|
16902
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16903
|
+
fields?: string;
|
|
16904
|
+
/** 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. */
|
|
16905
|
+
key?: string;
|
|
16906
|
+
/** Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`. */
|
|
16907
|
+
name: string;
|
|
16908
|
+
/** OAuth 2.0 token for the current user. */
|
|
16909
|
+
oauth_token?: string;
|
|
16910
|
+
/** Returns response with indentations and line breaks. */
|
|
16911
|
+
prettyPrint?: boolean;
|
|
16912
|
+
/** 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. */
|
|
16913
|
+
quotaUser?: string;
|
|
16914
|
+
/** Optional. The list of fields to update. */
|
|
16915
|
+
updateMask?: string;
|
|
16916
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16917
|
+
upload_protocol?: string;
|
|
16918
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16919
|
+
uploadType?: string;
|
|
16920
|
+
},
|
|
16921
|
+
body: GoogleCloudDialogflowV2beta1Tool,
|
|
16922
|
+
): Request<GoogleCloudDialogflowV2beta1Tool>;
|
|
16923
|
+
}
|
|
16577
16924
|
interface LocationsResource {
|
|
16578
16925
|
/** Deletes the specified agent. */
|
|
16579
16926
|
deleteAgent(request?: {
|
|
@@ -16792,6 +17139,7 @@ declare namespace gapi.client {
|
|
|
16792
17139
|
sipTrunks: SipTrunksResource;
|
|
16793
17140
|
statelessSuggestion: StatelessSuggestionResource;
|
|
16794
17141
|
suggestions: SuggestionsResource;
|
|
17142
|
+
tools: ToolsResource;
|
|
16795
17143
|
}
|
|
16796
17144
|
interface OperationsResource {
|
|
16797
17145
|
/** 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`. */
|