google-apis-discoveryengine_v1beta 0.81.0 → 0.82.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7ab5bd7f6bef6e4a84323162658ef6e61160db6818414d5b2a3d6c1d29e3c3d
4
- data.tar.gz: 63f98c64de9e82fbc0dc238555e037bd3dae413e536033b592a0a4826e17e11d
3
+ metadata.gz: 56bd4a4751bc56417a757849a5a0b648153d475a74d6249ea5ad942f3d4f147f
4
+ data.tar.gz: bfac535bffdd1e0b3687093bfce721649ef6a3112cedf8facda70cbc1b2e6893
5
5
  SHA512:
6
- metadata.gz: 239427185228c0677772060c1f0c0e1206d50f9c3cfe20a1c75d5e602ce35353d9570b672a92fa7539870158ffd43b20294165aa41691bcc288b0fcfaf5e1d4a
7
- data.tar.gz: cc9c8b2036798484fcc7f3f90d4c4e79f88fef2f8469d60e8b29bee3bc3b642585973a7789b53d29fe4850096bbad3a9c59be5d86d359f8461daddc7f22a3951
6
+ metadata.gz: 48f828f267606cd4c1db2dfe2e40864df8178301ccc77d00101d98d7150a26bcb2138f2c6d6e7f35bc13404cd23e86e9cf89c9e2dbda47c12c54d59668ccefa7
7
+ data.tar.gz: f960a273665d9aaa7eb5309a4591b5572b53b38cd7388dce7a73763447b63ae4aadd0f1f4f7c238c0215014c5e10f8d1a046a2c389b803f0596a3d1846791e3e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.82.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250908
6
+
3
7
  ### v0.81.0 (2025-09-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20250902
@@ -1629,6 +1629,12 @@ module Google
1629
1629
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
1630
1630
  attr_accessor :banned_phrases
1631
1631
 
1632
+ # Configuration for customer defined Model Armor templates to be used for
1633
+ # sanitizing user prompts and assistant responses.
1634
+ # Corresponds to the JSON property `modelArmorConfig`
1635
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig]
1636
+ attr_accessor :model_armor_config
1637
+
1632
1638
  def initialize(**args)
1633
1639
  update!(**args)
1634
1640
  end
@@ -1636,6 +1642,7 @@ module Google
1636
1642
  # Update properties of this object
1637
1643
  def update!(**args)
1638
1644
  @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
1645
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
1639
1646
  end
1640
1647
  end
1641
1648
 
@@ -1674,6 +1681,44 @@ module Google
1674
1681
  end
1675
1682
  end
1676
1683
 
1684
+ # Configuration for customer defined Model Armor templates to be used for
1685
+ # sanitizing user prompts and assistant responses.
1686
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
1687
+ include Google::Apis::Core::Hashable
1688
+
1689
+ # Optional. Defines the failure mode for Model Armor sanitization.
1690
+ # Corresponds to the JSON property `failureMode`
1691
+ # @return [String]
1692
+ attr_accessor :failure_mode
1693
+
1694
+ # Optional. The resource name of the Model Armor template for sanitizing
1695
+ # assistant responses. Format: `projects/`project`/locations/`location`/
1696
+ # templates/`template_id`` If not specified, no sanitization will be applied to
1697
+ # the assistant response.
1698
+ # Corresponds to the JSON property `responseTemplate`
1699
+ # @return [String]
1700
+ attr_accessor :response_template
1701
+
1702
+ # Optional. The resource name of the Model Armor template for sanitizing user
1703
+ # prompts. Format: `projects/`project`/locations/`location`/templates/`
1704
+ # template_id`` If not specified, no sanitization will be applied to the user
1705
+ # prompt.
1706
+ # Corresponds to the JSON property `userPromptTemplate`
1707
+ # @return [String]
1708
+ attr_accessor :user_prompt_template
1709
+
1710
+ def initialize(**args)
1711
+ update!(**args)
1712
+ end
1713
+
1714
+ # Update properties of this object
1715
+ def update!(**args)
1716
+ @failure_mode = args[:failure_mode] if args.key?(:failure_mode)
1717
+ @response_template = args[:response_template] if args.key?(:response_template)
1718
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
1719
+ end
1720
+ end
1721
+
1677
1722
  # Configuration for the generation of the assistant response.
1678
1723
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
1679
1724
  include Google::Apis::Core::Hashable
@@ -15925,6 +15970,12 @@ module Google
15925
15970
  # @return [Array<String>]
15926
15971
  attr_accessor :assist_skipped_reasons
15927
15972
 
15973
+ # Customer policy enforcement results. Contains the results of the various
15974
+ # policy checks, like the banned phrases or the Model Armor checks.
15975
+ # Corresponds to the JSON property `customerPolicyEnforcementResult`
15976
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult]
15977
+ attr_accessor :customer_policy_enforcement_result
15978
+
15928
15979
  # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
15929
15980
  # project`/locations/`location`/collections/`collection`/engines/`engine`/
15930
15981
  # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
@@ -15950,12 +16001,116 @@ module Google
15950
16001
  # Update properties of this object
15951
16002
  def update!(**args)
15952
16003
  @assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
16004
+ @customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
15953
16005
  @name = args[:name] if args.key?(:name)
15954
16006
  @replies = args[:replies] if args.key?(:replies)
15955
16007
  @state = args[:state] if args.key?(:state)
15956
16008
  end
15957
16009
  end
15958
16010
 
16011
+ # Customer policy enforcement results. Contains the results of the various
16012
+ # policy checks, like the banned phrases or the Model Armor checks.
16013
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult
16014
+ include Google::Apis::Core::Hashable
16015
+
16016
+ # Customer policy enforcement results. Populated only if the assist call was
16017
+ # skipped due to a policy violation. It contains results from those filters that
16018
+ # blocked the processing of the query.
16019
+ # Corresponds to the JSON property `policyResults`
16020
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
16021
+ attr_accessor :policy_results
16022
+
16023
+ # Final verdict of the customer policy enforcement. If only one policy blocked
16024
+ # the processing, the verdict is BLOCK.
16025
+ # Corresponds to the JSON property `verdict`
16026
+ # @return [String]
16027
+ attr_accessor :verdict
16028
+
16029
+ def initialize(**args)
16030
+ update!(**args)
16031
+ end
16032
+
16033
+ # Update properties of this object
16034
+ def update!(**args)
16035
+ @policy_results = args[:policy_results] if args.key?(:policy_results)
16036
+ @verdict = args[:verdict] if args.key?(:verdict)
16037
+ end
16038
+ end
16039
+
16040
+ # Customer policy enforcement result for the banned phrase policy.
16041
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
16042
+ include Google::Apis::Core::Hashable
16043
+
16044
+ # The banned phrases that were found in the query or the answer.
16045
+ # Corresponds to the JSON property `bannedPhrases`
16046
+ # @return [Array<String>]
16047
+ attr_accessor :banned_phrases
16048
+
16049
+ def initialize(**args)
16050
+ update!(**args)
16051
+ end
16052
+
16053
+ # Update properties of this object
16054
+ def update!(**args)
16055
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
16056
+ end
16057
+ end
16058
+
16059
+ # Customer policy enforcement result for the Model Armor policy.
16060
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
16061
+ include Google::Apis::Core::Hashable
16062
+
16063
+ # The `Status` type defines a logical error model that is suitable for different
16064
+ # programming environments, including REST APIs and RPC APIs. It is used by [
16065
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
16066
+ # data: error code, error message, and error details. You can find out more
16067
+ # about this error model and how to work with it in the [API Design Guide](https:
16068
+ # //cloud.google.com/apis/design/errors).
16069
+ # Corresponds to the JSON property `error`
16070
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
16071
+ attr_accessor :error
16072
+
16073
+ # The Model Armor violation that was found.
16074
+ # Corresponds to the JSON property `modelArmorViolation`
16075
+ # @return [String]
16076
+ attr_accessor :model_armor_violation
16077
+
16078
+ def initialize(**args)
16079
+ update!(**args)
16080
+ end
16081
+
16082
+ # Update properties of this object
16083
+ def update!(**args)
16084
+ @error = args[:error] if args.key?(:error)
16085
+ @model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
16086
+ end
16087
+ end
16088
+
16089
+ # Customer policy enforcement result for a single policy type.
16090
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
16091
+ include Google::Apis::Core::Hashable
16092
+
16093
+ # Customer policy enforcement result for the banned phrase policy.
16094
+ # Corresponds to the JSON property `bannedPhraseEnforcementResult`
16095
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
16096
+ attr_accessor :banned_phrase_enforcement_result
16097
+
16098
+ # Customer policy enforcement result for the Model Armor policy.
16099
+ # Corresponds to the JSON property `modelArmorEnforcementResult`
16100
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
16101
+ attr_accessor :model_armor_enforcement_result
16102
+
16103
+ def initialize(**args)
16104
+ update!(**args)
16105
+ end
16106
+
16107
+ # Update properties of this object
16108
+ def update!(**args)
16109
+ @banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
16110
+ @model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
16111
+ end
16112
+ end
16113
+
15959
16114
  # One part of the multi-part response of the assist call.
15960
16115
  class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
15961
16116
  include Google::Apis::Core::Hashable
@@ -16218,6 +16373,12 @@ module Google
16218
16373
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
16219
16374
  attr_accessor :banned_phrases
16220
16375
 
16376
+ # Configuration for customer defined Model Armor templates to be used for
16377
+ # sanitizing user prompts and assistant responses.
16378
+ # Corresponds to the JSON property `modelArmorConfig`
16379
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig]
16380
+ attr_accessor :model_armor_config
16381
+
16221
16382
  def initialize(**args)
16222
16383
  update!(**args)
16223
16384
  end
@@ -16225,6 +16386,7 @@ module Google
16225
16386
  # Update properties of this object
16226
16387
  def update!(**args)
16227
16388
  @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
16389
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
16228
16390
  end
16229
16391
  end
16230
16392
 
@@ -16263,6 +16425,44 @@ module Google
16263
16425
  end
16264
16426
  end
16265
16427
 
16428
+ # Configuration for customer defined Model Armor templates to be used for
16429
+ # sanitizing user prompts and assistant responses.
16430
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig
16431
+ include Google::Apis::Core::Hashable
16432
+
16433
+ # Optional. Defines the failure mode for Model Armor sanitization.
16434
+ # Corresponds to the JSON property `failureMode`
16435
+ # @return [String]
16436
+ attr_accessor :failure_mode
16437
+
16438
+ # Optional. The resource name of the Model Armor template for sanitizing
16439
+ # assistant responses. Format: `projects/`project`/locations/`location`/
16440
+ # templates/`template_id`` If not specified, no sanitization will be applied to
16441
+ # the assistant response.
16442
+ # Corresponds to the JSON property `responseTemplate`
16443
+ # @return [String]
16444
+ attr_accessor :response_template
16445
+
16446
+ # Optional. The resource name of the Model Armor template for sanitizing user
16447
+ # prompts. Format: `projects/`project`/locations/`location`/templates/`
16448
+ # template_id`` If not specified, no sanitization will be applied to the user
16449
+ # prompt.
16450
+ # Corresponds to the JSON property `userPromptTemplate`
16451
+ # @return [String]
16452
+ attr_accessor :user_prompt_template
16453
+
16454
+ def initialize(**args)
16455
+ update!(**args)
16456
+ end
16457
+
16458
+ # Update properties of this object
16459
+ def update!(**args)
16460
+ @failure_mode = args[:failure_mode] if args.key?(:failure_mode)
16461
+ @response_template = args[:response_template] if args.key?(:response_template)
16462
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
16463
+ end
16464
+ end
16465
+
16266
16466
  # Configuration for the generation of the assistant response.
16267
16467
  class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
16268
16468
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.81.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250902"
25
+ REVISION = "20250908"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -2512,6 +2518,30 @@ module Google
2512
2518
  include Google::Apis::Core::JsonObjectSupport
2513
2519
  end
2514
2520
 
2521
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult
2522
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2523
+
2524
+ include Google::Apis::Core::JsonObjectSupport
2525
+ end
2526
+
2527
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
2528
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2529
+
2530
+ include Google::Apis::Core::JsonObjectSupport
2531
+ end
2532
+
2533
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
2534
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2535
+
2536
+ include Google::Apis::Core::JsonObjectSupport
2537
+ end
2538
+
2539
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
2540
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2541
+
2542
+ include Google::Apis::Core::JsonObjectSupport
2543
+ end
2544
+
2515
2545
  class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
2516
2546
  class Representation < Google::Apis::Core::JsonRepresentation; end
2517
2547
 
@@ -2572,6 +2602,12 @@ module Google
2572
2602
  include Google::Apis::Core::JsonObjectSupport
2573
2603
  end
2574
2604
 
2605
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig
2606
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2607
+
2608
+ include Google::Apis::Core::JsonObjectSupport
2609
+ end
2610
+
2575
2611
  class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
2576
2612
  class Representation < Google::Apis::Core::JsonRepresentation; end
2577
2613
 
@@ -4964,6 +5000,8 @@ module Google
4964
5000
  class Representation < Google::Apis::Core::JsonRepresentation
4965
5001
  collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
4966
5002
 
5003
+ property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig::Representation
5004
+
4967
5005
  end
4968
5006
  end
4969
5007
 
@@ -4976,6 +5014,15 @@ module Google
4976
5014
  end
4977
5015
  end
4978
5016
 
5017
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
5018
+ # @private
5019
+ class Representation < Google::Apis::Core::JsonRepresentation
5020
+ property :failure_mode, as: 'failureMode'
5021
+ property :response_template, as: 'responseTemplate'
5022
+ property :user_prompt_template, as: 'userPromptTemplate'
5023
+ end
5024
+ end
5025
+
4979
5026
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
4980
5027
  # @private
4981
5028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8810,6 +8857,8 @@ module Google
8810
8857
  # @private
8811
8858
  class Representation < Google::Apis::Core::JsonRepresentation
8812
8859
  collection :assist_skipped_reasons, as: 'assistSkippedReasons'
8860
+ property :customer_policy_enforcement_result, as: 'customerPolicyEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult::Representation
8861
+
8813
8862
  property :name, as: 'name'
8814
8863
  collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
8815
8864
 
@@ -8817,6 +8866,41 @@ module Google
8817
8866
  end
8818
8867
  end
8819
8868
 
8869
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult
8870
+ # @private
8871
+ class Representation < Google::Apis::Core::JsonRepresentation
8872
+ collection :policy_results, as: 'policyResults', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult::Representation
8873
+
8874
+ property :verdict, as: 'verdict'
8875
+ end
8876
+ end
8877
+
8878
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
8879
+ # @private
8880
+ class Representation < Google::Apis::Core::JsonRepresentation
8881
+ collection :banned_phrases, as: 'bannedPhrases'
8882
+ end
8883
+ end
8884
+
8885
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
8886
+ # @private
8887
+ class Representation < Google::Apis::Core::JsonRepresentation
8888
+ property :error, as: 'error', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
8889
+
8890
+ property :model_armor_violation, as: 'modelArmorViolation'
8891
+ end
8892
+ end
8893
+
8894
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
8895
+ # @private
8896
+ class Representation < Google::Apis::Core::JsonRepresentation
8897
+ property :banned_phrase_enforcement_result, as: 'bannedPhraseEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult::Representation
8898
+
8899
+ property :model_armor_enforcement_result, as: 'modelArmorEnforcementResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult::Representation
8900
+
8901
+ end
8902
+ end
8903
+
8820
8904
  class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
8821
8905
  # @private
8822
8906
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8900,6 +8984,8 @@ module Google
8900
8984
  class Representation < Google::Apis::Core::JsonRepresentation
8901
8985
  collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase::Representation
8902
8986
 
8987
+ property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig::Representation
8988
+
8903
8989
  end
8904
8990
  end
8905
8991
 
@@ -8912,6 +8998,15 @@ module Google
8912
8998
  end
8913
8999
  end
8914
9000
 
9001
+ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig
9002
+ # @private
9003
+ class Representation < Google::Apis::Core::JsonRepresentation
9004
+ property :failure_mode, as: 'failureMode'
9005
+ property :response_template, as: 'responseTemplate'
9006
+ property :user_prompt_template, as: 'userPromptTemplate'
9007
+ end
9008
+ end
9009
+
8915
9010
  class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
8916
9011
  # @private
8917
9012
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.81.0
4
+ version: 0.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.81.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.82.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: