google-apis-dialogflow_v3beta1 0.94.0 → 0.96.0

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.
@@ -4262,6 +4262,11 @@ module Google
4262
4262
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
4263
4263
  include Google::Apis::Core::Hashable
4264
4264
 
4265
+ # Integration settings for a Git service hosted on Cloud Run.
4266
+ # Corresponds to the JSON property `gitConnectionSettings`
4267
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings]
4268
+ attr_accessor :git_connection_settings
4269
+
4265
4270
  # Settings of integration with GitHub.
4266
4271
  # Corresponds to the JSON property `githubSettings`
4267
4272
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings]
@@ -4273,10 +4278,55 @@ module Google
4273
4278
 
4274
4279
  # Update properties of this object
4275
4280
  def update!(**args)
4281
+ @git_connection_settings = args[:git_connection_settings] if args.key?(:git_connection_settings)
4276
4282
  @github_settings = args[:github_settings] if args.key?(:github_settings)
4277
4283
  end
4278
4284
  end
4279
4285
 
4286
+ # Integration settings for a Git service hosted on Cloud Run.
4287
+ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings
4288
+ include Google::Apis::Core::Hashable
4289
+
4290
+ # The name of the SecretManager secret version resource storing the git access
4291
+ # token. Format: `projects/`project`/secrets/`secret`/versions/`version``
4292
+ # Corresponds to the JSON property `accessTokenSecret`
4293
+ # @return [String]
4294
+ attr_accessor :access_token_secret
4295
+
4296
+ # Optional. List of branches configured for the repository.
4297
+ # Corresponds to the JSON property `branches`
4298
+ # @return [Array<String>]
4299
+ attr_accessor :branches
4300
+
4301
+ # Required. Display name for the repository
4302
+ # Corresponds to the JSON property `displayName`
4303
+ # @return [String]
4304
+ attr_accessor :display_name
4305
+
4306
+ # Required. Git server reporitory URI.
4307
+ # Corresponds to the JSON property `repositoryUri`
4308
+ # @return [String]
4309
+ attr_accessor :repository_uri
4310
+
4311
+ # Required. Default branch of the repository.
4312
+ # Corresponds to the JSON property `trackingBranch`
4313
+ # @return [String]
4314
+ attr_accessor :tracking_branch
4315
+
4316
+ def initialize(**args)
4317
+ update!(**args)
4318
+ end
4319
+
4320
+ # Update properties of this object
4321
+ def update!(**args)
4322
+ @access_token_secret = args[:access_token_secret] if args.key?(:access_token_secret)
4323
+ @branches = args[:branches] if args.key?(:branches)
4324
+ @display_name = args[:display_name] if args.key?(:display_name)
4325
+ @repository_uri = args[:repository_uri] if args.key?(:repository_uri)
4326
+ @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
4327
+ end
4328
+ end
4329
+
4280
4330
  # Settings of integration with GitHub.
4281
4331
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
4282
4332
  include Google::Apis::Core::Hashable
@@ -8461,6 +8511,110 @@ module Google
8461
8511
  end
8462
8512
  end
8463
8513
 
8514
+ # Handler can be used to define custom logic to be executed based on the user-
8515
+ # specified triggers.
8516
+ class GoogleCloudDialogflowCxV3beta1Handler
8517
+ include Google::Apis::Core::Hashable
8518
+
8519
+ # A handler that is triggered by the specified event.
8520
+ # Corresponds to the JSON property `eventHandler`
8521
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler]
8522
+ attr_accessor :event_handler
8523
+
8524
+ # A handler that is triggered on the specific lifecycle_stage of the playbook
8525
+ # execution.
8526
+ # Corresponds to the JSON property `lifecycleHandler`
8527
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler]
8528
+ attr_accessor :lifecycle_handler
8529
+
8530
+ def initialize(**args)
8531
+ update!(**args)
8532
+ end
8533
+
8534
+ # Update properties of this object
8535
+ def update!(**args)
8536
+ @event_handler = args[:event_handler] if args.key?(:event_handler)
8537
+ @lifecycle_handler = args[:lifecycle_handler] if args.key?(:lifecycle_handler)
8538
+ end
8539
+ end
8540
+
8541
+ # A handler that is triggered by the specified event.
8542
+ class GoogleCloudDialogflowCxV3beta1HandlerEventHandler
8543
+ include Google::Apis::Core::Hashable
8544
+
8545
+ # Optional. The condition that must be satisfied to trigger this handler.
8546
+ # Corresponds to the JSON property `condition`
8547
+ # @return [String]
8548
+ attr_accessor :condition
8549
+
8550
+ # Required. The name of the event that triggers this handler.
8551
+ # Corresponds to the JSON property `event`
8552
+ # @return [String]
8553
+ attr_accessor :event
8554
+
8555
+ # A fulfillment can do one or more of the following actions at the same time: *
8556
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
8557
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
8558
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
8559
+ # the page's entry fulfillment can add a static response to the QueryResult in
8560
+ # the returning DetectIntentResponse, call the webhook (for example, to load
8561
+ # user data from a database), or both.
8562
+ # Corresponds to the JSON property `fulfillment`
8563
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
8564
+ attr_accessor :fulfillment
8565
+
8566
+ def initialize(**args)
8567
+ update!(**args)
8568
+ end
8569
+
8570
+ # Update properties of this object
8571
+ def update!(**args)
8572
+ @condition = args[:condition] if args.key?(:condition)
8573
+ @event = args[:event] if args.key?(:event)
8574
+ @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
8575
+ end
8576
+ end
8577
+
8578
+ # A handler that is triggered on the specific lifecycle_stage of the playbook
8579
+ # execution.
8580
+ class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler
8581
+ include Google::Apis::Core::Hashable
8582
+
8583
+ # Optional. The condition that must be satisfied to trigger this handler.
8584
+ # Corresponds to the JSON property `condition`
8585
+ # @return [String]
8586
+ attr_accessor :condition
8587
+
8588
+ # A fulfillment can do one or more of the following actions at the same time: *
8589
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
8590
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
8591
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
8592
+ # the page's entry fulfillment can add a static response to the QueryResult in
8593
+ # the returning DetectIntentResponse, call the webhook (for example, to load
8594
+ # user data from a database), or both.
8595
+ # Corresponds to the JSON property `fulfillment`
8596
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
8597
+ attr_accessor :fulfillment
8598
+
8599
+ # Required. The name of the lifecycle stage that triggers this handler.
8600
+ # Supported values: * `playbook-start` * `pre-action-selection` * `pre-action-
8601
+ # execution`
8602
+ # Corresponds to the JSON property `lifecycleStage`
8603
+ # @return [String]
8604
+ attr_accessor :lifecycle_stage
8605
+
8606
+ def initialize(**args)
8607
+ update!(**args)
8608
+ end
8609
+
8610
+ # Update properties of this object
8611
+ def update!(**args)
8612
+ @condition = args[:condition] if args.key?(:condition)
8613
+ @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
8614
+ @lifecycle_stage = args[:lifecycle_stage] if args.key?(:lifecycle_stage)
8615
+ end
8616
+ end
8617
+
8464
8618
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
8465
8619
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
8466
8620
  include Google::Apis::Core::Hashable
@@ -9856,6 +10010,33 @@ module Google
9856
10010
  end
9857
10011
  end
9858
10012
 
10013
+ # The response message for Tools.ListToolVersions.
10014
+ class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
10015
+ include Google::Apis::Core::Hashable
10016
+
10017
+ # Token to retrieve the next page of results, or empty if there are no more
10018
+ # results in the list.
10019
+ # Corresponds to the JSON property `nextPageToken`
10020
+ # @return [String]
10021
+ attr_accessor :next_page_token
10022
+
10023
+ # The list of tool versions. There will be a maximum number of items returned
10024
+ # based on the page_size field in the request.
10025
+ # Corresponds to the JSON property `toolVersions`
10026
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion>]
10027
+ attr_accessor :tool_versions
10028
+
10029
+ def initialize(**args)
10030
+ update!(**args)
10031
+ end
10032
+
10033
+ # Update properties of this object
10034
+ def update!(**args)
10035
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10036
+ @tool_versions = args[:tool_versions] if args.key?(:tool_versions)
10037
+ end
10038
+ end
10039
+
9859
10040
  # The response message for Tools.ListTools.
9860
10041
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
9861
10042
  include Google::Apis::Core::Hashable
@@ -10599,6 +10780,12 @@ module Google
10599
10780
  # @return [String]
10600
10781
  attr_accessor :goal
10601
10782
 
10783
+ # Optional. A list of registered handlers to execute based on the specified
10784
+ # triggers.
10785
+ # Corresponds to the JSON property `handlers`
10786
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>]
10787
+ attr_accessor :handlers
10788
+
10602
10789
  # Optional. Defined structured input parameters for this playbook.
10603
10790
  # Corresponds to the JSON property `inputParameterDefinitions`
10604
10791
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>]
@@ -10669,6 +10856,7 @@ module Google
10669
10856
  @create_time = args[:create_time] if args.key?(:create_time)
10670
10857
  @display_name = args[:display_name] if args.key?(:display_name)
10671
10858
  @goal = args[:goal] if args.key?(:goal)
10859
+ @handlers = args[:handlers] if args.key?(:handlers)
10672
10860
  @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions)
10673
10861
  @instruction = args[:instruction] if args.key?(:instruction)
10674
10862
  @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
@@ -11811,6 +11999,41 @@ module Google
11811
11999
  end
11812
12000
  end
11813
12001
 
12002
+ # The request message for Tools.RestoreToolVersion.
12003
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
12004
+ include Google::Apis::Core::Hashable
12005
+
12006
+ def initialize(**args)
12007
+ update!(**args)
12008
+ end
12009
+
12010
+ # Update properties of this object
12011
+ def update!(**args)
12012
+ end
12013
+ end
12014
+
12015
+ # The response message for Tools.RestoreToolVersion.
12016
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
12017
+ include Google::Apis::Core::Hashable
12018
+
12019
+ # A tool provides a list of actions which are available to the Playbook to
12020
+ # attain its goal. A Tool consists of a description of the tool's usage and a
12021
+ # specification of the tool which contains the schema and authentication
12022
+ # information.
12023
+ # Corresponds to the JSON property `tool`
12024
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool]
12025
+ attr_accessor :tool
12026
+
12027
+ def initialize(**args)
12028
+ update!(**args)
12029
+ end
12030
+
12031
+ # Update properties of this object
12032
+ def update!(**args)
12033
+ @tool = args[:tool] if args.key?(:tool)
12034
+ end
12035
+ end
12036
+
11814
12037
  # The configuration for auto rollout.
11815
12038
  class GoogleCloudDialogflowCxV3beta1RolloutConfig
11816
12039
  include Google::Apis::Core::Hashable
@@ -12815,6 +13038,11 @@ module Google
12815
13038
  class GoogleCloudDialogflowCxV3beta1Tool
12816
13039
  include Google::Apis::Core::Hashable
12817
13040
 
13041
+ # A ConnectorTool enabling using Integration Connectors Connections as tools.
13042
+ # Corresponds to the JSON property `connectorSpec`
13043
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorTool]
13044
+ attr_accessor :connector_spec
13045
+
12818
13046
  # A DataStoreTool is a way to provide specifications needed to search a list of
12819
13047
  # data stores.
12820
13048
  # Corresponds to the JSON property `dataStoreSpec`
@@ -12864,6 +13092,7 @@ module Google
12864
13092
 
12865
13093
  # Update properties of this object
12866
13094
  def update!(**args)
13095
+ @connector_spec = args[:connector_spec] if args.key?(:connector_spec)
12867
13096
  @data_store_spec = args[:data_store_spec] if args.key?(:data_store_spec)
12868
13097
  @description = args[:description] if args.key?(:description)
12869
13098
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -13125,6 +13354,108 @@ module Google
13125
13354
  end
13126
13355
  end
13127
13356
 
13357
+ # A ConnectorTool enabling using Integration Connectors Connections as tools.
13358
+ class GoogleCloudDialogflowCxV3beta1ToolConnectorTool
13359
+ include Google::Apis::Core::Hashable
13360
+
13361
+ # Required. Actions for the tool to use.
13362
+ # Corresponds to the JSON property `actions`
13363
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction>]
13364
+ attr_accessor :actions
13365
+
13366
+ # End-user authentication configuration used for Connection calls. The field
13367
+ # values can either be hardcoded authentication values or the names of [session
13368
+ # parameters](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#
13369
+ # session-ref) or [request parameters](https://cloud.google.com/dialogflow/cx/
13370
+ # docs/concept/parameter#request-scoped). If parameter names are provided, then
13371
+ # those parameters can be used to pass the authentication values dynamically,
13372
+ # through `$session.params.param-id` or `$request.payload.param-id`.
13373
+ # Corresponds to the JSON property `endUserAuthConfig`
13374
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig]
13375
+ attr_accessor :end_user_auth_config
13376
+
13377
+ # Required. The full resource name of the referenced Integration Connectors
13378
+ # Connection. Format: `projects/*/locations/*/connections/*`
13379
+ # Corresponds to the JSON property `name`
13380
+ # @return [String]
13381
+ attr_accessor :name
13382
+
13383
+ def initialize(**args)
13384
+ update!(**args)
13385
+ end
13386
+
13387
+ # Update properties of this object
13388
+ def update!(**args)
13389
+ @actions = args[:actions] if args.key?(:actions)
13390
+ @end_user_auth_config = args[:end_user_auth_config] if args.key?(:end_user_auth_config)
13391
+ @name = args[:name] if args.key?(:name)
13392
+ end
13393
+ end
13394
+
13395
+ # Configuration of a Connection operation for the tool to use.
13396
+ class GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction
13397
+ include Google::Apis::Core::Hashable
13398
+
13399
+ # ID of a Connection action for the tool to use.
13400
+ # Corresponds to the JSON property `connectionActionId`
13401
+ # @return [String]
13402
+ attr_accessor :connection_action_id
13403
+
13404
+ # Entity CRUD operation specification.
13405
+ # Corresponds to the JSON property `entityOperation`
13406
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation]
13407
+ attr_accessor :entity_operation
13408
+
13409
+ # Optional. Entity fields to use as inputs for the operation. If no fields are
13410
+ # specified, all fields of the Entity will be used.
13411
+ # Corresponds to the JSON property `inputFields`
13412
+ # @return [Array<String>]
13413
+ attr_accessor :input_fields
13414
+
13415
+ # Optional. Entity fields to return from the operation. If no fields are
13416
+ # specified, all fields of the Entity will be returned.
13417
+ # Corresponds to the JSON property `outputFields`
13418
+ # @return [Array<String>]
13419
+ attr_accessor :output_fields
13420
+
13421
+ def initialize(**args)
13422
+ update!(**args)
13423
+ end
13424
+
13425
+ # Update properties of this object
13426
+ def update!(**args)
13427
+ @connection_action_id = args[:connection_action_id] if args.key?(:connection_action_id)
13428
+ @entity_operation = args[:entity_operation] if args.key?(:entity_operation)
13429
+ @input_fields = args[:input_fields] if args.key?(:input_fields)
13430
+ @output_fields = args[:output_fields] if args.key?(:output_fields)
13431
+ end
13432
+ end
13433
+
13434
+ # Entity CRUD operation specification.
13435
+ class GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation
13436
+ include Google::Apis::Core::Hashable
13437
+
13438
+ # Required. ID of the entity.
13439
+ # Corresponds to the JSON property `entityId`
13440
+ # @return [String]
13441
+ attr_accessor :entity_id
13442
+
13443
+ # Required. Operation to perform on the entity.
13444
+ # Corresponds to the JSON property `operation`
13445
+ # @return [String]
13446
+ attr_accessor :operation
13447
+
13448
+ def initialize(**args)
13449
+ update!(**args)
13450
+ end
13451
+
13452
+ # Update properties of this object
13453
+ def update!(**args)
13454
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
13455
+ @operation = args[:operation] if args.key?(:operation)
13456
+ end
13457
+ end
13458
+
13128
13459
  # A DataStoreTool is a way to provide specifications needed to search a list of
13129
13460
  # data stores.
13130
13461
  class GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
@@ -13166,6 +13497,87 @@ module Google
13166
13497
  end
13167
13498
  end
13168
13499
 
13500
+ # End-user authentication configuration used for Connection calls. The field
13501
+ # values can either be hardcoded authentication values or the names of [session
13502
+ # parameters](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#
13503
+ # session-ref) or [request parameters](https://cloud.google.com/dialogflow/cx/
13504
+ # docs/concept/parameter#request-scoped). If parameter names are provided, then
13505
+ # those parameters can be used to pass the authentication values dynamically,
13506
+ # through `$session.params.param-id` or `$request.payload.param-id`.
13507
+ class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig
13508
+ include Google::Apis::Core::Hashable
13509
+
13510
+ # Oauth 2.0 Authorization Code authentication configuration.
13511
+ # Corresponds to the JSON property `oauth2AuthCodeConfig`
13512
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig]
13513
+ attr_accessor :oauth2_auth_code_config
13514
+
13515
+ # JWT Profile Oauth 2.0 Authorization Grant authentication configuration.
13516
+ # Corresponds to the JSON property `oauth2JwtBearerConfig`
13517
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig]
13518
+ attr_accessor :oauth2_jwt_bearer_config
13519
+
13520
+ def initialize(**args)
13521
+ update!(**args)
13522
+ end
13523
+
13524
+ # Update properties of this object
13525
+ def update!(**args)
13526
+ @oauth2_auth_code_config = args[:oauth2_auth_code_config] if args.key?(:oauth2_auth_code_config)
13527
+ @oauth2_jwt_bearer_config = args[:oauth2_jwt_bearer_config] if args.key?(:oauth2_jwt_bearer_config)
13528
+ end
13529
+ end
13530
+
13531
+ # Oauth 2.0 Authorization Code authentication configuration.
13532
+ class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig
13533
+ include Google::Apis::Core::Hashable
13534
+
13535
+ # Required. Oauth token value or parameter name to pass it through.
13536
+ # Corresponds to the JSON property `oauthToken`
13537
+ # @return [String]
13538
+ attr_accessor :oauth_token
13539
+
13540
+ def initialize(**args)
13541
+ update!(**args)
13542
+ end
13543
+
13544
+ # Update properties of this object
13545
+ def update!(**args)
13546
+ @oauth_token = args[:oauth_token] if args.key?(:oauth_token)
13547
+ end
13548
+ end
13549
+
13550
+ # JWT Profile Oauth 2.0 Authorization Grant authentication configuration.
13551
+ class GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig
13552
+ include Google::Apis::Core::Hashable
13553
+
13554
+ # Required. Client key value or parameter name to pass it through.
13555
+ # Corresponds to the JSON property `clientKey`
13556
+ # @return [String]
13557
+ attr_accessor :client_key
13558
+
13559
+ # Required. Issuer value or parameter name to pass it through.
13560
+ # Corresponds to the JSON property `issuer`
13561
+ # @return [String]
13562
+ attr_accessor :issuer
13563
+
13564
+ # Required. Subject value or parameter name to pass it through.
13565
+ # Corresponds to the JSON property `subject`
13566
+ # @return [String]
13567
+ attr_accessor :subject
13568
+
13569
+ def initialize(**args)
13570
+ update!(**args)
13571
+ end
13572
+
13573
+ # Update properties of this object
13574
+ def update!(**args)
13575
+ @client_key = args[:client_key] if args.key?(:client_key)
13576
+ @issuer = args[:issuer] if args.key?(:issuer)
13577
+ @subject = args[:subject] if args.key?(:subject)
13578
+ end
13579
+ end
13580
+
13169
13581
  # An ExtensionTool is a way to use Vertex Extensions as a tool.
13170
13582
  class GoogleCloudDialogflowCxV3beta1ToolExtensionTool
13171
13583
  include Google::Apis::Core::Hashable
@@ -13304,9 +13716,9 @@ module Google
13304
13716
  # unspecified, Dialogflow will use Google's default trust store to verify
13305
13717
  # certificates. N.B. Make sure the HTTPS server certificates are signed with "
13306
13718
  # subject alt name". For instance a certificate can be self-signed using the
13307
- # following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey
13308
- # example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='
13309
- # DNS:www.example.com'")
13719
+ # following command: ``` openssl x509 -req -days 200 -in example.com.csr \ -
13720
+ # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
13721
+ # nsubjectAltName='DNS:www.example.com'") ```
13310
13722
  # Corresponds to the JSON property `cert`
13311
13723
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
13312
13724
  # @return [String]
@@ -13373,6 +13785,53 @@ module Google
13373
13785
  end
13374
13786
  end
13375
13787
 
13788
+ # Tool version is a snapshot of the tool at certain timestamp.
13789
+ class GoogleCloudDialogflowCxV3beta1ToolVersion
13790
+ include Google::Apis::Core::Hashable
13791
+
13792
+ # Output only. Last time the tool version was created or modified.
13793
+ # Corresponds to the JSON property `createTime`
13794
+ # @return [String]
13795
+ attr_accessor :create_time
13796
+
13797
+ # Required. The display name of the tool version.
13798
+ # Corresponds to the JSON property `displayName`
13799
+ # @return [String]
13800
+ attr_accessor :display_name
13801
+
13802
+ # Identifier. The unique identifier of the tool version. Format: `projects//
13803
+ # locations//agents//tools//versions/`.
13804
+ # Corresponds to the JSON property `name`
13805
+ # @return [String]
13806
+ attr_accessor :name
13807
+
13808
+ # A tool provides a list of actions which are available to the Playbook to
13809
+ # attain its goal. A Tool consists of a description of the tool's usage and a
13810
+ # specification of the tool which contains the schema and authentication
13811
+ # information.
13812
+ # Corresponds to the JSON property `tool`
13813
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool]
13814
+ attr_accessor :tool
13815
+
13816
+ # Output only. Last time the tool version was created or modified.
13817
+ # Corresponds to the JSON property `updateTime`
13818
+ # @return [String]
13819
+ attr_accessor :update_time
13820
+
13821
+ def initialize(**args)
13822
+ update!(**args)
13823
+ end
13824
+
13825
+ # Update properties of this object
13826
+ def update!(**args)
13827
+ @create_time = args[:create_time] if args.key?(:create_time)
13828
+ @display_name = args[:display_name] if args.key?(:display_name)
13829
+ @name = args[:name] if args.key?(:name)
13830
+ @tool = args[:tool] if args.key?(:tool)
13831
+ @update_time = args[:update_time] if args.key?(:update_time)
13832
+ end
13833
+ end
13834
+
13376
13835
  # The request message for Flows.TrainFlow.
13377
13836
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
13378
13837
  include Google::Apis::Core::Hashable
@@ -15480,6 +15939,25 @@ module Google
15480
15939
  end
15481
15940
  end
15482
15941
 
15942
+ # Suggestion generated using free form generator.
15943
+ class GoogleCloudDialogflowV2FreeFormSuggestion
15944
+ include Google::Apis::Core::Hashable
15945
+
15946
+ # Required. Free form suggestion.
15947
+ # Corresponds to the JSON property `response`
15948
+ # @return [String]
15949
+ attr_accessor :response
15950
+
15951
+ def initialize(**args)
15952
+ update!(**args)
15953
+ end
15954
+
15955
+ # Update properties of this object
15956
+ def update!(**args)
15957
+ @response = args[:response] if args.key?(:response)
15958
+ end
15959
+ end
15960
+
15483
15961
  # Google Cloud Storage location for the output.
15484
15962
  class GoogleCloudDialogflowV2GcsDestination
15485
15963
  include Google::Apis::Core::Hashable
@@ -15501,6 +15979,90 @@ module Google
15501
15979
  end
15502
15980
  end
15503
15981
 
15982
+ # The response message for Conversations.GenerateSuggestions.
15983
+ class GoogleCloudDialogflowV2GenerateSuggestionsResponse
15984
+ include Google::Apis::Core::Hashable
15985
+
15986
+ # The answers generated for the conversation based on context.
15987
+ # Corresponds to the JSON property `generatorSuggestionAnswers`
15988
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer>]
15989
+ attr_accessor :generator_suggestion_answers
15990
+
15991
+ # The name of the latest conversation message used as context for compiling
15992
+ # suggestion. Format: `projects//locations//conversations//messages/`.
15993
+ # Corresponds to the JSON property `latestMessage`
15994
+ # @return [String]
15995
+ attr_accessor :latest_message
15996
+
15997
+ def initialize(**args)
15998
+ update!(**args)
15999
+ end
16000
+
16001
+ # Update properties of this object
16002
+ def update!(**args)
16003
+ @generator_suggestion_answers = args[:generator_suggestion_answers] if args.key?(:generator_suggestion_answers)
16004
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
16005
+ end
16006
+ end
16007
+
16008
+ # A GeneratorSuggestion answer.
16009
+ class GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer
16010
+ include Google::Apis::Core::Hashable
16011
+
16012
+ # Answer record that uniquely identifies the suggestion. This can be used to
16013
+ # provide suggestion feedback.
16014
+ # Corresponds to the JSON property `answerRecord`
16015
+ # @return [String]
16016
+ attr_accessor :answer_record
16017
+
16018
+ # Suggestion generated using a Generator.
16019
+ # Corresponds to the JSON property `generatorSuggestion`
16020
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GeneratorSuggestion]
16021
+ attr_accessor :generator_suggestion
16022
+
16023
+ # The name of the generator used to generate this suggestion. Format: `projects//
16024
+ # locations//generators/`.
16025
+ # Corresponds to the JSON property `sourceGenerator`
16026
+ # @return [String]
16027
+ attr_accessor :source_generator
16028
+
16029
+ def initialize(**args)
16030
+ update!(**args)
16031
+ end
16032
+
16033
+ # Update properties of this object
16034
+ def update!(**args)
16035
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
16036
+ @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
16037
+ @source_generator = args[:source_generator] if args.key?(:source_generator)
16038
+ end
16039
+ end
16040
+
16041
+ # Suggestion generated using a Generator.
16042
+ class GoogleCloudDialogflowV2GeneratorSuggestion
16043
+ include Google::Apis::Core::Hashable
16044
+
16045
+ # Suggestion generated using free form generator.
16046
+ # Corresponds to the JSON property `freeFormSuggestion`
16047
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FreeFormSuggestion]
16048
+ attr_accessor :free_form_suggestion
16049
+
16050
+ # Suggested summary of the conversation.
16051
+ # Corresponds to the JSON property `summarySuggestion`
16052
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion]
16053
+ attr_accessor :summary_suggestion
16054
+
16055
+ def initialize(**args)
16056
+ update!(**args)
16057
+ end
16058
+
16059
+ # Update properties of this object
16060
+ def update!(**args)
16061
+ @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
16062
+ @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
16063
+ end
16064
+ end
16065
+
15504
16066
  # Represents a notification sent to Cloud Pub/Sub subscribers for human agent
15505
16067
  # assistant events in a specific conversation.
15506
16068
  class GoogleCloudDialogflowV2HumanAgentAssistantEvent
@@ -17903,6 +18465,11 @@ module Google
17903
18465
  # @return [Google::Apis::DialogflowV3beta1::GoogleRpcStatus]
17904
18466
  attr_accessor :error
17905
18467
 
18468
+ # The response message for Conversations.GenerateSuggestions.
18469
+ # Corresponds to the JSON property `generateSuggestionsResponse`
18470
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2GenerateSuggestionsResponse]
18471
+ attr_accessor :generate_suggestions_response
18472
+
17906
18473
  # The response message for Participants.SuggestArticles.
17907
18474
  # Corresponds to the JSON property `suggestArticlesResponse`
17908
18475
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestArticlesResponse]
@@ -17930,6 +18497,7 @@ module Google
17930
18497
  # Update properties of this object
17931
18498
  def update!(**args)
17932
18499
  @error = args[:error] if args.key?(:error)
18500
+ @generate_suggestions_response = args[:generate_suggestions_response] if args.key?(:generate_suggestions_response)
17933
18501
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
17934
18502
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
17935
18503
  @suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
@@ -17937,6 +18505,50 @@ module Google
17937
18505
  end
17938
18506
  end
17939
18507
 
18508
+ # Suggested summary of the conversation.
18509
+ class GoogleCloudDialogflowV2SummarySuggestion
18510
+ include Google::Apis::Core::Hashable
18511
+
18512
+ # Required. All the parts of generated summary.
18513
+ # Corresponds to the JSON property `summarySections`
18514
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestionSummarySection>]
18515
+ attr_accessor :summary_sections
18516
+
18517
+ def initialize(**args)
18518
+ update!(**args)
18519
+ end
18520
+
18521
+ # Update properties of this object
18522
+ def update!(**args)
18523
+ @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
18524
+ end
18525
+ end
18526
+
18527
+ # A component of the generated summary.
18528
+ class GoogleCloudDialogflowV2SummarySuggestionSummarySection
18529
+ include Google::Apis::Core::Hashable
18530
+
18531
+ # Required. Name of the section.
18532
+ # Corresponds to the JSON property `section`
18533
+ # @return [String]
18534
+ attr_accessor :section
18535
+
18536
+ # Required. Summary text for the section.
18537
+ # Corresponds to the JSON property `summary`
18538
+ # @return [String]
18539
+ attr_accessor :summary
18540
+
18541
+ def initialize(**args)
18542
+ update!(**args)
18543
+ end
18544
+
18545
+ # Update properties of this object
18546
+ def update!(**args)
18547
+ @section = args[:section] if args.key?(:section)
18548
+ @summary = args[:summary] if args.key?(:summary)
18549
+ end
18550
+ end
18551
+
17940
18552
  # Metadata for a ConversationModels.UndeployConversationModel operation.
17941
18553
  class GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
17942
18554
  include Google::Apis::Core::Hashable
@@ -18687,6 +19299,25 @@ module Google
18687
19299
  end
18688
19300
  end
18689
19301
 
19302
+ # Suggestion generated using free form generator.
19303
+ class GoogleCloudDialogflowV2beta1FreeFormSuggestion
19304
+ include Google::Apis::Core::Hashable
19305
+
19306
+ # Required. Free form suggestion.
19307
+ # Corresponds to the JSON property `response`
19308
+ # @return [String]
19309
+ attr_accessor :response
19310
+
19311
+ def initialize(**args)
19312
+ update!(**args)
19313
+ end
19314
+
19315
+ # Update properties of this object
19316
+ def update!(**args)
19317
+ @response = args[:response] if args.key?(:response)
19318
+ end
19319
+ end
19320
+
18690
19321
  # Google Cloud Storage location for the output.
18691
19322
  class GoogleCloudDialogflowV2beta1GcsDestination
18692
19323
  include Google::Apis::Core::Hashable
@@ -18708,6 +19339,90 @@ module Google
18708
19339
  end
18709
19340
  end
18710
19341
 
19342
+ # The response message for Conversations.GenerateSuggestions.
19343
+ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
19344
+ include Google::Apis::Core::Hashable
19345
+
19346
+ # The answers generated for the conversation based on context.
19347
+ # Corresponds to the JSON property `generatorSuggestionAnswers`
19348
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>]
19349
+ attr_accessor :generator_suggestion_answers
19350
+
19351
+ # The name of the latest conversation message used as context for compiling
19352
+ # suggestion. Format: `projects//locations//conversations//messages/`.
19353
+ # Corresponds to the JSON property `latestMessage`
19354
+ # @return [String]
19355
+ attr_accessor :latest_message
19356
+
19357
+ def initialize(**args)
19358
+ update!(**args)
19359
+ end
19360
+
19361
+ # Update properties of this object
19362
+ def update!(**args)
19363
+ @generator_suggestion_answers = args[:generator_suggestion_answers] if args.key?(:generator_suggestion_answers)
19364
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
19365
+ end
19366
+ end
19367
+
19368
+ # A GeneratorSuggestion answer.
19369
+ class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
19370
+ include Google::Apis::Core::Hashable
19371
+
19372
+ # Answer record that uniquely identifies the suggestion. This can be used to
19373
+ # provide suggestion feedback.
19374
+ # Corresponds to the JSON property `answerRecord`
19375
+ # @return [String]
19376
+ attr_accessor :answer_record
19377
+
19378
+ # Suggestion generated using a Generator.
19379
+ # Corresponds to the JSON property `generatorSuggestion`
19380
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion]
19381
+ attr_accessor :generator_suggestion
19382
+
19383
+ # The name of the generator used to generate this suggestion. Format: `projects//
19384
+ # locations//generators/`.
19385
+ # Corresponds to the JSON property `sourceGenerator`
19386
+ # @return [String]
19387
+ attr_accessor :source_generator
19388
+
19389
+ def initialize(**args)
19390
+ update!(**args)
19391
+ end
19392
+
19393
+ # Update properties of this object
19394
+ def update!(**args)
19395
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
19396
+ @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
19397
+ @source_generator = args[:source_generator] if args.key?(:source_generator)
19398
+ end
19399
+ end
19400
+
19401
+ # Suggestion generated using a Generator.
19402
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestion
19403
+ include Google::Apis::Core::Hashable
19404
+
19405
+ # Suggestion generated using free form generator.
19406
+ # Corresponds to the JSON property `freeFormSuggestion`
19407
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion]
19408
+ attr_accessor :free_form_suggestion
19409
+
19410
+ # Suggested summary of the conversation.
19411
+ # Corresponds to the JSON property `summarySuggestion`
19412
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion]
19413
+ attr_accessor :summary_suggestion
19414
+
19415
+ def initialize(**args)
19416
+ update!(**args)
19417
+ end
19418
+
19419
+ # Update properties of this object
19420
+ def update!(**args)
19421
+ @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
19422
+ @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
19423
+ end
19424
+ end
19425
+
18711
19426
  # Output only. Represents a notification sent to Pub/Sub subscribers for agent
18712
19427
  # assistant events in a specific conversation.
18713
19428
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
@@ -21863,6 +22578,11 @@ module Google
21863
22578
  # @return [Google::Apis::DialogflowV3beta1::GoogleRpcStatus]
21864
22579
  attr_accessor :error
21865
22580
 
22581
+ # The response message for Conversations.GenerateSuggestions.
22582
+ # Corresponds to the JSON property `generateSuggestionsResponse`
22583
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse]
22584
+ attr_accessor :generate_suggestions_response
22585
+
21866
22586
  # The response message for Participants.SuggestArticles.
21867
22587
  # Corresponds to the JSON property `suggestArticlesResponse`
21868
22588
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
@@ -21900,6 +22620,7 @@ module Google
21900
22620
  # Update properties of this object
21901
22621
  def update!(**args)
21902
22622
  @error = args[:error] if args.key?(:error)
22623
+ @generate_suggestions_response = args[:generate_suggestions_response] if args.key?(:generate_suggestions_response)
21903
22624
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
21904
22625
  @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
21905
22626
  @suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_response)
@@ -21909,6 +22630,50 @@ module Google
21909
22630
  end
21910
22631
  end
21911
22632
 
22633
+ # Suggested summary of the conversation.
22634
+ class GoogleCloudDialogflowV2beta1SummarySuggestion
22635
+ include Google::Apis::Core::Hashable
22636
+
22637
+ # Required. All the parts of generated summary.
22638
+ # Corresponds to the JSON property `summarySections`
22639
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection>]
22640
+ attr_accessor :summary_sections
22641
+
22642
+ def initialize(**args)
22643
+ update!(**args)
22644
+ end
22645
+
22646
+ # Update properties of this object
22647
+ def update!(**args)
22648
+ @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
22649
+ end
22650
+ end
22651
+
22652
+ # A component of the generated summary.
22653
+ class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection
22654
+ include Google::Apis::Core::Hashable
22655
+
22656
+ # Required. Name of the section.
22657
+ # Corresponds to the JSON property `section`
22658
+ # @return [String]
22659
+ attr_accessor :section
22660
+
22661
+ # Required. Summary text for the section.
22662
+ # Corresponds to the JSON property `summary`
22663
+ # @return [String]
22664
+ attr_accessor :summary
22665
+
22666
+ def initialize(**args)
22667
+ update!(**args)
22668
+ end
22669
+
22670
+ # Update properties of this object
22671
+ def update!(**args)
22672
+ @section = args[:section] if args.key?(:section)
22673
+ @summary = args[:summary] if args.key?(:summary)
22674
+ end
22675
+ end
22676
+
21912
22677
  # A wrapper of repeated TelephonyDtmf digits.
21913
22678
  class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
21914
22679
  include Google::Apis::Core::Hashable