google-apis-discoveryengine_v1 0.49.0 → 0.51.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: 7796ec667245a5ea02e96e76d1d32e2a8efe9ecc4f5bbe5dbe2f61bad53342ab
4
- data.tar.gz: 377ace7bcd7708e0c6887f7cade3b2e0ae13984e3445f5e2ed6cad77e2c6bfc2
3
+ metadata.gz: 7e93c01b90644747273a53b1d114bb57bc4c6a500bd63969356ed5b6e8ea4661
4
+ data.tar.gz: 47ac616a6377478e51e1a97512eb3f5ed4952116af6532cdd7c8ad945c58d965
5
5
  SHA512:
6
- metadata.gz: ca2571bebad9cd68fe3dc52baccf0329f740ccf55c9008e929c822a656d110cc68111d87baecf29e55dc94b49e09650e9748f6266a6d394677d0993d2c4c9e7a
7
- data.tar.gz: 45da4bcf579acf43348d9167e9c7d64cd5edf75246a601644ab91c5caec4e2e17cd32b58da47b652bc0ca97bddb57181aa8fbe17068263b5a265c2b4cd83efd9
6
+ metadata.gz: 8f2b41c0a5700964955ecc03caf4a2f7351bd8561e0948f483fe542ec221b542045398ebdcb2d3d6f187f23dacfe2cd29e65a1397ead640b02aa80c00a0afd3d
7
+ data.tar.gz: c7ade9e88601433a5de9117f02ba04217d3dfcaf830ef48ab28818537b3ae907b6fd6046957566d3557794d7dbae456173d4feddd78aef434e196b2a08b38d23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.51.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250908
6
+
7
+ ### v0.50.0 (2025-09-07)
8
+
9
+ * Regenerated from discovery document revision 20250902
10
+
3
11
  ### v0.49.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250824
@@ -3620,6 +3620,12 @@ module Google
3620
3620
  # @return [Array<String>]
3621
3621
  attr_accessor :assist_skipped_reasons
3622
3622
 
3623
+ # Customer policy enforcement results. Contains the results of the various
3624
+ # policy checks, like the banned phrases or the Model Armor checks.
3625
+ # Corresponds to the JSON property `customerPolicyEnforcementResult`
3626
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult]
3627
+ attr_accessor :customer_policy_enforcement_result
3628
+
3623
3629
  # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
3624
3630
  # project`/locations/`location`/collections/`collection`/engines/`engine`/
3625
3631
  # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
@@ -3645,12 +3651,116 @@ module Google
3645
3651
  # Update properties of this object
3646
3652
  def update!(**args)
3647
3653
  @assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
3654
+ @customer_policy_enforcement_result = args[:customer_policy_enforcement_result] if args.key?(:customer_policy_enforcement_result)
3648
3655
  @name = args[:name] if args.key?(:name)
3649
3656
  @replies = args[:replies] if args.key?(:replies)
3650
3657
  @state = args[:state] if args.key?(:state)
3651
3658
  end
3652
3659
  end
3653
3660
 
3661
+ # Customer policy enforcement results. Contains the results of the various
3662
+ # policy checks, like the banned phrases or the Model Armor checks.
3663
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult
3664
+ include Google::Apis::Core::Hashable
3665
+
3666
+ # Customer policy enforcement results. Populated only if the assist call was
3667
+ # skipped due to a policy violation. It contains results from those filters that
3668
+ # blocked the processing of the query.
3669
+ # Corresponds to the JSON property `policyResults`
3670
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>]
3671
+ attr_accessor :policy_results
3672
+
3673
+ # Final verdict of the customer policy enforcement. If only one policy blocked
3674
+ # the processing, the verdict is BLOCK.
3675
+ # Corresponds to the JSON property `verdict`
3676
+ # @return [String]
3677
+ attr_accessor :verdict
3678
+
3679
+ def initialize(**args)
3680
+ update!(**args)
3681
+ end
3682
+
3683
+ # Update properties of this object
3684
+ def update!(**args)
3685
+ @policy_results = args[:policy_results] if args.key?(:policy_results)
3686
+ @verdict = args[:verdict] if args.key?(:verdict)
3687
+ end
3688
+ end
3689
+
3690
+ # Customer policy enforcement result for the banned phrase policy.
3691
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
3692
+ include Google::Apis::Core::Hashable
3693
+
3694
+ # The banned phrases that were found in the query or the answer.
3695
+ # Corresponds to the JSON property `bannedPhrases`
3696
+ # @return [Array<String>]
3697
+ attr_accessor :banned_phrases
3698
+
3699
+ def initialize(**args)
3700
+ update!(**args)
3701
+ end
3702
+
3703
+ # Update properties of this object
3704
+ def update!(**args)
3705
+ @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
3706
+ end
3707
+ end
3708
+
3709
+ # Customer policy enforcement result for the Model Armor policy.
3710
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
3711
+ include Google::Apis::Core::Hashable
3712
+
3713
+ # The `Status` type defines a logical error model that is suitable for different
3714
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3715
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3716
+ # data: error code, error message, and error details. You can find out more
3717
+ # about this error model and how to work with it in the [API Design Guide](https:
3718
+ # //cloud.google.com/apis/design/errors).
3719
+ # Corresponds to the JSON property `error`
3720
+ # @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
3721
+ attr_accessor :error
3722
+
3723
+ # The Model Armor violation that was found.
3724
+ # Corresponds to the JSON property `modelArmorViolation`
3725
+ # @return [String]
3726
+ attr_accessor :model_armor_violation
3727
+
3728
+ def initialize(**args)
3729
+ update!(**args)
3730
+ end
3731
+
3732
+ # Update properties of this object
3733
+ def update!(**args)
3734
+ @error = args[:error] if args.key?(:error)
3735
+ @model_armor_violation = args[:model_armor_violation] if args.key?(:model_armor_violation)
3736
+ end
3737
+ end
3738
+
3739
+ # Customer policy enforcement result for a single policy type.
3740
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
3741
+ include Google::Apis::Core::Hashable
3742
+
3743
+ # Customer policy enforcement result for the banned phrase policy.
3744
+ # Corresponds to the JSON property `bannedPhraseEnforcementResult`
3745
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult]
3746
+ attr_accessor :banned_phrase_enforcement_result
3747
+
3748
+ # Customer policy enforcement result for the Model Armor policy.
3749
+ # Corresponds to the JSON property `modelArmorEnforcementResult`
3750
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult]
3751
+ attr_accessor :model_armor_enforcement_result
3752
+
3753
+ def initialize(**args)
3754
+ update!(**args)
3755
+ end
3756
+
3757
+ # Update properties of this object
3758
+ def update!(**args)
3759
+ @banned_phrase_enforcement_result = args[:banned_phrase_enforcement_result] if args.key?(:banned_phrase_enforcement_result)
3760
+ @model_armor_enforcement_result = args[:model_armor_enforcement_result] if args.key?(:model_armor_enforcement_result)
3761
+ end
3762
+ end
3763
+
3654
3764
  # One part of the multi-part response of the assist call.
3655
3765
  class GoogleCloudDiscoveryengineV1AssistAnswerReply
3656
3766
  include Google::Apis::Core::Hashable
@@ -3913,6 +4023,12 @@ module Google
3913
4023
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
3914
4024
  attr_accessor :banned_phrases
3915
4025
 
4026
+ # Configuration for customer defined Model Armor templates to be used for
4027
+ # sanitizing user prompts and assistant responses.
4028
+ # Corresponds to the JSON property `modelArmorConfig`
4029
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig]
4030
+ attr_accessor :model_armor_config
4031
+
3916
4032
  def initialize(**args)
3917
4033
  update!(**args)
3918
4034
  end
@@ -3920,6 +4036,7 @@ module Google
3920
4036
  # Update properties of this object
3921
4037
  def update!(**args)
3922
4038
  @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
4039
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
3923
4040
  end
3924
4041
  end
3925
4042
 
@@ -3958,6 +4075,44 @@ module Google
3958
4075
  end
3959
4076
  end
3960
4077
 
4078
+ # Configuration for customer defined Model Armor templates to be used for
4079
+ # sanitizing user prompts and assistant responses.
4080
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
4081
+ include Google::Apis::Core::Hashable
4082
+
4083
+ # Optional. Defines the failure mode for Model Armor sanitization.
4084
+ # Corresponds to the JSON property `failureMode`
4085
+ # @return [String]
4086
+ attr_accessor :failure_mode
4087
+
4088
+ # Optional. The resource name of the Model Armor template for sanitizing
4089
+ # assistant responses. Format: `projects/`project`/locations/`location`/
4090
+ # templates/`template_id`` If not specified, no sanitization will be applied to
4091
+ # the assistant response.
4092
+ # Corresponds to the JSON property `responseTemplate`
4093
+ # @return [String]
4094
+ attr_accessor :response_template
4095
+
4096
+ # Optional. The resource name of the Model Armor template for sanitizing user
4097
+ # prompts. Format: `projects/`project`/locations/`location`/templates/`
4098
+ # template_id`` If not specified, no sanitization will be applied to the user
4099
+ # prompt.
4100
+ # Corresponds to the JSON property `userPromptTemplate`
4101
+ # @return [String]
4102
+ attr_accessor :user_prompt_template
4103
+
4104
+ def initialize(**args)
4105
+ update!(**args)
4106
+ end
4107
+
4108
+ # Update properties of this object
4109
+ def update!(**args)
4110
+ @failure_mode = args[:failure_mode] if args.key?(:failure_mode)
4111
+ @response_template = args[:response_template] if args.key?(:response_template)
4112
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
4113
+ end
4114
+ end
4115
+
3961
4116
  # Configuration for the generation of the assistant response.
3962
4117
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
3963
4118
  include Google::Apis::Core::Hashable
@@ -16056,6 +16211,12 @@ module Google
16056
16211
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
16057
16212
  attr_accessor :errors
16058
16213
 
16214
+ # Any params and credentials used specifically for hybrid connectors supporting
16215
+ # FEDERATED mode.
16216
+ # Corresponds to the JSON property `federatedConfig`
16217
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig]
16218
+ attr_accessor :federated_config
16219
+
16059
16220
  # Optional. If the connector is a hybrid connector, determines whether ingestion
16060
16221
  # is enabled and appropriate resources are provisioned during connector creation.
16061
16222
  # If the connector is not a hybrid connector, this field is ignored.
@@ -16195,6 +16356,14 @@ module Google
16195
16356
  # @return [String]
16196
16357
  attr_accessor :refresh_interval
16197
16358
 
16359
+ # Optional. Specifies keys to be removed from the 'params' field. This is only
16360
+ # active when 'params' is included in the 'update_mask' in an
16361
+ # UpdateDataConnectorRequest. Deletion takes precedence if a key is both in '
16362
+ # remove_param_keys' and present in the 'params' field of the request.
16363
+ # Corresponds to the JSON property `removeParamKeys`
16364
+ # @return [Array<String>]
16365
+ attr_accessor :remove_param_keys
16366
+
16198
16367
  # Output only. State of the connector.
16199
16368
  # Corresponds to the JSON property `state`
16200
16369
  # @return [String]
@@ -16243,6 +16412,7 @@ module Google
16243
16412
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
16244
16413
  @entities = args[:entities] if args.key?(:entities)
16245
16414
  @errors = args[:errors] if args.key?(:errors)
16415
+ @federated_config = args[:federated_config] if args.key?(:federated_config)
16246
16416
  @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
16247
16417
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
16248
16418
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
@@ -16258,6 +16428,7 @@ module Google
16258
16428
  @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
16259
16429
  @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
16260
16430
  @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
16431
+ @remove_param_keys = args[:remove_param_keys] if args.key?(:remove_param_keys)
16261
16432
  @state = args[:state] if args.key?(:state)
16262
16433
  @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
16263
16434
  @static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
@@ -16299,6 +16470,32 @@ module Google
16299
16470
  end
16300
16471
  end
16301
16472
 
16473
+ # Any params and credentials used specifically for hybrid connectors supporting
16474
+ # FEDERATED mode.
16475
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
16476
+ include Google::Apis::Core::Hashable
16477
+
16478
+ # Optional. Any additional parameters needed for FEDERATED.
16479
+ # Corresponds to the JSON property `additionalParams`
16480
+ # @return [Hash<String,Object>]
16481
+ attr_accessor :additional_params
16482
+
16483
+ # Optional. Any authentication parameters specific to FEDERATED.
16484
+ # Corresponds to the JSON property `authParams`
16485
+ # @return [Hash<String,Object>]
16486
+ attr_accessor :auth_params
16487
+
16488
+ def initialize(**args)
16489
+ update!(**args)
16490
+ end
16491
+
16492
+ # Update properties of this object
16493
+ def update!(**args)
16494
+ @additional_params = args[:additional_params] if args.key?(:additional_params)
16495
+ @auth_params = args[:auth_params] if args.key?(:auth_params)
16496
+ end
16497
+ end
16498
+
16302
16499
  # The configuration for realtime sync to store additional params for realtime
16303
16500
  # sync.
16304
16501
  class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.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 = "20250824"
25
+ REVISION = "20250908"
26
26
  end
27
27
  end
28
28
  end
@@ -562,6 +562,30 @@ module Google
562
562
  include Google::Apis::Core::JsonObjectSupport
563
563
  end
564
564
 
565
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
565
589
  class GoogleCloudDiscoveryengineV1AssistAnswerReply
566
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
591
 
@@ -622,6 +646,12 @@ module Google
622
646
  include Google::Apis::Core::JsonObjectSupport
623
647
  end
624
648
 
649
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
625
655
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
626
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
657
 
@@ -2554,6 +2584,12 @@ module Google
2554
2584
  include Google::Apis::Core::JsonObjectSupport
2555
2585
  end
2556
2586
 
2587
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
2588
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2589
+
2590
+ include Google::Apis::Core::JsonObjectSupport
2591
+ end
2592
+
2557
2593
  class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
2558
2594
  class Representation < Google::Apis::Core::JsonRepresentation; end
2559
2595
 
@@ -5323,6 +5359,8 @@ module Google
5323
5359
  # @private
5324
5360
  class Representation < Google::Apis::Core::JsonRepresentation
5325
5361
  collection :assist_skipped_reasons, as: 'assistSkippedReasons'
5362
+ property :customer_policy_enforcement_result, as: 'customerPolicyEnforcementResult', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult::Representation
5363
+
5326
5364
  property :name, as: 'name'
5327
5365
  collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply::Representation
5328
5366
 
@@ -5330,6 +5368,41 @@ module Google
5330
5368
  end
5331
5369
  end
5332
5370
 
5371
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult
5372
+ # @private
5373
+ class Representation < Google::Apis::Core::JsonRepresentation
5374
+ collection :policy_results, as: 'policyResults', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult::Representation
5375
+
5376
+ property :verdict, as: 'verdict'
5377
+ end
5378
+ end
5379
+
5380
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult
5381
+ # @private
5382
+ class Representation < Google::Apis::Core::JsonRepresentation
5383
+ collection :banned_phrases, as: 'bannedPhrases'
5384
+ end
5385
+ end
5386
+
5387
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult
5388
+ # @private
5389
+ class Representation < Google::Apis::Core::JsonRepresentation
5390
+ property :error, as: 'error', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
5391
+
5392
+ property :model_armor_violation, as: 'modelArmorViolation'
5393
+ end
5394
+ end
5395
+
5396
+ class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult
5397
+ # @private
5398
+ class Representation < Google::Apis::Core::JsonRepresentation
5399
+ property :banned_phrase_enforcement_result, as: 'bannedPhraseEnforcementResult', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult::Representation
5400
+
5401
+ property :model_armor_enforcement_result, as: 'modelArmorEnforcementResult', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult::Representation
5402
+
5403
+ end
5404
+ end
5405
+
5333
5406
  class GoogleCloudDiscoveryengineV1AssistAnswerReply
5334
5407
  # @private
5335
5408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5413,6 +5486,8 @@ module Google
5413
5486
  class Representation < Google::Apis::Core::JsonRepresentation
5414
5487
  collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
5415
5488
 
5489
+ property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig::Representation
5490
+
5416
5491
  end
5417
5492
  end
5418
5493
 
@@ -5425,6 +5500,15 @@ module Google
5425
5500
  end
5426
5501
  end
5427
5502
 
5503
+ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig
5504
+ # @private
5505
+ class Representation < Google::Apis::Core::JsonRepresentation
5506
+ property :failure_mode, as: 'failureMode'
5507
+ property :response_template, as: 'responseTemplate'
5508
+ property :user_prompt_template, as: 'userPromptTemplate'
5509
+ end
5510
+ end
5511
+
5428
5512
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
5429
5513
  # @private
5430
5514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8690,6 +8774,8 @@ module Google
8690
8774
 
8691
8775
  collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
8692
8776
 
8777
+ property :federated_config, as: 'federatedConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig::Representation
8778
+
8693
8779
  property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
8694
8780
  property :identity_refresh_interval, as: 'identityRefreshInterval'
8695
8781
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
@@ -8708,6 +8794,7 @@ module Google
8708
8794
  property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
8709
8795
 
8710
8796
  property :refresh_interval, as: 'refreshInterval'
8797
+ collection :remove_param_keys, as: 'removeParamKeys'
8711
8798
  property :state, as: 'state'
8712
8799
  collection :static_ip_addresses, as: 'staticIpAddresses'
8713
8800
  property :static_ip_enabled, as: 'staticIpEnabled'
@@ -8726,6 +8813,14 @@ module Google
8726
8813
  end
8727
8814
  end
8728
8815
 
8816
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
8817
+ # @private
8818
+ class Representation < Google::Apis::Core::JsonRepresentation
8819
+ hash :additional_params, as: 'additionalParams'
8820
+ hash :auth_params, as: 'authParams'
8821
+ end
8822
+ end
8823
+
8729
8824
  class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
8730
8825
  # @private
8731
8826
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.49.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.51.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: