google-apis-discoveryengine_v1alpha 0.55.0 → 0.56.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: 7f3bcd98dcf74d471d4c04007ce34f74bd6c5ac34e6ca487b8079d5996a87e06
4
- data.tar.gz: 283041957c9149b8d55522247bc3fc8370e3fd5a5d65d0217c6967d428fb5b80
3
+ metadata.gz: cf6bff0ac74761d79c8d1a2f62df19938b965da911d6ba823af7826fd92cae94
4
+ data.tar.gz: 0dc16e0d7307ff18e8a618d43f1c740262ad1f495bdd9e1e946dfa2bfc713b0b
5
5
  SHA512:
6
- metadata.gz: 32949ca87ee2027a47d7dbb06f8a3476147d14d96c2f3222b7fa713bb38b57e18c3a0280fa0f59d69eed930171fa196306c12bfab661fb56a63b1f21da06c461
7
- data.tar.gz: a219394dc3b0aa15d0336145dc4beee043df109167754962ca511e696e600a09965dd27f5d0fcb2525a296c52f5f917a3ff71c1c00a6043e34c9e3445d1ee320
6
+ metadata.gz: 58130028bce1c1646a5672a93109416ff109a94e50dc4c8947d5793d71aa4587713d82ace45a6e169dc96913d55d02869421c2138fbee16e8a01180dc9ef8428
7
+ data.tar.gz: 2e4ba145bc54372aa6a1afb47433c6c6658c180354447f260ff1b04e4f1600749bef4460d6419aa4c1afd0ba679777425b58048d5e1414daa491892d84a6e371
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.56.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250312
6
+
3
7
  ### v0.55.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250306
@@ -3943,7 +3943,8 @@ module Google
3943
3943
  # @return [String]
3944
3944
  attr_accessor :title
3945
3945
 
3946
- # Required. The URL for the page the user wants to promote.
3946
+ # Optional. The URL for the page the user wants to promote. Must be set for site
3947
+ # search. For other verticals, this is optional.
3947
3948
  # Corresponds to the JSON property `uri`
3948
3949
  # @return [String]
3949
3950
  attr_accessor :uri
@@ -5452,6 +5453,56 @@ module Google
5452
5453
  end
5453
5454
  end
5454
5455
 
5456
+ # The connector level alert config.
5457
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5458
+ include Google::Apis::Core::Hashable
5459
+
5460
+ # Optional. The enrollment states of each alert.
5461
+ # Corresponds to the JSON property `alertEnrollments`
5462
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
5463
+ attr_accessor :alert_enrollments
5464
+
5465
+ # Immutable. The fully qualified resource name of the AlertPolicy.
5466
+ # Corresponds to the JSON property `alertPolicyName`
5467
+ # @return [String]
5468
+ attr_accessor :alert_policy_name
5469
+
5470
+ def initialize(**args)
5471
+ update!(**args)
5472
+ end
5473
+
5474
+ # Update properties of this object
5475
+ def update!(**args)
5476
+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
5477
+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
5478
+ end
5479
+ end
5480
+
5481
+ # The alert enrollment status.
5482
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5483
+ include Google::Apis::Core::Hashable
5484
+
5485
+ # Immutable. The id of an alert.
5486
+ # Corresponds to the JSON property `alertId`
5487
+ # @return [String]
5488
+ attr_accessor :alert_id
5489
+
5490
+ # Required. The enrollment status of a customer.
5491
+ # Corresponds to the JSON property `enrollState`
5492
+ # @return [String]
5493
+ attr_accessor :enroll_state
5494
+
5495
+ def initialize(**args)
5496
+ update!(**args)
5497
+ end
5498
+
5499
+ # Update properties of this object
5500
+ def update!(**args)
5501
+ @alert_id = args[:alert_id] if args.key?(:alert_id)
5502
+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
5503
+ end
5504
+ end
5505
+
5455
5506
  # AlloyDB source import data from.
5456
5507
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
5457
5508
  include Google::Apis::Core::Hashable
@@ -6072,6 +6123,12 @@ module Google
6072
6123
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
6073
6124
  include Google::Apis::Core::Hashable
6074
6125
 
6126
+ # Optional. Whether to disable spell correction. The default value is `false`.
6127
+ # Corresponds to the JSON property `disableSpellCorrection`
6128
+ # @return [Boolean]
6129
+ attr_accessor :disable_spell_correction
6130
+ alias_method :disable_spell_correction?, :disable_spell_correction
6131
+
6075
6132
  # Query classification specification.
6076
6133
  # Corresponds to the JSON property `queryClassificationSpec`
6077
6134
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -6088,6 +6145,7 @@ module Google
6088
6145
 
6089
6146
  # Update properties of this object
6090
6147
  def update!(**args)
6148
+ @disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
6091
6149
  @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
6092
6150
  @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
6093
6151
  end
@@ -9478,6 +9536,11 @@ module Google
9478
9536
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig]
9479
9537
  attr_accessor :action_config
9480
9538
 
9539
+ # Optional. The connector level alert config.
9540
+ # Corresponds to the JSON property `alertPolicyConfigs`
9541
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
9542
+ attr_accessor :alert_policy_configs
9543
+
9481
9544
  # Indicates whether the connector is disabled for auto run. It can be used to
9482
9545
  # pause periodical and real time sync.
9483
9546
  # Corresponds to the JSON property `autoRunDisabled`
@@ -9667,6 +9730,7 @@ module Google
9667
9730
  # Update properties of this object
9668
9731
  def update!(**args)
9669
9732
  @action_config = args[:action_config] if args.key?(:action_config)
9733
+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
9670
9734
  @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
9671
9735
  @bap_config = args[:bap_config] if args.key?(:bap_config)
9672
9736
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -16102,7 +16166,8 @@ module Google
16102
16166
  # @return [String]
16103
16167
  attr_accessor :title
16104
16168
 
16105
- # Required. The URL for the page the user wants to promote.
16169
+ # Optional. The URL for the page the user wants to promote. Must be set for site
16170
+ # search. For other verticals, this is optional.
16106
16171
  # Corresponds to the JSON property `uri`
16107
16172
  # @return [String]
16108
16173
  attr_accessor :uri
@@ -20284,6 +20349,13 @@ module Google
20284
20349
  attr_accessor :enable_web_app
20285
20350
  alias_method :enable_web_app?, :enable_web_app
20286
20351
 
20352
+ # Optional. Language code for user interface. Use language tags defined by [
20353
+ # BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). If unset, the default
20354
+ # language code is "en-US".
20355
+ # Corresponds to the JSON property `languageCode`
20356
+ # @return [String]
20357
+ attr_accessor :language_code
20358
+
20287
20359
  # Optional. The workforce identity pool provider used to access the widget.
20288
20360
  # Corresponds to the JSON property `workforceIdentityPoolProvider`
20289
20361
  # @return [String]
@@ -20298,6 +20370,7 @@ module Google
20298
20370
  @allow_public_access = args[:allow_public_access] if args.key?(:allow_public_access)
20299
20371
  @allowlisted_domains = args[:allowlisted_domains] if args.key?(:allowlisted_domains)
20300
20372
  @enable_web_app = args[:enable_web_app] if args.key?(:enable_web_app)
20373
+ @language_code = args[:language_code] if args.key?(:language_code)
20301
20374
  @workforce_identity_pool_provider = args[:workforce_identity_pool_provider] if args.key?(:workforce_identity_pool_provider)
20302
20375
  end
20303
20376
  end
@@ -23707,7 +23780,8 @@ module Google
23707
23780
  # @return [String]
23708
23781
  attr_accessor :title
23709
23782
 
23710
- # Required. The URL for the page the user wants to promote.
23783
+ # Optional. The URL for the page the user wants to promote. Must be set for site
23784
+ # search. For other verticals, this is optional.
23711
23785
  # Corresponds to the JSON property `uri`
23712
23786
  # @return [String]
23713
23787
  attr_accessor :uri
@@ -23768,6 +23842,11 @@ module Google
23768
23842
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
23769
23843
  attr_accessor :data_store_specs
23770
23844
 
23845
+ # Specifies features for display, like match highlighting.
23846
+ # Corresponds to the JSON property `displaySpec`
23847
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
23848
+ attr_accessor :display_spec
23849
+
23771
23850
  # The specification that uses customized query embedding vector to do semantic
23772
23851
  # document retrieval.
23773
23852
  # Corresponds to the JSON property `embeddingSpec`
@@ -24039,6 +24118,7 @@ module Google
24039
24118
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
24040
24119
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
24041
24120
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
24121
+ @display_spec = args[:display_spec] if args.key?(:display_spec)
24042
24122
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
24043
24123
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
24044
24124
  @filter = args[:filter] if args.key?(:filter)
@@ -24595,6 +24675,25 @@ module Google
24595
24675
  end
24596
24676
  end
24597
24677
 
24678
+ # Specifies features for display, like match highlighting.
24679
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
24680
+ include Google::Apis::Core::Hashable
24681
+
24682
+ # The condition under which match highlighting should occur.
24683
+ # Corresponds to the JSON property `matchHighlightingCondition`
24684
+ # @return [String]
24685
+ attr_accessor :match_highlighting_condition
24686
+
24687
+ def initialize(**args)
24688
+ update!(**args)
24689
+ end
24690
+
24691
+ # Update properties of this object
24692
+ def update!(**args)
24693
+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
24694
+ end
24695
+ end
24696
+
24598
24697
  # The specification that uses customized query embedding vector to do semantic
24599
24698
  # document retrieval.
24600
24699
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.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
@@ -832,6 +832,18 @@ module Google
832
832
  include Google::Apis::Core::JsonObjectSupport
833
833
  end
834
834
 
835
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
835
847
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
836
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
849
 
@@ -3856,6 +3868,12 @@ module Google
3856
3868
  include Google::Apis::Core::JsonObjectSupport
3857
3869
  end
3858
3870
 
3871
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
3872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3873
+
3874
+ include Google::Apis::Core::JsonObjectSupport
3875
+ end
3876
+
3859
3877
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
3860
3878
  class Representation < Google::Apis::Core::JsonRepresentation; end
3861
3879
 
@@ -5507,6 +5525,23 @@ module Google
5507
5525
  end
5508
5526
  end
5509
5527
 
5528
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5529
+ # @private
5530
+ class Representation < Google::Apis::Core::JsonRepresentation
5531
+ collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment::Representation
5532
+
5533
+ property :alert_policy_name, as: 'alertPolicyName'
5534
+ end
5535
+ end
5536
+
5537
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5538
+ # @private
5539
+ class Representation < Google::Apis::Core::JsonRepresentation
5540
+ property :alert_id, as: 'alertId'
5541
+ property :enroll_state, as: 'enrollState'
5542
+ end
5543
+ end
5544
+
5510
5545
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
5511
5546
  # @private
5512
5547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5673,6 +5708,7 @@ module Google
5673
5708
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
5674
5709
  # @private
5675
5710
  class Representation < Google::Apis::Core::JsonRepresentation
5711
+ property :disable_spell_correction, as: 'disableSpellCorrection'
5676
5712
  property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
5677
5713
 
5678
5714
  property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
@@ -6630,6 +6666,8 @@ module Google
6630
6666
  class Representation < Google::Apis::Core::JsonRepresentation
6631
6667
  property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
6632
6668
 
6669
+ collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
6670
+
6633
6671
  property :auto_run_disabled, as: 'autoRunDisabled'
6634
6672
  property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
6635
6673
 
@@ -9531,6 +9569,7 @@ module Google
9531
9569
  property :allow_public_access, as: 'allowPublicAccess'
9532
9570
  collection :allowlisted_domains, as: 'allowlistedDomains'
9533
9571
  property :enable_web_app, as: 'enableWebApp'
9572
+ property :language_code, as: 'languageCode'
9534
9573
  property :workforce_identity_pool_provider, as: 'workforceIdentityPoolProvider'
9535
9574
  end
9536
9575
  end
@@ -10512,6 +10551,8 @@ module Google
10512
10551
 
10513
10552
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
10514
10553
 
10554
+ property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec::Representation
10555
+
10515
10556
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
10516
10557
 
10517
10558
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
@@ -10677,6 +10718,13 @@ module Google
10677
10718
  end
10678
10719
  end
10679
10720
 
10721
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
10722
+ # @private
10723
+ class Representation < Google::Apis::Core::JsonRepresentation
10724
+ property :match_highlighting_condition, as: 'matchHighlightingCondition'
10725
+ end
10726
+ end
10727
+
10680
10728
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
10681
10729
  # @private
10682
10730
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: