google-apis-discoveryengine_v1alpha 0.69.0 → 0.71.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 +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1481 -76
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +703 -22
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +273 -31
- metadata +2 -2
@@ -1746,6 +1746,28 @@ module Google
|
|
1746
1746
|
end
|
1747
1747
|
end
|
1748
1748
|
|
1749
|
+
# Discovery Engine Assistant resource.
|
1750
|
+
class GoogleCloudDiscoveryengineV1Assistant
|
1751
|
+
include Google::Apis::Core::Hashable
|
1752
|
+
|
1753
|
+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
1754
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
1755
|
+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
1756
|
+
# characters.
|
1757
|
+
# Corresponds to the JSON property `name`
|
1758
|
+
# @return [String]
|
1759
|
+
attr_accessor :name
|
1760
|
+
|
1761
|
+
def initialize(**args)
|
1762
|
+
update!(**args)
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
# Update properties of this object
|
1766
|
+
def update!(**args)
|
1767
|
+
@name = args[:name] if args.key?(:name)
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1749
1771
|
# Metadata related to the progress of the SiteSearchEngineService.
|
1750
1772
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
1751
1773
|
# longrunning.Operation.metadata field.
|
@@ -1868,14 +1890,14 @@ module Google
|
|
1868
1890
|
attr_accessor :is_default
|
1869
1891
|
alias_method :is_default?, :is_default
|
1870
1892
|
|
1871
|
-
# KMS key resource name which will be used to encrypt resources `
|
1872
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
1893
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
1894
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
1873
1895
|
# Corresponds to the JSON property `kmsKey`
|
1874
1896
|
# @return [String]
|
1875
1897
|
attr_accessor :kms_key
|
1876
1898
|
|
1877
|
-
# KMS key version resource name which will be used to encrypt
|
1878
|
-
# cryptoKeyVersions/`keyVersion``.
|
1899
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
1900
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
1879
1901
|
# Corresponds to the JSON property `kmsKeyVersion`
|
1880
1902
|
# @return [String]
|
1881
1903
|
attr_accessor :kms_key_version
|
@@ -3073,6 +3095,13 @@ module Google
|
|
3073
3095
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
3074
3096
|
include Google::Apis::Core::Hashable
|
3075
3097
|
|
3098
|
+
# Optional. If true, the processed document will be made available for the
|
3099
|
+
# GetProcessedDocument API.
|
3100
|
+
# Corresponds to the JSON property `enableGetProcessedDocument`
|
3101
|
+
# @return [Boolean]
|
3102
|
+
attr_accessor :enable_get_processed_document
|
3103
|
+
alias_method :enable_get_processed_document?, :enable_get_processed_document
|
3104
|
+
|
3076
3105
|
# Optional. If true, the LLM based annotation is added to the image during
|
3077
3106
|
# parsing.
|
3078
3107
|
# Corresponds to the JSON property `enableImageAnnotation`
|
@@ -3114,6 +3143,7 @@ module Google
|
|
3114
3143
|
|
3115
3144
|
# Update properties of this object
|
3116
3145
|
def update!(**args)
|
3146
|
+
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
3117
3147
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
3118
3148
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
3119
3149
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
@@ -3243,7 +3273,8 @@ module Google
|
|
3243
3273
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
3244
3274
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
3245
3275
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
3246
|
-
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing`
|
3276
|
+
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
3277
|
+
# personalization-memory` - Enables personalization based on user preferences.
|
3247
3278
|
# Corresponds to the JSON property `features`
|
3248
3279
|
# @return [Hash<String,String>]
|
3249
3280
|
attr_accessor :features
|
@@ -7859,6 +7890,436 @@ module Google
|
|
7859
7890
|
end
|
7860
7891
|
end
|
7861
7892
|
|
7893
|
+
# AssistAnswer resource, main part of AssistResponse.
|
7894
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswer
|
7895
|
+
include Google::Apis::Core::Hashable
|
7896
|
+
|
7897
|
+
# Reasons for not answering the assist call.
|
7898
|
+
# Corresponds to the JSON property `assistSkippedReasons`
|
7899
|
+
# @return [Array<String>]
|
7900
|
+
attr_accessor :assist_skipped_reasons
|
7901
|
+
|
7902
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
7903
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
7904
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
7905
|
+
# encoded string with a length limit of 1024 characters.
|
7906
|
+
# Corresponds to the JSON property `name`
|
7907
|
+
# @return [String]
|
7908
|
+
attr_accessor :name
|
7909
|
+
|
7910
|
+
# Replies of the assistant.
|
7911
|
+
# Corresponds to the JSON property `replies`
|
7912
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
|
7913
|
+
attr_accessor :replies
|
7914
|
+
|
7915
|
+
# State of the answer generation.
|
7916
|
+
# Corresponds to the JSON property `state`
|
7917
|
+
# @return [String]
|
7918
|
+
attr_accessor :state
|
7919
|
+
|
7920
|
+
def initialize(**args)
|
7921
|
+
update!(**args)
|
7922
|
+
end
|
7923
|
+
|
7924
|
+
# Update properties of this object
|
7925
|
+
def update!(**args)
|
7926
|
+
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
7927
|
+
@name = args[:name] if args.key?(:name)
|
7928
|
+
@replies = args[:replies] if args.key?(:replies)
|
7929
|
+
@state = args[:state] if args.key?(:state)
|
7930
|
+
end
|
7931
|
+
end
|
7932
|
+
|
7933
|
+
# One part of the multi-part response of the assist call.
|
7934
|
+
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
7935
|
+
include Google::Apis::Core::Hashable
|
7936
|
+
|
7937
|
+
# A piece of content and possibly its grounding information. Not all content
|
7938
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
7939
|
+
# not need grounding.
|
7940
|
+
# Corresponds to the JSON property `groundedContent`
|
7941
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
7942
|
+
attr_accessor :grounded_content
|
7943
|
+
|
7944
|
+
def initialize(**args)
|
7945
|
+
update!(**args)
|
7946
|
+
end
|
7947
|
+
|
7948
|
+
# Update properties of this object
|
7949
|
+
def update!(**args)
|
7950
|
+
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
7951
|
+
end
|
7952
|
+
end
|
7953
|
+
|
7954
|
+
# User metadata of the request.
|
7955
|
+
class GoogleCloudDiscoveryengineV1alphaAssistUserMetadata
|
7956
|
+
include Google::Apis::Core::Hashable
|
7957
|
+
|
7958
|
+
# Optional. Preferred language to be used for answering if language detection
|
7959
|
+
# fails. Also used as the language of error messages created by actions,
|
7960
|
+
# regardless of language detection results.
|
7961
|
+
# Corresponds to the JSON property `preferredLanguageCode`
|
7962
|
+
# @return [String]
|
7963
|
+
attr_accessor :preferred_language_code
|
7964
|
+
|
7965
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
7966
|
+
# Corresponds to the JSON property `timeZone`
|
7967
|
+
# @return [String]
|
7968
|
+
attr_accessor :time_zone
|
7969
|
+
|
7970
|
+
def initialize(**args)
|
7971
|
+
update!(**args)
|
7972
|
+
end
|
7973
|
+
|
7974
|
+
# Update properties of this object
|
7975
|
+
def update!(**args)
|
7976
|
+
@preferred_language_code = args[:preferred_language_code] if args.key?(:preferred_language_code)
|
7977
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
7978
|
+
end
|
7979
|
+
end
|
7980
|
+
|
7981
|
+
# Discovery Engine Assistant resource.
|
7982
|
+
class GoogleCloudDiscoveryengineV1alphaAssistant
|
7983
|
+
include Google::Apis::Core::Hashable
|
7984
|
+
|
7985
|
+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
7986
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
7987
|
+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
7988
|
+
# characters.
|
7989
|
+
# Corresponds to the JSON property `name`
|
7990
|
+
# @return [String]
|
7991
|
+
attr_accessor :name
|
7992
|
+
|
7993
|
+
def initialize(**args)
|
7994
|
+
update!(**args)
|
7995
|
+
end
|
7996
|
+
|
7997
|
+
# Update properties of this object
|
7998
|
+
def update!(**args)
|
7999
|
+
@name = args[:name] if args.key?(:name)
|
8000
|
+
end
|
8001
|
+
end
|
8002
|
+
|
8003
|
+
# Multi-modal content.
|
8004
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContent
|
8005
|
+
include Google::Apis::Core::Hashable
|
8006
|
+
|
8007
|
+
# Result of executing ExecutableCode.
|
8008
|
+
# Corresponds to the JSON property `codeExecutionResult`
|
8009
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult]
|
8010
|
+
attr_accessor :code_execution_result
|
8011
|
+
|
8012
|
+
# Code generated by the model that is meant to be executed by the model.
|
8013
|
+
# Corresponds to the JSON property `executableCode`
|
8014
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode]
|
8015
|
+
attr_accessor :executable_code
|
8016
|
+
|
8017
|
+
# A file, e.g., an audio summary.
|
8018
|
+
# Corresponds to the JSON property `file`
|
8019
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContentFile]
|
8020
|
+
attr_accessor :file
|
8021
|
+
|
8022
|
+
# Inline blob.
|
8023
|
+
# Corresponds to the JSON property `inlineData`
|
8024
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContentBlob]
|
8025
|
+
attr_accessor :inline_data
|
8026
|
+
|
8027
|
+
# The producer of the content. Can be "model" or "user".
|
8028
|
+
# Corresponds to the JSON property `role`
|
8029
|
+
# @return [String]
|
8030
|
+
attr_accessor :role
|
8031
|
+
|
8032
|
+
# Inline text.
|
8033
|
+
# Corresponds to the JSON property `text`
|
8034
|
+
# @return [String]
|
8035
|
+
attr_accessor :text
|
8036
|
+
|
8037
|
+
# Optional. Indicates if the part is thought from the model.
|
8038
|
+
# Corresponds to the JSON property `thought`
|
8039
|
+
# @return [Boolean]
|
8040
|
+
attr_accessor :thought
|
8041
|
+
alias_method :thought?, :thought
|
8042
|
+
|
8043
|
+
def initialize(**args)
|
8044
|
+
update!(**args)
|
8045
|
+
end
|
8046
|
+
|
8047
|
+
# Update properties of this object
|
8048
|
+
def update!(**args)
|
8049
|
+
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
8050
|
+
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
8051
|
+
@file = args[:file] if args.key?(:file)
|
8052
|
+
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
8053
|
+
@role = args[:role] if args.key?(:role)
|
8054
|
+
@text = args[:text] if args.key?(:text)
|
8055
|
+
@thought = args[:thought] if args.key?(:thought)
|
8056
|
+
end
|
8057
|
+
end
|
8058
|
+
|
8059
|
+
# Inline blob.
|
8060
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentBlob
|
8061
|
+
include Google::Apis::Core::Hashable
|
8062
|
+
|
8063
|
+
# Required. Raw bytes.
|
8064
|
+
# Corresponds to the JSON property `data`
|
8065
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8066
|
+
# @return [String]
|
8067
|
+
attr_accessor :data
|
8068
|
+
|
8069
|
+
# Required. The media type (MIME type) of the generated data.
|
8070
|
+
# Corresponds to the JSON property `mimeType`
|
8071
|
+
# @return [String]
|
8072
|
+
attr_accessor :mime_type
|
8073
|
+
|
8074
|
+
def initialize(**args)
|
8075
|
+
update!(**args)
|
8076
|
+
end
|
8077
|
+
|
8078
|
+
# Update properties of this object
|
8079
|
+
def update!(**args)
|
8080
|
+
@data = args[:data] if args.key?(:data)
|
8081
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8082
|
+
end
|
8083
|
+
end
|
8084
|
+
|
8085
|
+
# Result of executing ExecutableCode.
|
8086
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
|
8087
|
+
include Google::Apis::Core::Hashable
|
8088
|
+
|
8089
|
+
# Required. Outcome of the code execution.
|
8090
|
+
# Corresponds to the JSON property `outcome`
|
8091
|
+
# @return [String]
|
8092
|
+
attr_accessor :outcome
|
8093
|
+
|
8094
|
+
# Optional. Contains stdout when code execution is successful, stderr or other
|
8095
|
+
# description otherwise.
|
8096
|
+
# Corresponds to the JSON property `output`
|
8097
|
+
# @return [String]
|
8098
|
+
attr_accessor :output
|
8099
|
+
|
8100
|
+
def initialize(**args)
|
8101
|
+
update!(**args)
|
8102
|
+
end
|
8103
|
+
|
8104
|
+
# Update properties of this object
|
8105
|
+
def update!(**args)
|
8106
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
8107
|
+
@output = args[:output] if args.key?(:output)
|
8108
|
+
end
|
8109
|
+
end
|
8110
|
+
|
8111
|
+
# Code generated by the model that is meant to be executed by the model.
|
8112
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
|
8113
|
+
include Google::Apis::Core::Hashable
|
8114
|
+
|
8115
|
+
# Required. The code content. Currently only supports Python.
|
8116
|
+
# Corresponds to the JSON property `code`
|
8117
|
+
# @return [String]
|
8118
|
+
attr_accessor :code
|
8119
|
+
|
8120
|
+
def initialize(**args)
|
8121
|
+
update!(**args)
|
8122
|
+
end
|
8123
|
+
|
8124
|
+
# Update properties of this object
|
8125
|
+
def update!(**args)
|
8126
|
+
@code = args[:code] if args.key?(:code)
|
8127
|
+
end
|
8128
|
+
end
|
8129
|
+
|
8130
|
+
# A file, e.g., an audio summary.
|
8131
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantContentFile
|
8132
|
+
include Google::Apis::Core::Hashable
|
8133
|
+
|
8134
|
+
# Required. The file ID.
|
8135
|
+
# Corresponds to the JSON property `fileId`
|
8136
|
+
# @return [String]
|
8137
|
+
attr_accessor :file_id
|
8138
|
+
|
8139
|
+
# Required. The media type (MIME type) of the file.
|
8140
|
+
# Corresponds to the JSON property `mimeType`
|
8141
|
+
# @return [String]
|
8142
|
+
attr_accessor :mime_type
|
8143
|
+
|
8144
|
+
def initialize(**args)
|
8145
|
+
update!(**args)
|
8146
|
+
end
|
8147
|
+
|
8148
|
+
# Update properties of this object
|
8149
|
+
def update!(**args)
|
8150
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
8151
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8152
|
+
end
|
8153
|
+
end
|
8154
|
+
|
8155
|
+
# A piece of content and possibly its grounding information. Not all content
|
8156
|
+
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
8157
|
+
# not need grounding.
|
8158
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent
|
8159
|
+
include Google::Apis::Core::Hashable
|
8160
|
+
|
8161
|
+
# Multi-modal content.
|
8162
|
+
# Corresponds to the JSON property `content`
|
8163
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantContent]
|
8164
|
+
attr_accessor :content
|
8165
|
+
|
8166
|
+
# Grounding details for text sources.
|
8167
|
+
# Corresponds to the JSON property `textGroundingMetadata`
|
8168
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata]
|
8169
|
+
attr_accessor :text_grounding_metadata
|
8170
|
+
|
8171
|
+
def initialize(**args)
|
8172
|
+
update!(**args)
|
8173
|
+
end
|
8174
|
+
|
8175
|
+
# Update properties of this object
|
8176
|
+
def update!(**args)
|
8177
|
+
@content = args[:content] if args.key?(:content)
|
8178
|
+
@text_grounding_metadata = args[:text_grounding_metadata] if args.key?(:text_grounding_metadata)
|
8179
|
+
end
|
8180
|
+
end
|
8181
|
+
|
8182
|
+
# Grounding details for text sources.
|
8183
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata
|
8184
|
+
include Google::Apis::Core::Hashable
|
8185
|
+
|
8186
|
+
# References for the grounded text.
|
8187
|
+
# Corresponds to the JSON property `references`
|
8188
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference>]
|
8189
|
+
attr_accessor :references
|
8190
|
+
|
8191
|
+
# Grounding information for parts of the text.
|
8192
|
+
# Corresponds to the JSON property `segments`
|
8193
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
8194
|
+
attr_accessor :segments
|
8195
|
+
|
8196
|
+
def initialize(**args)
|
8197
|
+
update!(**args)
|
8198
|
+
end
|
8199
|
+
|
8200
|
+
# Update properties of this object
|
8201
|
+
def update!(**args)
|
8202
|
+
@references = args[:references] if args.key?(:references)
|
8203
|
+
@segments = args[:segments] if args.key?(:segments)
|
8204
|
+
end
|
8205
|
+
end
|
8206
|
+
|
8207
|
+
# Referenced content and related document metadata.
|
8208
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
8209
|
+
include Google::Apis::Core::Hashable
|
8210
|
+
|
8211
|
+
# Referenced text content.
|
8212
|
+
# Corresponds to the JSON property `content`
|
8213
|
+
# @return [String]
|
8214
|
+
attr_accessor :content
|
8215
|
+
|
8216
|
+
# Document metadata.
|
8217
|
+
# Corresponds to the JSON property `documentMetadata`
|
8218
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata]
|
8219
|
+
attr_accessor :document_metadata
|
8220
|
+
|
8221
|
+
def initialize(**args)
|
8222
|
+
update!(**args)
|
8223
|
+
end
|
8224
|
+
|
8225
|
+
# Update properties of this object
|
8226
|
+
def update!(**args)
|
8227
|
+
@content = args[:content] if args.key?(:content)
|
8228
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
8229
|
+
end
|
8230
|
+
end
|
8231
|
+
|
8232
|
+
# Document metadata.
|
8233
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
8234
|
+
include Google::Apis::Core::Hashable
|
8235
|
+
|
8236
|
+
# Document resource name.
|
8237
|
+
# Corresponds to the JSON property `document`
|
8238
|
+
# @return [String]
|
8239
|
+
attr_accessor :document
|
8240
|
+
|
8241
|
+
# Domain name from the document URI. Note that the `uri` field may contain a URL
|
8242
|
+
# that redirects to the actual website, in which case this will contain the
|
8243
|
+
# domain name of the target site.
|
8244
|
+
# Corresponds to the JSON property `domain`
|
8245
|
+
# @return [String]
|
8246
|
+
attr_accessor :domain
|
8247
|
+
|
8248
|
+
# Page identifier.
|
8249
|
+
# Corresponds to the JSON property `pageIdentifier`
|
8250
|
+
# @return [String]
|
8251
|
+
attr_accessor :page_identifier
|
8252
|
+
|
8253
|
+
# Title.
|
8254
|
+
# Corresponds to the JSON property `title`
|
8255
|
+
# @return [String]
|
8256
|
+
attr_accessor :title
|
8257
|
+
|
8258
|
+
# URI for the document. It may contain a URL that redirects to the actual
|
8259
|
+
# website.
|
8260
|
+
# Corresponds to the JSON property `uri`
|
8261
|
+
# @return [String]
|
8262
|
+
attr_accessor :uri
|
8263
|
+
|
8264
|
+
def initialize(**args)
|
8265
|
+
update!(**args)
|
8266
|
+
end
|
8267
|
+
|
8268
|
+
# Update properties of this object
|
8269
|
+
def update!(**args)
|
8270
|
+
@document = args[:document] if args.key?(:document)
|
8271
|
+
@domain = args[:domain] if args.key?(:domain)
|
8272
|
+
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
8273
|
+
@title = args[:title] if args.key?(:title)
|
8274
|
+
@uri = args[:uri] if args.key?(:uri)
|
8275
|
+
end
|
8276
|
+
end
|
8277
|
+
|
8278
|
+
# Grounding information for a segment of the text.
|
8279
|
+
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment
|
8280
|
+
include Google::Apis::Core::Hashable
|
8281
|
+
|
8282
|
+
# End of the segment, exclusive.
|
8283
|
+
# Corresponds to the JSON property `endIndex`
|
8284
|
+
# @return [Fixnum]
|
8285
|
+
attr_accessor :end_index
|
8286
|
+
|
8287
|
+
# Score for the segment.
|
8288
|
+
# Corresponds to the JSON property `groundingScore`
|
8289
|
+
# @return [Float]
|
8290
|
+
attr_accessor :grounding_score
|
8291
|
+
|
8292
|
+
# References for the segment.
|
8293
|
+
# Corresponds to the JSON property `referenceIndices`
|
8294
|
+
# @return [Array<Fixnum>]
|
8295
|
+
attr_accessor :reference_indices
|
8296
|
+
|
8297
|
+
# Zero-based index indicating the start of the segment, measured in bytes of a
|
8298
|
+
# UTF-8 string (i.e. characters encoded on multiple bytes have a length of more
|
8299
|
+
# than one).
|
8300
|
+
# Corresponds to the JSON property `startIndex`
|
8301
|
+
# @return [Fixnum]
|
8302
|
+
attr_accessor :start_index
|
8303
|
+
|
8304
|
+
# The text segment itself.
|
8305
|
+
# Corresponds to the JSON property `text`
|
8306
|
+
# @return [String]
|
8307
|
+
attr_accessor :text
|
8308
|
+
|
8309
|
+
def initialize(**args)
|
8310
|
+
update!(**args)
|
8311
|
+
end
|
8312
|
+
|
8313
|
+
# Update properties of this object
|
8314
|
+
def update!(**args)
|
8315
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
8316
|
+
@grounding_score = args[:grounding_score] if args.key?(:grounding_score)
|
8317
|
+
@reference_indices = args[:reference_indices] if args.key?(:reference_indices)
|
8318
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
8319
|
+
@text = args[:text] if args.key?(:text)
|
8320
|
+
end
|
8321
|
+
end
|
8322
|
+
|
7862
8323
|
# The configuration for the BAP connector.
|
7863
8324
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
7864
8325
|
include Google::Apis::Core::Hashable
|
@@ -9038,14 +9499,14 @@ module Google
|
|
9038
9499
|
attr_accessor :is_default
|
9039
9500
|
alias_method :is_default?, :is_default
|
9040
9501
|
|
9041
|
-
# KMS key resource name which will be used to encrypt resources `
|
9042
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
9502
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
9503
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
9043
9504
|
# Corresponds to the JSON property `kmsKey`
|
9044
9505
|
# @return [String]
|
9045
9506
|
attr_accessor :kms_key
|
9046
9507
|
|
9047
|
-
# KMS key version resource name which will be used to encrypt
|
9048
|
-
# cryptoKeyVersions/`keyVersion``.
|
9508
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
9509
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
9049
9510
|
# Corresponds to the JSON property `kmsKeyVersion`
|
9050
9511
|
# @return [String]
|
9051
9512
|
attr_accessor :kms_key_version
|
@@ -11973,6 +12434,13 @@ module Google
|
|
11973
12434
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
11974
12435
|
include Google::Apis::Core::Hashable
|
11975
12436
|
|
12437
|
+
# Optional. If true, the processed document will be made available for the
|
12438
|
+
# GetProcessedDocument API.
|
12439
|
+
# Corresponds to the JSON property `enableGetProcessedDocument`
|
12440
|
+
# @return [Boolean]
|
12441
|
+
attr_accessor :enable_get_processed_document
|
12442
|
+
alias_method :enable_get_processed_document?, :enable_get_processed_document
|
12443
|
+
|
11976
12444
|
# Optional. If true, the LLM based annotation is added to the image during
|
11977
12445
|
# parsing.
|
11978
12446
|
# Corresponds to the JSON property `enableImageAnnotation`
|
@@ -12014,6 +12482,7 @@ module Google
|
|
12014
12482
|
|
12015
12483
|
# Update properties of this object
|
12016
12484
|
def update!(**args)
|
12485
|
+
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
12017
12486
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
12018
12487
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
12019
12488
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
@@ -12194,7 +12663,8 @@ module Google
|
|
12194
12663
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
12195
12664
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
12196
12665
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
12197
|
-
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing`
|
12666
|
+
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
12667
|
+
# personalization-memory` - Enables personalization based on user preferences.
|
12198
12668
|
# Corresponds to the JSON property `features`
|
12199
12669
|
# @return [Hash<String,String>]
|
12200
12670
|
attr_accessor :features
|
@@ -13245,6 +13715,190 @@ module Google
|
|
13245
13715
|
end
|
13246
13716
|
end
|
13247
13717
|
|
13718
|
+
# Caracteristics of other file types.
|
13719
|
+
class GoogleCloudDiscoveryengineV1alphaFileCharacteristics
|
13720
|
+
include Google::Apis::Core::Hashable
|
13721
|
+
|
13722
|
+
# Output only. Generic map of characteristics.
|
13723
|
+
# Corresponds to the JSON property `characteristics`
|
13724
|
+
# @return [Hash<String,String>]
|
13725
|
+
attr_accessor :characteristics
|
13726
|
+
|
13727
|
+
def initialize(**args)
|
13728
|
+
update!(**args)
|
13729
|
+
end
|
13730
|
+
|
13731
|
+
# Update properties of this object
|
13732
|
+
def update!(**args)
|
13733
|
+
@characteristics = args[:characteristics] if args.key?(:characteristics)
|
13734
|
+
end
|
13735
|
+
end
|
13736
|
+
|
13737
|
+
# Represents a file attached to a session (context file)
|
13738
|
+
class GoogleCloudDiscoveryengineV1alphaFileMetadata
|
13739
|
+
include Google::Apis::Core::Hashable
|
13740
|
+
|
13741
|
+
# Output only. The size of the context file in bytes.
|
13742
|
+
# Corresponds to the JSON property `byteSize`
|
13743
|
+
# @return [Fixnum]
|
13744
|
+
attr_accessor :byte_size
|
13745
|
+
|
13746
|
+
# Output only. The AssistantService.DownloadSessionFile URL to download the file.
|
13747
|
+
# This URL will need the same credentials as AssistantService.
|
13748
|
+
# ListSessionFileMetadata method and will provide the resource.
|
13749
|
+
# Corresponds to the JSON property `downloadUri`
|
13750
|
+
# @return [String]
|
13751
|
+
attr_accessor :download_uri
|
13752
|
+
|
13753
|
+
# Output only. The ID of the file.
|
13754
|
+
# Corresponds to the JSON property `fileId`
|
13755
|
+
# @return [String]
|
13756
|
+
attr_accessor :file_id
|
13757
|
+
|
13758
|
+
# Optional. The origin of the file.
|
13759
|
+
# Corresponds to the JSON property `fileOriginType`
|
13760
|
+
# @return [String]
|
13761
|
+
attr_accessor :file_origin_type
|
13762
|
+
|
13763
|
+
# Output only. The time the file was added to the session. Note that if a file
|
13764
|
+
# was added, then modified externally, then added again, the add time will be
|
13765
|
+
# updated.
|
13766
|
+
# Corresponds to the JSON property `lastAddTime`
|
13767
|
+
# @return [String]
|
13768
|
+
attr_accessor :last_add_time
|
13769
|
+
|
13770
|
+
# Optional. Represents metadata related to the file that can suit particular use
|
13771
|
+
# cases. The prefix "google." is reserved for the key for use by Google, but
|
13772
|
+
# other prefixes can be freely used.
|
13773
|
+
# Corresponds to the JSON property `metadata`
|
13774
|
+
# @return [Hash<String,String>]
|
13775
|
+
attr_accessor :metadata
|
13776
|
+
|
13777
|
+
# The content type of the file, see https://www.iana.org/assignments/media-types/
|
13778
|
+
# media-types.xhtml.
|
13779
|
+
# Corresponds to the JSON property `mimeType`
|
13780
|
+
# @return [String]
|
13781
|
+
attr_accessor :mime_type
|
13782
|
+
|
13783
|
+
# Output only. The name of the file uploaded.
|
13784
|
+
# Corresponds to the JSON property `name`
|
13785
|
+
# @return [String]
|
13786
|
+
attr_accessor :name
|
13787
|
+
|
13788
|
+
# Optional. The type of the original source of the file.
|
13789
|
+
# Corresponds to the JSON property `originalSourceType`
|
13790
|
+
# @return [String]
|
13791
|
+
attr_accessor :original_source_type
|
13792
|
+
|
13793
|
+
# Optional. The original location of the file. It may be a local file path, or
|
13794
|
+
# any other URI that allows accessing the file in an external system. There are
|
13795
|
+
# two scenarios in which this url may be empty: 1. If the file was sent as
|
13796
|
+
# inline data (e.g. pasted from the clipboard). 2. If the original location is
|
13797
|
+
# not available. Note that there's no guarantee that the URI will be pointing to
|
13798
|
+
# a valid or actually existing file. For example, a file might have been
|
13799
|
+
# uploaded to the session, and then deleted from the original source.
|
13800
|
+
# Corresponds to the JSON property `originalUri`
|
13801
|
+
# @return [String]
|
13802
|
+
attr_accessor :original_uri
|
13803
|
+
|
13804
|
+
# Output only. The time the file was uploaded (If this is a file generated by an
|
13805
|
+
# internal process and then made available to the session, this indicates the
|
13806
|
+
# moment it happened).
|
13807
|
+
# Corresponds to the JSON property `uploadTime`
|
13808
|
+
# @return [String]
|
13809
|
+
attr_accessor :upload_time
|
13810
|
+
|
13811
|
+
# Output only. Alternate views of this file object. Each file view is attached
|
13812
|
+
# to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" -
|
13813
|
+
# "clip" - "summary" - "translation"
|
13814
|
+
# Corresponds to the JSON property `views`
|
13815
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileView>]
|
13816
|
+
attr_accessor :views
|
13817
|
+
|
13818
|
+
def initialize(**args)
|
13819
|
+
update!(**args)
|
13820
|
+
end
|
13821
|
+
|
13822
|
+
# Update properties of this object
|
13823
|
+
def update!(**args)
|
13824
|
+
@byte_size = args[:byte_size] if args.key?(:byte_size)
|
13825
|
+
@download_uri = args[:download_uri] if args.key?(:download_uri)
|
13826
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
13827
|
+
@file_origin_type = args[:file_origin_type] if args.key?(:file_origin_type)
|
13828
|
+
@last_add_time = args[:last_add_time] if args.key?(:last_add_time)
|
13829
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
13830
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
13831
|
+
@name = args[:name] if args.key?(:name)
|
13832
|
+
@original_source_type = args[:original_source_type] if args.key?(:original_source_type)
|
13833
|
+
@original_uri = args[:original_uri] if args.key?(:original_uri)
|
13834
|
+
@upload_time = args[:upload_time] if args.key?(:upload_time)
|
13835
|
+
@views = args[:views] if args.key?(:views)
|
13836
|
+
end
|
13837
|
+
end
|
13838
|
+
|
13839
|
+
# Represents a specific alternate version or "view" of a file object, such as a
|
13840
|
+
# summary, a thumbnail, a translated version, etc.
|
13841
|
+
class GoogleCloudDiscoveryengineV1alphaFileView
|
13842
|
+
include Google::Apis::Core::Hashable
|
13843
|
+
|
13844
|
+
# Output only. The size of the view in bytes.
|
13845
|
+
# Corresponds to the JSON property `byteSize`
|
13846
|
+
# @return [Fixnum]
|
13847
|
+
attr_accessor :byte_size
|
13848
|
+
|
13849
|
+
# Output only. The time the view was created.
|
13850
|
+
# Corresponds to the JSON property `createTime`
|
13851
|
+
# @return [String]
|
13852
|
+
attr_accessor :create_time
|
13853
|
+
|
13854
|
+
# Caracteristics of other file types.
|
13855
|
+
# Corresponds to the JSON property `fileCharacteristics`
|
13856
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileCharacteristics]
|
13857
|
+
attr_accessor :file_characteristics
|
13858
|
+
|
13859
|
+
# Standard characteristics of an image media view.
|
13860
|
+
# Corresponds to the JSON property `imageCharacteristics`
|
13861
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImageCharacteristics]
|
13862
|
+
attr_accessor :image_characteristics
|
13863
|
+
|
13864
|
+
# Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain", "video/
|
13865
|
+
# mp4")
|
13866
|
+
# Corresponds to the JSON property `mimeType`
|
13867
|
+
# @return [String]
|
13868
|
+
attr_accessor :mime_type
|
13869
|
+
|
13870
|
+
# Output only. The URI to access this media view.
|
13871
|
+
# Corresponds to the JSON property `uri`
|
13872
|
+
# @return [String]
|
13873
|
+
attr_accessor :uri
|
13874
|
+
|
13875
|
+
# Standard characteristics of a video media view.
|
13876
|
+
# Corresponds to the JSON property `videoCharacteristics`
|
13877
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaVideoCharacteristics]
|
13878
|
+
attr_accessor :video_characteristics
|
13879
|
+
|
13880
|
+
# Output only. Globally Unique id for this specific view.
|
13881
|
+
# Corresponds to the JSON property `viewId`
|
13882
|
+
# @return [String]
|
13883
|
+
attr_accessor :view_id
|
13884
|
+
|
13885
|
+
def initialize(**args)
|
13886
|
+
update!(**args)
|
13887
|
+
end
|
13888
|
+
|
13889
|
+
# Update properties of this object
|
13890
|
+
def update!(**args)
|
13891
|
+
@byte_size = args[:byte_size] if args.key?(:byte_size)
|
13892
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
13893
|
+
@file_characteristics = args[:file_characteristics] if args.key?(:file_characteristics)
|
13894
|
+
@image_characteristics = args[:image_characteristics] if args.key?(:image_characteristics)
|
13895
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
13896
|
+
@uri = args[:uri] if args.key?(:uri)
|
13897
|
+
@video_characteristics = args[:video_characteristics] if args.key?(:video_characteristics)
|
13898
|
+
@view_id = args[:view_id] if args.key?(:view_id)
|
13899
|
+
end
|
13900
|
+
end
|
13901
|
+
|
13248
13902
|
# Firestore source import data from.
|
13249
13903
|
class GoogleCloudDiscoveryengineV1alphaFirestoreSource
|
13250
13904
|
include Google::Apis::Core::Hashable
|
@@ -13687,7 +14341,27 @@ module Google
|
|
13687
14341
|
# Identity provider type configured.
|
13688
14342
|
# Corresponds to the JSON property `idpType`
|
13689
14343
|
# @return [String]
|
13690
|
-
attr_accessor :idp_type
|
14344
|
+
attr_accessor :idp_type
|
14345
|
+
|
14346
|
+
def initialize(**args)
|
14347
|
+
update!(**args)
|
14348
|
+
end
|
14349
|
+
|
14350
|
+
# Update properties of this object
|
14351
|
+
def update!(**args)
|
14352
|
+
@external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
|
14353
|
+
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
14354
|
+
end
|
14355
|
+
end
|
14356
|
+
|
14357
|
+
# Third party IDP Config.
|
14358
|
+
class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
|
14359
|
+
include Google::Apis::Core::Hashable
|
14360
|
+
|
14361
|
+
# Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
14362
|
+
# Corresponds to the JSON property `workforcePoolName`
|
14363
|
+
# @return [String]
|
14364
|
+
attr_accessor :workforce_pool_name
|
13691
14365
|
|
13692
14366
|
def initialize(**args)
|
13693
14367
|
update!(**args)
|
@@ -13695,19 +14369,33 @@ module Google
|
|
13695
14369
|
|
13696
14370
|
# Update properties of this object
|
13697
14371
|
def update!(**args)
|
13698
|
-
@
|
13699
|
-
@idp_type = args[:idp_type] if args.key?(:idp_type)
|
14372
|
+
@workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
|
13700
14373
|
end
|
13701
14374
|
end
|
13702
14375
|
|
13703
|
-
#
|
13704
|
-
class
|
14376
|
+
# Standard characteristics of an image media view.
|
14377
|
+
class GoogleCloudDiscoveryengineV1alphaImageCharacteristics
|
13705
14378
|
include Google::Apis::Core::Hashable
|
13706
14379
|
|
13707
|
-
#
|
13708
|
-
# Corresponds to the JSON property `
|
14380
|
+
# Output only. Bit depth of the image (e.g., 8-bit, 16-bit).
|
14381
|
+
# Corresponds to the JSON property `bitDepth`
|
14382
|
+
# @return [Fixnum]
|
14383
|
+
attr_accessor :bit_depth
|
14384
|
+
|
14385
|
+
# Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale").
|
14386
|
+
# Corresponds to the JSON property `colorSpace`
|
13709
14387
|
# @return [String]
|
13710
|
-
attr_accessor :
|
14388
|
+
attr_accessor :color_space
|
14389
|
+
|
14390
|
+
# Output only. Image height in pixels.
|
14391
|
+
# Corresponds to the JSON property `height`
|
14392
|
+
# @return [Fixnum]
|
14393
|
+
attr_accessor :height
|
14394
|
+
|
14395
|
+
# Output only. Image width in pixels.
|
14396
|
+
# Corresponds to the JSON property `width`
|
14397
|
+
# @return [Fixnum]
|
14398
|
+
attr_accessor :width
|
13711
14399
|
|
13712
14400
|
def initialize(**args)
|
13713
14401
|
update!(**args)
|
@@ -13715,7 +14403,10 @@ module Google
|
|
13715
14403
|
|
13716
14404
|
# Update properties of this object
|
13717
14405
|
def update!(**args)
|
13718
|
-
@
|
14406
|
+
@bit_depth = args[:bit_depth] if args.key?(:bit_depth)
|
14407
|
+
@color_space = args[:color_space] if args.key?(:color_space)
|
14408
|
+
@height = args[:height] if args.key?(:height)
|
14409
|
+
@width = args[:width] if args.key?(:width)
|
13719
14410
|
end
|
13720
14411
|
end
|
13721
14412
|
|
@@ -13967,7 +14658,7 @@ module Google
|
|
13967
14658
|
# GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an
|
13968
14659
|
# INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema
|
13969
14660
|
# must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. *
|
13970
|
-
# SpannerSource. * CloudSqlSource. *
|
14661
|
+
# SpannerSource. * CloudSqlSource. * BigtableSource.
|
13971
14662
|
# Corresponds to the JSON property `idField`
|
13972
14663
|
# @return [String]
|
13973
14664
|
attr_accessor :id_field
|
@@ -14907,6 +15598,33 @@ module Google
|
|
14907
15598
|
end
|
14908
15599
|
end
|
14909
15600
|
|
15601
|
+
# Response message for SessionService.ListFiles method.
|
15602
|
+
class GoogleCloudDiscoveryengineV1alphaListFilesResponse
|
15603
|
+
include Google::Apis::Core::Hashable
|
15604
|
+
|
15605
|
+
# The FileMetadatas.
|
15606
|
+
# Corresponds to the JSON property `files`
|
15607
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileMetadata>]
|
15608
|
+
attr_accessor :files
|
15609
|
+
|
15610
|
+
# A token to retrieve next page of results. Pass this value in the
|
15611
|
+
# ListFilesRequest.page_token field in the subsequent call to `ListFiles` method
|
15612
|
+
# to retrieve the next page of results.
|
15613
|
+
# Corresponds to the JSON property `nextPageToken`
|
15614
|
+
# @return [String]
|
15615
|
+
attr_accessor :next_page_token
|
15616
|
+
|
15617
|
+
def initialize(**args)
|
15618
|
+
update!(**args)
|
15619
|
+
end
|
15620
|
+
|
15621
|
+
# Update properties of this object
|
15622
|
+
def update!(**args)
|
15623
|
+
@files = args[:files] if args.key?(:files)
|
15624
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
15625
|
+
end
|
15626
|
+
end
|
15627
|
+
|
14910
15628
|
# Response message for IdentityMappingStoreService.ListIdentityMappingStores
|
14911
15629
|
class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse
|
14912
15630
|
include Google::Apis::Core::Hashable
|
@@ -15066,9 +15784,12 @@ module Google
|
|
15066
15784
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
15067
15785
|
include Google::Apis::Core::Hashable
|
15068
15786
|
|
15069
|
-
# A
|
15070
|
-
# user_pseudo_id
|
15071
|
-
#
|
15787
|
+
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
15788
|
+
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
15789
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: "
|
15790
|
+
# user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
|
15791
|
+
# is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
|
15792
|
+
# "
|
15072
15793
|
# Corresponds to the JSON property `filter`
|
15073
15794
|
# @return [String]
|
15074
15795
|
attr_accessor :filter
|
@@ -15646,6 +16367,11 @@ module Google
|
|
15646
16367
|
# @return [String]
|
15647
16368
|
attr_accessor :data_use_terms_version
|
15648
16369
|
|
16370
|
+
# Parameters for Agentspace.
|
16371
|
+
# Corresponds to the JSON property `saasParams`
|
16372
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams]
|
16373
|
+
attr_accessor :saas_params
|
16374
|
+
|
15649
16375
|
def initialize(**args)
|
15650
16376
|
update!(**args)
|
15651
16377
|
end
|
@@ -15654,6 +16380,28 @@ module Google
|
|
15654
16380
|
def update!(**args)
|
15655
16381
|
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
|
15656
16382
|
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
|
16383
|
+
@saas_params = args[:saas_params] if args.key?(:saas_params)
|
16384
|
+
end
|
16385
|
+
end
|
16386
|
+
|
16387
|
+
# Parameters for Agentspace.
|
16388
|
+
class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams
|
16389
|
+
include Google::Apis::Core::Hashable
|
16390
|
+
|
16391
|
+
# Optional. Set to `true` to specify that caller has read and would like to give
|
16392
|
+
# consent to the [Terms for Agent Space quality of service].
|
16393
|
+
# Corresponds to the JSON property `acceptBizQos`
|
16394
|
+
# @return [Boolean]
|
16395
|
+
attr_accessor :accept_biz_qos
|
16396
|
+
alias_method :accept_biz_qos?, :accept_biz_qos
|
16397
|
+
|
16398
|
+
def initialize(**args)
|
16399
|
+
update!(**args)
|
16400
|
+
end
|
16401
|
+
|
16402
|
+
# Update properties of this object
|
16403
|
+
def update!(**args)
|
16404
|
+
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
15657
16405
|
end
|
15658
16406
|
end
|
15659
16407
|
|
@@ -16244,7 +16992,7 @@ module Google
|
|
16244
16992
|
# @return [String]
|
16245
16993
|
attr_accessor :query
|
16246
16994
|
|
16247
|
-
# Required. A list of records to rank.
|
16995
|
+
# Required. A list of records to rank.
|
16248
16996
|
# Corresponds to the JSON property `records`
|
16249
16997
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord>]
|
16250
16998
|
attr_accessor :records
|
@@ -17816,21 +18564,17 @@ module Google
|
|
17816
18564
|
|
17817
18565
|
# The session resource name. Optional. Session allows users to do multi-turn /
|
17818
18566
|
# search API calls or coordination between /search API calls and /answer API
|
17819
|
-
# calls. Example #1 (multi-turn /search API calls):
|
17820
|
-
#
|
17821
|
-
#
|
17822
|
-
# in
|
17823
|
-
#
|
17824
|
-
#
|
17825
|
-
#
|
17826
|
-
#
|
17827
|
-
#
|
17828
|
-
#
|
17829
|
-
#
|
17830
|
-
# created. Otherwise, users can use the create-session API to create a session
|
17831
|
-
# manually. Multi-turn Search feature is currently at private GA stage. Please
|
17832
|
-
# use v1alpha or v1beta version instead before we launch this feature to public
|
17833
|
-
# GA. Or ask for allowlisting through Google Support team.
|
18567
|
+
# calls. Example #1 (multi-turn /search API calls): Call /search API with the
|
18568
|
+
# session ID generated in the first call. Here, the previous search query gets
|
18569
|
+
# considered in query standing. I.e., if the first query is "How did Alphabet do
|
18570
|
+
# in 2022?" and the current query is "How about 2023?", the current query will
|
18571
|
+
# be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination
|
18572
|
+
# between /search API calls and /answer API calls): Call /answer API with the
|
18573
|
+
# session ID generated in the first call. Here, the answer generation happens in
|
18574
|
+
# the context of the search results from the first search call. Multi-turn
|
18575
|
+
# Search feature is currently at private GA stage. Please use v1alpha or v1beta
|
18576
|
+
# version instead before we launch this feature to public GA. Or ask for
|
18577
|
+
# allowlisting through Google Support team.
|
17834
18578
|
# Corresponds to the JSON property `session`
|
17835
18579
|
# @return [String]
|
17836
18580
|
attr_accessor :session
|
@@ -20695,6 +21439,242 @@ module Google
|
|
20695
21439
|
end
|
20696
21440
|
end
|
20697
21441
|
|
21442
|
+
# Request for the AssistantService.StreamAssist method.
|
21443
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest
|
21444
|
+
include Google::Apis::Core::Hashable
|
21445
|
+
|
21446
|
+
# Assistant generation specification for the request. This allows to override
|
21447
|
+
# the default generation configuration at the engine level.
|
21448
|
+
# Corresponds to the JSON property `generationSpec`
|
21449
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec]
|
21450
|
+
attr_accessor :generation_spec
|
21451
|
+
|
21452
|
+
# Defines a user inputed query.
|
21453
|
+
# Corresponds to the JSON property `query`
|
21454
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQuery]
|
21455
|
+
attr_accessor :query
|
21456
|
+
|
21457
|
+
# Optional. The session to use for the request. If specified, the assistant has
|
21458
|
+
# access to the session history, and the query and the answer are stored there.
|
21459
|
+
# If `-` is specified as the session ID, or it is left empty, then a new session
|
21460
|
+
# is created with an automatically generated ID. Format: `projects/`project`/
|
21461
|
+
# locations/`location`/collections/`collection`/engines/`engine`/sessions/`
|
21462
|
+
# session``
|
21463
|
+
# Corresponds to the JSON property `session`
|
21464
|
+
# @return [String]
|
21465
|
+
attr_accessor :session
|
21466
|
+
|
21467
|
+
# Specification of tools that are used to serve the request.
|
21468
|
+
# Corresponds to the JSON property `toolsSpec`
|
21469
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec]
|
21470
|
+
attr_accessor :tools_spec
|
21471
|
+
|
21472
|
+
# User metadata of the request.
|
21473
|
+
# Corresponds to the JSON property `userMetadata`
|
21474
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistUserMetadata]
|
21475
|
+
attr_accessor :user_metadata
|
21476
|
+
|
21477
|
+
def initialize(**args)
|
21478
|
+
update!(**args)
|
21479
|
+
end
|
21480
|
+
|
21481
|
+
# Update properties of this object
|
21482
|
+
def update!(**args)
|
21483
|
+
@generation_spec = args[:generation_spec] if args.key?(:generation_spec)
|
21484
|
+
@query = args[:query] if args.key?(:query)
|
21485
|
+
@session = args[:session] if args.key?(:session)
|
21486
|
+
@tools_spec = args[:tools_spec] if args.key?(:tools_spec)
|
21487
|
+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
21488
|
+
end
|
21489
|
+
end
|
21490
|
+
|
21491
|
+
# Assistant generation specification for the request. This allows to override
|
21492
|
+
# the default generation configuration at the engine level.
|
21493
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec
|
21494
|
+
include Google::Apis::Core::Hashable
|
21495
|
+
|
21496
|
+
# Optional. The Vertex AI model_id used for the generative model. If not set,
|
21497
|
+
# the default Assistant model will be used.
|
21498
|
+
# Corresponds to the JSON property `modelId`
|
21499
|
+
# @return [String]
|
21500
|
+
attr_accessor :model_id
|
21501
|
+
|
21502
|
+
def initialize(**args)
|
21503
|
+
update!(**args)
|
21504
|
+
end
|
21505
|
+
|
21506
|
+
# Update properties of this object
|
21507
|
+
def update!(**args)
|
21508
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
21509
|
+
end
|
21510
|
+
end
|
21511
|
+
|
21512
|
+
# Specification of tools that are used to serve the request.
|
21513
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec
|
21514
|
+
include Google::Apis::Core::Hashable
|
21515
|
+
|
21516
|
+
# Specification of the image generation tool.
|
21517
|
+
# Corresponds to the JSON property `imageGenerationSpec`
|
21518
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec]
|
21519
|
+
attr_accessor :image_generation_spec
|
21520
|
+
|
21521
|
+
# Specification of the Vertex AI Search tool.
|
21522
|
+
# Corresponds to the JSON property `vertexAiSearchSpec`
|
21523
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec]
|
21524
|
+
attr_accessor :vertex_ai_search_spec
|
21525
|
+
|
21526
|
+
# Specification of the video generation tool.
|
21527
|
+
# Corresponds to the JSON property `videoGenerationSpec`
|
21528
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec]
|
21529
|
+
attr_accessor :video_generation_spec
|
21530
|
+
|
21531
|
+
# Specification of the web grounding tool.
|
21532
|
+
# Corresponds to the JSON property `webGroundingSpec`
|
21533
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec]
|
21534
|
+
attr_accessor :web_grounding_spec
|
21535
|
+
|
21536
|
+
def initialize(**args)
|
21537
|
+
update!(**args)
|
21538
|
+
end
|
21539
|
+
|
21540
|
+
# Update properties of this object
|
21541
|
+
def update!(**args)
|
21542
|
+
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
|
21543
|
+
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
|
21544
|
+
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
|
21545
|
+
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
|
21546
|
+
end
|
21547
|
+
end
|
21548
|
+
|
21549
|
+
# Specification of the image generation tool.
|
21550
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec
|
21551
|
+
include Google::Apis::Core::Hashable
|
21552
|
+
|
21553
|
+
def initialize(**args)
|
21554
|
+
update!(**args)
|
21555
|
+
end
|
21556
|
+
|
21557
|
+
# Update properties of this object
|
21558
|
+
def update!(**args)
|
21559
|
+
end
|
21560
|
+
end
|
21561
|
+
|
21562
|
+
# Specification of the Vertex AI Search tool.
|
21563
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec
|
21564
|
+
include Google::Apis::Core::Hashable
|
21565
|
+
|
21566
|
+
# Optional. Specs defining DataStores to filter on in a search call and
|
21567
|
+
# configurations for those data stores. This is only considered for Engines with
|
21568
|
+
# multiple data stores.
|
21569
|
+
# Corresponds to the JSON property `dataStoreSpecs`
|
21570
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
21571
|
+
attr_accessor :data_store_specs
|
21572
|
+
|
21573
|
+
# Optional. The filter syntax consists of an expression language for
|
21574
|
+
# constructing a predicate from one or more fields of the documents being
|
21575
|
+
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
|
21576
|
+
# an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by
|
21577
|
+
# mapping the LHS filter key to a key property defined in the Vertex AI Search
|
21578
|
+
# backend -- this mapping is defined by the customer in their schema. For
|
21579
|
+
# example a media customer might have a field 'name' in their schema. In this
|
21580
|
+
# case the filter would look like this: filter --> name:'ANY("king kong")' For
|
21581
|
+
# more information about filtering including syntax and filter operators, see [
|
21582
|
+
# Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
|
21583
|
+
# metadata)
|
21584
|
+
# Corresponds to the JSON property `filter`
|
21585
|
+
# @return [String]
|
21586
|
+
attr_accessor :filter
|
21587
|
+
|
21588
|
+
def initialize(**args)
|
21589
|
+
update!(**args)
|
21590
|
+
end
|
21591
|
+
|
21592
|
+
# Update properties of this object
|
21593
|
+
def update!(**args)
|
21594
|
+
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
21595
|
+
@filter = args[:filter] if args.key?(:filter)
|
21596
|
+
end
|
21597
|
+
end
|
21598
|
+
|
21599
|
+
# Specification of the video generation tool.
|
21600
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec
|
21601
|
+
include Google::Apis::Core::Hashable
|
21602
|
+
|
21603
|
+
def initialize(**args)
|
21604
|
+
update!(**args)
|
21605
|
+
end
|
21606
|
+
|
21607
|
+
# Update properties of this object
|
21608
|
+
def update!(**args)
|
21609
|
+
end
|
21610
|
+
end
|
21611
|
+
|
21612
|
+
# Specification of the web grounding tool.
|
21613
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec
|
21614
|
+
include Google::Apis::Core::Hashable
|
21615
|
+
|
21616
|
+
def initialize(**args)
|
21617
|
+
update!(**args)
|
21618
|
+
end
|
21619
|
+
|
21620
|
+
# Update properties of this object
|
21621
|
+
def update!(**args)
|
21622
|
+
end
|
21623
|
+
end
|
21624
|
+
|
21625
|
+
# Response for the AssistantService.StreamAssist method.
|
21626
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse
|
21627
|
+
include Google::Apis::Core::Hashable
|
21628
|
+
|
21629
|
+
# AssistAnswer resource, main part of AssistResponse.
|
21630
|
+
# Corresponds to the JSON property `answer`
|
21631
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
21632
|
+
attr_accessor :answer
|
21633
|
+
|
21634
|
+
# A global unique ID that identifies the current pair of request and stream of
|
21635
|
+
# responses. Used for feedback and support.
|
21636
|
+
# Corresponds to the JSON property `assistToken`
|
21637
|
+
# @return [String]
|
21638
|
+
attr_accessor :assist_token
|
21639
|
+
|
21640
|
+
# Information about the session.
|
21641
|
+
# Corresponds to the JSON property `sessionInfo`
|
21642
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo]
|
21643
|
+
attr_accessor :session_info
|
21644
|
+
|
21645
|
+
def initialize(**args)
|
21646
|
+
update!(**args)
|
21647
|
+
end
|
21648
|
+
|
21649
|
+
# Update properties of this object
|
21650
|
+
def update!(**args)
|
21651
|
+
@answer = args[:answer] if args.key?(:answer)
|
21652
|
+
@assist_token = args[:assist_token] if args.key?(:assist_token)
|
21653
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
21654
|
+
end
|
21655
|
+
end
|
21656
|
+
|
21657
|
+
# Information about the session.
|
21658
|
+
class GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo
|
21659
|
+
include Google::Apis::Core::Hashable
|
21660
|
+
|
21661
|
+
# Name of the newly generated or continued session. Format: `projects/`project`/
|
21662
|
+
# locations/`location`/collections/`collection`/engines/`engine`/sessions/`
|
21663
|
+
# session``.
|
21664
|
+
# Corresponds to the JSON property `session`
|
21665
|
+
# @return [String]
|
21666
|
+
attr_accessor :session
|
21667
|
+
|
21668
|
+
def initialize(**args)
|
21669
|
+
update!(**args)
|
21670
|
+
end
|
21671
|
+
|
21672
|
+
# Update properties of this object
|
21673
|
+
def update!(**args)
|
21674
|
+
@session = args[:session] if args.key?(:session)
|
21675
|
+
end
|
21676
|
+
end
|
21677
|
+
|
20698
21678
|
# Suggestion deny list entry identifying the phrase to block from suggestions
|
20699
21679
|
# and the applied operation for the phrase.
|
20700
21680
|
class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry
|
@@ -21281,27 +22261,84 @@ module Google
|
|
21281
22261
|
|
21282
22262
|
# Update properties of this object
|
21283
22263
|
def update!(**args)
|
21284
|
-
@session = args[:session] if args.key?(:session)
|
21285
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
22264
|
+
@session = args[:session] if args.key?(:session)
|
22265
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
22266
|
+
end
|
22267
|
+
end
|
22268
|
+
|
22269
|
+
# Metadata related to the progress of the SiteSearchEngineService.
|
22270
|
+
# UpdateTargetSite operation. This will be returned by the google.longrunning.
|
22271
|
+
# Operation.metadata field.
|
22272
|
+
class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata
|
22273
|
+
include Google::Apis::Core::Hashable
|
22274
|
+
|
22275
|
+
# Operation create time.
|
22276
|
+
# Corresponds to the JSON property `createTime`
|
22277
|
+
# @return [String]
|
22278
|
+
attr_accessor :create_time
|
22279
|
+
|
22280
|
+
# Operation last update time. If the operation is done, this is also the finish
|
22281
|
+
# time.
|
22282
|
+
# Corresponds to the JSON property `updateTime`
|
22283
|
+
# @return [String]
|
22284
|
+
attr_accessor :update_time
|
22285
|
+
|
22286
|
+
def initialize(**args)
|
22287
|
+
update!(**args)
|
22288
|
+
end
|
22289
|
+
|
22290
|
+
# Update properties of this object
|
22291
|
+
def update!(**args)
|
22292
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
22293
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
22294
|
+
end
|
22295
|
+
end
|
22296
|
+
|
22297
|
+
# Request for the AssistantService.UploadSessionFile method.
|
22298
|
+
class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest
|
22299
|
+
include Google::Apis::Core::Hashable
|
22300
|
+
|
22301
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
22302
|
+
# Corresponds to the JSON property `blob`
|
22303
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
|
22304
|
+
attr_accessor :blob
|
22305
|
+
|
22306
|
+
# Extra information added to operations that support Scotty media requests.
|
22307
|
+
# Corresponds to the JSON property `mediaRequestInfo`
|
22308
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo]
|
22309
|
+
attr_accessor :media_request_info
|
22310
|
+
|
22311
|
+
def initialize(**args)
|
22312
|
+
update!(**args)
|
22313
|
+
end
|
22314
|
+
|
22315
|
+
# Update properties of this object
|
22316
|
+
def update!(**args)
|
22317
|
+
@blob = args[:blob] if args.key?(:blob)
|
22318
|
+
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
|
21286
22319
|
end
|
21287
22320
|
end
|
21288
22321
|
|
21289
|
-
#
|
21290
|
-
|
21291
|
-
# Operation.metadata field.
|
21292
|
-
class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata
|
22322
|
+
# Response for the AssistantService.UploadSessionFile method.
|
22323
|
+
class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse
|
21293
22324
|
include Google::Apis::Core::Hashable
|
21294
22325
|
|
21295
|
-
#
|
21296
|
-
# Corresponds to the JSON property `
|
22326
|
+
# The ID of the uploaded file.
|
22327
|
+
# Corresponds to the JSON property `fileId`
|
21297
22328
|
# @return [String]
|
21298
|
-
attr_accessor :
|
22329
|
+
attr_accessor :file_id
|
21299
22330
|
|
21300
|
-
#
|
21301
|
-
#
|
21302
|
-
#
|
21303
|
-
#
|
21304
|
-
|
22331
|
+
# This message is for backends to pass their scotty media specific fields to ESF.
|
22332
|
+
# Backend will include this in their response message to ESF. Example:
|
22333
|
+
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
|
22334
|
+
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
|
22335
|
+
# will include apiserving.MediaResponseInfo to tell ESF about data like
|
22336
|
+
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
|
22337
|
+
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
|
22338
|
+
# media_response_info = 2 `
|
22339
|
+
# Corresponds to the JSON property `mediaResponseInfo`
|
22340
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaResponseInfo]
|
22341
|
+
attr_accessor :media_response_info
|
21305
22342
|
|
21306
22343
|
def initialize(**args)
|
21307
22344
|
update!(**args)
|
@@ -21309,8 +22346,8 @@ module Google
|
|
21309
22346
|
|
21310
22347
|
# Update properties of this object
|
21311
22348
|
def update!(**args)
|
21312
|
-
@
|
21313
|
-
@
|
22349
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
22350
|
+
@media_response_info = args[:media_response_info] if args.key?(:media_response_info)
|
21314
22351
|
end
|
21315
22352
|
end
|
21316
22353
|
|
@@ -21651,6 +22688,67 @@ module Google
|
|
21651
22688
|
end
|
21652
22689
|
end
|
21653
22690
|
|
22691
|
+
# Standard characteristics of a video media view.
|
22692
|
+
class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics
|
22693
|
+
include Google::Apis::Core::Hashable
|
22694
|
+
|
22695
|
+
# Output only. Bitrate of the audio in kbps.
|
22696
|
+
# Corresponds to the JSON property `audioBitrateKbps`
|
22697
|
+
# @return [Fixnum]
|
22698
|
+
attr_accessor :audio_bitrate_kbps
|
22699
|
+
|
22700
|
+
# Output only. Audio codecs used in the video.
|
22701
|
+
# Corresponds to the JSON property `audioCodecs`
|
22702
|
+
# @return [Array<String>]
|
22703
|
+
attr_accessor :audio_codecs
|
22704
|
+
|
22705
|
+
# Output only. Video duration.
|
22706
|
+
# Corresponds to the JSON property `duration`
|
22707
|
+
# @return [String]
|
22708
|
+
attr_accessor :duration
|
22709
|
+
|
22710
|
+
# Output only. Frame rate (frames per second).
|
22711
|
+
# Corresponds to the JSON property `frameRate`
|
22712
|
+
# @return [Float]
|
22713
|
+
attr_accessor :frame_rate
|
22714
|
+
|
22715
|
+
# Output only. Video height in pixels.
|
22716
|
+
# Corresponds to the JSON property `height`
|
22717
|
+
# @return [Fixnum]
|
22718
|
+
attr_accessor :height
|
22719
|
+
|
22720
|
+
# Output only. Bitrate of the video in kbps.
|
22721
|
+
# Corresponds to the JSON property `videoBitrateKbps`
|
22722
|
+
# @return [Fixnum]
|
22723
|
+
attr_accessor :video_bitrate_kbps
|
22724
|
+
|
22725
|
+
# Output only. Video codecs used in the video.
|
22726
|
+
# Corresponds to the JSON property `videoCodecs`
|
22727
|
+
# @return [Array<String>]
|
22728
|
+
attr_accessor :video_codecs
|
22729
|
+
|
22730
|
+
# Output only. Video width in pixels.
|
22731
|
+
# Corresponds to the JSON property `width`
|
22732
|
+
# @return [Fixnum]
|
22733
|
+
attr_accessor :width
|
22734
|
+
|
22735
|
+
def initialize(**args)
|
22736
|
+
update!(**args)
|
22737
|
+
end
|
22738
|
+
|
22739
|
+
# Update properties of this object
|
22740
|
+
def update!(**args)
|
22741
|
+
@audio_bitrate_kbps = args[:audio_bitrate_kbps] if args.key?(:audio_bitrate_kbps)
|
22742
|
+
@audio_codecs = args[:audio_codecs] if args.key?(:audio_codecs)
|
22743
|
+
@duration = args[:duration] if args.key?(:duration)
|
22744
|
+
@frame_rate = args[:frame_rate] if args.key?(:frame_rate)
|
22745
|
+
@height = args[:height] if args.key?(:height)
|
22746
|
+
@video_bitrate_kbps = args[:video_bitrate_kbps] if args.key?(:video_bitrate_kbps)
|
22747
|
+
@video_codecs = args[:video_codecs] if args.key?(:video_codecs)
|
22748
|
+
@width = args[:width] if args.key?(:width)
|
22749
|
+
end
|
22750
|
+
end
|
22751
|
+
|
21654
22752
|
# WidgetConfig captures configs at the Widget level.
|
21655
22753
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
21656
22754
|
include Google::Apis::Core::Hashable
|
@@ -22393,7 +23491,8 @@ module Google
|
|
22393
23491
|
# Output only. Feature config for the engine to opt in or opt out of features.
|
22394
23492
|
# Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery`
|
22395
23493
|
# * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-
|
22396
|
-
# chart` * `bi-directional-audio` * `feedback` * `session-sharing`
|
23494
|
+
# chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
23495
|
+
# personalization-memory` - Enables personalization based on user preferences.
|
22397
23496
|
# Corresponds to the JSON property `features`
|
22398
23497
|
# @return [Hash<String,String>]
|
22399
23498
|
attr_accessor :features
|
@@ -22711,14 +23810,14 @@ module Google
|
|
22711
23810
|
attr_accessor :is_default
|
22712
23811
|
alias_method :is_default?, :is_default
|
22713
23812
|
|
22714
|
-
# KMS key resource name which will be used to encrypt resources `
|
22715
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
23813
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
23814
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
22716
23815
|
# Corresponds to the JSON property `kmsKey`
|
22717
23816
|
# @return [String]
|
22718
23817
|
attr_accessor :kms_key
|
22719
23818
|
|
22720
|
-
# KMS key version resource name which will be used to encrypt
|
22721
|
-
# cryptoKeyVersions/`keyVersion``.
|
23819
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
23820
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
22722
23821
|
# Corresponds to the JSON property `kmsKeyVersion`
|
22723
23822
|
# @return [String]
|
22724
23823
|
attr_accessor :kms_key_version
|
@@ -23974,6 +25073,13 @@ module Google
|
|
23974
25073
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
23975
25074
|
include Google::Apis::Core::Hashable
|
23976
25075
|
|
25076
|
+
# Optional. If true, the processed document will be made available for the
|
25077
|
+
# GetProcessedDocument API.
|
25078
|
+
# Corresponds to the JSON property `enableGetProcessedDocument`
|
25079
|
+
# @return [Boolean]
|
25080
|
+
attr_accessor :enable_get_processed_document
|
25081
|
+
alias_method :enable_get_processed_document?, :enable_get_processed_document
|
25082
|
+
|
23977
25083
|
# Optional. If true, the LLM based annotation is added to the image during
|
23978
25084
|
# parsing.
|
23979
25085
|
# Corresponds to the JSON property `enableImageAnnotation`
|
@@ -24015,6 +25121,7 @@ module Google
|
|
24015
25121
|
|
24016
25122
|
# Update properties of this object
|
24017
25123
|
def update!(**args)
|
25124
|
+
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
24018
25125
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
24019
25126
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
24020
25127
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
@@ -24144,7 +25251,8 @@ module Google
|
|
24144
25251
|
# Supported keys: * `*`: all features, if it's present, all other feature state
|
24145
25252
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
24146
25253
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
24147
|
-
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing`
|
25254
|
+
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
25255
|
+
# personalization-memory` - Enables personalization based on user preferences.
|
24148
25256
|
# Corresponds to the JSON property `features`
|
24149
25257
|
# @return [Hash<String,String>]
|
24150
25258
|
attr_accessor :features
|
@@ -25985,21 +27093,17 @@ module Google
|
|
25985
27093
|
|
25986
27094
|
# The session resource name. Optional. Session allows users to do multi-turn /
|
25987
27095
|
# search API calls or coordination between /search API calls and /answer API
|
25988
|
-
# calls. Example #1 (multi-turn /search API calls):
|
25989
|
-
#
|
25990
|
-
#
|
25991
|
-
# in
|
25992
|
-
#
|
25993
|
-
#
|
25994
|
-
#
|
25995
|
-
#
|
25996
|
-
#
|
25997
|
-
#
|
25998
|
-
#
|
25999
|
-
# created. Otherwise, users can use the create-session API to create a session
|
26000
|
-
# manually. Multi-turn Search feature is currently at private GA stage. Please
|
26001
|
-
# use v1alpha or v1beta version instead before we launch this feature to public
|
26002
|
-
# GA. Or ask for allowlisting through Google Support team.
|
27096
|
+
# calls. Example #1 (multi-turn /search API calls): Call /search API with the
|
27097
|
+
# session ID generated in the first call. Here, the previous search query gets
|
27098
|
+
# considered in query standing. I.e., if the first query is "How did Alphabet do
|
27099
|
+
# in 2022?" and the current query is "How about 2023?", the current query will
|
27100
|
+
# be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination
|
27101
|
+
# between /search API calls and /answer API calls): Call /answer API with the
|
27102
|
+
# session ID generated in the first call. Here, the answer generation happens in
|
27103
|
+
# the context of the search results from the first search call. Multi-turn
|
27104
|
+
# Search feature is currently at private GA stage. Please use v1alpha or v1beta
|
27105
|
+
# version instead before we launch this feature to public GA. Or ask for
|
27106
|
+
# allowlisting through Google Support team.
|
26003
27107
|
# Corresponds to the JSON property `session`
|
26004
27108
|
# @return [String]
|
26005
27109
|
attr_accessor :session
|
@@ -27635,6 +28739,220 @@ module Google
|
|
27635
28739
|
end
|
27636
28740
|
end
|
27637
28741
|
|
28742
|
+
# Metadata about an agentspace source.
|
28743
|
+
class GoogleCloudNotebooklmV1alphaAgentspaceMetadata
|
28744
|
+
include Google::Apis::Core::Hashable
|
28745
|
+
|
28746
|
+
# Output only. The full document name in Agentspace.
|
28747
|
+
# Corresponds to the JSON property `documentName`
|
28748
|
+
# @return [String]
|
28749
|
+
attr_accessor :document_name
|
28750
|
+
|
28751
|
+
# Output only. The title of the document.
|
28752
|
+
# Corresponds to the JSON property `documentTitle`
|
28753
|
+
# @return [String]
|
28754
|
+
attr_accessor :document_title
|
28755
|
+
|
28756
|
+
def initialize(**args)
|
28757
|
+
update!(**args)
|
28758
|
+
end
|
28759
|
+
|
28760
|
+
# Update properties of this object
|
28761
|
+
def update!(**args)
|
28762
|
+
@document_name = args[:document_name] if args.key?(:document_name)
|
28763
|
+
@document_title = args[:document_title] if args.key?(:document_title)
|
28764
|
+
end
|
28765
|
+
end
|
28766
|
+
|
28767
|
+
# Request for SourceService.BatchCreateSources method.
|
28768
|
+
class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest
|
28769
|
+
include Google::Apis::Core::Hashable
|
28770
|
+
|
28771
|
+
# Required. The UserContents to be uploaded.
|
28772
|
+
# Corresponds to the JSON property `userContents`
|
28773
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContent>]
|
28774
|
+
attr_accessor :user_contents
|
28775
|
+
|
28776
|
+
def initialize(**args)
|
28777
|
+
update!(**args)
|
28778
|
+
end
|
28779
|
+
|
28780
|
+
# Update properties of this object
|
28781
|
+
def update!(**args)
|
28782
|
+
@user_contents = args[:user_contents] if args.key?(:user_contents)
|
28783
|
+
end
|
28784
|
+
end
|
28785
|
+
|
28786
|
+
# Response for SourceService.BatchCreateSources method.
|
28787
|
+
class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse
|
28788
|
+
include Google::Apis::Core::Hashable
|
28789
|
+
|
28790
|
+
# The Sources.
|
28791
|
+
# Corresponds to the JSON property `sources`
|
28792
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource>]
|
28793
|
+
attr_accessor :sources
|
28794
|
+
|
28795
|
+
def initialize(**args)
|
28796
|
+
update!(**args)
|
28797
|
+
end
|
28798
|
+
|
28799
|
+
# Update properties of this object
|
28800
|
+
def update!(**args)
|
28801
|
+
@sources = args[:sources] if args.key?(:sources)
|
28802
|
+
end
|
28803
|
+
end
|
28804
|
+
|
28805
|
+
# Response for NotebookService.ListRecentlyViewedNotebooks method.
|
28806
|
+
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
28807
|
+
include Google::Apis::Core::Hashable
|
28808
|
+
|
28809
|
+
# The page token, provide this to retrieve the subsequent page.
|
28810
|
+
# Corresponds to the JSON property `nextPageToken`
|
28811
|
+
# @return [String]
|
28812
|
+
attr_accessor :next_page_token
|
28813
|
+
|
28814
|
+
# The list of recently viewed notebooks.
|
28815
|
+
# Corresponds to the JSON property `notebooks`
|
28816
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook>]
|
28817
|
+
attr_accessor :notebooks
|
28818
|
+
|
28819
|
+
def initialize(**args)
|
28820
|
+
update!(**args)
|
28821
|
+
end
|
28822
|
+
|
28823
|
+
# Update properties of this object
|
28824
|
+
def update!(**args)
|
28825
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
28826
|
+
@notebooks = args[:notebooks] if args.key?(:notebooks)
|
28827
|
+
end
|
28828
|
+
end
|
28829
|
+
|
28830
|
+
# Notebook is a resource where users can store their content (as sources) and
|
28831
|
+
# interacts with the content.
|
28832
|
+
class GoogleCloudNotebooklmV1alphaNotebook
|
28833
|
+
include Google::Apis::Core::Hashable
|
28834
|
+
|
28835
|
+
# Output only. The emoji of the notebook.
|
28836
|
+
# Corresponds to the JSON property `emoji`
|
28837
|
+
# @return [String]
|
28838
|
+
attr_accessor :emoji
|
28839
|
+
|
28840
|
+
# Metadata for a notebook.
|
28841
|
+
# Corresponds to the JSON property `metadata`
|
28842
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata]
|
28843
|
+
attr_accessor :metadata
|
28844
|
+
|
28845
|
+
# Identifier. The identifier of the notebook. Format: `projects/`project`/
|
28846
|
+
# locations/`location`/notebooks/`notebook_id``. This field must be a UTF-8
|
28847
|
+
# encoded string.
|
28848
|
+
# Corresponds to the JSON property `name`
|
28849
|
+
# @return [String]
|
28850
|
+
attr_accessor :name
|
28851
|
+
|
28852
|
+
# Optional. Notebook id, which is the last segment of the notebook's resource
|
28853
|
+
# name. This is to make it similar with notebooklm API.
|
28854
|
+
# Corresponds to the JSON property `notebookId`
|
28855
|
+
# @return [String]
|
28856
|
+
attr_accessor :notebook_id
|
28857
|
+
|
28858
|
+
# Optional. The title of the notebook.
|
28859
|
+
# Corresponds to the JSON property `title`
|
28860
|
+
# @return [String]
|
28861
|
+
attr_accessor :title
|
28862
|
+
|
28863
|
+
def initialize(**args)
|
28864
|
+
update!(**args)
|
28865
|
+
end
|
28866
|
+
|
28867
|
+
# Update properties of this object
|
28868
|
+
def update!(**args)
|
28869
|
+
@emoji = args[:emoji] if args.key?(:emoji)
|
28870
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
28871
|
+
@name = args[:name] if args.key?(:name)
|
28872
|
+
@notebook_id = args[:notebook_id] if args.key?(:notebook_id)
|
28873
|
+
@title = args[:title] if args.key?(:title)
|
28874
|
+
end
|
28875
|
+
end
|
28876
|
+
|
28877
|
+
# Metadata for a notebook.
|
28878
|
+
class GoogleCloudNotebooklmV1alphaNotebookMetadata
|
28879
|
+
include Google::Apis::Core::Hashable
|
28880
|
+
|
28881
|
+
# The time at which this project was created.
|
28882
|
+
# Corresponds to the JSON property `createTime`
|
28883
|
+
# @return [String]
|
28884
|
+
attr_accessor :create_time
|
28885
|
+
|
28886
|
+
# True if the project is shareable.
|
28887
|
+
# Corresponds to the JSON property `isShareable`
|
28888
|
+
# @return [Boolean]
|
28889
|
+
attr_accessor :is_shareable
|
28890
|
+
alias_method :is_shareable?, :is_shareable
|
28891
|
+
|
28892
|
+
# True if this project is currently shared with other people, false otherwise.
|
28893
|
+
# Corresponds to the JSON property `isShared`
|
28894
|
+
# @return [Boolean]
|
28895
|
+
attr_accessor :is_shared
|
28896
|
+
alias_method :is_shared?, :is_shared
|
28897
|
+
|
28898
|
+
# A timestamp indicating the time that the current in session user has last
|
28899
|
+
# viewed the project.
|
28900
|
+
# Corresponds to the JSON property `lastViewed`
|
28901
|
+
# @return [String]
|
28902
|
+
attr_accessor :last_viewed
|
28903
|
+
|
28904
|
+
def initialize(**args)
|
28905
|
+
update!(**args)
|
28906
|
+
end
|
28907
|
+
|
28908
|
+
# Update properties of this object
|
28909
|
+
def update!(**args)
|
28910
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
28911
|
+
@is_shareable = args[:is_shareable] if args.key?(:is_shareable)
|
28912
|
+
@is_shared = args[:is_shared] if args.key?(:is_shared)
|
28913
|
+
@last_viewed = args[:last_viewed] if args.key?(:last_viewed)
|
28914
|
+
end
|
28915
|
+
end
|
28916
|
+
|
28917
|
+
# Source represents a single source of content.
|
28918
|
+
class GoogleCloudNotebooklmV1alphaSource
|
28919
|
+
include Google::Apis::Core::Hashable
|
28920
|
+
|
28921
|
+
# Represents the metadata of a source and some additional information.
|
28922
|
+
# Corresponds to the JSON property `metadata`
|
28923
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceMetadata]
|
28924
|
+
attr_accessor :metadata
|
28925
|
+
|
28926
|
+
# Identifier. The full resource name of the source. Format: `projects/`project`/
|
28927
|
+
# locations/`location`/notebooks/`notebook`/sources/`source_id``. This field
|
28928
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
28929
|
+
# Corresponds to the JSON property `name`
|
28930
|
+
# @return [String]
|
28931
|
+
attr_accessor :name
|
28932
|
+
|
28933
|
+
# SourceId is the last segment of the source's resource name.
|
28934
|
+
# Corresponds to the JSON property `sourceId`
|
28935
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceId]
|
28936
|
+
attr_accessor :source_id
|
28937
|
+
|
28938
|
+
# Optional. Title of the source.
|
28939
|
+
# Corresponds to the JSON property `title`
|
28940
|
+
# @return [String]
|
28941
|
+
attr_accessor :title
|
28942
|
+
|
28943
|
+
def initialize(**args)
|
28944
|
+
update!(**args)
|
28945
|
+
end
|
28946
|
+
|
28947
|
+
# Update properties of this object
|
28948
|
+
def update!(**args)
|
28949
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
28950
|
+
@name = args[:name] if args.key?(:name)
|
28951
|
+
@source_id = args[:source_id] if args.key?(:source_id)
|
28952
|
+
@title = args[:title] if args.key?(:title)
|
28953
|
+
end
|
28954
|
+
end
|
28955
|
+
|
27638
28956
|
# SourceId is the last segment of the source's resource name.
|
27639
28957
|
class GoogleCloudNotebooklmV1alphaSourceId
|
27640
28958
|
include Google::Apis::Core::Hashable
|
@@ -27654,6 +28972,43 @@ module Google
|
|
27654
28972
|
end
|
27655
28973
|
end
|
27656
28974
|
|
28975
|
+
# Represents the metadata of a source and some additional information.
|
28976
|
+
class GoogleCloudNotebooklmV1alphaSourceMetadata
|
28977
|
+
include Google::Apis::Core::Hashable
|
28978
|
+
|
28979
|
+
# Metadata about an agentspace source.
|
28980
|
+
# Corresponds to the JSON property `agentspaceMetadata`
|
28981
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAgentspaceMetadata]
|
28982
|
+
attr_accessor :agentspace_metadata
|
28983
|
+
|
28984
|
+
# The timestamp the source was added.
|
28985
|
+
# Corresponds to the JSON property `sourceAddedTimestamp`
|
28986
|
+
# @return [String]
|
28987
|
+
attr_accessor :source_added_timestamp
|
28988
|
+
|
28989
|
+
# The number of tokens in the source.
|
28990
|
+
# Corresponds to the JSON property `tokenCount`
|
28991
|
+
# @return [Fixnum]
|
28992
|
+
attr_accessor :token_count
|
28993
|
+
|
28994
|
+
# The word count of the source.
|
28995
|
+
# Corresponds to the JSON property `wordCount`
|
28996
|
+
# @return [Fixnum]
|
28997
|
+
attr_accessor :word_count
|
28998
|
+
|
28999
|
+
def initialize(**args)
|
29000
|
+
update!(**args)
|
29001
|
+
end
|
29002
|
+
|
29003
|
+
# Update properties of this object
|
29004
|
+
def update!(**args)
|
29005
|
+
@agentspace_metadata = args[:agentspace_metadata] if args.key?(:agentspace_metadata)
|
29006
|
+
@source_added_timestamp = args[:source_added_timestamp] if args.key?(:source_added_timestamp)
|
29007
|
+
@token_count = args[:token_count] if args.key?(:token_count)
|
29008
|
+
@word_count = args[:word_count] if args.key?(:word_count)
|
29009
|
+
end
|
29010
|
+
end
|
29011
|
+
|
27657
29012
|
# Request for the SourceService.UploadSourceFile method.
|
27658
29013
|
class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest
|
27659
29014
|
include Google::Apis::Core::Hashable
|
@@ -27718,6 +29073,56 @@ module Google
|
|
27718
29073
|
end
|
27719
29074
|
end
|
27720
29075
|
|
29076
|
+
# The "Content" messages refer to data the user wants to upload.
|
29077
|
+
class GoogleCloudNotebooklmV1alphaUserContent
|
29078
|
+
include Google::Apis::Core::Hashable
|
29079
|
+
|
29080
|
+
# Agentspace content uploaded as source.
|
29081
|
+
# Corresponds to the JSON property `agentspaceContent`
|
29082
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent]
|
29083
|
+
attr_accessor :agentspace_content
|
29084
|
+
|
29085
|
+
def initialize(**args)
|
29086
|
+
update!(**args)
|
29087
|
+
end
|
29088
|
+
|
29089
|
+
# Update properties of this object
|
29090
|
+
def update!(**args)
|
29091
|
+
@agentspace_content = args[:agentspace_content] if args.key?(:agentspace_content)
|
29092
|
+
end
|
29093
|
+
end
|
29094
|
+
|
29095
|
+
# Agentspace content uploaded as source.
|
29096
|
+
class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent
|
29097
|
+
include Google::Apis::Core::Hashable
|
29098
|
+
|
29099
|
+
# Optional. The full document name in Agentspace.
|
29100
|
+
# Corresponds to the JSON property `documentName`
|
29101
|
+
# @return [String]
|
29102
|
+
attr_accessor :document_name
|
29103
|
+
|
29104
|
+
# Optional. Engine to verify the permission of the document.
|
29105
|
+
# Corresponds to the JSON property `engineName`
|
29106
|
+
# @return [String]
|
29107
|
+
attr_accessor :engine_name
|
29108
|
+
|
29109
|
+
# Optional. The full idea name for IdeaForge.
|
29110
|
+
# Corresponds to the JSON property `ideaforgeIdeaName`
|
29111
|
+
# @return [String]
|
29112
|
+
attr_accessor :ideaforge_idea_name
|
29113
|
+
|
29114
|
+
def initialize(**args)
|
29115
|
+
update!(**args)
|
29116
|
+
end
|
29117
|
+
|
29118
|
+
# Update properties of this object
|
29119
|
+
def update!(**args)
|
29120
|
+
@document_name = args[:document_name] if args.key?(:document_name)
|
29121
|
+
@engine_name = args[:engine_name] if args.key?(:engine_name)
|
29122
|
+
@ideaforge_idea_name = args[:ideaforge_idea_name] if args.key?(:ideaforge_idea_name)
|
29123
|
+
end
|
29124
|
+
end
|
29125
|
+
|
27721
29126
|
# The request message for Operations.CancelOperation.
|
27722
29127
|
class GoogleLongrunningCancelOperationRequest
|
27723
29128
|
include Google::Apis::Core::Hashable
|