google-apis-dialogflow_v3beta1 0.89.0 → 0.90.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -119,13 +119,21 @@ module Google
119
119
  class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
120
120
  include Google::Apis::Core::Hashable
121
121
 
122
+ # Enables consent-based end-user input redaction, if true, a pre-defined session
123
+ # parameter `$session.params.conversation-redaction` will be used to determine
124
+ # if the utterance should be redacted.
125
+ # Corresponds to the JSON property `enableConsentBasedRedaction`
126
+ # @return [Boolean]
127
+ attr_accessor :enable_consent_based_redaction
128
+ alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
129
+
122
130
  # Enables DF Interaction logging.
123
131
  # Corresponds to the JSON property `enableInteractionLogging`
124
132
  # @return [Boolean]
125
133
  attr_accessor :enable_interaction_logging
126
134
  alias_method :enable_interaction_logging?, :enable_interaction_logging
127
135
 
128
- # Enables StackDriver logging.
136
+ # Enables Google Cloud Logging.
129
137
  # Corresponds to the JSON property `enableStackdriverLogging`
130
138
  # @return [Boolean]
131
139
  attr_accessor :enable_stackdriver_logging
@@ -137,6 +145,7 @@ module Google
137
145
 
138
146
  # Update properties of this object
139
147
  def update!(**args)
148
+ @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
140
149
  @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
141
150
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
142
151
  end
@@ -229,7 +238,7 @@ module Google
229
238
  # utterance has been detected. Note that no-speech event is not expected in this
230
239
  # phase. The client provides this configuration in terms of the durations of
231
240
  # those two phases. The durations are measured in terms of the audio length from
232
- # the the start of the input audio. No-speech event is a response with
241
+ # the start of the input audio. No-speech event is a response with
233
242
  # END_OF_UTTERANCE without any transcript following up.
234
243
  class GoogleCloudDialogflowCxV3BargeInConfig
235
244
  include Google::Apis::Core::Hashable
@@ -501,25 +510,6 @@ module Google
501
510
  end
502
511
  end
503
512
 
504
- # Metadata for CreateDocument operation.
505
- class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata
506
- include Google::Apis::Core::Hashable
507
-
508
- # Metadata in google::longrunning::Operation for Knowledge operations.
509
- # Corresponds to the JSON property `genericMetadata`
510
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
511
- attr_accessor :generic_metadata
512
-
513
- def initialize(**args)
514
- update!(**args)
515
- end
516
-
517
- # Update properties of this object
518
- def update!(**args)
519
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
520
- end
521
- end
522
-
523
513
  # Metadata associated with the long running operation for Versions.CreateVersion.
524
514
  class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
525
515
  include Google::Apis::Core::Hashable
@@ -568,25 +558,6 @@ module Google
568
558
  end
569
559
  end
570
560
 
571
- # Metadata for DeleteDocument operation.
572
- class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
573
- include Google::Apis::Core::Hashable
574
-
575
- # Metadata in google::longrunning::Operation for Knowledge operations.
576
- # Corresponds to the JSON property `genericMetadata`
577
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
578
- attr_accessor :generic_metadata
579
-
580
- def initialize(**args)
581
- update!(**args)
582
- end
583
-
584
- # Update properties of this object
585
- def update!(**args)
586
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
587
- end
588
- end
589
-
590
561
  # Metadata returned for the Environments.DeployFlow long running operation.
591
562
  class GoogleCloudDialogflowCxV3DeployFlowMetadata
592
563
  include Google::Apis::Core::Hashable
@@ -748,7 +719,7 @@ module Google
748
719
  alias_method :enable_predeployment_run?, :enable_predeployment_run
749
720
 
750
721
  # A list of test case names to run. They should be under the same agent. Format
751
- # of each test case name: `projects//locations/ /agents//testCases/`
722
+ # of each test case name: `projects//locations//agents//testCases/`
752
723
  # Corresponds to the JSON property `testCases`
753
724
  # @return [Array<String>]
754
725
  attr_accessor :test_cases
@@ -769,7 +740,9 @@ module Google
769
740
  class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
770
741
  include Google::Apis::Core::Hashable
771
742
 
772
- # Required. Format: projects//locations//agents//flows//versions/.
743
+ # Required. Both flow and playbook versions are supported. Format for flow
744
+ # version: projects//locations//agents//flows//versions/. Format for playbook
745
+ # version: projects//locations//agents//playbooks//versions/.
773
746
  # Corresponds to the JSON property `version`
774
747
  # @return [String]
775
748
  attr_accessor :version
@@ -1445,63 +1418,6 @@ module Google
1445
1418
  end
1446
1419
  end
1447
1420
 
1448
- # Metadata in google::longrunning::Operation for Knowledge operations.
1449
- class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
1450
- include Google::Apis::Core::Hashable
1451
-
1452
- # Required. Output only. The current state of this operation.
1453
- # Corresponds to the JSON property `state`
1454
- # @return [String]
1455
- attr_accessor :state
1456
-
1457
- def initialize(**args)
1458
- update!(**args)
1459
- end
1460
-
1461
- # Update properties of this object
1462
- def update!(**args)
1463
- @state = args[:state] if args.key?(:state)
1464
- end
1465
- end
1466
-
1467
- # Metadata for ImportDocuments operation.
1468
- class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
1469
- include Google::Apis::Core::Hashable
1470
-
1471
- # Metadata in google::longrunning::Operation for Knowledge operations.
1472
- # Corresponds to the JSON property `genericMetadata`
1473
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
1474
- attr_accessor :generic_metadata
1475
-
1476
- def initialize(**args)
1477
- update!(**args)
1478
- end
1479
-
1480
- # Update properties of this object
1481
- def update!(**args)
1482
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
1483
- end
1484
- end
1485
-
1486
- # Response message for Documents.ImportDocuments.
1487
- class GoogleCloudDialogflowCxV3ImportDocumentsResponse
1488
- include Google::Apis::Core::Hashable
1489
-
1490
- # Includes details about skipped documents or any other warnings.
1491
- # Corresponds to the JSON property `warnings`
1492
- # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
1493
- attr_accessor :warnings
1494
-
1495
- def initialize(**args)
1496
- update!(**args)
1497
- end
1498
-
1499
- # Update properties of this object
1500
- def update!(**args)
1501
- @warnings = args[:warnings] if args.key?(:warnings)
1502
- end
1503
- end
1504
-
1505
1421
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
1506
1422
  class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
1507
1423
  include Google::Apis::Core::Hashable
@@ -1741,7 +1657,7 @@ module Google
1741
1657
  # utterance has been detected. Note that no-speech event is not expected in this
1742
1658
  # phase. The client provides this configuration in terms of the durations of
1743
1659
  # those two phases. The durations are measured in terms of the audio length from
1744
- # the the start of the input audio. No-speech event is a response with
1660
+ # the start of the input audio. No-speech event is a response with
1745
1661
  # END_OF_UTTERANCE without any transcript following up.
1746
1662
  # Corresponds to the JSON property `bargeInConfig`
1747
1663
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3BargeInConfig]
@@ -2414,25 +2330,6 @@ module Google
2414
2330
  end
2415
2331
  end
2416
2332
 
2417
- # Metadata for ReloadDocument operation.
2418
- class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
2419
- include Google::Apis::Core::Hashable
2420
-
2421
- # Metadata in google::longrunning::Operation for Knowledge operations.
2422
- # Corresponds to the JSON property `genericMetadata`
2423
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
2424
- attr_accessor :generic_metadata
2425
-
2426
- def initialize(**args)
2427
- update!(**args)
2428
- end
2429
-
2430
- # Update properties of this object
2431
- def update!(**args)
2432
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2433
- end
2434
- end
2435
-
2436
2333
  # Represents a response message that can be returned by a conversational agent.
2437
2334
  # Response messages are also used for output audio synthesis. The approach is as
2438
2335
  # follows: * If at least one OutputAudioText response is present, then all
@@ -2788,7 +2685,8 @@ module Google
2788
2685
  attr_accessor :allow_playback_interruption
2789
2686
  alias_method :allow_playback_interruption?, :allow_playback_interruption
2790
2687
 
2791
- # Required. A collection of text responses.
2688
+ # Required. A collection of text response variants. If multiple variants are
2689
+ # defined, only one text response variant is returned at runtime.
2792
2690
  # Corresponds to the JSON property `text`
2793
2691
  # @return [Array<String>]
2794
2692
  attr_accessor :text
@@ -2929,7 +2827,7 @@ module Google
2929
2827
  attr_accessor :last_test_result
2930
2828
 
2931
2829
  # The unique identifier of the test case. TestCases.CreateTestCase will populate
2932
- # the name automatically. Otherwise use format: `projects//locations//agents/ /
2830
+ # the name automatically. Otherwise use format: `projects//locations//agents//
2933
2831
  # testCases/`.
2934
2832
  # Corresponds to the JSON property `name`
2935
2833
  # @return [String]
@@ -3023,7 +2921,7 @@ module Google
3023
2921
  attr_accessor :environment
3024
2922
 
3025
2923
  # The resource name for the test case result. Format: `projects//locations//
3026
- # agents//testCases/ /results/`.
2924
+ # agents//testCases//results/`.
3027
2925
  # Corresponds to the JSON property `name`
3028
2926
  # @return [String]
3029
2927
  attr_accessor :name
@@ -3330,25 +3228,6 @@ module Google
3330
3228
  end
3331
3229
  end
3332
3230
 
3333
- # Metadata for UpdateDocument operation.
3334
- class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3335
- include Google::Apis::Core::Hashable
3336
-
3337
- # Metadata in google::longrunning::Operation for Knowledge operations.
3338
- # Corresponds to the JSON property `genericMetadata`
3339
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata]
3340
- attr_accessor :generic_metadata
3341
-
3342
- def initialize(**args)
3343
- update!(**args)
3344
- end
3345
-
3346
- # Update properties of this object
3347
- def update!(**args)
3348
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3349
- end
3350
- end
3351
-
3352
3231
  # Webhooks host the developer's business logic. During a session, webhooks allow
3353
3232
  # the developer to use the data extracted by Dialogflow's natural language
3354
3233
  # processing to generate dynamic responses, validate collected data, or trigger
@@ -3882,12 +3761,12 @@ module Google
3882
3761
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance]
3883
3762
  attr_accessor :agent_utterance
3884
3763
 
3885
- # Stores metadata of the invocation of a CX flow. Next Id: 7
3764
+ # Stores metadata of the invocation of a CX flow.
3886
3765
  # Corresponds to the JSON property `flowInvocation`
3887
3766
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation]
3888
3767
  attr_accessor :flow_invocation
3889
3768
 
3890
- # Stores metadata of the invocation of a child playbook. Next Id: 5
3769
+ # Stores metadata of the invocation of a child playbook.
3891
3770
  # Corresponds to the JSON property `playbookInvocation`
3892
3771
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation]
3893
3772
  attr_accessor :playbook_invocation
@@ -4013,13 +3892,21 @@ module Google
4013
3892
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
4014
3893
  include Google::Apis::Core::Hashable
4015
3894
 
3895
+ # Enables consent-based end-user input redaction, if true, a pre-defined session
3896
+ # parameter `$session.params.conversation-redaction` will be used to determine
3897
+ # if the utterance should be redacted.
3898
+ # Corresponds to the JSON property `enableConsentBasedRedaction`
3899
+ # @return [Boolean]
3900
+ attr_accessor :enable_consent_based_redaction
3901
+ alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
3902
+
4016
3903
  # Enables DF Interaction logging.
4017
3904
  # Corresponds to the JSON property `enableInteractionLogging`
4018
3905
  # @return [Boolean]
4019
3906
  attr_accessor :enable_interaction_logging
4020
3907
  alias_method :enable_interaction_logging?, :enable_interaction_logging
4021
3908
 
4022
- # Enables StackDriver logging.
3909
+ # Enables Google Cloud Logging.
4023
3910
  # Corresponds to the JSON property `enableStackdriverLogging`
4024
3911
  # @return [Boolean]
4025
3912
  attr_accessor :enable_stackdriver_logging
@@ -4031,6 +3918,7 @@ module Google
4031
3918
 
4032
3919
  # Update properties of this object
4033
3920
  def update!(**args)
3921
+ @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
4034
3922
  @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
4035
3923
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
4036
3924
  end
@@ -4112,6 +4000,16 @@ module Google
4112
4000
  # @return [String]
4113
4001
  attr_accessor :avatar_uri
4114
4002
 
4003
+ # The settings of BigQuery export.
4004
+ # Corresponds to the JSON property `bigqueryExportSettings`
4005
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BigQueryExportSettings]
4006
+ attr_accessor :bigquery_export_settings
4007
+
4008
+ # Settings for custom client certificates.
4009
+ # Corresponds to the JSON property `clientCertificateSettings`
4010
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings]
4011
+ attr_accessor :client_certificate_settings
4012
+
4115
4013
  # Required. Immutable. The default language of the agent as a language tag. See [
4116
4014
  # Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
4117
4015
  # language) for a list of the currently supported language codes. This field
@@ -4234,6 +4132,8 @@ module Google
4234
4132
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
4235
4133
  @answer_feedback_settings = args[:answer_feedback_settings] if args.key?(:answer_feedback_settings)
4236
4134
  @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
4135
+ @bigquery_export_settings = args[:bigquery_export_settings] if args.key?(:bigquery_export_settings)
4136
+ @client_certificate_settings = args[:client_certificate_settings] if args.key?(:client_certificate_settings)
4237
4137
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
4238
4138
  @description = args[:description] if args.key?(:description)
4239
4139
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -4277,6 +4177,42 @@ module Google
4277
4177
  end
4278
4178
  end
4279
4179
 
4180
+ # Settings for custom client certificates.
4181
+ class GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings
4182
+ include Google::Apis::Core::Hashable
4183
+
4184
+ # Optional. The name of the SecretManager secret version resource storing the
4185
+ # passphrase. 'passphrase' should be left unset if the private key is not
4186
+ # encrypted. Format: `projects/`project`/secrets/`secret`/versions/`version``
4187
+ # Corresponds to the JSON property `passphrase`
4188
+ # @return [String]
4189
+ attr_accessor :passphrase
4190
+
4191
+ # Required. The name of the SecretManager secret version resource storing the
4192
+ # private key encoded in PEM format. Format: `projects/`project`/secrets/`secret`
4193
+ # /versions/`version``
4194
+ # Corresponds to the JSON property `privateKey`
4195
+ # @return [String]
4196
+ attr_accessor :private_key
4197
+
4198
+ # Required. The ssl certificate encoded in PEM format. This string must include
4199
+ # the begin header and end footer lines.
4200
+ # Corresponds to the JSON property `sslCertificate`
4201
+ # @return [String]
4202
+ attr_accessor :ssl_certificate
4203
+
4204
+ def initialize(**args)
4205
+ update!(**args)
4206
+ end
4207
+
4208
+ # Update properties of this object
4209
+ def update!(**args)
4210
+ @passphrase = args[:passphrase] if args.key?(:passphrase)
4211
+ @private_key = args[:private_key] if args.key?(:private_key)
4212
+ @ssl_certificate = args[:ssl_certificate] if args.key?(:ssl_certificate)
4213
+ end
4214
+ end
4215
+
4280
4216
  # Settings for Gen App Builder.
4281
4217
  class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings
4282
4218
  include Google::Apis::Core::Hashable
@@ -4533,7 +4469,7 @@ module Google
4533
4469
  # utterance has been detected. Note that no-speech event is not expected in this
4534
4470
  # phase. The client provides this configuration in terms of the durations of
4535
4471
  # those two phases. The durations are measured in terms of the audio length from
4536
- # the the start of the input audio. No-speech event is a response with
4472
+ # the start of the input audio. No-speech event is a response with
4537
4473
  # END_OF_UTTERANCE without any transcript following up.
4538
4474
  class GoogleCloudDialogflowCxV3beta1BargeInConfig
4539
4475
  include Google::Apis::Core::Hashable
@@ -4563,8 +4499,7 @@ module Google
4563
4499
  class GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
4564
4500
  include Google::Apis::Core::Hashable
4565
4501
 
4566
- # Required. Format of test case names: `projects//locations/ /agents//testCases/`
4567
- # .
4502
+ # Required. Format of test case names: `projects//locations//agents//testCases/`.
4568
4503
  # Corresponds to the JSON property `names`
4569
4504
  # @return [Array<String>]
4570
4505
  attr_accessor :names
@@ -4644,6 +4579,32 @@ module Google
4644
4579
  end
4645
4580
  end
4646
4581
 
4582
+ # The settings of BigQuery export.
4583
+ class GoogleCloudDialogflowCxV3beta1BigQueryExportSettings
4584
+ include Google::Apis::Core::Hashable
4585
+
4586
+ # The BigQuery table to export. Format: `projects//datasets//tables/`.
4587
+ # Corresponds to the JSON property `bigqueryTable`
4588
+ # @return [String]
4589
+ attr_accessor :bigquery_table
4590
+
4591
+ # The field to indicate whether the BigQuery export is enabled.
4592
+ # Corresponds to the JSON property `enabled`
4593
+ # @return [Boolean]
4594
+ attr_accessor :enabled
4595
+ alias_method :enabled?, :enabled
4596
+
4597
+ def initialize(**args)
4598
+ update!(**args)
4599
+ end
4600
+
4601
+ # Update properties of this object
4602
+ def update!(**args)
4603
+ @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table)
4604
+ @enabled = args[:enabled] if args.key?(:enabled)
4605
+ end
4606
+ end
4607
+
4647
4608
  # Boost specification to boost certain documents. A copy of google.cloud.
4648
4609
  # discoveryengine.v1main.BoostSpec, field documentation is available at https://
4649
4610
  # cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
@@ -4688,6 +4649,13 @@ module Google
4688
4649
  # @return [Float]
4689
4650
  attr_accessor :boost
4690
4651
 
4652
+ # Specification for custom ranking based on customer specified attribute value.
4653
+ # It provides more controls for customized ranking than the simple (condition,
4654
+ # boost) combination above.
4655
+ # Corresponds to the JSON property `boostControlSpec`
4656
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec]
4657
+ attr_accessor :boost_control_spec
4658
+
4691
4659
  # Optional. An expression which specifies a boost condition. The syntax and
4692
4660
  # supported fields are the same as a filter expression. Examples: * To boost
4693
4661
  # documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
@@ -4703,10 +4671,89 @@ module Google
4703
4671
  # Update properties of this object
4704
4672
  def update!(**args)
4705
4673
  @boost = args[:boost] if args.key?(:boost)
4674
+ @boost_control_spec = args[:boost_control_spec] if args.key?(:boost_control_spec)
4706
4675
  @condition = args[:condition] if args.key?(:condition)
4707
4676
  end
4708
4677
  end
4709
4678
 
4679
+ # Specification for custom ranking based on customer specified attribute value.
4680
+ # It provides more controls for customized ranking than the simple (condition,
4681
+ # boost) combination above.
4682
+ class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec
4683
+ include Google::Apis::Core::Hashable
4684
+
4685
+ # Optional. The attribute type to be used to determine the boost amount. The
4686
+ # attribute value can be derived from the field value of the specified
4687
+ # field_name. In the case of numerical it is straightforward i.e.
4688
+ # attribute_value = numerical_field_value. In the case of freshness however,
4689
+ # attribute_value = (time.now() - datetime_field_value).
4690
+ # Corresponds to the JSON property `attributeType`
4691
+ # @return [String]
4692
+ attr_accessor :attribute_type
4693
+
4694
+ # Optional. The control points used to define the curve. The monotonic function (
4695
+ # defined through the interpolation_type above) passes through the control
4696
+ # points listed here.
4697
+ # Corresponds to the JSON property `controlPoints`
4698
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint>]
4699
+ attr_accessor :control_points
4700
+
4701
+ # Optional. The name of the field whose value will be used to determine the
4702
+ # boost amount.
4703
+ # Corresponds to the JSON property `fieldName`
4704
+ # @return [String]
4705
+ attr_accessor :field_name
4706
+
4707
+ # Optional. The interpolation type to be applied to connect the control points
4708
+ # listed below.
4709
+ # Corresponds to the JSON property `interpolationType`
4710
+ # @return [String]
4711
+ attr_accessor :interpolation_type
4712
+
4713
+ def initialize(**args)
4714
+ update!(**args)
4715
+ end
4716
+
4717
+ # Update properties of this object
4718
+ def update!(**args)
4719
+ @attribute_type = args[:attribute_type] if args.key?(:attribute_type)
4720
+ @control_points = args[:control_points] if args.key?(:control_points)
4721
+ @field_name = args[:field_name] if args.key?(:field_name)
4722
+ @interpolation_type = args[:interpolation_type] if args.key?(:interpolation_type)
4723
+ end
4724
+ end
4725
+
4726
+ # The control points used to define the curve. The curve defined through these
4727
+ # control points can only be monotonically increasing or decreasing(constant
4728
+ # values are acceptable).
4729
+ class GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint
4730
+ include Google::Apis::Core::Hashable
4731
+
4732
+ # Optional. Can be one of: 1. The numerical field value. 2. The duration spec
4733
+ # for freshness: The value must be formatted as an XSD `dayTimeDuration` value (
4734
+ # a restricted subset of an ISO 8601 duration value). The pattern for this is: `
4735
+ # nDnM]`.
4736
+ # Corresponds to the JSON property `attributeValue`
4737
+ # @return [String]
4738
+ attr_accessor :attribute_value
4739
+
4740
+ # Optional. The value between -1 to 1 by which to boost the score if the
4741
+ # attribute_value evaluates to the value specified above.
4742
+ # Corresponds to the JSON property `boostAmount`
4743
+ # @return [Float]
4744
+ attr_accessor :boost_amount
4745
+
4746
+ def initialize(**args)
4747
+ update!(**args)
4748
+ end
4749
+
4750
+ # Update properties of this object
4751
+ def update!(**args)
4752
+ @attribute_value = args[:attribute_value] if args.key?(:attribute_value)
4753
+ @boost_amount = args[:boost_amount] if args.key?(:boost_amount)
4754
+ end
4755
+ end
4756
+
4710
4757
  # Boost specifications for data stores.
4711
4758
  class GoogleCloudDialogflowCxV3beta1BoostSpecs
4712
4759
  include Google::Apis::Core::Hashable
@@ -5466,25 +5513,6 @@ module Google
5466
5513
  end
5467
5514
  end
5468
5515
 
5469
- # Metadata for CreateDocument operation.
5470
- class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
5471
- include Google::Apis::Core::Hashable
5472
-
5473
- # Metadata in google::longrunning::Operation for Knowledge operations.
5474
- # Corresponds to the JSON property `genericMetadata`
5475
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
5476
- attr_accessor :generic_metadata
5477
-
5478
- def initialize(**args)
5479
- update!(**args)
5480
- end
5481
-
5482
- # Update properties of this object
5483
- def update!(**args)
5484
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
5485
- end
5486
- end
5487
-
5488
5516
  # Metadata associated with the long running operation for Versions.CreateVersion.
5489
5517
  class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
5490
5518
  include Google::Apis::Core::Hashable
@@ -5806,25 +5834,6 @@ module Google
5806
5834
  end
5807
5835
  end
5808
5836
 
5809
- # Metadata for DeleteDocument operation.
5810
- class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
5811
- include Google::Apis::Core::Hashable
5812
-
5813
- # Metadata in google::longrunning::Operation for Knowledge operations.
5814
- # Corresponds to the JSON property `genericMetadata`
5815
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
5816
- attr_accessor :generic_metadata
5817
-
5818
- def initialize(**args)
5819
- update!(**args)
5820
- end
5821
-
5822
- # Update properties of this object
5823
- def update!(**args)
5824
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
5825
- end
5826
- end
5827
-
5828
5837
  # Metadata returned for the Environments.DeployFlow long running operation.
5829
5838
  class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
5830
5839
  include Google::Apis::Core::Hashable
@@ -6336,7 +6345,7 @@ module Google
6336
6345
  alias_method :enable_predeployment_run?, :enable_predeployment_run
6337
6346
 
6338
6347
  # A list of test case names to run. They should be under the same agent. Format
6339
- # of each test case name: `projects//locations/ /agents//testCases/`
6348
+ # of each test case name: `projects//locations//agents//testCases/`
6340
6349
  # Corresponds to the JSON property `testCases`
6341
6350
  # @return [Array<String>]
6342
6351
  attr_accessor :test_cases
@@ -6357,7 +6366,9 @@ module Google
6357
6366
  class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
6358
6367
  include Google::Apis::Core::Hashable
6359
6368
 
6360
- # Required. Format: projects//locations//agents//flows//versions/.
6369
+ # Required. Both flow and playbook versions are supported. Format for flow
6370
+ # version: projects//locations//agents//flows//versions/. Format for playbook
6371
+ # version: projects//locations//agents//playbooks//versions/.
6361
6372
  # Corresponds to the JSON property `version`
6362
6373
  # @return [String]
6363
6374
  attr_accessor :version
@@ -6510,7 +6521,8 @@ module Google
6510
6521
 
6511
6522
  # Optional. The language code of the example. If not specified, the agent's
6512
6523
  # default language is used. Note: languages must be enabled in the agent before
6513
- # they can be used.
6524
+ # they can be used. Note: example's language code is not currently used in
6525
+ # dialogflow agents.
6514
6526
  # Corresponds to the JSON property `languageCode`
6515
6527
  # @return [String]
6516
6528
  attr_accessor :language_code
@@ -6605,7 +6617,7 @@ module Google
6605
6617
  attr_accessor :last_update_time
6606
6618
 
6607
6619
  # The name of the experiment. Format: projects//locations//agents//environments//
6608
- # experiments/..
6620
+ # experiments/.
6609
6621
  # Corresponds to the JSON property `name`
6610
6622
  # @return [String]
6611
6623
  attr_accessor :name
@@ -7410,6 +7422,13 @@ module Google
7410
7422
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
7411
7423
  attr_accessor :knowledge_connector_settings
7412
7424
 
7425
+ # Indicates whether the flow is locked for changes. If the flow is locked,
7426
+ # modifications to the flow will be rejected.
7427
+ # Corresponds to the JSON property `locked`
7428
+ # @return [Boolean]
7429
+ attr_accessor :locked
7430
+ alias_method :locked?, :locked
7431
+
7413
7432
  # Settings for multi-lingual agents.
7414
7433
  # Corresponds to the JSON property `multiLanguageSettings`
7415
7434
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings]
@@ -7460,6 +7479,7 @@ module Google
7460
7479
  @display_name = args[:display_name] if args.key?(:display_name)
7461
7480
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
7462
7481
  @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
7482
+ @locked = args[:locked] if args.key?(:locked)
7463
7483
  @multi_language_settings = args[:multi_language_settings] if args.key?(:multi_language_settings)
7464
7484
  @name = args[:name] if args.key?(:name)
7465
7485
  @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
@@ -7491,12 +7511,12 @@ module Google
7491
7511
  end
7492
7512
  end
7493
7513
 
7494
- # Stores metadata of the invocation of a CX flow. Next Id: 7
7514
+ # Stores metadata of the invocation of a CX flow.
7495
7515
  class GoogleCloudDialogflowCxV3beta1FlowInvocation
7496
7516
  include Google::Apis::Core::Hashable
7497
7517
 
7498
7518
  # Required. The unique identifier of the flow. Format: `projects//locations//
7499
- # agents/`.
7519
+ # agents//flows/`.
7500
7520
  # Corresponds to the JSON property `flow`
7501
7521
  # @return [String]
7502
7522
  attr_accessor :flow
@@ -8259,6 +8279,11 @@ module Google
8259
8279
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings]
8260
8280
  attr_accessor :llm_model_settings
8261
8281
 
8282
+ # Parameters to be passed to the LLM. If not set, default values will be used.
8283
+ # Corresponds to the JSON property `modelParameter`
8284
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorModelParameter]
8285
+ attr_accessor :model_parameter
8286
+
8262
8287
  # The unique identifier of the generator. Must be set for the Generators.
8263
8288
  # UpdateGenerator method. Generators.CreateGenerate populates the name
8264
8289
  # automatically. Format: `projects//locations//agents//generators/`.
@@ -8284,45 +8309,43 @@ module Google
8284
8309
  def update!(**args)
8285
8310
  @display_name = args[:display_name] if args.key?(:display_name)
8286
8311
  @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
8312
+ @model_parameter = args[:model_parameter] if args.key?(:model_parameter)
8287
8313
  @name = args[:name] if args.key?(:name)
8288
8314
  @placeholders = args[:placeholders] if args.key?(:placeholders)
8289
8315
  @prompt_text = args[:prompt_text] if args.key?(:prompt_text)
8290
8316
  end
8291
8317
  end
8292
8318
 
8293
- # Represents a custom placeholder in the prompt text.
8294
- class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
8319
+ # Parameters to be passed to the LLM. If not set, default values will be used.
8320
+ class GoogleCloudDialogflowCxV3beta1GeneratorModelParameter
8295
8321
  include Google::Apis::Core::Hashable
8296
8322
 
8297
- # Unique ID used to map custom placeholder to parameters in fulfillment.
8298
- # Corresponds to the JSON property `id`
8299
- # @return [String]
8300
- attr_accessor :id
8301
-
8302
- # Custom placeholder value in the prompt text.
8303
- # Corresponds to the JSON property `name`
8304
- # @return [String]
8305
- attr_accessor :name
8306
-
8307
- def initialize(**args)
8308
- update!(**args)
8309
- end
8323
+ # The maximum number of tokens to generate.
8324
+ # Corresponds to the JSON property `maxDecodeSteps`
8325
+ # @return [Fixnum]
8326
+ attr_accessor :max_decode_steps
8310
8327
 
8311
- # Update properties of this object
8312
- def update!(**args)
8313
- @id = args[:id] if args.key?(:id)
8314
- @name = args[:name] if args.key?(:name)
8315
- end
8316
- end
8328
+ # The temperature used for sampling. Temperature sampling occurs after both topP
8329
+ # and topK have been applied. Valid range: [0.0, 1.0] Low temperature = less
8330
+ # random. High temperature = more random.
8331
+ # Corresponds to the JSON property `temperature`
8332
+ # @return [Float]
8333
+ attr_accessor :temperature
8317
8334
 
8318
- # Metadata in google::longrunning::Operation for Knowledge operations.
8319
- class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
8320
- include Google::Apis::Core::Hashable
8335
+ # If set, the sampling process in each step is limited to the top_k tokens with
8336
+ # highest probabilities. Valid range: [1, 40] or 1000+. Small topK = less random.
8337
+ # Large topK = more random.
8338
+ # Corresponds to the JSON property `topK`
8339
+ # @return [Fixnum]
8340
+ attr_accessor :top_k
8321
8341
 
8322
- # Required. Output only. The current state of this operation.
8323
- # Corresponds to the JSON property `state`
8324
- # @return [String]
8325
- attr_accessor :state
8342
+ # If set, only the tokens comprising the top top_p probability mass are
8343
+ # considered. If both top_p and top_k are set, top_p will be used for further
8344
+ # refining candidates selected with top_k. Valid range: (0.0, 1.0]. Small topP =
8345
+ # less random. Large topP = more random.
8346
+ # Corresponds to the JSON property `topP`
8347
+ # @return [Float]
8348
+ attr_accessor :top_p
8326
8349
 
8327
8350
  def initialize(**args)
8328
8351
  update!(**args)
@@ -8330,37 +8353,26 @@ module Google
8330
8353
 
8331
8354
  # Update properties of this object
8332
8355
  def update!(**args)
8333
- @state = args[:state] if args.key?(:state)
8356
+ @max_decode_steps = args[:max_decode_steps] if args.key?(:max_decode_steps)
8357
+ @temperature = args[:temperature] if args.key?(:temperature)
8358
+ @top_k = args[:top_k] if args.key?(:top_k)
8359
+ @top_p = args[:top_p] if args.key?(:top_p)
8334
8360
  end
8335
8361
  end
8336
8362
 
8337
- # Metadata for ImportDocuments operation.
8338
- class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
8363
+ # Represents a custom placeholder in the prompt text.
8364
+ class GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
8339
8365
  include Google::Apis::Core::Hashable
8340
8366
 
8341
- # Metadata in google::longrunning::Operation for Knowledge operations.
8342
- # Corresponds to the JSON property `genericMetadata`
8343
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
8344
- attr_accessor :generic_metadata
8345
-
8346
- def initialize(**args)
8347
- update!(**args)
8348
- end
8349
-
8350
- # Update properties of this object
8351
- def update!(**args)
8352
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
8353
- end
8354
- end
8355
-
8356
- # Response message for Documents.ImportDocuments.
8357
- class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
8358
- include Google::Apis::Core::Hashable
8367
+ # Unique ID used to map custom placeholder to parameters in fulfillment.
8368
+ # Corresponds to the JSON property `id`
8369
+ # @return [String]
8370
+ attr_accessor :id
8359
8371
 
8360
- # Includes details about skipped documents or any other warnings.
8361
- # Corresponds to the JSON property `warnings`
8362
- # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
8363
- attr_accessor :warnings
8372
+ # Custom placeholder value in the prompt text.
8373
+ # Corresponds to the JSON property `name`
8374
+ # @return [String]
8375
+ attr_accessor :name
8364
8376
 
8365
8377
  def initialize(**args)
8366
8378
  update!(**args)
@@ -8368,7 +8380,8 @@ module Google
8368
8380
 
8369
8381
  # Update properties of this object
8370
8382
  def update!(**args)
8371
- @warnings = args[:warnings] if args.key?(:warnings)
8383
+ @id = args[:id] if args.key?(:id)
8384
+ @name = args[:name] if args.key?(:name)
8372
8385
  end
8373
8386
  end
8374
8387
 
@@ -8748,6 +8761,32 @@ module Google
8748
8761
  end
8749
8762
  end
8750
8763
 
8764
+ # A type schema object that's specified inline.
8765
+ class GoogleCloudDialogflowCxV3beta1InlineSchema
8766
+ include Google::Apis::Core::Hashable
8767
+
8768
+ # Encapsulates different type schema variations: either a reference to an a
8769
+ # schema that's already defined by a tool, or an inline definition.
8770
+ # Corresponds to the JSON property `items`
8771
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
8772
+ attr_accessor :items
8773
+
8774
+ # Data type of the schema.
8775
+ # Corresponds to the JSON property `type`
8776
+ # @return [String]
8777
+ attr_accessor :type
8778
+
8779
+ def initialize(**args)
8780
+ update!(**args)
8781
+ end
8782
+
8783
+ # Update properties of this object
8784
+ def update!(**args)
8785
+ @items = args[:items] if args.key?(:items)
8786
+ @type = args[:type] if args.key?(:type)
8787
+ end
8788
+ end
8789
+
8751
8790
  # Inline source for a Dialogflow operation that reads or imports objects (e.g.
8752
8791
  # intents) into Dialogflow.
8753
8792
  class GoogleCloudDialogflowCxV3beta1InlineSource
@@ -8791,7 +8830,7 @@ module Google
8791
8830
  # utterance has been detected. Note that no-speech event is not expected in this
8792
8831
  # phase. The client provides this configuration in terms of the durations of
8793
8832
  # those two phases. The durations are measured in terms of the audio length from
8794
- # the the start of the input audio. No-speech event is a response with
8833
+ # the start of the input audio. No-speech event is a response with
8795
8834
  # END_OF_UTTERANCE without any transcript following up.
8796
8835
  # Corresponds to the JSON property `bargeInConfig`
8797
8836
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
@@ -10104,7 +10143,8 @@ module Google
10104
10143
  # classification threshold. If the returned score value is less than the
10105
10144
  # threshold value, then a no-match event will be triggered. The score values
10106
10145
  # range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.
10107
- # 0, the default of 0.3 is used.
10146
+ # 0, the default of 0.3 is used. You can set a separate classification threshold
10147
+ # for the flow in each language enabled for the agent.
10108
10148
  # Corresponds to the JSON property `classificationThreshold`
10109
10149
  # @return [Float]
10110
10150
  attr_accessor :classification_threshold
@@ -10414,11 +10454,17 @@ module Google
10414
10454
  # @return [String]
10415
10455
  attr_accessor :name
10416
10456
 
10417
- # Required. Type of parameter.
10457
+ # Type of parameter.
10418
10458
  # Corresponds to the JSON property `type`
10419
10459
  # @return [String]
10420
10460
  attr_accessor :type
10421
10461
 
10462
+ # Encapsulates different type schema variations: either a reference to an a
10463
+ # schema that's already defined by a tool, or an inline definition.
10464
+ # Corresponds to the JSON property `typeSchema`
10465
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema]
10466
+ attr_accessor :type_schema
10467
+
10422
10468
  def initialize(**args)
10423
10469
  update!(**args)
10424
10470
  end
@@ -10428,6 +10474,7 @@ module Google
10428
10474
  @description = args[:description] if args.key?(:description)
10429
10475
  @name = args[:name] if args.key?(:name)
10430
10476
  @type = args[:type] if args.key?(:type)
10477
+ @type_schema = args[:type_schema] if args.key?(:type_schema)
10431
10478
  end
10432
10479
  end
10433
10480
 
@@ -10597,7 +10644,7 @@ module Google
10597
10644
  end
10598
10645
  end
10599
10646
 
10600
- # Stores metadata of the invocation of a child playbook. Next Id: 5
10647
+ # Stores metadata of the invocation of a child playbook.
10601
10648
  class GoogleCloudDialogflowCxV3beta1PlaybookInvocation
10602
10649
  include Google::Apis::Core::Hashable
10603
10650
 
@@ -10828,9 +10875,10 @@ module Google
10828
10875
  # @return [String]
10829
10876
  attr_accessor :current_page
10830
10877
 
10831
- # Optional. Start the session with the specified playbook. You can only specify
10832
- # the playbook at the beginning of the session. Otherwise, an error will be
10833
- # thrown. Format: `projects//locations//agents//playbooks/`.
10878
+ # Optional. The unique identifier of the playbook to start or continue the
10879
+ # session with. If `current_playbook` is specified, the previous state of the
10880
+ # session will be ignored by Dialogflow. Format: `projects//locations//agents//
10881
+ # playbooks/`.
10834
10882
  # Corresponds to the JSON property `currentPlaybook`
10835
10883
  # @return [String]
10836
10884
  attr_accessor :current_playbook
@@ -11206,25 +11254,6 @@ module Google
11206
11254
  end
11207
11255
  end
11208
11256
 
11209
- # Metadata for ReloadDocument operation.
11210
- class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
11211
- include Google::Apis::Core::Hashable
11212
-
11213
- # Metadata in google::longrunning::Operation for Knowledge operations.
11214
- # Corresponds to the JSON property `genericMetadata`
11215
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
11216
- attr_accessor :generic_metadata
11217
-
11218
- def initialize(**args)
11219
- update!(**args)
11220
- end
11221
-
11222
- # Update properties of this object
11223
- def update!(**args)
11224
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
11225
- end
11226
- end
11227
-
11228
11257
  # Resource name and display name.
11229
11258
  class GoogleCloudDialogflowCxV3beta1ResourceName
11230
11259
  include Google::Apis::Core::Hashable
@@ -11605,7 +11634,8 @@ module Google
11605
11634
  attr_accessor :allow_playback_interruption
11606
11635
  alias_method :allow_playback_interruption?, :allow_playback_interruption
11607
11636
 
11608
- # Required. A collection of text responses.
11637
+ # Required. A collection of text response variants. If multiple variants are
11638
+ # defined, only one text response variant is returned at runtime.
11609
11639
  # Corresponds to the JSON property `text`
11610
11640
  # @return [Array<String>]
11611
11641
  attr_accessor :text
@@ -11900,6 +11930,11 @@ module Google
11900
11930
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase>]
11901
11931
  attr_accessor :banned_phrases
11902
11932
 
11933
+ # Optional. Default phrase match strategy for banned phrases.
11934
+ # Corresponds to the JSON property `defaultBannedPhraseMatchStrategy`
11935
+ # @return [String]
11936
+ attr_accessor :default_banned_phrase_match_strategy
11937
+
11903
11938
  def initialize(**args)
11904
11939
  update!(**args)
11905
11940
  end
@@ -11907,6 +11942,7 @@ module Google
11907
11942
  # Update properties of this object
11908
11943
  def update!(**args)
11909
11944
  @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
11945
+ @default_banned_phrase_match_strategy = args[:default_banned_phrase_match_strategy] if args.key?(:default_banned_phrase_match_strategy)
11910
11946
  end
11911
11947
  end
11912
11948
 
@@ -12402,7 +12438,7 @@ module Google
12402
12438
  attr_accessor :last_test_result
12403
12439
 
12404
12440
  # The unique identifier of the test case. TestCases.CreateTestCase will populate
12405
- # the name automatically. Otherwise use format: `projects//locations//agents/ /
12441
+ # the name automatically. Otherwise use format: `projects//locations//agents//
12406
12442
  # testCases/`.
12407
12443
  # Corresponds to the JSON property `name`
12408
12444
  # @return [String]
@@ -12496,7 +12532,7 @@ module Google
12496
12532
  attr_accessor :environment
12497
12533
 
12498
12534
  # The resource name for the test case result. Format: `projects//locations//
12499
- # agents//testCases/ /results/`.
12535
+ # agents//testCases//results/`.
12500
12536
  # Corresponds to the JSON property `name`
12501
12537
  # @return [String]
12502
12538
  attr_accessor :name
@@ -12744,6 +12780,11 @@ module Google
12744
12780
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig]
12745
12781
  attr_accessor :api_key_config
12746
12782
 
12783
+ # Config for authentication using bearer token.
12784
+ # Corresponds to the JSON property `bearerTokenConfig`
12785
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig]
12786
+ attr_accessor :bearer_token_config
12787
+
12747
12788
  # Config for authentication with OAuth.
12748
12789
  # Corresponds to the JSON property `oauthConfig`
12749
12790
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig]
@@ -12762,6 +12803,7 @@ module Google
12762
12803
  # Update properties of this object
12763
12804
  def update!(**args)
12764
12805
  @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
12806
+ @bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
12765
12807
  @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
12766
12808
  @service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
12767
12809
  end
@@ -12800,6 +12842,28 @@ module Google
12800
12842
  end
12801
12843
  end
12802
12844
 
12845
+ # Config for authentication using bearer token.
12846
+ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
12847
+ include Google::Apis::Core::Hashable
12848
+
12849
+ # Required. The text token appended to the text `Bearer` to the request
12850
+ # Authorization header. [Session parameters reference](https://cloud.google.com/
12851
+ # dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
12852
+ # token dynamically, e.g. `$session.params.parameter-id`.
12853
+ # Corresponds to the JSON property `token`
12854
+ # @return [String]
12855
+ attr_accessor :token
12856
+
12857
+ def initialize(**args)
12858
+ update!(**args)
12859
+ end
12860
+
12861
+ # Update properties of this object
12862
+ def update!(**args)
12863
+ @token = args[:token] if args.key?(:token)
12864
+ end
12865
+ end
12866
+
12803
12867
  # Config for authentication with OAuth.
12804
12868
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig
12805
12869
  include Google::Apis::Core::Hashable
@@ -12819,6 +12883,11 @@ module Google
12819
12883
  # @return [String]
12820
12884
  attr_accessor :oauth_grant_type
12821
12885
 
12886
+ # Optional. The OAuth scopes to grant.
12887
+ # Corresponds to the JSON property `scopes`
12888
+ # @return [Array<String>]
12889
+ attr_accessor :scopes
12890
+
12822
12891
  # Required. The token endpoint in the OAuth provider to exchange for an access
12823
12892
  # token.
12824
12893
  # Corresponds to the JSON property `tokenEndpoint`
@@ -12834,6 +12903,7 @@ module Google
12834
12903
  @client_id = args[:client_id] if args.key?(:client_id)
12835
12904
  @client_secret = args[:client_secret] if args.key?(:client_secret)
12836
12905
  @oauth_grant_type = args[:oauth_grant_type] if args.key?(:oauth_grant_type)
12906
+ @scopes = args[:scopes] if args.key?(:scopes)
12837
12907
  @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
12838
12908
  end
12839
12909
  end
@@ -12843,12 +12913,20 @@ module Google
12843
12913
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
12844
12914
  include Google::Apis::Core::Hashable
12845
12915
 
12916
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
12917
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
12918
+ # agent). The generated token is sent in the Authorization header.
12919
+ # Corresponds to the JSON property `serviceAgentAuth`
12920
+ # @return [String]
12921
+ attr_accessor :service_agent_auth
12922
+
12846
12923
  def initialize(**args)
12847
12924
  update!(**args)
12848
12925
  end
12849
12926
 
12850
12927
  # Update properties of this object
12851
12928
  def update!(**args)
12929
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
12852
12930
  end
12853
12931
  end
12854
12932
 
@@ -13041,6 +13119,11 @@ module Google
13041
13119
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthentication]
13042
13120
  attr_accessor :authentication
13043
13121
 
13122
+ # Configuration for tools using Service Directory.
13123
+ # Corresponds to the JSON property `serviceDirectoryConfig`
13124
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig]
13125
+ attr_accessor :service_directory_config
13126
+
13044
13127
  # Required. The OpenAPI schema specified as a text.
13045
13128
  # Corresponds to the JSON property `textSchema`
13046
13129
  # @return [String]
@@ -13058,11 +13141,34 @@ module Google
13058
13141
  # Update properties of this object
13059
13142
  def update!(**args)
13060
13143
  @authentication = args[:authentication] if args.key?(:authentication)
13144
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
13061
13145
  @text_schema = args[:text_schema] if args.key?(:text_schema)
13062
13146
  @tls_config = args[:tls_config] if args.key?(:tls_config)
13063
13147
  end
13064
13148
  end
13065
13149
 
13150
+ # Configuration for tools using Service Directory.
13151
+ class GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig
13152
+ include Google::Apis::Core::Hashable
13153
+
13154
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
13155
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
13156
+ # LocationID` of the service directory must be the same as the location of the
13157
+ # agent.
13158
+ # Corresponds to the JSON property `service`
13159
+ # @return [String]
13160
+ attr_accessor :service
13161
+
13162
+ def initialize(**args)
13163
+ update!(**args)
13164
+ end
13165
+
13166
+ # Update properties of this object
13167
+ def update!(**args)
13168
+ @service = args[:service] if args.key?(:service)
13169
+ end
13170
+ end
13171
+
13066
13172
  # The TLS configuration.
13067
13173
  class GoogleCloudDialogflowCxV3beta1ToolTlsConfig
13068
13174
  include Google::Apis::Core::Hashable
@@ -13592,14 +13698,20 @@ module Google
13592
13698
  end
13593
13699
  end
13594
13700
 
13595
- # Metadata for UpdateDocument operation.
13596
- class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
13701
+ # Encapsulates different type schema variations: either a reference to an a
13702
+ # schema that's already defined by a tool, or an inline definition.
13703
+ class GoogleCloudDialogflowCxV3beta1TypeSchema
13597
13704
  include Google::Apis::Core::Hashable
13598
13705
 
13599
- # Metadata in google::longrunning::Operation for Knowledge operations.
13600
- # Corresponds to the JSON property `genericMetadata`
13601
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata]
13602
- attr_accessor :generic_metadata
13706
+ # A type schema object that's specified inline.
13707
+ # Corresponds to the JSON property `inlineSchema`
13708
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema]
13709
+ attr_accessor :inline_schema
13710
+
13711
+ # A reference to the schema of an existing tool.
13712
+ # Corresponds to the JSON property `schemaReference`
13713
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference]
13714
+ attr_accessor :schema_reference
13603
13715
 
13604
13716
  def initialize(**args)
13605
13717
  update!(**args)
@@ -13607,7 +13719,34 @@ module Google
13607
13719
 
13608
13720
  # Update properties of this object
13609
13721
  def update!(**args)
13610
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
13722
+ @inline_schema = args[:inline_schema] if args.key?(:inline_schema)
13723
+ @schema_reference = args[:schema_reference] if args.key?(:schema_reference)
13724
+ end
13725
+ end
13726
+
13727
+ # A reference to the schema of an existing tool.
13728
+ class GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
13729
+ include Google::Apis::Core::Hashable
13730
+
13731
+ # The name of the schema.
13732
+ # Corresponds to the JSON property `schema`
13733
+ # @return [String]
13734
+ attr_accessor :schema
13735
+
13736
+ # The tool that contains this schema definition. Format: `projects//locations//
13737
+ # agents//tools/`.
13738
+ # Corresponds to the JSON property `tool`
13739
+ # @return [String]
13740
+ attr_accessor :tool
13741
+
13742
+ def initialize(**args)
13743
+ update!(**args)
13744
+ end
13745
+
13746
+ # Update properties of this object
13747
+ def update!(**args)
13748
+ @schema = args[:schema] if args.key?(:schema)
13749
+ @tool = args[:tool] if args.key?(:tool)
13611
13750
  end
13612
13751
  end
13613
13752
 
@@ -14546,7 +14685,7 @@ module Google
14546
14685
  end
14547
14686
  end
14548
14687
 
14549
- # Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
14688
+ # Metadata for a ConversationProfiles.ClearSuggestionFeatureConfig operation.
14550
14689
  class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
14551
14690
  include Google::Apis::Core::Hashable
14552
14691
 
@@ -14727,6 +14866,20 @@ module Google
14727
14866
  # @return [String]
14728
14867
  attr_accessor :name
14729
14868
 
14869
+ # Output only. A read only boolean field reflecting Zone Isolation status of the
14870
+ # model.
14871
+ # Corresponds to the JSON property `satisfiesPzi`
14872
+ # @return [Boolean]
14873
+ attr_accessor :satisfies_pzi
14874
+ alias_method :satisfies_pzi?, :satisfies_pzi
14875
+
14876
+ # Output only. A read only boolean field reflecting Zone Separation status of
14877
+ # the model.
14878
+ # Corresponds to the JSON property `satisfiesPzs`
14879
+ # @return [Boolean]
14880
+ attr_accessor :satisfies_pzs
14881
+ alias_method :satisfies_pzs?, :satisfies_pzs
14882
+
14730
14883
  # Metadata for smart reply models.
14731
14884
  # Corresponds to the JSON property `smartReplyModelMetadata`
14732
14885
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata]
@@ -14750,12 +14903,14 @@ module Google
14750
14903
  @display_name = args[:display_name] if args.key?(:display_name)
14751
14904
  @language_code = args[:language_code] if args.key?(:language_code)
14752
14905
  @name = args[:name] if args.key?(:name)
14906
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
14907
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
14753
14908
  @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
14754
14909
  @state = args[:state] if args.key?(:state)
14755
14910
  end
14756
14911
  end
14757
14912
 
14758
- # Metadata for ConversationDatasets.
14913
+ # Metadata for CreateConversationDataset.
14759
14914
  class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
14760
14915
  include Google::Apis::Core::Hashable
14761
14916
 
@@ -14848,7 +15003,7 @@ module Google
14848
15003
  end
14849
15004
  end
14850
15005
 
14851
- # Metadata for ConversationDatasets.
15006
+ # Metadata for DeleteConversationDataset.
14852
15007
  class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
14853
15008
  include Google::Apis::Core::Hashable
14854
15009
 
@@ -16737,6 +16892,11 @@ module Google
16737
16892
  class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
16738
16893
  include Google::Apis::Core::Hashable
16739
16894
 
16895
+ # Metadata of the document.
16896
+ # Corresponds to the JSON property `metadata`
16897
+ # @return [Hash<String,Object>]
16898
+ attr_accessor :metadata
16899
+
16740
16900
  # Text taken from that URI.
16741
16901
  # Corresponds to the JSON property `text`
16742
16902
  # @return [String]
@@ -16758,6 +16918,7 @@ module Google
16758
16918
 
16759
16919
  # Update properties of this object
16760
16920
  def update!(**args)
16921
+ @metadata = args[:metadata] if args.key?(:metadata)
16761
16922
  @text = args[:text] if args.key?(:text)
16762
16923
  @title = args[:title] if args.key?(:title)
16763
16924
  @uri = args[:uri] if args.key?(:uri)
@@ -16862,12 +17023,11 @@ module Google
16862
17023
 
16863
17024
  # The result of sentiment analysis. Sentiment analysis inspects user input and
16864
17025
  # identifies the prevailing subjective opinion, especially to determine a user's
16865
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
16866
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
16867
- # StreamingDetectIntent, it needs to be configured in
16868
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
16869
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
16870
- # ConversationProfile.human_agent_assistant_config
17026
+ # attitude as positive, negative, or neutral. For DetectIntent, it needs to be
17027
+ # configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
17028
+ # needs to be configured in StreamingDetectIntentRequest.query_params. And for
17029
+ # Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
17030
+ # to be configured in ConversationProfile.human_agent_assistant_config
16871
17031
  # Corresponds to the JSON property `sentimentAnalysis`
16872
17032
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
16873
17033
  attr_accessor :sentiment_analysis
@@ -17064,12 +17224,11 @@ module Google
17064
17224
 
17065
17225
  # The result of sentiment analysis. Sentiment analysis inspects user input and
17066
17226
  # identifies the prevailing subjective opinion, especially to determine a user's
17067
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
17068
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
17069
- # StreamingDetectIntent, it needs to be configured in
17070
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
17071
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
17072
- # ConversationProfile.human_agent_assistant_config
17227
+ # attitude as positive, negative, or neutral. For DetectIntent, it needs to be
17228
+ # configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
17229
+ # needs to be configured in StreamingDetectIntentRequest.query_params. And for
17230
+ # Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
17231
+ # to be configured in ConversationProfile.human_agent_assistant_config
17073
17232
  # Corresponds to the JSON property `sentimentAnalysisResult`
17074
17233
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
17075
17234
  attr_accessor :sentiment_analysis_result
@@ -17153,12 +17312,11 @@ module Google
17153
17312
 
17154
17313
  # The result of sentiment analysis. Sentiment analysis inspects user input and
17155
17314
  # identifies the prevailing subjective opinion, especially to determine a user's
17156
- # attitude as positive, negative, or neutral. For Participants.DetectIntent, it
17157
- # needs to be configured in DetectIntentRequest.query_params. For Participants.
17158
- # StreamingDetectIntent, it needs to be configured in
17159
- # StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
17160
- # and Participants.StreamingAnalyzeContent, it needs to be configured in
17161
- # ConversationProfile.human_agent_assistant_config
17315
+ # attitude as positive, negative, or neutral. For DetectIntent, it needs to be
17316
+ # configured in DetectIntentRequest.query_params. For StreamingDetectIntent, it
17317
+ # needs to be configured in StreamingDetectIntentRequest.query_params. And for
17318
+ # Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs
17319
+ # to be configured in ConversationProfile.human_agent_assistant_config
17162
17320
  class GoogleCloudDialogflowV2SentimentAnalysisResult
17163
17321
  include Google::Apis::Core::Hashable
17164
17322
 
@@ -17223,7 +17381,7 @@ module Google
17223
17381
  end
17224
17382
  end
17225
17383
 
17226
- # Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
17384
+ # Metadata for a ConversationProfiles.SetSuggestionFeatureConfig operation.
17227
17385
  class GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
17228
17386
  include Google::Apis::Core::Hashable
17229
17387
 
@@ -20281,6 +20439,11 @@ module Google
20281
20439
  class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
20282
20440
  include Google::Apis::Core::Hashable
20283
20441
 
20442
+ # Metadata of the document.
20443
+ # Corresponds to the JSON property `metadata`
20444
+ # @return [Hash<String,Object>]
20445
+ attr_accessor :metadata
20446
+
20284
20447
  # Text taken from that URI.
20285
20448
  # Corresponds to the JSON property `text`
20286
20449
  # @return [String]
@@ -20302,6 +20465,7 @@ module Google
20302
20465
 
20303
20466
  # Update properties of this object
20304
20467
  def update!(**args)
20468
+ @metadata = args[:metadata] if args.key?(:metadata)
20305
20469
  @text = args[:text] if args.key?(:text)
20306
20470
  @title = args[:title] if args.key?(:title)
20307
20471
  @uri = args[:uri] if args.key?(:uri)
@@ -20860,7 +21024,8 @@ module Google
20860
21024
  class GoogleCloudDialogflowV2beta1ResponseMessageText
20861
21025
  include Google::Apis::Core::Hashable
20862
21026
 
20863
- # A collection of text responses.
21027
+ # A collection of text response variants. If multiple variants are defined, only
21028
+ # one text response variant is returned at runtime.
20864
21029
  # Corresponds to the JSON property `text`
20865
21030
  # @return [Array<String>]
20866
21031
  attr_accessor :text
@@ -21462,120 +21627,6 @@ module Google
21462
21627
  end
21463
21628
  end
21464
21629
 
21465
- # Metadata for CreateDocument operation.
21466
- class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
21467
- include Google::Apis::Core::Hashable
21468
-
21469
- # Metadata in google::longrunning::Operation for Knowledge operations.
21470
- # Corresponds to the JSON property `genericMetadata`
21471
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
21472
- attr_accessor :generic_metadata
21473
-
21474
- def initialize(**args)
21475
- update!(**args)
21476
- end
21477
-
21478
- # Update properties of this object
21479
- def update!(**args)
21480
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
21481
- end
21482
- end
21483
-
21484
- # Metadata for DeleteDocument operation.
21485
- class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
21486
- include Google::Apis::Core::Hashable
21487
-
21488
- # Metadata in google::longrunning::Operation for Knowledge operations.
21489
- # Corresponds to the JSON property `genericMetadata`
21490
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
21491
- attr_accessor :generic_metadata
21492
-
21493
- def initialize(**args)
21494
- update!(**args)
21495
- end
21496
-
21497
- # Update properties of this object
21498
- def update!(**args)
21499
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
21500
- end
21501
- end
21502
-
21503
- # Metadata in google::longrunning::Operation for Knowledge operations.
21504
- class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
21505
- include Google::Apis::Core::Hashable
21506
-
21507
- # Required. Output only. The current state of this operation.
21508
- # Corresponds to the JSON property `state`
21509
- # @return [String]
21510
- attr_accessor :state
21511
-
21512
- def initialize(**args)
21513
- update!(**args)
21514
- end
21515
-
21516
- # Update properties of this object
21517
- def update!(**args)
21518
- @state = args[:state] if args.key?(:state)
21519
- end
21520
- end
21521
-
21522
- # Metadata for ImportDocuments operation.
21523
- class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
21524
- include Google::Apis::Core::Hashable
21525
-
21526
- # Metadata in google::longrunning::Operation for Knowledge operations.
21527
- # Corresponds to the JSON property `genericMetadata`
21528
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
21529
- attr_accessor :generic_metadata
21530
-
21531
- def initialize(**args)
21532
- update!(**args)
21533
- end
21534
-
21535
- # Update properties of this object
21536
- def update!(**args)
21537
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
21538
- end
21539
- end
21540
-
21541
- # Response message for Documents.ImportDocuments.
21542
- class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
21543
- include Google::Apis::Core::Hashable
21544
-
21545
- # Includes details about skipped documents or any other warnings.
21546
- # Corresponds to the JSON property `warnings`
21547
- # @return [Array<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>]
21548
- attr_accessor :warnings
21549
-
21550
- def initialize(**args)
21551
- update!(**args)
21552
- end
21553
-
21554
- # Update properties of this object
21555
- def update!(**args)
21556
- @warnings = args[:warnings] if args.key?(:warnings)
21557
- end
21558
- end
21559
-
21560
- # Metadata for ReloadDocument operation.
21561
- class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
21562
- include Google::Apis::Core::Hashable
21563
-
21564
- # Metadata in google::longrunning::Operation for Knowledge operations.
21565
- # Corresponds to the JSON property `genericMetadata`
21566
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
21567
- attr_accessor :generic_metadata
21568
-
21569
- def initialize(**args)
21570
- update!(**args)
21571
- end
21572
-
21573
- # Update properties of this object
21574
- def update!(**args)
21575
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
21576
- end
21577
- end
21578
-
21579
21630
  # Collection of all signals that were extracted for a single turn of the
21580
21631
  # conversation.
21581
21632
  class GoogleCloudDialogflowV3alpha1TurnSignals
@@ -21666,25 +21717,6 @@ module Google
21666
21717
  end
21667
21718
  end
21668
21719
 
21669
- # Metadata for UpdateDocument operation.
21670
- class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
21671
- include Google::Apis::Core::Hashable
21672
-
21673
- # Metadata in google::longrunning::Operation for Knowledge operations.
21674
- # Corresponds to the JSON property `genericMetadata`
21675
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata]
21676
- attr_accessor :generic_metadata
21677
-
21678
- def initialize(**args)
21679
- update!(**args)
21680
- end
21681
-
21682
- # Update properties of this object
21683
- def update!(**args)
21684
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
21685
- end
21686
- end
21687
-
21688
21720
  # The response message for Locations.ListLocations.
21689
21721
  class GoogleCloudLocationListLocationsResponse
21690
21722
  include Google::Apis::Core::Hashable