@@ -2920,6 +2920,14 @@ class GoogleCloudDiscoveryengineV1AssistAnswer
2920
2920
# @return [Array<String>]
2921
2921
attr_accessor :assist_skipped_reasons
2922
2922
2923
+ # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
2924
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
2925
+ # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
2926
+ # encoded string with a length limit of 1024 characters.
2927
+ # Corresponds to the JSON property `name`
2928
+ # @return [String]
2929
+ attr_accessor :name
2930
+
2923
2931
# Replies of the assistant.
2924
2932
# Corresponds to the JSON property `replies`
2925
2933
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply>]
@@ -2937,6 +2945,7 @@ def initialize(**args)
2937
2945
# Update properties of this object
2938
2946
def update!(**args)
2939
2947
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
2948
+ @name = args[:name] if args.key?(:name)
2940
2949
@replies = args[:replies] if args.key?(:replies)
2941
2950
@state = args[:state] if args.key?(:state)
2942
2951
end
@@ -2990,6 +2999,28 @@ def update!(**args)
2990
2999
end
2991
3000
end
2992
3001
3002
+ # Discovery Engine Assistant resource.
3003
+ class GoogleCloudDiscoveryengineV1Assistant
3004
+ include Google::Apis::Core::Hashable
3005
+
3006
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
3007
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
3008
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
3009
+ # characters.
3010
+ # Corresponds to the JSON property `name`
3011
+ # @return [String]
3012
+ attr_accessor :name
3013
+
3014
+ def initialize(**args)
3015
+ update!(**args)
3016
+ end
3017
+
3018
+ # Update properties of this object
3019
+ def update!(**args)
3020
+ @name = args[:name] if args.key?(:name)
3021
+ end
3022
+ end
3023
+
2993
3024
# Multi-modal content.
2994
3025
class GoogleCloudDiscoveryengineV1AssistantContent
2995
3026
include Google::Apis::Core::Hashable
@@ -4328,14 +4359,14 @@ class GoogleCloudDiscoveryengineV1CmekConfig
4328
4359
attr_accessor :is_default
4329
4360
alias_method :is_default?, :is_default
4330
4361
4331
- # KMS key resource name which will be used to encrypt resources `projects/ `
4332
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
4362
+ # Required. KMS key resource name which will be used to encrypt resources `
4363
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
4333
4364
# Corresponds to the JSON property `kmsKey`
4334
4365
# @return [String]
4335
4366
attr_accessor :kms_key
4336
4367
4337
- # KMS key version resource name which will be used to encrypt resources `/
4338
- # cryptoKeyVersions/`keyVersion``.
4368
+ # Output only. KMS key version resource name which will be used to encrypt
4369
+ # resources `/ cryptoKeyVersions/`keyVersion``.
4339
4370
# Corresponds to the JSON property `kmsKeyVersion`
4340
4371
# @return [String]
4341
4372
attr_accessor :kms_key_version
@@ -8661,6 +8692,11 @@ class GoogleCloudDiscoveryengineV1ProvisionProjectRequest
8661
8692
# @return [String]
8662
8693
attr_accessor :data_use_terms_version
8663
8694
8695
+ # Parameters for Agentspace.
8696
+ # Corresponds to the JSON property `saasParams`
8697
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams]
8698
+ attr_accessor :saas_params
8699
+
8664
8700
def initialize(**args)
8665
8701
update!(**args)
8666
8702
end
@@ -8669,6 +8705,28 @@ def initialize(**args)
8669
8705
def update!(**args)
8670
8706
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
8671
8707
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
8708
+ @saas_params = args[:saas_params] if args.key?(:saas_params)
8709
+ end
8710
+ end
8711
+
8712
+ # Parameters for Agentspace.
8713
+ class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams
8714
+ include Google::Apis::Core::Hashable
8715
+
8716
+ # Optional. Set to `true` to specify that caller has read and would like to give
8717
+ # consent to the [Terms for Agent Space quality of service].
8718
+ # Corresponds to the JSON property `acceptBizQos`
8719
+ # @return [Boolean]
8720
+ attr_accessor :accept_biz_qos
8721
+ alias_method :accept_biz_qos?, :accept_biz_qos
8722
+
8723
+ def initialize(**args)
8724
+ update!(**args)
8725
+ end
8726
+
8727
+ # Update properties of this object
8728
+ def update!(**args)
8729
+ @accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
8672
8730
end
8673
8731
end
8674
8732
@@ -9119,7 +9177,7 @@ class GoogleCloudDiscoveryengineV1RankRequest
9119
9177
# @return [String]
9120
9178
attr_accessor :query
9121
9179
9122
- # Required. A list of records to rank. At most 200 records to rank.
9180
+ # Required. A list of records to rank.
9123
9181
# Corresponds to the JSON property `records`
9124
9182
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord>]
9125
9183
attr_accessor :records
@@ -11822,12 +11880,6 @@ class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec
11822
11880
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec]
11823
11881
attr_accessor :image_generation_spec
11824
11882
11825
- # Optional. The name of the tool registry to use. Format: `projects/`project`/
11826
- # locations/`location`/toolRegistries/`tool_registry``
11827
- # Corresponds to the JSON property `toolRegistry`
11828
- # @return [String]
11829
- attr_accessor :tool_registry
11830
-
11831
11883
# Specification of the Vertex AI Search tool.
11832
11884
# Corresponds to the JSON property `vertexAiSearchSpec`
11833
11885
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec]
@@ -11850,7 +11902,6 @@ def initialize(**args)
11850
11902
# Update properties of this object
11851
11903
def update!(**args)
11852
11904
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
11853
- @tool_registry = args[:tool_registry] if args.key?(:tool_registry)
11854
11905
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
11855
11906
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
11856
11907
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
@@ -11881,14 +11932,6 @@ class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec
11881
11932
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec>]
11882
11933
attr_accessor :data_store_specs
11883
11934
11884
- # Optional. Deprecated. Please refrain from using this field. Whether the Vertex
11885
- # AI Search tool is disabled. Default value is false, the tool is enabled by
11886
- # default.
11887
- # Corresponds to the JSON property `disabled`
11888
- # @return [Boolean]
11889
- attr_accessor :disabled
11890
- alias_method :disabled?, :disabled
11891
-
11892
11935
# Optional. The filter syntax consists of an expression language for
11893
11936
# constructing a predicate from one or more fields of the documents being
11894
11937
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
@@ -11911,7 +11954,6 @@ def initialize(**args)
11911
11954
# Update properties of this object
11912
11955
def update!(**args)
11913
11956
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
11914
- @disabled = args[:disabled] if args.key?(:disabled)
11915
11957
@filter = args[:filter] if args.key?(:filter)
11916
11958
end
11917
11959
end
@@ -11933,20 +11975,12 @@ def update!(**args)
11933
11975
class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec
11934
11976
include Google::Apis::Core::Hashable
11935
11977
11936
- # Optional. Deprecated. Please refrain from using this field. Whether the web
11937
- # grounding tool is enabled.
11938
- # Corresponds to the JSON property `enabled`
11939
- # @return [Boolean]
11940
- attr_accessor :enabled
11941
- alias_method :enabled?, :enabled
11942
-
11943
11978
def initialize(**args)
11944
11979
update!(**args)
11945
11980
end
11946
11981
11947
11982
# Update properties of this object
11948
11983
def update!(**args)
11949
- @enabled = args[:enabled] if args.key?(:enabled)
11950
11984
end
11951
11985
end
11952
11986
@@ -13906,14 +13940,14 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig
13906
13940
attr_accessor :is_default
13907
13941
alias_method :is_default?, :is_default
13908
13942
13909
- # KMS key resource name which will be used to encrypt resources `projects/ `
13910
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
13943
+ # Required. KMS key resource name which will be used to encrypt resources `
13944
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
13911
13945
# Corresponds to the JSON property `kmsKey`
13912
13946
# @return [String]
13913
13947
attr_accessor :kms_key
13914
13948
13915
- # KMS key version resource name which will be used to encrypt resources `/
13916
- # cryptoKeyVersions/`keyVersion``.
13949
+ # Output only. KMS key version resource name which will be used to encrypt
13950
+ # resources `/ cryptoKeyVersions/`keyVersion``.
13917
13951
# Corresponds to the JSON property `kmsKeyVersion`
13918
13952
# @return [String]
13919
13953
attr_accessor :kms_key_version
@@ -17648,9 +17682,12 @@ def update!(**args)
17648
17682
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
17649
17683
include Google::Apis::Core::Hashable
17650
17684
17651
- # A filter to apply on the list results. The supported features are:
17652
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
17653
- # true"
17685
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
17686
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
17687
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
17688
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
17689
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
17690
+ # "
17654
17691
# Corresponds to the JSON property `filter`
17655
17692
# @return [String]
17656
17693
attr_accessor :filter
@@ -20994,14 +21031,14 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig
20994
21031
attr_accessor :is_default
20995
21032
alias_method :is_default?, :is_default
20996
21033
20997
- # KMS key resource name which will be used to encrypt resources `projects/ `
20998
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
21034
+ # Required. KMS key resource name which will be used to encrypt resources `
21035
+ # projects/` project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
20999
21036
# Corresponds to the JSON property `kmsKey`
21000
21037
# @return [String]
21001
21038
attr_accessor :kms_key
21002
21039
21003
- # KMS key version resource name which will be used to encrypt resources `/
21004
- # cryptoKeyVersions/`keyVersion``.
21040
+ # Output only. KMS key version resource name which will be used to encrypt
21041
+ # resources `/ cryptoKeyVersions/`keyVersion``.
21005
21042
# Corresponds to the JSON property `kmsKeyVersion`
21006
21043
# @return [String]
21007
21044
attr_accessor :kms_key_version
0 commit comments