google-apis-discoveryengine_v1beta 0.42.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +174 -101
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +57 -27
- data/lib/google/apis/discoveryengine_v1beta/service.rb +75 -21
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1525ff9d9bf2e44fcc80605866d54671ba805ed7feba44858bb7dde41f7a24e5
|
4
|
+
data.tar.gz: 0e811889c80aae409f50900d1438362560d77a596bf054aaaf4b32dcc4233a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3a07a199895d27e2850249500430fb7dfd8d7750ba5acb3c2de84178e6804f640918b9a0d4a06b76b35d7a1efbf275058ce5dea242d75daf15ea1f5c84fc9dc
|
7
|
+
data.tar.gz: 051b0c1d2daa1bcf20e8c17ce38c4f26d54da3c0db688d503cc9ffe2cf5b5f8cab9deb25f2b50b06d8b931cdc6bf3f2cffeda900249449f221466806e1e636c5
|
data/CHANGELOG.md
CHANGED
@@ -741,8 +741,8 @@ module Google
|
|
741
741
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
742
742
|
include Google::Apis::Core::Hashable
|
743
743
|
|
744
|
-
#
|
745
|
-
#
|
744
|
+
# [DEPRECATED] This field is deprecated. To use the additional enhanced document
|
745
|
+
# elements processing, please switch to `layout_parsing_config`.
|
746
746
|
# Corresponds to the JSON property `enhancedDocumentElements`
|
747
747
|
# @return [Array<String>]
|
748
748
|
attr_accessor :enhanced_document_elements
|
@@ -917,8 +917,8 @@ module Google
|
|
917
917
|
# projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are
|
918
918
|
# one-time consumed by and passed to Dialogflow service. It means they cannot be
|
919
919
|
# retrieved using EngineService.GetEngine or EngineService.ListEngines API after
|
920
|
-
# engine creation.
|
921
|
-
#
|
920
|
+
# engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent
|
921
|
+
# association after Engine is created.
|
922
922
|
# Corresponds to the JSON property `dialogflowAgentToLink`
|
923
923
|
# @return [String]
|
924
924
|
attr_accessor :dialogflow_agent_to_link
|
@@ -1031,7 +1031,7 @@ module Google
|
|
1031
1031
|
attr_accessor :search_add_ons
|
1032
1032
|
|
1033
1033
|
# The search feature tier of this engine. Different tiers might have different
|
1034
|
-
# pricing. To learn more,
|
1034
|
+
# pricing. To learn more, check the pricing documentation. Defaults to
|
1035
1035
|
# SearchTier.SEARCH_TIER_STANDARD if not specified.
|
1036
1036
|
# Corresponds to the JSON property `searchTier`
|
1037
1037
|
# @return [String]
|
@@ -1691,8 +1691,8 @@ module Google
|
|
1691
1691
|
# @return [String]
|
1692
1692
|
attr_accessor :create_time
|
1693
1693
|
|
1694
|
-
# Immutable. Fully qualified name `project
|
1695
|
-
# collection`/engines/`engine`/sessions/*/answers/*`
|
1694
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
1695
|
+
# collections/`collection`/engines/`engine`/sessions/*/answers/*`
|
1696
1696
|
# Corresponds to the JSON property `name`
|
1697
1697
|
# @return [String]
|
1698
1698
|
attr_accessor :name
|
@@ -2754,8 +2754,8 @@ module Google
|
|
2754
2754
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
2755
2755
|
include Google::Apis::Core::Hashable
|
2756
2756
|
|
2757
|
-
#
|
2758
|
-
#
|
2757
|
+
# [DEPRECATED] This field is deprecated. To use the additional enhanced document
|
2758
|
+
# elements processing, please switch to `layout_parsing_config`.
|
2759
2759
|
# Corresponds to the JSON property `enhancedDocumentElements`
|
2760
2760
|
# @return [Array<String>]
|
2761
2761
|
attr_accessor :enhanced_document_elements
|
@@ -2948,8 +2948,8 @@ module Google
|
|
2948
2948
|
# projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are
|
2949
2949
|
# one-time consumed by and passed to Dialogflow service. It means they cannot be
|
2950
2950
|
# retrieved using EngineService.GetEngine or EngineService.ListEngines API after
|
2951
|
-
# engine creation.
|
2952
|
-
#
|
2951
|
+
# engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent
|
2952
|
+
# association after Engine is created.
|
2953
2953
|
# Corresponds to the JSON property `dialogflowAgentToLink`
|
2954
2954
|
# @return [String]
|
2955
2955
|
attr_accessor :dialogflow_agent_to_link
|
@@ -3184,7 +3184,7 @@ module Google
|
|
3184
3184
|
attr_accessor :search_add_ons
|
3185
3185
|
|
3186
3186
|
# The search feature tier of this engine. Different tiers might have different
|
3187
|
-
# pricing. To learn more,
|
3187
|
+
# pricing. To learn more, check the pricing documentation. Defaults to
|
3188
3188
|
# SearchTier.SEARCH_TIER_STANDARD if not specified.
|
3189
3189
|
# Corresponds to the JSON property `searchTier`
|
3190
3190
|
# @return [String]
|
@@ -3266,6 +3266,15 @@ module Google
|
|
3266
3266
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
3267
3267
|
include Google::Apis::Core::Hashable
|
3268
3268
|
|
3269
|
+
# If this field is set, only the corresponding source will be indexed for this
|
3270
|
+
# field. Otherwise, the values from different sources are merged. Assuming a
|
3271
|
+
# page with `` in meta tag, and `` in page map: if this enum is set to METATAGS,
|
3272
|
+
# we will only index ``; if this enum is not set, we will merge them and index ``
|
3273
|
+
# .
|
3274
|
+
# Corresponds to the JSON property `advancedSiteSearchDataSources`
|
3275
|
+
# @return [Array<String>]
|
3276
|
+
attr_accessor :advanced_site_search_data_sources
|
3277
|
+
|
3269
3278
|
# If completable_option is COMPLETABLE_ENABLED, field values are directly used
|
3270
3279
|
# and returned as suggestions for Autocomplete in CompletionService.
|
3271
3280
|
# CompleteQuery. If completable_option is unset, the server behavior defaults to
|
@@ -3366,6 +3375,7 @@ module Google
|
|
3366
3375
|
|
3367
3376
|
# Update properties of this object
|
3368
3377
|
def update!(**args)
|
3378
|
+
@advanced_site_search_data_sources = args[:advanced_site_search_data_sources] if args.key?(:advanced_site_search_data_sources)
|
3369
3379
|
@completable_option = args[:completable_option] if args.key?(:completable_option)
|
3370
3380
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
3371
3381
|
@field_path = args[:field_path] if args.key?(:field_path)
|
@@ -3422,66 +3432,6 @@ module Google
|
|
3422
3432
|
end
|
3423
3433
|
end
|
3424
3434
|
|
3425
|
-
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
3426
|
-
# This will be returned by the google.longrunning.Operation.metadata field.
|
3427
|
-
class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
|
3428
|
-
include Google::Apis::Core::Hashable
|
3429
|
-
|
3430
|
-
# Operation create time.
|
3431
|
-
# Corresponds to the JSON property `createTime`
|
3432
|
-
# @return [String]
|
3433
|
-
attr_accessor :create_time
|
3434
|
-
|
3435
|
-
# Operation last update time. If the operation is done, this is also the finish
|
3436
|
-
# time.
|
3437
|
-
# Corresponds to the JSON property `updateTime`
|
3438
|
-
# @return [String]
|
3439
|
-
attr_accessor :update_time
|
3440
|
-
|
3441
|
-
def initialize(**args)
|
3442
|
-
update!(**args)
|
3443
|
-
end
|
3444
|
-
|
3445
|
-
# Update properties of this object
|
3446
|
-
def update!(**args)
|
3447
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
3448
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
3449
|
-
end
|
3450
|
-
end
|
3451
|
-
|
3452
|
-
# Response of the CompletionService.ImportCompletionSuggestions method. If the
|
3453
|
-
# long running operation is done, this message is returned by the google.
|
3454
|
-
# longrunning.Operations.response field if the operation is successful.
|
3455
|
-
class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
|
3456
|
-
include Google::Apis::Core::Hashable
|
3457
|
-
|
3458
|
-
# A sample of errors encountered while processing the request.
|
3459
|
-
# Corresponds to the JSON property `errorSamples`
|
3460
|
-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
3461
|
-
attr_accessor :error_samples
|
3462
|
-
|
3463
|
-
# Count of CompletionSuggestions that failed to be imported.
|
3464
|
-
# Corresponds to the JSON property `failureCount`
|
3465
|
-
# @return [Fixnum]
|
3466
|
-
attr_accessor :failure_count
|
3467
|
-
|
3468
|
-
# Count of CompletionSuggestions successfully imported.
|
3469
|
-
# Corresponds to the JSON property `successCount`
|
3470
|
-
# @return [Fixnum]
|
3471
|
-
attr_accessor :success_count
|
3472
|
-
|
3473
|
-
def initialize(**args)
|
3474
|
-
update!(**args)
|
3475
|
-
end
|
3476
|
-
|
3477
|
-
# Update properties of this object
|
3478
|
-
def update!(**args)
|
3479
|
-
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
3480
|
-
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
3481
|
-
@success_count = args[:success_count] if args.key?(:success_count)
|
3482
|
-
end
|
3483
|
-
end
|
3484
|
-
|
3485
3435
|
# Metadata related to the progress of the ImportDocuments operation. This is
|
3486
3436
|
# returned by the google.longrunning.Operation.metadata field.
|
3487
3437
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
@@ -3712,6 +3662,108 @@ module Google
|
|
3712
3662
|
end
|
3713
3663
|
end
|
3714
3664
|
|
3665
|
+
# Metadata and configurations for a Google Cloud project in the service.
|
3666
|
+
class GoogleCloudDiscoveryengineV1alphaProject
|
3667
|
+
include Google::Apis::Core::Hashable
|
3668
|
+
|
3669
|
+
# Output only. The timestamp when this project is created.
|
3670
|
+
# Corresponds to the JSON property `createTime`
|
3671
|
+
# @return [String]
|
3672
|
+
attr_accessor :create_time
|
3673
|
+
|
3674
|
+
# Output only. Full resource name of the project, for example `projects/`
|
3675
|
+
# project_number``. Note that when making requests, project number and project
|
3676
|
+
# id are both acceptable, but the server will always respond in project number.
|
3677
|
+
# Corresponds to the JSON property `name`
|
3678
|
+
# @return [String]
|
3679
|
+
attr_accessor :name
|
3680
|
+
|
3681
|
+
# Output only. The timestamp when this project is successfully provisioned.
|
3682
|
+
# Empty value means this project is still provisioning and is not ready for use.
|
3683
|
+
# Corresponds to the JSON property `provisionCompletionTime`
|
3684
|
+
# @return [String]
|
3685
|
+
attr_accessor :provision_completion_time
|
3686
|
+
|
3687
|
+
# Output only. A map of terms of services. The key is the `id` of ServiceTerms.
|
3688
|
+
# Corresponds to the JSON property `serviceTermsMap`
|
3689
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectServiceTerms>]
|
3690
|
+
attr_accessor :service_terms_map
|
3691
|
+
|
3692
|
+
def initialize(**args)
|
3693
|
+
update!(**args)
|
3694
|
+
end
|
3695
|
+
|
3696
|
+
# Update properties of this object
|
3697
|
+
def update!(**args)
|
3698
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3699
|
+
@name = args[:name] if args.key?(:name)
|
3700
|
+
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
3701
|
+
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
3702
|
+
end
|
3703
|
+
end
|
3704
|
+
|
3705
|
+
# Metadata about the terms of service.
|
3706
|
+
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
3707
|
+
include Google::Apis::Core::Hashable
|
3708
|
+
|
3709
|
+
# The last time when the project agreed to the terms of service.
|
3710
|
+
# Corresponds to the JSON property `acceptTime`
|
3711
|
+
# @return [String]
|
3712
|
+
attr_accessor :accept_time
|
3713
|
+
|
3714
|
+
# The last time when the project declined or revoked the agreement to terms of
|
3715
|
+
# service.
|
3716
|
+
# Corresponds to the JSON property `declineTime`
|
3717
|
+
# @return [String]
|
3718
|
+
attr_accessor :decline_time
|
3719
|
+
|
3720
|
+
# The unique identifier of this terms of service. Available terms: * `
|
3721
|
+
# GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-
|
3722
|
+
# use-terms). When using this as `id`, the acceptable version to provide is `
|
3723
|
+
# 2022-11-23`.
|
3724
|
+
# Corresponds to the JSON property `id`
|
3725
|
+
# @return [String]
|
3726
|
+
attr_accessor :id
|
3727
|
+
|
3728
|
+
# Whether the project has accepted/rejected the service terms or it is still
|
3729
|
+
# pending.
|
3730
|
+
# Corresponds to the JSON property `state`
|
3731
|
+
# @return [String]
|
3732
|
+
attr_accessor :state
|
3733
|
+
|
3734
|
+
# The version string of the terms of service. For acceptable values, see the
|
3735
|
+
# comments for id above.
|
3736
|
+
# Corresponds to the JSON property `version`
|
3737
|
+
# @return [String]
|
3738
|
+
attr_accessor :version
|
3739
|
+
|
3740
|
+
def initialize(**args)
|
3741
|
+
update!(**args)
|
3742
|
+
end
|
3743
|
+
|
3744
|
+
# Update properties of this object
|
3745
|
+
def update!(**args)
|
3746
|
+
@accept_time = args[:accept_time] if args.key?(:accept_time)
|
3747
|
+
@decline_time = args[:decline_time] if args.key?(:decline_time)
|
3748
|
+
@id = args[:id] if args.key?(:id)
|
3749
|
+
@state = args[:state] if args.key?(:state)
|
3750
|
+
@version = args[:version] if args.key?(:version)
|
3751
|
+
end
|
3752
|
+
end
|
3753
|
+
|
3754
|
+
# Metadata associated with a project provision operation.
|
3755
|
+
class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata
|
3756
|
+
include Google::Apis::Core::Hashable
|
3757
|
+
|
3758
|
+
def initialize(**args)
|
3759
|
+
update!(**args)
|
3760
|
+
end
|
3761
|
+
|
3762
|
+
# Update properties of this object
|
3763
|
+
def update!(**args)
|
3764
|
+
end
|
3765
|
+
end
|
3766
|
+
|
3715
3767
|
# Metadata related to the progress of the PurgeDocuments operation. This will be
|
3716
3768
|
# returned by the google.longrunning.Operation.metadata field.
|
3717
3769
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
@@ -4109,8 +4161,8 @@ module Google
|
|
4109
4161
|
# @return [String]
|
4110
4162
|
attr_accessor :end_time
|
4111
4163
|
|
4112
|
-
# Immutable. Fully qualified name `project
|
4113
|
-
# collection`/engines/`engine`/sessions/*`
|
4164
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
4165
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
4114
4166
|
# Corresponds to the JSON property `name`
|
4115
4167
|
# @return [String]
|
4116
4168
|
attr_accessor :name
|
@@ -4505,8 +4557,8 @@ module Google
|
|
4505
4557
|
# @return [String]
|
4506
4558
|
attr_accessor :create_time
|
4507
4559
|
|
4508
|
-
# Immutable. Fully qualified name `project
|
4509
|
-
# collection`/engines/`engine`/sessions/*/answers/*`
|
4560
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
4561
|
+
# collections/`collection`/engines/`engine`/sessions/*/answers/*`
|
4510
4562
|
# Corresponds to the JSON property `name`
|
4511
4563
|
# @return [String]
|
4512
4564
|
attr_accessor :name
|
@@ -4845,7 +4897,7 @@ module Google
|
|
4845
4897
|
attr_accessor :disable
|
4846
4898
|
alias_method :disable?, :disable
|
4847
4899
|
|
4848
|
-
# Max rephrase steps. The max number is
|
4900
|
+
# Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it
|
4849
4901
|
# will be set to 1 by default.
|
4850
4902
|
# Corresponds to the JSON property `maxRephraseSteps`
|
4851
4903
|
# @return [Fixnum]
|
@@ -5183,6 +5235,11 @@ module Google
|
|
5183
5235
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer]
|
5184
5236
|
attr_accessor :answer
|
5185
5237
|
|
5238
|
+
# A global unique ID used for logging.
|
5239
|
+
# Corresponds to the JSON property `answerQueryToken`
|
5240
|
+
# @return [String]
|
5241
|
+
attr_accessor :answer_query_token
|
5242
|
+
|
5186
5243
|
# External session proto definition.
|
5187
5244
|
# Corresponds to the JSON property `session`
|
5188
5245
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession]
|
@@ -5195,6 +5252,7 @@ module Google
|
|
5195
5252
|
# Update properties of this object
|
5196
5253
|
def update!(**args)
|
5197
5254
|
@answer = args[:answer] if args.key?(:answer)
|
5255
|
+
@answer_query_token = args[:answer_query_token] if args.key?(:answer_query_token)
|
5198
5256
|
@session = args[:session] if args.key?(:session)
|
5199
5257
|
end
|
5200
5258
|
end
|
@@ -6004,7 +6062,7 @@ module Google
|
|
6004
6062
|
attr_accessor :end_pos
|
6005
6063
|
|
6006
6064
|
# Position indicating the start of the claim in the answer candidate, measured
|
6007
|
-
# in bytes
|
6065
|
+
# in bytes.
|
6008
6066
|
# Corresponds to the JSON property `startPos`
|
6009
6067
|
# @return [Fixnum]
|
6010
6068
|
attr_accessor :start_pos
|
@@ -6057,7 +6115,7 @@ module Google
|
|
6057
6115
|
|
6058
6116
|
# Intermediate Cloud Storage directory used for the import with a length limit
|
6059
6117
|
# of 2,000 characters. Can be specified if one wants to have the Cloud SQL
|
6060
|
-
# export to a specific Cloud Storage directory.
|
6118
|
+
# export to a specific Cloud Storage directory. Ensure that the Cloud SQL
|
6061
6119
|
# service account has the necessary Cloud Storage Admin permissions to access
|
6062
6120
|
# the specified Cloud Storage directory.
|
6063
6121
|
# Corresponds to the JSON property `gcsStagingDir`
|
@@ -6201,9 +6259,9 @@ module Google
|
|
6201
6259
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage>]
|
6202
6260
|
attr_accessor :messages
|
6203
6261
|
|
6204
|
-
# Immutable. Fully qualified name `project
|
6205
|
-
# collection`/dataStore/*/conversations/*` or `project
|
6206
|
-
# collections/`collection`/engines/*/conversations/*`.
|
6262
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
6263
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
6264
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
6207
6265
|
# Corresponds to the JSON property `name`
|
6208
6266
|
# @return [String]
|
6209
6267
|
attr_accessor :name
|
@@ -7083,8 +7141,8 @@ module Google
|
|
7083
7141
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
7084
7142
|
include Google::Apis::Core::Hashable
|
7085
7143
|
|
7086
|
-
#
|
7087
|
-
#
|
7144
|
+
# [DEPRECATED] This field is deprecated. To use the additional enhanced document
|
7145
|
+
# elements processing, please switch to `layout_parsing_config`.
|
7088
7146
|
# Corresponds to the JSON property `enhancedDocumentElements`
|
7089
7147
|
# @return [Array<String>]
|
7090
7148
|
attr_accessor :enhanced_document_elements
|
@@ -7310,8 +7368,8 @@ module Google
|
|
7310
7368
|
# projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are
|
7311
7369
|
# one-time consumed by and passed to Dialogflow service. It means they cannot be
|
7312
7370
|
# retrieved using EngineService.GetEngine or EngineService.ListEngines API after
|
7313
|
-
# engine creation.
|
7314
|
-
#
|
7371
|
+
# engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent
|
7372
|
+
# association after Engine is created.
|
7315
7373
|
# Corresponds to the JSON property `dialogflowAgentToLink`
|
7316
7374
|
# @return [String]
|
7317
7375
|
attr_accessor :dialogflow_agent_to_link
|
@@ -7424,7 +7482,7 @@ module Google
|
|
7424
7482
|
attr_accessor :search_add_ons
|
7425
7483
|
|
7426
7484
|
# The search feature tier of this engine. Different tiers might have different
|
7427
|
-
# pricing. To learn more,
|
7485
|
+
# pricing. To learn more, check the pricing documentation. Defaults to
|
7428
7486
|
# SearchTier.SEARCH_TIER_STANDARD if not specified.
|
7429
7487
|
# Corresponds to the JSON property `searchTier`
|
7430
7488
|
# @return [String]
|
@@ -7555,7 +7613,7 @@ module Google
|
|
7555
7613
|
|
7556
7614
|
# Intermediate Cloud Storage directory used for the import with a length limit
|
7557
7615
|
# of 2,000 characters. Can be specified if one wants to have the Firestore
|
7558
|
-
# export to a specific Cloud Storage directory.
|
7616
|
+
# export to a specific Cloud Storage directory. Ensure that the Firestore
|
7559
7617
|
# service account has the necessary Cloud Storage Admin permissions to access
|
7560
7618
|
# the specified Cloud Storage directory.
|
7561
7619
|
# Corresponds to the JSON property `gcsStagingDir`
|
@@ -8399,12 +8457,12 @@ module Google
|
|
8399
8457
|
|
8400
8458
|
# The most specific category associated with a category page. To represent full
|
8401
8459
|
# path of category, use '>' sign to separate different hierarchies. If '>' is
|
8402
|
-
# part of the category name,
|
8403
|
-
#
|
8404
|
-
#
|
8405
|
-
#
|
8406
|
-
#
|
8407
|
-
#
|
8460
|
+
# part of the category name, replace it with other character(s). Category pages
|
8461
|
+
# include special pages such as sales or promotions. For instance, a special
|
8462
|
+
# sale page may have the category hierarchy: `"pageCategory" : "Sales > 2017
|
8463
|
+
# Black Friday Deals"`. Required for `view-category-page` events. Other event
|
8464
|
+
# types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is
|
8465
|
+
# returned.
|
8408
8466
|
# Corresponds to the JSON property `pageCategory`
|
8409
8467
|
# @return [String]
|
8410
8468
|
attr_accessor :page_category
|
@@ -8715,7 +8773,7 @@ module Google
|
|
8715
8773
|
# @return [String]
|
8716
8774
|
attr_accessor :query
|
8717
8775
|
|
8718
|
-
# Required. A list of records to rank. At most
|
8776
|
+
# Required. A list of records to rank. At most 200 records to rank.
|
8719
8777
|
# Corresponds to the JSON property `records`
|
8720
8778
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>]
|
8721
8779
|
attr_accessor :records
|
@@ -9587,8 +9645,8 @@ module Google
|
|
9587
9645
|
|
9588
9646
|
# Specifies whether to return the confidence score from the extractive segments
|
9589
9647
|
# in each search result. This feature is available only for new or allowlisted
|
9590
|
-
# data stores. To allowlist your data store,
|
9591
|
-
#
|
9648
|
+
# data stores. To allowlist your data store, contact your Customer Engineer. The
|
9649
|
+
# default value is `false`.
|
9592
9650
|
# Corresponds to the JSON property `returnExtractiveSegmentScore`
|
9593
9651
|
# @return [Boolean]
|
9594
9652
|
attr_accessor :return_extractive_segment_score
|
@@ -9707,13 +9765,15 @@ module Google
|
|
9707
9765
|
|
9708
9766
|
# The number of top results to generate the summary from. If the number of
|
9709
9767
|
# results returned is less than `summaryResultCount`, the summary is generated
|
9710
|
-
# from all of the results. At most 10 results
|
9768
|
+
# from all of the results. At most 10 results for documents mode, or 50 for
|
9769
|
+
# chunks mode, can be used to generate a summary. The chunks mode is used when
|
9770
|
+
# SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.
|
9711
9771
|
# Corresponds to the JSON property `summaryResultCount`
|
9712
9772
|
# @return [Fixnum]
|
9713
9773
|
attr_accessor :summary_result_count
|
9714
9774
|
|
9715
9775
|
# If true, answer will be generated from most relevant chunks from top search
|
9716
|
-
# results. This feature will improve summary quality.
|
9776
|
+
# results. This feature will improve summary quality. Note that with this
|
9717
9777
|
# feature enabled, not all top search results will be referenced and included in
|
9718
9778
|
# the reference list, so the citation source index only points to the search
|
9719
9779
|
# results listed in the reference list.
|
@@ -10857,8 +10917,8 @@ module Google
|
|
10857
10917
|
# @return [String]
|
10858
10918
|
attr_accessor :end_time
|
10859
10919
|
|
10860
|
-
# Immutable. Fully qualified name `project
|
10861
|
-
# collection`/engines/`engine`/sessions/*`
|
10920
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
10921
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
10862
10922
|
# Corresponds to the JSON property `name`
|
10863
10923
|
# @return [String]
|
10864
10924
|
attr_accessor :name
|
@@ -11431,6 +11491,19 @@ module Google
|
|
11431
11491
|
end
|
11432
11492
|
end
|
11433
11493
|
|
11494
|
+
# Response associated with a tune operation.
|
11495
|
+
class GoogleCloudDiscoveryengineV1betaTuneEngineResponse
|
11496
|
+
include Google::Apis::Core::Hashable
|
11497
|
+
|
11498
|
+
def initialize(**args)
|
11499
|
+
update!(**args)
|
11500
|
+
end
|
11501
|
+
|
11502
|
+
# Update properties of this object
|
11503
|
+
def update!(**args)
|
11504
|
+
end
|
11505
|
+
end
|
11506
|
+
|
11434
11507
|
# Metadata for UpdateSchema LRO.
|
11435
11508
|
class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
|
11436
11509
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -652,55 +652,61 @@ module Google
|
|
652
652
|
include Google::Apis::Core::JsonObjectSupport
|
653
653
|
end
|
654
654
|
|
655
|
-
class
|
655
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
656
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
657
|
|
658
658
|
include Google::Apis::Core::JsonObjectSupport
|
659
659
|
end
|
660
660
|
|
661
|
-
class
|
661
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
|
662
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
663
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
665
665
|
end
|
666
666
|
|
667
|
-
class
|
667
|
+
class GoogleCloudDiscoveryengineV1alphaImportErrorConfig
|
668
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
669
|
|
670
670
|
include Google::Apis::Core::JsonObjectSupport
|
671
671
|
end
|
672
672
|
|
673
|
-
class
|
673
|
+
class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata
|
674
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
675
|
|
676
676
|
include Google::Apis::Core::JsonObjectSupport
|
677
677
|
end
|
678
678
|
|
679
|
-
class
|
679
|
+
class GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
|
680
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
681
|
|
682
682
|
include Google::Apis::Core::JsonObjectSupport
|
683
683
|
end
|
684
684
|
|
685
|
-
class
|
685
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
|
686
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
687
|
|
688
688
|
include Google::Apis::Core::JsonObjectSupport
|
689
689
|
end
|
690
690
|
|
691
|
-
class
|
691
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
|
692
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
693
|
|
694
694
|
include Google::Apis::Core::JsonObjectSupport
|
695
695
|
end
|
696
696
|
|
697
|
-
class
|
697
|
+
class GoogleCloudDiscoveryengineV1alphaProject
|
698
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
699
|
|
700
700
|
include Google::Apis::Core::JsonObjectSupport
|
701
701
|
end
|
702
702
|
|
703
|
-
class
|
703
|
+
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
709
|
+
class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata
|
704
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
711
|
|
706
712
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -2026,6 +2032,12 @@ module Google
|
|
2026
2032
|
include Google::Apis::Core::JsonObjectSupport
|
2027
2033
|
end
|
2028
2034
|
|
2035
|
+
class GoogleCloudDiscoveryengineV1betaTuneEngineResponse
|
2036
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2037
|
+
|
2038
|
+
include Google::Apis::Core::JsonObjectSupport
|
2039
|
+
end
|
2040
|
+
|
2029
2041
|
class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
|
2030
2042
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2031
2043
|
|
@@ -3028,6 +3040,7 @@ module Google
|
|
3028
3040
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
3029
3041
|
# @private
|
3030
3042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3043
|
+
collection :advanced_site_search_data_sources, as: 'advancedSiteSearchDataSources'
|
3031
3044
|
property :completable_option, as: 'completableOption'
|
3032
3045
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
3033
3046
|
property :field_path, as: 'fieldPath'
|
@@ -3056,24 +3069,6 @@ module Google
|
|
3056
3069
|
end
|
3057
3070
|
end
|
3058
3071
|
|
3059
|
-
class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
|
3060
|
-
# @private
|
3061
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3062
|
-
property :create_time, as: 'createTime'
|
3063
|
-
property :update_time, as: 'updateTime'
|
3064
|
-
end
|
3065
|
-
end
|
3066
|
-
|
3067
|
-
class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
|
3068
|
-
# @private
|
3069
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3070
|
-
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
3071
|
-
|
3072
|
-
property :failure_count, :numeric_string => true, as: 'failureCount'
|
3073
|
-
property :success_count, :numeric_string => true, as: 'successCount'
|
3074
|
-
end
|
3075
|
-
end
|
3076
|
-
|
3077
3072
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
3078
3073
|
# @private
|
3079
3074
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3142,6 +3137,34 @@ module Google
|
|
3142
3137
|
end
|
3143
3138
|
end
|
3144
3139
|
|
3140
|
+
class GoogleCloudDiscoveryengineV1alphaProject
|
3141
|
+
# @private
|
3142
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3143
|
+
property :create_time, as: 'createTime'
|
3144
|
+
property :name, as: 'name'
|
3145
|
+
property :provision_completion_time, as: 'provisionCompletionTime'
|
3146
|
+
hash :service_terms_map, as: 'serviceTermsMap', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectServiceTerms, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectServiceTerms::Representation
|
3147
|
+
|
3148
|
+
end
|
3149
|
+
end
|
3150
|
+
|
3151
|
+
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
3152
|
+
# @private
|
3153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3154
|
+
property :accept_time, as: 'acceptTime'
|
3155
|
+
property :decline_time, as: 'declineTime'
|
3156
|
+
property :id, as: 'id'
|
3157
|
+
property :state, as: 'state'
|
3158
|
+
property :version, as: 'version'
|
3159
|
+
end
|
3160
|
+
end
|
3161
|
+
|
3162
|
+
class GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata
|
3163
|
+
# @private
|
3164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3165
|
+
end
|
3166
|
+
end
|
3167
|
+
|
3145
3168
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
3146
3169
|
# @private
|
3147
3170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3581,6 +3604,7 @@ module Google
|
|
3581
3604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3582
3605
|
property :answer, as: 'answer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswer::Representation
|
3583
3606
|
|
3607
|
+
property :answer_query_token, as: 'answerQueryToken'
|
3584
3608
|
property :session, as: 'session', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession::Representation
|
3585
3609
|
|
3586
3610
|
end
|
@@ -5292,6 +5316,12 @@ module Google
|
|
5292
5316
|
end
|
5293
5317
|
end
|
5294
5318
|
|
5319
|
+
class GoogleCloudDiscoveryengineV1betaTuneEngineResponse
|
5320
|
+
# @private
|
5321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5322
|
+
end
|
5323
|
+
end
|
5324
|
+
|
5295
5325
|
class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
|
5296
5326
|
# @private
|
5297
5327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -666,6 +666,9 @@ module Google
|
|
666
666
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
667
667
|
# @param [Boolean] allow_missing
|
668
668
|
# If set to true, and the Document is not found, a new Document will be created.
|
669
|
+
# @param [String] update_mask
|
670
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
671
|
+
# set, will by default update all fields.
|
669
672
|
# @param [String] fields
|
670
673
|
# Selector specifying which fields to include in a partial response.
|
671
674
|
# @param [String] quota_user
|
@@ -683,7 +686,7 @@ module Google
|
|
683
686
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
684
687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
685
688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
686
|
-
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1beta_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
689
|
+
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1beta_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
687
690
|
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
688
691
|
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
|
689
692
|
command.request_object = google_cloud_discoveryengine_v1beta_document_object
|
@@ -691,6 +694,7 @@ module Google
|
|
691
694
|
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument
|
692
695
|
command.params['name'] = name unless name.nil?
|
693
696
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
697
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
694
698
|
command.query['fields'] = fields unless fields.nil?
|
695
699
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
696
700
|
execute_or_queue_command(command, &block)
|
@@ -996,9 +1000,9 @@ module Google
|
|
996
1000
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
997
1001
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
998
1002
|
# @param [String] name
|
999
|
-
# Immutable. Fully qualified name `project
|
1000
|
-
# collection`/dataStore/*/conversations/*` or `project
|
1001
|
-
# collections/`collection`/engines/*/conversations/*`.
|
1003
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
1004
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
1005
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
1002
1006
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation] google_cloud_discoveryengine_v1beta_conversation_object
|
1003
1007
|
# @param [String] update_mask
|
1004
1008
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -1815,8 +1819,8 @@ module Google
|
|
1815
1819
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
1816
1820
|
# update does not exist, a NOT_FOUND error is returned.
|
1817
1821
|
# @param [String] name
|
1818
|
-
# Immutable. Fully qualified name `project
|
1819
|
-
# collection`/engines/`engine`/sessions/*`
|
1822
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
1823
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
1820
1824
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession] google_cloud_discoveryengine_v1beta_session_object
|
1821
1825
|
# @param [String] update_mask
|
1822
1826
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -2587,8 +2591,12 @@ module Google
|
|
2587
2591
|
|
2588
2592
|
# Writes a single user event.
|
2589
2593
|
# @param [String] parent
|
2590
|
-
# Required. The parent
|
2591
|
-
# locations/`location`/
|
2594
|
+
# Required. The parent resource name. If the write user event action is applied
|
2595
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
2596
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
2597
|
+
# action is applied in Location level, for example, the event with Document
|
2598
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
2599
|
+
# location``.
|
2592
2600
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent] google_cloud_discoveryengine_v1beta_user_event_object
|
2593
2601
|
# @param [String] fields
|
2594
2602
|
# Selector specifying which fields to include in a partial response.
|
@@ -3102,9 +3110,9 @@ module Google
|
|
3102
3110
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
3103
3111
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
3104
3112
|
# @param [String] name
|
3105
|
-
# Immutable. Fully qualified name `project
|
3106
|
-
# collection`/dataStore/*/conversations/*` or `project
|
3107
|
-
# collections/`collection`/engines/*/conversations/*`.
|
3113
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
3114
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
3115
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
3108
3116
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation] google_cloud_discoveryengine_v1beta_conversation_object
|
3109
3117
|
# @param [String] update_mask
|
3110
3118
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -3592,8 +3600,8 @@ module Google
|
|
3592
3600
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
3593
3601
|
# update does not exist, a NOT_FOUND error is returned.
|
3594
3602
|
# @param [String] name
|
3595
|
-
# Immutable. Fully qualified name `project
|
3596
|
-
# collection`/engines/`engine`/sessions/*`
|
3603
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
3604
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
3597
3605
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession] google_cloud_discoveryengine_v1beta_session_object
|
3598
3606
|
# @param [String] update_mask
|
3599
3607
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -4241,6 +4249,9 @@ module Google
|
|
4241
4249
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument] google_cloud_discoveryengine_v1beta_document_object
|
4242
4250
|
# @param [Boolean] allow_missing
|
4243
4251
|
# If set to true, and the Document is not found, a new Document will be created.
|
4252
|
+
# @param [String] update_mask
|
4253
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
4254
|
+
# set, will by default update all fields.
|
4244
4255
|
# @param [String] fields
|
4245
4256
|
# Selector specifying which fields to include in a partial response.
|
4246
4257
|
# @param [String] quota_user
|
@@ -4258,7 +4269,7 @@ module Google
|
|
4258
4269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4259
4270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4260
4271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4261
|
-
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1beta_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4272
|
+
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1beta_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4262
4273
|
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
4263
4274
|
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
|
4264
4275
|
command.request_object = google_cloud_discoveryengine_v1beta_document_object
|
@@ -4266,6 +4277,7 @@ module Google
|
|
4266
4277
|
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument
|
4267
4278
|
command.params['name'] = name unless name.nil?
|
4268
4279
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
4280
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4269
4281
|
command.query['fields'] = fields unless fields.nil?
|
4270
4282
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4271
4283
|
execute_or_queue_command(command, &block)
|
@@ -4571,9 +4583,9 @@ module Google
|
|
4571
4583
|
# Updates a Conversation. Conversation action type cannot be changed. If the
|
4572
4584
|
# Conversation to update does not exist, a NOT_FOUND error is returned.
|
4573
4585
|
# @param [String] name
|
4574
|
-
# Immutable. Fully qualified name `project
|
4575
|
-
# collection`/dataStore/*/conversations/*` or `project
|
4576
|
-
# collections/`collection`/engines/*/conversations/*`.
|
4586
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
4587
|
+
# collections/`collection`/dataStore/*/conversations/*` or `projects/`project`/
|
4588
|
+
# locations/global/collections/`collection`/engines/*/conversations/*`.
|
4577
4589
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation] google_cloud_discoveryengine_v1beta_conversation_object
|
4578
4590
|
# @param [String] update_mask
|
4579
4591
|
# Indicates which fields in the provided Conversation to update. The following
|
@@ -5319,8 +5331,8 @@ module Google
|
|
5319
5331
|
# Updates a Session. Session action type cannot be changed. If the Session to
|
5320
5332
|
# update does not exist, a NOT_FOUND error is returned.
|
5321
5333
|
# @param [String] name
|
5322
|
-
# Immutable. Fully qualified name `project
|
5323
|
-
# collection`/engines/`engine`/sessions/*`
|
5334
|
+
# Immutable. Fully qualified name `projects/`project`/locations/global/
|
5335
|
+
# collections/`collection`/engines/`engine`/sessions/*`
|
5324
5336
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSession] google_cloud_discoveryengine_v1beta_session_object
|
5325
5337
|
# @param [String] update_mask
|
5326
5338
|
# Indicates which fields in the provided Session to update. The following are
|
@@ -5868,8 +5880,12 @@ module Google
|
|
5868
5880
|
|
5869
5881
|
# Writes a single user event.
|
5870
5882
|
# @param [String] parent
|
5871
|
-
# Required. The parent
|
5872
|
-
# locations/`location`/
|
5883
|
+
# Required. The parent resource name. If the write user event action is applied
|
5884
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
5885
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
5886
|
+
# action is applied in Location level, for example, the event with Document
|
5887
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
5888
|
+
# location``.
|
5873
5889
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent] google_cloud_discoveryengine_v1beta_user_event_object
|
5874
5890
|
# @param [String] fields
|
5875
5891
|
# Selector specifying which fields to include in a partial response.
|
@@ -6039,6 +6055,44 @@ module Google
|
|
6039
6055
|
execute_or_queue_command(command, &block)
|
6040
6056
|
end
|
6041
6057
|
|
6058
|
+
# Writes a single user event.
|
6059
|
+
# @param [String] parent
|
6060
|
+
# Required. The parent resource name. If the write user event action is applied
|
6061
|
+
# in DataStore level, the format is: `projects/`project`/locations/`location`/
|
6062
|
+
# collections/`collection`/dataStores/`data_store``. If the write user event
|
6063
|
+
# action is applied in Location level, for example, the event with Document
|
6064
|
+
# across multiple DataStore, the format is: `projects/`project`/locations/`
|
6065
|
+
# location``.
|
6066
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent] google_cloud_discoveryengine_v1beta_user_event_object
|
6067
|
+
# @param [String] fields
|
6068
|
+
# Selector specifying which fields to include in a partial response.
|
6069
|
+
# @param [String] quota_user
|
6070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6072
|
+
# @param [Google::Apis::RequestOptions] options
|
6073
|
+
# Request-specific options
|
6074
|
+
#
|
6075
|
+
# @yield [result, err] Result & error if block supplied
|
6076
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent] parsed result object
|
6077
|
+
# @yieldparam err [StandardError] error object if request failed
|
6078
|
+
#
|
6079
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent]
|
6080
|
+
#
|
6081
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6082
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6083
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6084
|
+
def write_project_location_user_event(parent, google_cloud_discoveryengine_v1beta_user_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6085
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/userEvents:write', options)
|
6086
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent::Representation
|
6087
|
+
command.request_object = google_cloud_discoveryengine_v1beta_user_event_object
|
6088
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent::Representation
|
6089
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent
|
6090
|
+
command.params['parent'] = parent unless parent.nil?
|
6091
|
+
command.query['fields'] = fields unless fields.nil?
|
6092
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6093
|
+
execute_or_queue_command(command, &block)
|
6094
|
+
end
|
6095
|
+
|
6042
6096
|
# Gets the latest state of a long-running operation. Clients can use this method
|
6043
6097
|
# to poll the operation result at intervals as recommended by the API service.
|
6044
6098
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.43.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|