google-apis-discoveryengine_v1alpha 0.19.0 → 0.20.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: 2771655dc924e116f60fe6915e797d93b5e1d9af86bd1191e9c88a8146b18144
4
- data.tar.gz: 2583373c9ae454e1c13050f593cb27cd623890e314bff89dedfe2a302f854f2a
3
+ metadata.gz: 9863624d7aca9ef038f39e9db1ec589c57f7d100fb799d6ee71e30e26b933022
4
+ data.tar.gz: 31a13fd1f7c9eeeca948526df998a7325acd0eb44f09e6cc19d14782507a9195
5
5
  SHA512:
6
- metadata.gz: 924cb236b0bc385e298a8bed1cc284c9566eaf06b518e5d5eb7e0a900bba266f9526626f26bf3d903fd32a7dd7060d59b1946342e068a21fea23623bf7747e77
7
- data.tar.gz: f7cdc5a55ebe84fb401645e82c1cd6b644033d7b82b01e6d10e46b7e851863b687bf3d44652f3d800ecebbb0f3f8cff06ee868353a4fcaa76839a9b34c1d41e4
6
+ metadata.gz: 6a596bcd206a4e8ea92590ddb74f86b27f61a1052848db675aae3b81b7c9ac864a5ab97685781e104ea65582829ff41790d47e6cbe86ad9b2e424cebcd491d80
7
+ data.tar.gz: 3872081c566c8fd539267998a6df8e133758f9cbd294ccb4ce8ace6570cde7fdf138f266d75ffd1ba0f3df7d7523249648e342ce1894da071430fd3a77237815
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.20.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230905
6
+
3
7
  ### v0.19.0 (2023-08-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20230817
@@ -829,9 +829,9 @@ module Google
829
829
  # The unique document field paths that serve as the source of this suggestion if
830
830
  # it was generated from completable fields. This field is only populated for the
831
831
  # document-completable model.
832
- # Corresponds to the JSON property `completableFieldPath`
832
+ # Corresponds to the JSON property `completableFieldPaths`
833
833
  # @return [Array<String>]
834
- attr_accessor :completable_field_path
834
+ attr_accessor :completable_field_paths
835
835
 
836
836
  # The suggestion for the query.
837
837
  # Corresponds to the JSON property `suggestion`
@@ -844,7 +844,7 @@ module Google
844
844
 
845
845
  # Update properties of this object
846
846
  def update!(**args)
847
- @completable_field_path = args[:completable_field_path] if args.key?(:completable_field_path)
847
+ @completable_field_paths = args[:completable_field_paths] if args.key?(:completable_field_paths)
848
848
  @suggestion = args[:suggestion] if args.key?(:suggestion)
849
849
  end
850
850
  end
@@ -1022,6 +1022,11 @@ module Google
1022
1022
  # @return [String]
1023
1023
  attr_accessor :serving_config
1024
1024
 
1025
+ # A specification for configuring a summary returned in a search response.
1026
+ # Corresponds to the JSON property `summarySpec`
1027
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec]
1028
+ attr_accessor :summary_spec
1029
+
1025
1030
  # The user labels applied to a resource must meet the following requirements: *
1026
1031
  # Each resource can have multiple labels, up to a maximum of 64. * Each label
1027
1032
  # must be a key-value pair. * Keys have a minimum length of 1 character and a
@@ -1048,6 +1053,7 @@ module Google
1048
1053
  @query = args[:query] if args.key?(:query)
1049
1054
  @safe_search = args[:safe_search] if args.key?(:safe_search)
1050
1055
  @serving_config = args[:serving_config] if args.key?(:serving_config)
1056
+ @summary_spec = args[:summary_spec] if args.key?(:summary_spec)
1051
1057
  @user_labels = args[:user_labels] if args.key?(:user_labels)
1052
1058
  end
1053
1059
  end
@@ -3605,6 +3611,11 @@ module Google
3605
3611
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
3606
3612
  include Google::Apis::Core::Hashable
3607
3613
 
3614
+ # Safety Attribute categories and their associated confidence scores.
3615
+ # Corresponds to the JSON property `safetyAttributes`
3616
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes]
3617
+ attr_accessor :safety_attributes
3618
+
3608
3619
  # Additional summary-skipped reasons. This provides the reason for ignored cases.
3609
3620
  # If nothing is skipped, this field is not set.
3610
3621
  # Corresponds to the JSON property `summarySkippedReasons`
@@ -3622,11 +3633,39 @@ module Google
3622
3633
 
3623
3634
  # Update properties of this object
3624
3635
  def update!(**args)
3636
+ @safety_attributes = args[:safety_attributes] if args.key?(:safety_attributes)
3625
3637
  @summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons)
3626
3638
  @summary_text = args[:summary_text] if args.key?(:summary_text)
3627
3639
  end
3628
3640
  end
3629
3641
 
3642
+ # Safety Attribute categories and their associated confidence scores.
3643
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
3644
+ include Google::Apis::Core::Hashable
3645
+
3646
+ # The display names of Safety Attribute categories associated with the generated
3647
+ # content. Order matches the Scores.
3648
+ # Corresponds to the JSON property `categories`
3649
+ # @return [Array<String>]
3650
+ attr_accessor :categories
3651
+
3652
+ # The confidence scores of the each category, higher value means higher
3653
+ # confidence. Order matches the Categories.
3654
+ # Corresponds to the JSON property `scores`
3655
+ # @return [Array<Float>]
3656
+ attr_accessor :scores
3657
+
3658
+ def initialize(**args)
3659
+ update!(**args)
3660
+ end
3661
+
3662
+ # Update properties of this object
3663
+ def update!(**args)
3664
+ @categories = args[:categories] if args.key?(:categories)
3665
+ @scores = args[:scores] if args.key?(:scores)
3666
+ end
3667
+ end
3668
+
3630
3669
  # Verification information for target sites in advanced site search.
3631
3670
  class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
3632
3671
  include Google::Apis::Core::Hashable
@@ -3753,19 +3792,12 @@ module Google
3753
3792
  class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
3754
3793
  include Google::Apis::Core::Hashable
3755
3794
 
3756
- # This number is an estimation on how much total quota this project needs to
3757
- # successfully complete indexing.
3758
- # Corresponds to the JSON property `totalRequiredQuota`
3759
- # @return [Fixnum]
3760
- attr_accessor :total_required_quota
3761
-
3762
3795
  def initialize(**args)
3763
3796
  update!(**args)
3764
3797
  end
3765
3798
 
3766
3799
  # Update properties of this object
3767
3800
  def update!(**args)
3768
- @total_required_quota = args[:total_required_quota] if args.key?(:total_required_quota)
3769
3801
  end
3770
3802
  end
3771
3803
 
@@ -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.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230817"
25
+ REVISION = "20230905"
26
26
  end
27
27
  end
28
28
  end
@@ -574,6 +574,12 @@ module Google
574
574
  include Google::Apis::Core::JsonObjectSupport
575
575
  end
576
576
 
577
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
577
583
  class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
578
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
585
 
@@ -1003,7 +1009,7 @@ module Google
1003
1009
  class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion
1004
1010
  # @private
1005
1011
  class Representation < Google::Apis::Core::JsonRepresentation
1006
- collection :completable_field_path, as: 'completableFieldPath'
1012
+ collection :completable_field_paths, as: 'completableFieldPaths'
1007
1013
  property :suggestion, as: 'suggestion'
1008
1014
  end
1009
1015
  end
@@ -1058,6 +1064,8 @@ module Google
1058
1064
 
1059
1065
  property :safe_search, as: 'safeSearch'
1060
1066
  property :serving_config, as: 'servingConfig'
1067
+ property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec::Representation
1068
+
1061
1069
  hash :user_labels, as: 'userLabels'
1062
1070
  end
1063
1071
  end
@@ -1704,11 +1712,21 @@ module Google
1704
1712
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummary
1705
1713
  # @private
1706
1714
  class Representation < Google::Apis::Core::JsonRepresentation
1715
+ property :safety_attributes, as: 'safetyAttributes', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes::Representation
1716
+
1707
1717
  collection :summary_skipped_reasons, as: 'summarySkippedReasons'
1708
1718
  property :summary_text, as: 'summaryText'
1709
1719
  end
1710
1720
  end
1711
1721
 
1722
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
1723
+ # @private
1724
+ class Representation < Google::Apis::Core::JsonRepresentation
1725
+ collection :categories, as: 'categories'
1726
+ collection :scores, as: 'scores'
1727
+ end
1728
+ end
1729
+
1712
1730
  class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
1713
1731
  # @private
1714
1732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1745,7 +1763,6 @@ module Google
1745
1763
  class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
1746
1764
  # @private
1747
1765
  class Representation < Google::Apis::Core::JsonRepresentation
1748
- property :total_required_quota, :numeric_string => true, as: 'totalRequiredQuota'
1749
1766
  end
1750
1767
  end
1751
1768
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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: 2023-08-20 00:00:00.000000000 Z
11
+ date: 2023-09-10 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Discovery Engine API V1alpha