google-apis-discoveryengine_v1beta 0.76.0 → 0.77.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +363 -0
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +185 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +12 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 612e368c0694aa9ed17e60b9e59f02545c3b1ba169a8b1c11a775c69af9414ba
|
4
|
+
data.tar.gz: 0730a93e6d6a3518d04b3a7fbe89f796e53c14ec247715c1a7fa94d100a7516e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd5c79b361b19aa8b34d33389bd3a62eef5356c1781aa965e4d308adb75c008f58e22cc4fee90ab87179b598f4899bdfcc1f053d4ef0fd739b7b145cceab8937
|
7
|
+
data.tar.gz: 137d471f71bdfb7297c525b421b4c7cd6e548034111c93a435ff457593edb3b588ef90dd29da8235adbc96311bd5b7001ee5261fb5ca701988155a628df58e15
|
data/CHANGELOG.md
CHANGED
@@ -1544,6 +1544,28 @@ module Google
|
|
1544
1544
|
class GoogleCloudDiscoveryengineV1Assistant
|
1545
1545
|
include Google::Apis::Core::Hashable
|
1546
1546
|
|
1547
|
+
# Customer-defined policy for the assistant.
|
1548
|
+
# Corresponds to the JSON property `customerPolicy`
|
1549
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
|
1550
|
+
attr_accessor :customer_policy
|
1551
|
+
|
1552
|
+
# Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
|
1553
|
+
# tools on this assistant. The keys are connector name, for example "projects/`
|
1554
|
+
# projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
|
1555
|
+
# values consist of admin enabled tools towards the connector instance. Admin
|
1556
|
+
# can selectively enable multiple tools on any of the connector instances that
|
1557
|
+
# they created in the project. For example `"jira1ConnectorName": [(toolId1, "
|
1558
|
+
# createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
|
1559
|
+
# "sendEmail"),..] `
|
1560
|
+
# Corresponds to the JSON property `enabledTools`
|
1561
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList>]
|
1562
|
+
attr_accessor :enabled_tools
|
1563
|
+
|
1564
|
+
# Configuration for the generation of the assistant response.
|
1565
|
+
# Corresponds to the JSON property `generationConfig`
|
1566
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig]
|
1567
|
+
attr_accessor :generation_config
|
1568
|
+
|
1547
1569
|
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
1548
1570
|
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
1549
1571
|
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
@@ -1552,13 +1574,169 @@ module Google
|
|
1552
1574
|
# @return [String]
|
1553
1575
|
attr_accessor :name
|
1554
1576
|
|
1577
|
+
# Optional. The type of web grounding to use.
|
1578
|
+
# Corresponds to the JSON property `webGroundingType`
|
1579
|
+
# @return [String]
|
1580
|
+
attr_accessor :web_grounding_type
|
1581
|
+
|
1555
1582
|
def initialize(**args)
|
1556
1583
|
update!(**args)
|
1557
1584
|
end
|
1558
1585
|
|
1559
1586
|
# Update properties of this object
|
1560
1587
|
def update!(**args)
|
1588
|
+
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
1589
|
+
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
1590
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
1561
1591
|
@name = args[:name] if args.key?(:name)
|
1592
|
+
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
1593
|
+
end
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
# Customer-defined policy for the assistant.
|
1597
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
|
1598
|
+
include Google::Apis::Core::Hashable
|
1599
|
+
|
1600
|
+
# Optional. List of banned phrases.
|
1601
|
+
# Corresponds to the JSON property `bannedPhrases`
|
1602
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
|
1603
|
+
attr_accessor :banned_phrases
|
1604
|
+
|
1605
|
+
def initialize(**args)
|
1606
|
+
update!(**args)
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# Update properties of this object
|
1610
|
+
def update!(**args)
|
1611
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
1612
|
+
end
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# Definition of a customer-defined banned phrase. A banned phrase is not allowed
|
1616
|
+
# to appear in the user query or the LLM response, or else the answer will be
|
1617
|
+
# refused.
|
1618
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
|
1619
|
+
include Google::Apis::Core::Hashable
|
1620
|
+
|
1621
|
+
# Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
|
1622
|
+
# matching banned phrases. For example, "cafe" would match "café".
|
1623
|
+
# Corresponds to the JSON property `ignoreDiacritics`
|
1624
|
+
# @return [Boolean]
|
1625
|
+
attr_accessor :ignore_diacritics
|
1626
|
+
alias_method :ignore_diacritics?, :ignore_diacritics
|
1627
|
+
|
1628
|
+
# Optional. Match type for the banned phrase.
|
1629
|
+
# Corresponds to the JSON property `matchType`
|
1630
|
+
# @return [String]
|
1631
|
+
attr_accessor :match_type
|
1632
|
+
|
1633
|
+
# Required. The raw string content to be banned.
|
1634
|
+
# Corresponds to the JSON property `phrase`
|
1635
|
+
# @return [String]
|
1636
|
+
attr_accessor :phrase
|
1637
|
+
|
1638
|
+
def initialize(**args)
|
1639
|
+
update!(**args)
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
# Update properties of this object
|
1643
|
+
def update!(**args)
|
1644
|
+
@ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
|
1645
|
+
@match_type = args[:match_type] if args.key?(:match_type)
|
1646
|
+
@phrase = args[:phrase] if args.key?(:phrase)
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
# Configuration for the generation of the assistant response.
|
1651
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
|
1652
|
+
include Google::Apis::Core::Hashable
|
1653
|
+
|
1654
|
+
# The default language to use for the generation of the assistant response. Use
|
1655
|
+
# an ISO 639-1 language code such as `en`. If not specified, the language will
|
1656
|
+
# be automatically detected.
|
1657
|
+
# Corresponds to the JSON property `defaultLanguage`
|
1658
|
+
# @return [String]
|
1659
|
+
attr_accessor :default_language
|
1660
|
+
|
1661
|
+
# System instruction, also known as the prompt preamble for LLM calls.
|
1662
|
+
# Corresponds to the JSON property `systemInstruction`
|
1663
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction]
|
1664
|
+
attr_accessor :system_instruction
|
1665
|
+
|
1666
|
+
def initialize(**args)
|
1667
|
+
update!(**args)
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
# Update properties of this object
|
1671
|
+
def update!(**args)
|
1672
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
1673
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
1674
|
+
end
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
# System instruction, also known as the prompt preamble for LLM calls.
|
1678
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
|
1679
|
+
include Google::Apis::Core::Hashable
|
1680
|
+
|
1681
|
+
# Optional. Additional system instruction that will be added to the default
|
1682
|
+
# system instruction.
|
1683
|
+
# Corresponds to the JSON property `additionalSystemInstruction`
|
1684
|
+
# @return [String]
|
1685
|
+
attr_accessor :additional_system_instruction
|
1686
|
+
|
1687
|
+
def initialize(**args)
|
1688
|
+
update!(**args)
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# Update properties of this object
|
1692
|
+
def update!(**args)
|
1693
|
+
@additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
|
1694
|
+
end
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
# Information to identify a tool.
|
1698
|
+
class GoogleCloudDiscoveryengineV1AssistantToolInfo
|
1699
|
+
include Google::Apis::Core::Hashable
|
1700
|
+
|
1701
|
+
# The display name of the tool.
|
1702
|
+
# Corresponds to the JSON property `toolDisplayName`
|
1703
|
+
# @return [String]
|
1704
|
+
attr_accessor :tool_display_name
|
1705
|
+
|
1706
|
+
# The name of the tool as defined by DataConnectorService.QueryAvailableActions.
|
1707
|
+
# Note: it's using `action` in the DataConnectorService apis, but they are the
|
1708
|
+
# same as the `tool` here.
|
1709
|
+
# Corresponds to the JSON property `toolName`
|
1710
|
+
# @return [String]
|
1711
|
+
attr_accessor :tool_name
|
1712
|
+
|
1713
|
+
def initialize(**args)
|
1714
|
+
update!(**args)
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# Update properties of this object
|
1718
|
+
def update!(**args)
|
1719
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
1720
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
# The enabled tools on a connector
|
1725
|
+
class GoogleCloudDiscoveryengineV1AssistantToolList
|
1726
|
+
include Google::Apis::Core::Hashable
|
1727
|
+
|
1728
|
+
# The list of tools with corresponding tool information.
|
1729
|
+
# Corresponds to the JSON property `toolInfo`
|
1730
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo>]
|
1731
|
+
attr_accessor :tool_info
|
1732
|
+
|
1733
|
+
def initialize(**args)
|
1734
|
+
update!(**args)
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
# Update properties of this object
|
1738
|
+
def update!(**args)
|
1739
|
+
@tool_info = args[:tool_info] if args.key?(:tool_info)
|
1562
1740
|
end
|
1563
1741
|
end
|
1564
1742
|
|
@@ -15655,6 +15833,28 @@ module Google
|
|
15655
15833
|
class GoogleCloudDiscoveryengineV1betaAssistant
|
15656
15834
|
include Google::Apis::Core::Hashable
|
15657
15835
|
|
15836
|
+
# Customer-defined policy for the assistant.
|
15837
|
+
# Corresponds to the JSON property `customerPolicy`
|
15838
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
|
15839
|
+
attr_accessor :customer_policy
|
15840
|
+
|
15841
|
+
# Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
|
15842
|
+
# tools on this assistant. The keys are connector name, for example "projects/`
|
15843
|
+
# projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
|
15844
|
+
# values consist of admin enabled tools towards the connector instance. Admin
|
15845
|
+
# can selectively enable multiple tools on any of the connector instances that
|
15846
|
+
# they created in the project. For example `"jira1ConnectorName": [(toolId1, "
|
15847
|
+
# createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3,
|
15848
|
+
# "sendEmail"),..] `
|
15849
|
+
# Corresponds to the JSON property `enabledTools`
|
15850
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList>]
|
15851
|
+
attr_accessor :enabled_tools
|
15852
|
+
|
15853
|
+
# Configuration for the generation of the assistant response.
|
15854
|
+
# Corresponds to the JSON property `generationConfig`
|
15855
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig]
|
15856
|
+
attr_accessor :generation_config
|
15857
|
+
|
15658
15858
|
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
15659
15859
|
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
15660
15860
|
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
@@ -15663,13 +15863,22 @@ module Google
|
|
15663
15863
|
# @return [String]
|
15664
15864
|
attr_accessor :name
|
15665
15865
|
|
15866
|
+
# Optional. The type of web grounding to use.
|
15867
|
+
# Corresponds to the JSON property `webGroundingType`
|
15868
|
+
# @return [String]
|
15869
|
+
attr_accessor :web_grounding_type
|
15870
|
+
|
15666
15871
|
def initialize(**args)
|
15667
15872
|
update!(**args)
|
15668
15873
|
end
|
15669
15874
|
|
15670
15875
|
# Update properties of this object
|
15671
15876
|
def update!(**args)
|
15877
|
+
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
15878
|
+
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
15879
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
15672
15880
|
@name = args[:name] if args.key?(:name)
|
15881
|
+
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
15673
15882
|
end
|
15674
15883
|
end
|
15675
15884
|
|
@@ -15825,6 +16034,107 @@ module Google
|
|
15825
16034
|
end
|
15826
16035
|
end
|
15827
16036
|
|
16037
|
+
# Customer-defined policy for the assistant.
|
16038
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
|
16039
|
+
include Google::Apis::Core::Hashable
|
16040
|
+
|
16041
|
+
# Optional. List of banned phrases.
|
16042
|
+
# Corresponds to the JSON property `bannedPhrases`
|
16043
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
|
16044
|
+
attr_accessor :banned_phrases
|
16045
|
+
|
16046
|
+
def initialize(**args)
|
16047
|
+
update!(**args)
|
16048
|
+
end
|
16049
|
+
|
16050
|
+
# Update properties of this object
|
16051
|
+
def update!(**args)
|
16052
|
+
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
16053
|
+
end
|
16054
|
+
end
|
16055
|
+
|
16056
|
+
# Definition of a customer-defined banned phrase. A banned phrase is not allowed
|
16057
|
+
# to appear in the user query or the LLM response, or else the answer will be
|
16058
|
+
# refused.
|
16059
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
|
16060
|
+
include Google::Apis::Core::Hashable
|
16061
|
+
|
16062
|
+
# Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when
|
16063
|
+
# matching banned phrases. For example, "cafe" would match "café".
|
16064
|
+
# Corresponds to the JSON property `ignoreDiacritics`
|
16065
|
+
# @return [Boolean]
|
16066
|
+
attr_accessor :ignore_diacritics
|
16067
|
+
alias_method :ignore_diacritics?, :ignore_diacritics
|
16068
|
+
|
16069
|
+
# Optional. Match type for the banned phrase.
|
16070
|
+
# Corresponds to the JSON property `matchType`
|
16071
|
+
# @return [String]
|
16072
|
+
attr_accessor :match_type
|
16073
|
+
|
16074
|
+
# Required. The raw string content to be banned.
|
16075
|
+
# Corresponds to the JSON property `phrase`
|
16076
|
+
# @return [String]
|
16077
|
+
attr_accessor :phrase
|
16078
|
+
|
16079
|
+
def initialize(**args)
|
16080
|
+
update!(**args)
|
16081
|
+
end
|
16082
|
+
|
16083
|
+
# Update properties of this object
|
16084
|
+
def update!(**args)
|
16085
|
+
@ignore_diacritics = args[:ignore_diacritics] if args.key?(:ignore_diacritics)
|
16086
|
+
@match_type = args[:match_type] if args.key?(:match_type)
|
16087
|
+
@phrase = args[:phrase] if args.key?(:phrase)
|
16088
|
+
end
|
16089
|
+
end
|
16090
|
+
|
16091
|
+
# Configuration for the generation of the assistant response.
|
16092
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
16093
|
+
include Google::Apis::Core::Hashable
|
16094
|
+
|
16095
|
+
# The default language to use for the generation of the assistant response. Use
|
16096
|
+
# an ISO 639-1 language code such as `en`. If not specified, the language will
|
16097
|
+
# be automatically detected.
|
16098
|
+
# Corresponds to the JSON property `defaultLanguage`
|
16099
|
+
# @return [String]
|
16100
|
+
attr_accessor :default_language
|
16101
|
+
|
16102
|
+
# System instruction, also known as the prompt preamble for LLM calls.
|
16103
|
+
# Corresponds to the JSON property `systemInstruction`
|
16104
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction]
|
16105
|
+
attr_accessor :system_instruction
|
16106
|
+
|
16107
|
+
def initialize(**args)
|
16108
|
+
update!(**args)
|
16109
|
+
end
|
16110
|
+
|
16111
|
+
# Update properties of this object
|
16112
|
+
def update!(**args)
|
16113
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
16114
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
16115
|
+
end
|
16116
|
+
end
|
16117
|
+
|
16118
|
+
# System instruction, also known as the prompt preamble for LLM calls.
|
16119
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
|
16120
|
+
include Google::Apis::Core::Hashable
|
16121
|
+
|
16122
|
+
# Optional. Additional system instruction that will be added to the default
|
16123
|
+
# system instruction.
|
16124
|
+
# Corresponds to the JSON property `additionalSystemInstruction`
|
16125
|
+
# @return [String]
|
16126
|
+
attr_accessor :additional_system_instruction
|
16127
|
+
|
16128
|
+
def initialize(**args)
|
16129
|
+
update!(**args)
|
16130
|
+
end
|
16131
|
+
|
16132
|
+
# Update properties of this object
|
16133
|
+
def update!(**args)
|
16134
|
+
@additional_system_instruction = args[:additional_system_instruction] if args.key?(:additional_system_instruction)
|
16135
|
+
end
|
16136
|
+
end
|
16137
|
+
|
15828
16138
|
# A piece of content and possibly its grounding information. Not all content
|
15829
16139
|
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
15830
16140
|
# not need grounding.
|
@@ -15993,6 +16303,52 @@ module Google
|
|
15993
16303
|
end
|
15994
16304
|
end
|
15995
16305
|
|
16306
|
+
# Information to identify a tool.
|
16307
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
|
16308
|
+
include Google::Apis::Core::Hashable
|
16309
|
+
|
16310
|
+
# The display name of the tool.
|
16311
|
+
# Corresponds to the JSON property `toolDisplayName`
|
16312
|
+
# @return [String]
|
16313
|
+
attr_accessor :tool_display_name
|
16314
|
+
|
16315
|
+
# The name of the tool as defined by DataConnectorService.QueryAvailableActions.
|
16316
|
+
# Note: it's using `action` in the DataConnectorService apis, but they are the
|
16317
|
+
# same as the `tool` here.
|
16318
|
+
# Corresponds to the JSON property `toolName`
|
16319
|
+
# @return [String]
|
16320
|
+
attr_accessor :tool_name
|
16321
|
+
|
16322
|
+
def initialize(**args)
|
16323
|
+
update!(**args)
|
16324
|
+
end
|
16325
|
+
|
16326
|
+
# Update properties of this object
|
16327
|
+
def update!(**args)
|
16328
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
16329
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
16330
|
+
end
|
16331
|
+
end
|
16332
|
+
|
16333
|
+
# The enabled tools on a connector
|
16334
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolList
|
16335
|
+
include Google::Apis::Core::Hashable
|
16336
|
+
|
16337
|
+
# The list of tools with corresponding tool information.
|
16338
|
+
# Corresponds to the JSON property `toolInfo`
|
16339
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo>]
|
16340
|
+
attr_accessor :tool_info
|
16341
|
+
|
16342
|
+
def initialize(**args)
|
16343
|
+
update!(**args)
|
16344
|
+
end
|
16345
|
+
|
16346
|
+
# Update properties of this object
|
16347
|
+
def update!(**args)
|
16348
|
+
@tool_info = args[:tool_info] if args.key?(:tool_info)
|
16349
|
+
end
|
16350
|
+
end
|
16351
|
+
|
15996
16352
|
# Metadata related to the progress of the SiteSearchEngineService.
|
15997
16353
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
15998
16354
|
# longrunning.Operation.metadata field.
|
@@ -16864,6 +17220,12 @@ module Google
|
|
16864
17220
|
class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
|
16865
17221
|
include Google::Apis::Core::Hashable
|
16866
17222
|
|
17223
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
17224
|
+
# media-types.xhtml.
|
17225
|
+
# Corresponds to the JSON property `mimeType`
|
17226
|
+
# @return [String]
|
17227
|
+
attr_accessor :mime_type
|
17228
|
+
|
16867
17229
|
# Data representation. The structured JSON data for the document. It should
|
16868
17230
|
# conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
16869
17231
|
# Corresponds to the JSON property `structData`
|
@@ -16886,6 +17248,7 @@ module Google
|
|
16886
17248
|
|
16887
17249
|
# Update properties of this object
|
16888
17250
|
def update!(**args)
|
17251
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
16889
17252
|
@struct_data = args[:struct_data] if args.key?(:struct_data)
|
16890
17253
|
@title = args[:title] if args.key?(:title)
|
16891
17254
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -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.77.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 = "20250803"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -220,6 +220,42 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudDiscoveryengineV1AssistantToolInfo
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleCloudDiscoveryengineV1AssistantToolList
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
223
259
|
class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
|
224
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
261
|
|
@@ -2494,6 +2530,30 @@ module Google
|
|
2494
2530
|
include Google::Apis::Core::JsonObjectSupport
|
2495
2531
|
end
|
2496
2532
|
|
2533
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
|
2534
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2535
|
+
|
2536
|
+
include Google::Apis::Core::JsonObjectSupport
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
|
2540
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2541
|
+
|
2542
|
+
include Google::Apis::Core::JsonObjectSupport
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
2546
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2547
|
+
|
2548
|
+
include Google::Apis::Core::JsonObjectSupport
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
|
2552
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2553
|
+
|
2554
|
+
include Google::Apis::Core::JsonObjectSupport
|
2555
|
+
end
|
2556
|
+
|
2497
2557
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
|
2498
2558
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2499
2559
|
|
@@ -2524,6 +2584,18 @@ module Google
|
|
2524
2584
|
include Google::Apis::Core::JsonObjectSupport
|
2525
2585
|
end
|
2526
2586
|
|
2587
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
|
2588
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2589
|
+
|
2590
|
+
include Google::Apis::Core::JsonObjectSupport
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolList
|
2594
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2595
|
+
|
2596
|
+
include Google::Apis::Core::JsonObjectSupport
|
2597
|
+
end
|
2598
|
+
|
2527
2599
|
class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
|
2528
2600
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2529
2601
|
|
@@ -4813,7 +4885,63 @@ module Google
|
|
4813
4885
|
class GoogleCloudDiscoveryengineV1Assistant
|
4814
4886
|
# @private
|
4815
4887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4888
|
+
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::Representation
|
4889
|
+
|
4890
|
+
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList::Representation
|
4891
|
+
|
4892
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfig::Representation
|
4893
|
+
|
4816
4894
|
property :name, as: 'name'
|
4895
|
+
property :web_grounding_type, as: 'webGroundingType'
|
4896
|
+
end
|
4897
|
+
end
|
4898
|
+
|
4899
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicy
|
4900
|
+
# @private
|
4901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4902
|
+
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase::Representation
|
4903
|
+
|
4904
|
+
end
|
4905
|
+
end
|
4906
|
+
|
4907
|
+
class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
|
4908
|
+
# @private
|
4909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4910
|
+
property :ignore_diacritics, as: 'ignoreDiacritics'
|
4911
|
+
property :match_type, as: 'matchType'
|
4912
|
+
property :phrase, as: 'phrase'
|
4913
|
+
end
|
4914
|
+
end
|
4915
|
+
|
4916
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
|
4917
|
+
# @private
|
4918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4919
|
+
property :default_language, as: 'defaultLanguage'
|
4920
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction::Representation
|
4921
|
+
|
4922
|
+
end
|
4923
|
+
end
|
4924
|
+
|
4925
|
+
class GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction
|
4926
|
+
# @private
|
4927
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4928
|
+
property :additional_system_instruction, as: 'additionalSystemInstruction'
|
4929
|
+
end
|
4930
|
+
end
|
4931
|
+
|
4932
|
+
class GoogleCloudDiscoveryengineV1AssistantToolInfo
|
4933
|
+
# @private
|
4934
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4935
|
+
property :tool_display_name, as: 'toolDisplayName'
|
4936
|
+
property :tool_name, as: 'toolName'
|
4937
|
+
end
|
4938
|
+
end
|
4939
|
+
|
4940
|
+
class GoogleCloudDiscoveryengineV1AssistantToolList
|
4941
|
+
# @private
|
4942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4943
|
+
collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolInfo::Representation
|
4944
|
+
|
4817
4945
|
end
|
4818
4946
|
end
|
4819
4947
|
|
@@ -8605,7 +8733,14 @@ module Google
|
|
8605
8733
|
class GoogleCloudDiscoveryengineV1betaAssistant
|
8606
8734
|
# @private
|
8607
8735
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8736
|
+
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy::Representation
|
8737
|
+
|
8738
|
+
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList::Representation
|
8739
|
+
|
8740
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig::Representation
|
8741
|
+
|
8608
8742
|
property :name, as: 'name'
|
8743
|
+
property :web_grounding_type, as: 'webGroundingType'
|
8609
8744
|
end
|
8610
8745
|
end
|
8611
8746
|
|
@@ -8657,6 +8792,39 @@ module Google
|
|
8657
8792
|
end
|
8658
8793
|
end
|
8659
8794
|
|
8795
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy
|
8796
|
+
# @private
|
8797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8798
|
+
collection :banned_phrases, as: 'bannedPhrases', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase::Representation
|
8799
|
+
|
8800
|
+
end
|
8801
|
+
end
|
8802
|
+
|
8803
|
+
class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase
|
8804
|
+
# @private
|
8805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8806
|
+
property :ignore_diacritics, as: 'ignoreDiacritics'
|
8807
|
+
property :match_type, as: 'matchType'
|
8808
|
+
property :phrase, as: 'phrase'
|
8809
|
+
end
|
8810
|
+
end
|
8811
|
+
|
8812
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
8813
|
+
# @private
|
8814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8815
|
+
property :default_language, as: 'defaultLanguage'
|
8816
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction::Representation
|
8817
|
+
|
8818
|
+
end
|
8819
|
+
end
|
8820
|
+
|
8821
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction
|
8822
|
+
# @private
|
8823
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8824
|
+
property :additional_system_instruction, as: 'additionalSystemInstruction'
|
8825
|
+
end
|
8826
|
+
end
|
8827
|
+
|
8660
8828
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
|
8661
8829
|
# @private
|
8662
8830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8708,6 +8876,22 @@ module Google
|
|
8708
8876
|
end
|
8709
8877
|
end
|
8710
8878
|
|
8879
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
|
8880
|
+
# @private
|
8881
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8882
|
+
property :tool_display_name, as: 'toolDisplayName'
|
8883
|
+
property :tool_name, as: 'toolName'
|
8884
|
+
end
|
8885
|
+
end
|
8886
|
+
|
8887
|
+
class GoogleCloudDiscoveryengineV1betaAssistantToolList
|
8888
|
+
# @private
|
8889
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8890
|
+
collection :tool_info, as: 'toolInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolInfo::Representation
|
8891
|
+
|
8892
|
+
end
|
8893
|
+
end
|
8894
|
+
|
8711
8895
|
class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
|
8712
8896
|
# @private
|
8713
8897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8952,6 +9136,7 @@ module Google
|
|
8952
9136
|
class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
|
8953
9137
|
# @private
|
8954
9138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9139
|
+
property :mime_type, as: 'mimeType'
|
8955
9140
|
hash :struct_data, as: 'structData'
|
8956
9141
|
property :title, as: 'title'
|
8957
9142
|
property :uri, as: 'uri'
|
@@ -8165,13 +8165,13 @@ module Google
|
|
8165
8165
|
# Evaluations under this location, regardless of whether or not this location
|
8166
8166
|
# exists, a `PERMISSION_DENIED` error is returned.
|
8167
8167
|
# @param [Fixnum] page_size
|
8168
|
-
# Maximum number of Evaluations to return. If unspecified, defaults to
|
8169
|
-
# maximum allowed value is 1000. Values above 1000 will be coerced to
|
8170
|
-
# this field is negative, an `INVALID_ARGUMENT` error is returned.
|
8168
|
+
# Optional. Maximum number of Evaluations to return. If unspecified, defaults to
|
8169
|
+
# 100. The maximum allowed value is 1000. Values above 1000 will be coerced to
|
8170
|
+
# 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
8171
8171
|
# @param [String] page_token
|
8172
|
-
# A page token ListEvaluationsResponse.next_page_token, received from
|
8173
|
-
# EvaluationService.ListEvaluations call. Provide this to retrieve
|
8174
|
-
# subsequent page. When paginating, all other parameters provided to
|
8172
|
+
# Optional. A page token ListEvaluationsResponse.next_page_token, received from
|
8173
|
+
# a previous EvaluationService.ListEvaluations call. Provide this to retrieve
|
8174
|
+
# the subsequent page. When paginating, all other parameters provided to
|
8175
8175
|
# EvaluationService.ListEvaluations must match the call that provided the page
|
8176
8176
|
# token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
8177
8177
|
# @param [String] fields
|
@@ -8211,13 +8211,13 @@ module Google
|
|
8211
8211
|
# regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
|
8212
8212
|
# error is returned.
|
8213
8213
|
# @param [Fixnum] page_size
|
8214
|
-
# Maximum number of ListEvaluationResultsResponse.EvaluationResult to
|
8215
|
-
# unspecified, defaults to 100. The maximum allowed value is 1000.
|
8216
|
-
# 1000 will be coerced to 1000. If this field is negative, an `
|
8217
|
-
# error is returned.
|
8214
|
+
# Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to
|
8215
|
+
# return. If unspecified, defaults to 100. The maximum allowed value is 1000.
|
8216
|
+
# Values above 1000 will be coerced to 1000. If this field is negative, an `
|
8217
|
+
# INVALID_ARGUMENT` error is returned.
|
8218
8218
|
# @param [String] page_token
|
8219
|
-
# A page token ListEvaluationResultsResponse.next_page_token, received
|
8220
|
-
# previous EvaluationService.ListEvaluationResults call. Provide this to
|
8219
|
+
# Optional. A page token ListEvaluationResultsResponse.next_page_token, received
|
8220
|
+
# from a previous EvaluationService.ListEvaluationResults call. Provide this to
|
8221
8221
|
# retrieve the subsequent page. When paginating, all other parameters provided
|
8222
8222
|
# to EvaluationService.ListEvaluationResults must match the call that provided
|
8223
8223
|
# the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
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.77.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.77.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:
|