google-apis-discoveryengine_v1 0.14.0 → 0.15.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240826"
25
+ REVISION = "20240906"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -622,6 +628,12 @@ module Google
622
628
  include Google::Apis::Core::JsonObjectSupport
623
629
  end
624
630
 
631
+ class GoogleCloudDiscoveryengineV1DocumentIndexStatus
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
625
637
  class GoogleCloudDiscoveryengineV1DocumentInfo
626
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
639
 
@@ -1120,6 +1132,18 @@ module Google
1120
1132
  include Google::Apis::Core::JsonObjectSupport
1121
1133
  end
1122
1134
 
1135
+ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1141
+ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint
1142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1143
+
1144
+ include Google::Apis::Core::JsonObjectSupport
1145
+ end
1146
+
1123
1147
  class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
1124
1148
  class Representation < Google::Apis::Core::JsonRepresentation; end
1125
1149
 
@@ -1294,6 +1318,12 @@ module Google
1294
1318
  include Google::Apis::Core::JsonObjectSupport
1295
1319
  end
1296
1320
 
1321
+ class GoogleCloudDiscoveryengineV1ServingConfigDataStore
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1297
1327
  class GoogleCloudDiscoveryengineV1Session
1298
1328
  class Representation < Google::Apis::Core::JsonRepresentation; end
1299
1329
 
@@ -1924,6 +1954,12 @@ module Google
1924
1954
  include Google::Apis::Core::JsonObjectSupport
1925
1955
  end
1926
1956
 
1957
+ class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig
1958
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1959
+
1960
+ include Google::Apis::Core::JsonObjectSupport
1961
+ end
1962
+
1927
1963
  class GoogleCloudDiscoveryengineV1alphaProject
1928
1964
  class Representation < Google::Apis::Core::JsonRepresentation; end
1929
1965
 
@@ -2176,6 +2212,12 @@ module Google
2176
2212
  include Google::Apis::Core::JsonObjectSupport
2177
2213
  end
2178
2214
 
2215
+ class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore
2216
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2217
+
2218
+ include Google::Apis::Core::JsonObjectSupport
2219
+ end
2220
+
2179
2221
  class GoogleCloudDiscoveryengineV1alphaSession
2180
2222
  class Representation < Google::Apis::Core::JsonRepresentation; end
2181
2223
 
@@ -2602,6 +2644,12 @@ module Google
2602
2644
  include Google::Apis::Core::JsonObjectSupport
2603
2645
  end
2604
2646
 
2647
+ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
2648
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2649
+
2650
+ include Google::Apis::Core::JsonObjectSupport
2651
+ end
2652
+
2605
2653
  class GoogleCloudDiscoveryengineV1betaProject
2606
2654
  class Representation < Google::Apis::Core::JsonRepresentation; end
2607
2655
 
@@ -2800,6 +2848,12 @@ module Google
2800
2848
  include Google::Apis::Core::JsonObjectSupport
2801
2849
  end
2802
2850
 
2851
+ class GoogleCloudDiscoveryengineV1betaServingConfigDataStore
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2803
2857
  class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo
2804
2858
  class Representation < Google::Apis::Core::JsonRepresentation; end
2805
2859
 
@@ -3053,6 +3107,7 @@ module Google
3053
3107
  class Representation < Google::Apis::Core::JsonRepresentation
3054
3108
  property :answer_language_code, as: 'answerLanguageCode'
3055
3109
  property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
3110
+ property :ignore_jail_breaking_query, as: 'ignoreJailBreakingQuery'
3056
3111
  property :ignore_low_relevant_content, as: 'ignoreLowRelevantContent'
3057
3112
  property :ignore_non_answer_seeking_query, as: 'ignoreNonAnswerSeekingQuery'
3058
3113
  property :include_citations, as: 'includeCitations'
@@ -3163,6 +3218,16 @@ module Google
3163
3218
  class Representation < Google::Apis::Core::JsonRepresentation
3164
3219
  property :chunk, as: 'chunk'
3165
3220
  property :content, as: 'content'
3221
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata::Representation
3222
+
3223
+ end
3224
+ end
3225
+
3226
+ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
3227
+ # @private
3228
+ class Representation < Google::Apis::Core::JsonRepresentation
3229
+ property :title, as: 'title'
3230
+ property :uri, as: 'uri'
3166
3231
  end
3167
3232
  end
3168
3233
 
@@ -3401,7 +3466,7 @@ module Google
3401
3466
  property :last_refreshed_time, as: 'lastRefreshedTime'
3402
3467
  property :matcher_value, as: 'matcherValue', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue::Representation
3403
3468
 
3404
- property :status, as: 'status'
3469
+ property :state, as: 'state'
3405
3470
  end
3406
3471
  end
3407
3472
 
@@ -3821,6 +3886,8 @@ module Google
3821
3886
 
3822
3887
  property :industry_vertical, as: 'industryVertical'
3823
3888
  property :name, as: 'name'
3889
+ property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigDataStore::Representation
3890
+
3824
3891
  collection :solution_types, as: 'solutionTypes'
3825
3892
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Schema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Schema::Representation
3826
3893
 
@@ -3888,6 +3955,8 @@ module Google
3888
3955
 
3889
3956
  hash :derived_struct_data, as: 'derivedStructData'
3890
3957
  property :id, as: 'id'
3958
+ property :index_status, as: 'indexStatus', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentIndexStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentIndexStatus::Representation
3959
+
3891
3960
  property :index_time, as: 'indexTime'
3892
3961
  property :json_data, as: 'jsonData'
3893
3962
  property :name, as: 'name'
@@ -3906,6 +3975,15 @@ module Google
3906
3975
  end
3907
3976
  end
3908
3977
 
3978
+ class GoogleCloudDiscoveryengineV1DocumentIndexStatus
3979
+ # @private
3980
+ class Representation < Google::Apis::Core::JsonRepresentation
3981
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
3982
+
3983
+ property :index_time, as: 'indexTime'
3984
+ end
3985
+ end
3986
+
3909
3987
  class GoogleCloudDiscoveryengineV1DocumentInfo
3910
3988
  # @private
3911
3989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4636,6 +4714,7 @@ module Google
4636
4714
  class GoogleCloudDiscoveryengineV1RecrawlUrisRequest
4637
4715
  # @private
4638
4716
  class Representation < Google::Apis::Core::JsonRepresentation
4717
+ property :site_credential, as: 'siteCredential'
4639
4718
  collection :uris, as: 'uris'
4640
4719
  end
4641
4720
  end
@@ -4718,10 +4797,31 @@ module Google
4718
4797
  # @private
4719
4798
  class Representation < Google::Apis::Core::JsonRepresentation
4720
4799
  property :boost, as: 'boost'
4800
+ property :boost_control_spec, as: 'boostControlSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec::Representation
4801
+
4721
4802
  property :condition, as: 'condition'
4722
4803
  end
4723
4804
  end
4724
4805
 
4806
+ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec
4807
+ # @private
4808
+ class Representation < Google::Apis::Core::JsonRepresentation
4809
+ property :attribute_type, as: 'attributeType'
4810
+ collection :control_points, as: 'controlPoints', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint::Representation
4811
+
4812
+ property :field_name, as: 'fieldName'
4813
+ property :interpolation_type, as: 'interpolationType'
4814
+ end
4815
+ end
4816
+
4817
+ class GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint
4818
+ # @private
4819
+ class Representation < Google::Apis::Core::JsonRepresentation
4820
+ property :attribute_value, as: 'attributeValue'
4821
+ property :boost_amount, as: 'boostAmount'
4822
+ end
4823
+ end
4824
+
4725
4825
  class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
4726
4826
  # @private
4727
4827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4769,6 +4869,7 @@ module Google
4769
4869
  # @private
4770
4870
  class Representation < Google::Apis::Core::JsonRepresentation
4771
4871
  property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
4872
+ property :ignore_jail_breaking_query, as: 'ignoreJailBreakingQuery'
4772
4873
  property :ignore_low_relevant_content, as: 'ignoreLowRelevantContent'
4773
4874
  property :ignore_non_summary_seeking_query, as: 'ignoreNonSummarySeekingQuery'
4774
4875
  property :include_citations, as: 'includeCitations'
@@ -5008,6 +5109,13 @@ module Google
5008
5109
  end
5009
5110
  end
5010
5111
 
5112
+ class GoogleCloudDiscoveryengineV1ServingConfigDataStore
5113
+ # @private
5114
+ class Representation < Google::Apis::Core::JsonRepresentation
5115
+ property :disabled_for_serving, as: 'disabledForServing'
5116
+ end
5117
+ end
5118
+
5011
5119
  class GoogleCloudDiscoveryengineV1Session
5012
5120
  # @private
5013
5121
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5589,6 +5697,10 @@ module Google
5589
5697
  property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
5590
5698
 
5591
5699
  property :name, as: 'name'
5700
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig::Representation
5701
+
5702
+ property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaServingConfigDataStore::Representation
5703
+
5592
5704
  collection :solution_types, as: 'solutionTypes'
5593
5705
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema::Representation
5594
5706
 
@@ -6048,6 +6160,13 @@ module Google
6048
6160
  end
6049
6161
  end
6050
6162
 
6163
+ class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig
6164
+ # @private
6165
+ class Representation < Google::Apis::Core::JsonRepresentation
6166
+ property :mode, as: 'mode'
6167
+ end
6168
+ end
6169
+
6051
6170
  class GoogleCloudDiscoveryengineV1alphaProject
6052
6171
  # @private
6053
6172
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6364,6 +6483,7 @@ module Google
6364
6483
  # @private
6365
6484
  class Representation < Google::Apis::Core::JsonRepresentation
6366
6485
  property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
6486
+ property :ignore_jail_breaking_query, as: 'ignoreJailBreakingQuery'
6367
6487
  property :ignore_low_relevant_content, as: 'ignoreLowRelevantContent'
6368
6488
  property :ignore_non_summary_seeking_query, as: 'ignoreNonSummarySeekingQuery'
6369
6489
  property :include_citations, as: 'includeCitations'
@@ -6484,6 +6604,13 @@ module Google
6484
6604
  end
6485
6605
  end
6486
6606
 
6607
+ class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore
6608
+ # @private
6609
+ class Representation < Google::Apis::Core::JsonRepresentation
6610
+ property :disabled_for_serving, as: 'disabledForServing'
6611
+ end
6612
+ end
6613
+
6487
6614
  class GoogleCloudDiscoveryengineV1alphaSession
6488
6615
  # @private
6489
6616
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6785,6 +6912,10 @@ module Google
6785
6912
  property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
6786
6913
 
6787
6914
  property :name, as: 'name'
6915
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig::Representation
6916
+
6917
+ property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaServingConfigDataStore::Representation
6918
+
6788
6919
  collection :solution_types, as: 'solutionTypes'
6789
6920
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema::Representation
6790
6921
 
@@ -7148,6 +7279,13 @@ module Google
7148
7279
  end
7149
7280
  end
7150
7281
 
7282
+ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
7283
+ # @private
7284
+ class Representation < Google::Apis::Core::JsonRepresentation
7285
+ property :mode, as: 'mode'
7286
+ end
7287
+ end
7288
+
7151
7289
  class GoogleCloudDiscoveryengineV1betaProject
7152
7290
  # @private
7153
7291
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7379,6 +7517,7 @@ module Google
7379
7517
  # @private
7380
7518
  class Representation < Google::Apis::Core::JsonRepresentation
7381
7519
  property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
7520
+ property :ignore_jail_breaking_query, as: 'ignoreJailBreakingQuery'
7382
7521
  property :ignore_low_relevant_content, as: 'ignoreLowRelevantContent'
7383
7522
  property :ignore_non_summary_seeking_query, as: 'ignoreNonSummarySeekingQuery'
7384
7523
  property :include_citations, as: 'includeCitations'
@@ -7499,6 +7638,13 @@ module Google
7499
7638
  end
7500
7639
  end
7501
7640
 
7641
+ class GoogleCloudDiscoveryengineV1betaServingConfigDataStore
7642
+ # @private
7643
+ class Representation < Google::Apis::Core::JsonRepresentation
7644
+ property :disabled_for_serving, as: 'disabledForServing'
7645
+ end
7646
+ end
7647
+
7502
7648
  class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo
7503
7649
  # @private
7504
7650
  class Representation < Google::Apis::Core::JsonRepresentation