google-apis-discoveryengine_v1beta 0.80.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56bd4a4751bc56417a757849a5a0b648153d475a74d6249ea5ad942f3d4f147f
|
4
|
+
data.tar.gz: bfac535bffdd1e0b3687093bfce721649ef6a3112cedf8facda70cbc1b2e6893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f828f267606cd4c1db2dfe2e40864df8178301ccc77d00101d98d7150a26bcb2138f2c6d6e7f35bc13404cd23e86e9cf89c9e2dbda47c12c54d59668ccefa7
|
7
|
+
data.tar.gz: f960a273665d9aaa7eb5309a4591b5572b53b38cd7388dce7a73763447b63ae4aadd0f1f4f7c238c0215014c5e10f8d1a046a2c389b803f0596a3d1846791e3e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.81.0 (2025-09-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250902
|
10
|
+
|
3
11
|
### v0.80.0 (2025-08-31)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250824
|
@@ -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
|
@@ -7587,6 +7632,12 @@ module Google
|
|
7587
7632
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
7588
7633
|
attr_accessor :errors
|
7589
7634
|
|
7635
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
7636
|
+
# FEDERATED mode.
|
7637
|
+
# Corresponds to the JSON property `federatedConfig`
|
7638
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig]
|
7639
|
+
attr_accessor :federated_config
|
7640
|
+
|
7590
7641
|
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
7591
7642
|
# is enabled and appropriate resources are provisioned during connector creation.
|
7592
7643
|
# If the connector is not a hybrid connector, this field is ignored.
|
@@ -7726,6 +7777,14 @@ module Google
|
|
7726
7777
|
# @return [String]
|
7727
7778
|
attr_accessor :refresh_interval
|
7728
7779
|
|
7780
|
+
# Optional. Specifies keys to be removed from the 'params' field. This is only
|
7781
|
+
# active when 'params' is included in the 'update_mask' in an
|
7782
|
+
# UpdateDataConnectorRequest. Deletion takes precedence if a key is both in '
|
7783
|
+
# remove_param_keys' and present in the 'params' field of the request.
|
7784
|
+
# Corresponds to the JSON property `removeParamKeys`
|
7785
|
+
# @return [Array<String>]
|
7786
|
+
attr_accessor :remove_param_keys
|
7787
|
+
|
7729
7788
|
# Output only. State of the connector.
|
7730
7789
|
# Corresponds to the JSON property `state`
|
7731
7790
|
# @return [String]
|
@@ -7774,6 +7833,7 @@ module Google
|
|
7774
7833
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
7775
7834
|
@entities = args[:entities] if args.key?(:entities)
|
7776
7835
|
@errors = args[:errors] if args.key?(:errors)
|
7836
|
+
@federated_config = args[:federated_config] if args.key?(:federated_config)
|
7777
7837
|
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
7778
7838
|
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
7779
7839
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
@@ -7789,6 +7849,7 @@ module Google
|
|
7789
7849
|
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
|
7790
7850
|
@realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
|
7791
7851
|
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
7852
|
+
@remove_param_keys = args[:remove_param_keys] if args.key?(:remove_param_keys)
|
7792
7853
|
@state = args[:state] if args.key?(:state)
|
7793
7854
|
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
|
7794
7855
|
@static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
|
@@ -7830,6 +7891,32 @@ module Google
|
|
7830
7891
|
end
|
7831
7892
|
end
|
7832
7893
|
|
7894
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
7895
|
+
# FEDERATED mode.
|
7896
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
|
7897
|
+
include Google::Apis::Core::Hashable
|
7898
|
+
|
7899
|
+
# Optional. Any additional parameters needed for FEDERATED.
|
7900
|
+
# Corresponds to the JSON property `additionalParams`
|
7901
|
+
# @return [Hash<String,Object>]
|
7902
|
+
attr_accessor :additional_params
|
7903
|
+
|
7904
|
+
# Optional. Any authentication parameters specific to FEDERATED.
|
7905
|
+
# Corresponds to the JSON property `authParams`
|
7906
|
+
# @return [Hash<String,Object>]
|
7907
|
+
attr_accessor :auth_params
|
7908
|
+
|
7909
|
+
def initialize(**args)
|
7910
|
+
update!(**args)
|
7911
|
+
end
|
7912
|
+
|
7913
|
+
# Update properties of this object
|
7914
|
+
def update!(**args)
|
7915
|
+
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
7916
|
+
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
7917
|
+
end
|
7918
|
+
end
|
7919
|
+
|
7833
7920
|
# The configuration for realtime sync to store additional params for realtime
|
7834
7921
|
# sync.
|
7835
7922
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
|
@@ -15883,6 +15970,12 @@ module Google
|
|
15883
15970
|
# @return [Array<String>]
|
15884
15971
|
attr_accessor :assist_skipped_reasons
|
15885
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
|
+
|
15886
15979
|
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
15887
15980
|
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
15888
15981
|
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
@@ -15908,12 +16001,116 @@ module Google
|
|
15908
16001
|
# Update properties of this object
|
15909
16002
|
def update!(**args)
|
15910
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)
|
15911
16005
|
@name = args[:name] if args.key?(:name)
|
15912
16006
|
@replies = args[:replies] if args.key?(:replies)
|
15913
16007
|
@state = args[:state] if args.key?(:state)
|
15914
16008
|
end
|
15915
16009
|
end
|
15916
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
|
+
|
15917
16114
|
# One part of the multi-part response of the assist call.
|
15918
16115
|
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
15919
16116
|
include Google::Apis::Core::Hashable
|
@@ -16176,6 +16373,12 @@ module Google
|
|
16176
16373
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
|
16177
16374
|
attr_accessor :banned_phrases
|
16178
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
|
+
|
16179
16382
|
def initialize(**args)
|
16180
16383
|
update!(**args)
|
16181
16384
|
end
|
@@ -16183,6 +16386,7 @@ module Google
|
|
16183
16386
|
# Update properties of this object
|
16184
16387
|
def update!(**args)
|
16185
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)
|
16186
16390
|
end
|
16187
16391
|
end
|
16188
16392
|
|
@@ -16221,6 +16425,44 @@ module Google
|
|
16221
16425
|
end
|
16222
16426
|
end
|
16223
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
|
+
|
16224
16466
|
# Configuration for the generation of the assistant response.
|
16225
16467
|
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
16226
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.
|
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 = "
|
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
|
|
@@ -1210,6 +1216,12 @@ module Google
|
|
1210
1216
|
include Google::Apis::Core::JsonObjectSupport
|
1211
1217
|
end
|
1212
1218
|
|
1219
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
|
+
|
1222
|
+
include Google::Apis::Core::JsonObjectSupport
|
1223
|
+
end
|
1224
|
+
|
1213
1225
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
|
1214
1226
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
1227
|
|
@@ -2506,6 +2518,30 @@ module Google
|
|
2506
2518
|
include Google::Apis::Core::JsonObjectSupport
|
2507
2519
|
end
|
2508
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
|
+
|
2509
2545
|
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
2510
2546
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2511
2547
|
|
@@ -2566,6 +2602,12 @@ module Google
|
|
2566
2602
|
include Google::Apis::Core::JsonObjectSupport
|
2567
2603
|
end
|
2568
2604
|
|
2605
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig
|
2606
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2607
|
+
|
2608
|
+
include Google::Apis::Core::JsonObjectSupport
|
2609
|
+
end
|
2610
|
+
|
2569
2611
|
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
2570
2612
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2571
2613
|
|
@@ -4958,6 +5000,8 @@ module Google
|
|
4958
5000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4959
5001
|
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
|
4960
5002
|
|
5003
|
+
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig::Representation
|
5004
|
+
|
4961
5005
|
end
|
4962
5006
|
end
|
4963
5007
|
|
@@ -4970,6 +5014,15 @@ module Google
|
|
4970
5014
|
end
|
4971
5015
|
end
|
4972
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
|
+
|
4973
5026
|
class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
|
4974
5027
|
# @private
|
4975
5028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6584,6 +6637,8 @@ module Google
|
|
6584
6637
|
|
6585
6638
|
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
6586
6639
|
|
6640
|
+
property :federated_config, as: 'federatedConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig::Representation
|
6641
|
+
|
6587
6642
|
property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
|
6588
6643
|
property :identity_refresh_interval, as: 'identityRefreshInterval'
|
6589
6644
|
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
|
@@ -6602,6 +6657,7 @@ module Google
|
|
6602
6657
|
property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
|
6603
6658
|
|
6604
6659
|
property :refresh_interval, as: 'refreshInterval'
|
6660
|
+
collection :remove_param_keys, as: 'removeParamKeys'
|
6605
6661
|
property :state, as: 'state'
|
6606
6662
|
collection :static_ip_addresses, as: 'staticIpAddresses'
|
6607
6663
|
property :static_ip_enabled, as: 'staticIpEnabled'
|
@@ -6620,6 +6676,14 @@ module Google
|
|
6620
6676
|
end
|
6621
6677
|
end
|
6622
6678
|
|
6679
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig
|
6680
|
+
# @private
|
6681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6682
|
+
hash :additional_params, as: 'additionalParams'
|
6683
|
+
hash :auth_params, as: 'authParams'
|
6684
|
+
end
|
6685
|
+
end
|
6686
|
+
|
6623
6687
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
|
6624
6688
|
# @private
|
6625
6689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8793,6 +8857,8 @@ module Google
|
|
8793
8857
|
# @private
|
8794
8858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8795
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
|
+
|
8796
8862
|
property :name, as: 'name'
|
8797
8863
|
collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
|
8798
8864
|
|
@@ -8800,6 +8866,41 @@ module Google
|
|
8800
8866
|
end
|
8801
8867
|
end
|
8802
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
|
+
|
8803
8904
|
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
8804
8905
|
# @private
|
8805
8906
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8883,6 +8984,8 @@ module Google
|
|
8883
8984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8884
8985
|
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase::Representation
|
8885
8986
|
|
8987
|
+
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig::Representation
|
8988
|
+
|
8886
8989
|
end
|
8887
8990
|
end
|
8888
8991
|
|
@@ -8895,6 +8998,15 @@ module Google
|
|
8895
8998
|
end
|
8896
8999
|
end
|
8897
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
|
+
|
8898
9010
|
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
8899
9011
|
# @private
|
8900
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.
|
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.
|
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:
|