@@ -867,6 +867,28 @@ def update!(**args)
867
867
end
868
868
end
869
869
870
+ # Discovery Engine Assistant resource.
871
+ class GoogleCloudDiscoveryengineV1Assistant
872
+ include Google::Apis::Core::Hashable
873
+
874
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
875
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
876
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
877
+ # characters.
878
+ # Corresponds to the JSON property `name`
879
+ # @return [String]
880
+ attr_accessor :name
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @name = args[:name] if args.key?(:name)
889
+ end
890
+ end
891
+
870
892
# Metadata related to the progress of the SiteSearchEngineService.
871
893
# BatchCreateTargetSites operation. This will be returned by the google.
872
894
# longrunning.Operation.metadata field.
@@ -989,14 +1011,14 @@ class GoogleCloudDiscoveryengineV1CmekConfig
989
1011
attr_accessor :is_default
990
1012
alias_method :is_default?, :is_default
991
1013
992
- # KMS key resource name which will be used to encrypt resources `projects/ `
993
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
1014
+ # Required. KMS key resource name which will be used to encrypt resources `
1015
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
994
1016
# Corresponds to the JSON property `kmsKey`
995
1017
# @return [String]
996
1018
attr_accessor :kms_key
997
1019
998
- # KMS key version resource name which will be used to encrypt resources `/
999
- # cryptoKeyVersions/`keyVersion``.
1020
+ # Output only. KMS key version resource name which will be used to encrypt
1021
+ # resources `/ cryptoKeyVersions/`keyVersion``.
1000
1022
# Corresponds to the JSON property `kmsKeyVersion`
1001
1023
# @return [String]
1002
1024
attr_accessor :kms_key_version
@@ -5617,14 +5639,14 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig
5617
5639
attr_accessor :is_default
5618
5640
alias_method :is_default?, :is_default
5619
5641
5620
- # KMS key resource name which will be used to encrypt resources `projects/ `
5621
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
5642
+ # Required. KMS key resource name which will be used to encrypt resources `
5643
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
5622
5644
# Corresponds to the JSON property `kmsKey`
5623
5645
# @return [String]
5624
5646
attr_accessor :kms_key
5625
5647
5626
- # KMS key version resource name which will be used to encrypt resources `/
5627
- # cryptoKeyVersions/`keyVersion``.
5648
+ # Output only. KMS key version resource name which will be used to encrypt
5649
+ # resources `/ cryptoKeyVersions/`keyVersion``.
5628
5650
# Corresponds to the JSON property `kmsKeyVersion`
5629
5651
# @return [String]
5630
5652
attr_accessor :kms_key_version
@@ -9359,9 +9381,12 @@ def update!(**args)
9359
9381
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
9360
9382
include Google::Apis::Core::Hashable
9361
9383
9362
- # A filter to apply on the list results. The supported features are:
9363
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
9364
- # true"
9384
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
9385
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
9386
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
9387
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
9388
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
9389
+ # "
9365
9390
# Corresponds to the JSON property `filter`
9366
9391
# @return [String]
9367
9392
attr_accessor :filter
@@ -14820,6 +14845,14 @@ class GoogleCloudDiscoveryengineV1betaAssistAnswer
14820
14845
# @return [Array<String>]
14821
14846
attr_accessor :assist_skipped_reasons
14822
14847
14848
+ # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
14849
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
14850
+ # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
14851
+ # encoded string with a length limit of 1024 characters.
14852
+ # Corresponds to the JSON property `name`
14853
+ # @return [String]
14854
+ attr_accessor :name
14855
+
14823
14856
# Replies of the assistant.
14824
14857
# Corresponds to the JSON property `replies`
14825
14858
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply>]
@@ -14837,6 +14870,7 @@ def initialize(**args)
14837
14870
# Update properties of this object
14838
14871
def update!(**args)
14839
14872
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
14873
+ @name = args[:name] if args.key?(:name)
14840
14874
@replies = args[:replies] if args.key?(:replies)
14841
14875
@state = args[:state] if args.key?(:state)
14842
14876
end
@@ -14890,6 +14924,28 @@ def update!(**args)
14890
14924
end
14891
14925
end
14892
14926
14927
+ # Discovery Engine Assistant resource.
14928
+ class GoogleCloudDiscoveryengineV1betaAssistant
14929
+ include Google::Apis::Core::Hashable
14930
+
14931
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
14932
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
14933
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
14934
+ # characters.
14935
+ # Corresponds to the JSON property `name`
14936
+ # @return [String]
14937
+ attr_accessor :name
14938
+
14939
+ def initialize(**args)
14940
+ update!(**args)
14941
+ end
14942
+
14943
+ # Update properties of this object
14944
+ def update!(**args)
14945
+ @name = args[:name] if args.key?(:name)
14946
+ end
14947
+ end
14948
+
14893
14949
# Multi-modal content.
14894
14950
class GoogleCloudDiscoveryengineV1betaAssistantContent
14895
14951
include Google::Apis::Core::Hashable
@@ -16228,14 +16284,14 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig
16228
16284
attr_accessor :is_default
16229
16285
alias_method :is_default?, :is_default
16230
16286
16231
- # KMS key resource name which will be used to encrypt resources `projects/ `
16232
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
16287
+ # Required. KMS key resource name which will be used to encrypt resources `
16288
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
16233
16289
# Corresponds to the JSON property `kmsKey`
16234
16290
# @return [String]
16235
16291
attr_accessor :kms_key
16236
16292
16237
- # KMS key version resource name which will be used to encrypt resources `/
16238
- # cryptoKeyVersions/`keyVersion``.
16293
+ # Output only. KMS key version resource name which will be used to encrypt
16294
+ # resources `/ cryptoKeyVersions/`keyVersion``.
16239
16295
# Corresponds to the JSON property `kmsKeyVersion`
16240
16296
# @return [String]
16241
16297
attr_accessor :kms_key_version
@@ -21215,6 +21271,11 @@ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest
21215
21271
# @return [String]
21216
21272
attr_accessor :data_use_terms_version
21217
21273
21274
+ # Parameters for Agentspace.
21275
+ # Corresponds to the JSON property `saasParams`
21276
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams]
21277
+ attr_accessor :saas_params
21278
+
21218
21279
def initialize(**args)
21219
21280
update!(**args)
21220
21281
end
@@ -21223,6 +21284,28 @@ def initialize(**args)
21223
21284
def update!(**args)
21224
21285
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
21225
21286
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
21287
+ @saas_params = args[:saas_params] if args.key?(:saas_params)
21288
+ end
21289
+ end
21290
+
21291
+ # Parameters for Agentspace.
21292
+ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
21293
+ include Google::Apis::Core::Hashable
21294
+
21295
+ # Optional. Set to `true` to specify that caller has read and would like to give
21296
+ # consent to the [Terms for Agent Space quality of service].
21297
+ # Corresponds to the JSON property `acceptBizQos`
21298
+ # @return [Boolean]
21299
+ attr_accessor :accept_biz_qos
21300
+ alias_method :accept_biz_qos?, :accept_biz_qos
21301
+
21302
+ def initialize(**args)
21303
+ update!(**args)
21304
+ end
21305
+
21306
+ # Update properties of this object
21307
+ def update!(**args)
21308
+ @accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
21226
21309
end
21227
21310
end
21228
21311
@@ -21700,7 +21783,7 @@ class GoogleCloudDiscoveryengineV1betaRankRequest
21700
21783
# @return [String]
21701
21784
attr_accessor :query
21702
21785
21703
- # Required. A list of records to rank. At most 200 records to rank.
21786
+ # Required. A list of records to rank.
21704
21787
# Corresponds to the JSON property `records`
21705
21788
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>]
21706
21789
attr_accessor :records
@@ -25556,12 +25639,6 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
25556
25639
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec]
25557
25640
attr_accessor :image_generation_spec
25558
25641
25559
- # Optional. The name of the tool registry to use. Format: `projects/`project`/
25560
- # locations/`location`/toolRegistries/`tool_registry``
25561
- # Corresponds to the JSON property `toolRegistry`
25562
- # @return [String]
25563
- attr_accessor :tool_registry
25564
-
25565
25642
# Specification of the Vertex AI Search tool.
25566
25643
# Corresponds to the JSON property `vertexAiSearchSpec`
25567
25644
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec]
@@ -25584,7 +25661,6 @@ def initialize(**args)
25584
25661
# Update properties of this object
25585
25662
def update!(**args)
25586
25663
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
25587
- @tool_registry = args[:tool_registry] if args.key?(:tool_registry)
25588
25664
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
25589
25665
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
25590
25666
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
@@ -25615,14 +25691,6 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearch
25615
25691
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
25616
25692
attr_accessor :data_store_specs
25617
25693
25618
- # Optional. Deprecated. Please refrain from using this field. Whether the Vertex
25619
- # AI Search tool is disabled. Default value is false, the tool is enabled by
25620
- # default.
25621
- # Corresponds to the JSON property `disabled`
25622
- # @return [Boolean]
25623
- attr_accessor :disabled
25624
- alias_method :disabled?, :disabled
25625
-
25626
25694
# Optional. The filter syntax consists of an expression language for
25627
25695
# constructing a predicate from one or more fields of the documents being
25628
25696
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
@@ -25645,7 +25713,6 @@ def initialize(**args)
25645
25713
# Update properties of this object
25646
25714
def update!(**args)
25647
25715
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
25648
- @disabled = args[:disabled] if args.key?(:disabled)
25649
25716
@filter = args[:filter] if args.key?(:filter)
25650
25717
end
25651
25718
end
@@ -25667,20 +25734,12 @@ def update!(**args)
25667
25734
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
25668
25735
include Google::Apis::Core::Hashable
25669
25736
25670
- # Optional. Deprecated. Please refrain from using this field. Whether the web
25671
- # grounding tool is enabled.
25672
- # Corresponds to the JSON property `enabled`
25673
- # @return [Boolean]
25674
- attr_accessor :enabled
25675
- alias_method :enabled?, :enabled
25676
-
25677
25737
def initialize(**args)
25678
25738
update!(**args)
25679
25739
end
25680
25740
25681
25741
# Update properties of this object
25682
25742
def update!(**args)
25683
- @enabled = args[:enabled] if args.key?(:enabled)
25684
25743
end
25685
25744
end
25686
25745
0 commit comments