google-apis-discoveryengine_v1beta 0.57.0 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 311ca0999c6635cb965e955c2ed6a519b77c21396098b098aec94efcdb4cca6b
4
- data.tar.gz: e10f3f87d2c588d9105ee85a77aba393f2d60c4b27b80ff7e94ca1d1605ceec1
3
+ metadata.gz: 7d3502ea0b6337269f4262da277cbd30a35f531ae65d30049df3a4f365825253
4
+ data.tar.gz: 482d26b3ee84de16b3af785adeb8a242330f672a1687095f9d165b8bef7c1e2b
5
5
  SHA512:
6
- metadata.gz: 40503eddd8ca46d43d3d1f9b664393c1f4ebf3d2542d5456acc523876d9f05d60592645be863eb1855a39155cf47b607425bc9dd42544ded3aea74861dc45605
7
- data.tar.gz: 1a2cd97dbfb542a953b19ab5164fb19a6d8a587ba3c937a547a051503c647e50cef34d648924bb676f096e0fff341657e9a4a50f3305dec79c33edec28d04b41
6
+ metadata.gz: 94fe1fb9c3e9b23665d78bc8de69223af87a340eb7e4231827a37b8b6eb179cd7cc96820e2be8c268f6a54aa3a669a35499fa2ce953e25f04cfe6f158d94aef1
7
+ data.tar.gz: 17f60812dccd8b3f3fc6e7ae764df152a35fee06938d767550df552a1a811c1bdb793dc89d794be78a8b7ec40bd335d2284ba61d9b6ea539cf49f74769c89006
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.58.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250312
6
+
3
7
  ### v0.57.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250306
@@ -3088,7 +3088,8 @@ module Google
3088
3088
  # @return [String]
3089
3089
  attr_accessor :title
3090
3090
 
3091
- # Required. The URL for the page the user wants to promote.
3091
+ # Optional. The URL for the page the user wants to promote. Must be set for site
3092
+ # search. For other verticals, this is optional.
3092
3093
  # Corresponds to the JSON property `uri`
3093
3094
  # @return [String]
3094
3095
  attr_accessor :uri
@@ -4198,6 +4199,56 @@ module Google
4198
4199
  end
4199
4200
  end
4200
4201
 
4202
+ # The connector level alert config.
4203
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
4204
+ include Google::Apis::Core::Hashable
4205
+
4206
+ # Optional. The enrollment states of each alert.
4207
+ # Corresponds to the JSON property `alertEnrollments`
4208
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
4209
+ attr_accessor :alert_enrollments
4210
+
4211
+ # Immutable. The fully qualified resource name of the AlertPolicy.
4212
+ # Corresponds to the JSON property `alertPolicyName`
4213
+ # @return [String]
4214
+ attr_accessor :alert_policy_name
4215
+
4216
+ def initialize(**args)
4217
+ update!(**args)
4218
+ end
4219
+
4220
+ # Update properties of this object
4221
+ def update!(**args)
4222
+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
4223
+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
4224
+ end
4225
+ end
4226
+
4227
+ # The alert enrollment status.
4228
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
4229
+ include Google::Apis::Core::Hashable
4230
+
4231
+ # Immutable. The id of an alert.
4232
+ # Corresponds to the JSON property `alertId`
4233
+ # @return [String]
4234
+ attr_accessor :alert_id
4235
+
4236
+ # Required. The enrollment status of a customer.
4237
+ # Corresponds to the JSON property `enrollState`
4238
+ # @return [String]
4239
+ attr_accessor :enroll_state
4240
+
4241
+ def initialize(**args)
4242
+ update!(**args)
4243
+ end
4244
+
4245
+ # Update properties of this object
4246
+ def update!(**args)
4247
+ @alert_id = args[:alert_id] if args.key?(:alert_id)
4248
+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
4249
+ end
4250
+ end
4251
+
4201
4252
  # Defines an answer.
4202
4253
  class GoogleCloudDiscoveryengineV1alphaAnswer
4203
4254
  include Google::Apis::Core::Hashable
@@ -5873,6 +5924,11 @@ module Google
5873
5924
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig]
5874
5925
  attr_accessor :action_config
5875
5926
 
5927
+ # Optional. The connector level alert config.
5928
+ # Corresponds to the JSON property `alertPolicyConfigs`
5929
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
5930
+ attr_accessor :alert_policy_configs
5931
+
5876
5932
  # Indicates whether the connector is disabled for auto run. It can be used to
5877
5933
  # pause periodical and real time sync.
5878
5934
  # Corresponds to the JSON property `autoRunDisabled`
@@ -6062,6 +6118,7 @@ module Google
6062
6118
  # Update properties of this object
6063
6119
  def update!(**args)
6064
6120
  @action_config = args[:action_config] if args.key?(:action_config)
6121
+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
6065
6122
  @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
6066
6123
  @bap_config = args[:bap_config] if args.key?(:bap_config)
6067
6124
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -9342,7 +9399,8 @@ module Google
9342
9399
  # @return [String]
9343
9400
  attr_accessor :title
9344
9401
 
9345
- # Required. The URL for the page the user wants to promote.
9402
+ # Optional. The URL for the page the user wants to promote. Must be set for site
9403
+ # search. For other verticals, this is optional.
9346
9404
  # Corresponds to the JSON property `uri`
9347
9405
  # @return [String]
9348
9406
  attr_accessor :uri
@@ -12437,6 +12495,12 @@ module Google
12437
12495
  class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
12438
12496
  include Google::Apis::Core::Hashable
12439
12497
 
12498
+ # Optional. Whether to disable spell correction. The default value is `false`.
12499
+ # Corresponds to the JSON property `disableSpellCorrection`
12500
+ # @return [Boolean]
12501
+ attr_accessor :disable_spell_correction
12502
+ alias_method :disable_spell_correction?, :disable_spell_correction
12503
+
12440
12504
  # Query classification specification.
12441
12505
  # Corresponds to the JSON property `queryClassificationSpec`
12442
12506
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -12453,6 +12517,7 @@ module Google
12453
12517
 
12454
12518
  # Update properties of this object
12455
12519
  def update!(**args)
12520
+ @disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
12456
12521
  @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
12457
12522
  @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
12458
12523
  end
@@ -20156,7 +20221,8 @@ module Google
20156
20221
  # @return [String]
20157
20222
  attr_accessor :title
20158
20223
 
20159
- # Required. The URL for the page the user wants to promote.
20224
+ # Optional. The URL for the page the user wants to promote. Must be set for site
20225
+ # search. For other verticals, this is optional.
20160
20226
  # Corresponds to the JSON property `uri`
20161
20227
  # @return [String]
20162
20228
  attr_accessor :uri
@@ -20217,6 +20283,11 @@ module Google
20217
20283
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
20218
20284
  attr_accessor :data_store_specs
20219
20285
 
20286
+ # Specifies features for display, like match highlighting.
20287
+ # Corresponds to the JSON property `displaySpec`
20288
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
20289
+ attr_accessor :display_spec
20290
+
20220
20291
  # The specification that uses customized query embedding vector to do semantic
20221
20292
  # document retrieval.
20222
20293
  # Corresponds to the JSON property `embeddingSpec`
@@ -20488,6 +20559,7 @@ module Google
20488
20559
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
20489
20560
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
20490
20561
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
20562
+ @display_spec = args[:display_spec] if args.key?(:display_spec)
20491
20563
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
20492
20564
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
20493
20565
  @filter = args[:filter] if args.key?(:filter)
@@ -21044,6 +21116,25 @@ module Google
21044
21116
  end
21045
21117
  end
21046
21118
 
21119
+ # Specifies features for display, like match highlighting.
21120
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
21121
+ include Google::Apis::Core::Hashable
21122
+
21123
+ # The condition under which match highlighting should occur.
21124
+ # Corresponds to the JSON property `matchHighlightingCondition`
21125
+ # @return [String]
21126
+ attr_accessor :match_highlighting_condition
21127
+
21128
+ def initialize(**args)
21129
+ update!(**args)
21130
+ end
21131
+
21132
+ # Update properties of this object
21133
+ def update!(**args)
21134
+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
21135
+ end
21136
+ end
21137
+
21047
21138
  # The specification that uses customized query embedding vector to do semantic
21048
21139
  # document retrieval.
21049
21140
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
@@ -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.57.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250306"
25
+ REVISION = "20250312"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,18 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
703
715
  class GoogleCloudDiscoveryengineV1alphaAnswer
704
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
717
 
@@ -3430,6 +3442,12 @@ module Google
3430
3442
  include Google::Apis::Core::JsonObjectSupport
3431
3443
  end
3432
3444
 
3445
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
3446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3447
+
3448
+ include Google::Apis::Core::JsonObjectSupport
3449
+ end
3450
+
3433
3451
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
3434
3452
  class Representation < Google::Apis::Core::JsonRepresentation; end
3435
3453
 
@@ -5021,6 +5039,23 @@ module Google
5021
5039
  end
5022
5040
  end
5023
5041
 
5042
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5043
+ # @private
5044
+ class Representation < Google::Apis::Core::JsonRepresentation
5045
+ collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment::Representation
5046
+
5047
+ property :alert_policy_name, as: 'alertPolicyName'
5048
+ end
5049
+ end
5050
+
5051
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5052
+ # @private
5053
+ class Representation < Google::Apis::Core::JsonRepresentation
5054
+ property :alert_id, as: 'alertId'
5055
+ property :enroll_state, as: 'enrollState'
5056
+ end
5057
+ end
5058
+
5024
5059
  class GoogleCloudDiscoveryengineV1alphaAnswer
5025
5060
  # @private
5026
5061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5496,6 +5531,8 @@ module Google
5496
5531
  class Representation < Google::Apis::Core::JsonRepresentation
5497
5532
  property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
5498
5533
 
5534
+ collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
5535
+
5499
5536
  property :auto_run_disabled, as: 'autoRunDisabled'
5500
5537
  property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
5501
5538
 
@@ -7215,6 +7252,7 @@ module Google
7215
7252
  class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
7216
7253
  # @private
7217
7254
  class Representation < Google::Apis::Core::JsonRepresentation
7255
+ property :disable_spell_correction, as: 'disableSpellCorrection'
7218
7256
  property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
7219
7257
 
7220
7258
  property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
@@ -9455,6 +9493,8 @@ module Google
9455
9493
 
9456
9494
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
9457
9495
 
9496
+ property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec::Representation
9497
+
9458
9498
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
9459
9499
 
9460
9500
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
@@ -9620,6 +9660,13 @@ module Google
9620
9660
  end
9621
9661
  end
9622
9662
 
9663
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
9664
+ # @private
9665
+ class Representation < Google::Apis::Core::JsonRepresentation
9666
+ property :match_highlighting_condition, as: 'matchHighlightingCondition'
9667
+ end
9668
+ end
9669
+
9623
9670
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
9624
9671
  # @private
9625
9672
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.57.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.58.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: