google-apis-discoveryengine_v1beta 0.61.0 → 0.62.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: 1d1298adb4e0d684939b76876b3e4777be6d8088f0e13cdc3a90145789b1f329
4
- data.tar.gz: 4b379bd97998cc8e8f182120657d681fb8707d2c1576851050c4b906a036e728
3
+ metadata.gz: c602ba6c113e72ba5ac56aa133b9ff0924ab180e83c72ac5279cfd6f34a35fcf
4
+ data.tar.gz: b95c2a070878e01cd49e6ced251fc013fdaeaa8e47f9a6f84511a95769b65670
5
5
  SHA512:
6
- metadata.gz: cc8717b5fc8328fb67eff25366e2c5eb65c562f29fa217378656a51feb625397d8a7ba9b9f9786ae8ff389d65a73cb64398bd47b2accc4a7f32d4e4cb2bb9492
7
- data.tar.gz: b43a505bf70846a35ba5be970bc0f29160fa06e894be1697ccaccbcf0b1add4bfe224dfa6410c8c141d53a3692a82690d4faf55b30eb285b26e3f1f267b00669
6
+ metadata.gz: 6b97b93cfaa5d8d3f31d263bc552e1c181b187e89b2a9a79de4e196fea43b369b9fd65c1adf04d6a56427b7b1258d26dde78d62467e35d42b80a0fc8e1cfc7f1
7
+ data.tar.gz: 91a3dd695aec2d85d09dab7882335de0928096e8a40e32ef1e571a792f1bd7cfc217a972e71c3241833fb8b77a4d23f8827f126acf2d0154b5fad47ec6a573c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.62.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250410
6
+
3
7
  ### v0.61.0 (2025-04-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250331
@@ -910,7 +910,8 @@ module Google
910
910
  attr_accessor :active_time_range
911
911
 
912
912
  # Optional. Query regex to match the whole search query. Cannot be set when
913
- # Condition.query_terms is set. This is currently supporting promotion use case.
913
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
914
+ # serving controls.
914
915
  # Corresponds to the JSON property `queryRegex`
915
916
  # @return [String]
916
917
  attr_accessor :query_regex
@@ -3104,6 +3105,12 @@ module Google
3104
3105
  # @return [String]
3105
3106
  attr_accessor :description
3106
3107
 
3108
+ # Optional. The Document the user wants to promote. For site search, leave unset
3109
+ # and only populate uri. Can be set along with uri.
3110
+ # Corresponds to the JSON property `document`
3111
+ # @return [String]
3112
+ attr_accessor :document
3113
+
3107
3114
  # Optional. The enabled promotion will be returned for any serving configs
3108
3115
  # associated with the parent of the control this promotion is attached to. This
3109
3116
  # flag is used for basic site search only.
@@ -3135,6 +3142,7 @@ module Google
3135
3142
  # Update properties of this object
3136
3143
  def update!(**args)
3137
3144
  @description = args[:description] if args.key?(:description)
3145
+ @document = args[:document] if args.key?(:document)
3138
3146
  @enabled = args[:enabled] if args.key?(:enabled)
3139
3147
  @image_uri = args[:image_uri] if args.key?(:image_uri)
3140
3148
  @title = args[:title] if args.key?(:title)
@@ -5240,7 +5248,8 @@ module Google
5240
5248
  attr_accessor :active_time_range
5241
5249
 
5242
5250
  # Optional. Query regex to match the whole search query. Cannot be set when
5243
- # Condition.query_terms is set. This is currently supporting promotion use case.
5251
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
5252
+ # serving controls.
5244
5253
  # Corresponds to the JSON property `queryRegex`
5245
5254
  # @return [String]
5246
5255
  attr_accessor :query_regex
@@ -9549,6 +9558,12 @@ module Google
9549
9558
  # @return [String]
9550
9559
  attr_accessor :description
9551
9560
 
9561
+ # Optional. The Document the user wants to promote. For site search, leave unset
9562
+ # and only populate uri. Can be set along with uri.
9563
+ # Corresponds to the JSON property `document`
9564
+ # @return [String]
9565
+ attr_accessor :document
9566
+
9552
9567
  # Optional. The enabled promotion will be returned for any serving configs
9553
9568
  # associated with the parent of the control this promotion is attached to. This
9554
9569
  # flag is used for basic site search only.
@@ -9580,6 +9595,7 @@ module Google
9580
9595
  # Update properties of this object
9581
9596
  def update!(**args)
9582
9597
  @description = args[:description] if args.key?(:description)
9598
+ @document = args[:document] if args.key?(:document)
9583
9599
  @enabled = args[:enabled] if args.key?(:enabled)
9584
9600
  @image_uri = args[:image_uri] if args.key?(:image_uri)
9585
9601
  @title = args[:title] if args.key?(:title)
@@ -14409,6 +14425,11 @@ module Google
14409
14425
  class GoogleCloudDiscoveryengineV1betaChunk
14410
14426
  include Google::Apis::Core::Hashable
14411
14427
 
14428
+ # Output only. Annotation contents if the current chunk contains annotations.
14429
+ # Corresponds to the JSON property `annotationContents`
14430
+ # @return [Array<String>]
14431
+ attr_accessor :annotation_contents
14432
+
14412
14433
  # Metadata of the current chunk. This field is only populated on SearchService.
14413
14434
  # Search API.
14414
14435
  # Corresponds to the JSON property `chunkMetadata`
@@ -14420,6 +14441,13 @@ module Google
14420
14441
  # @return [String]
14421
14442
  attr_accessor :content
14422
14443
 
14444
+ # Output only. Image Data URLs if the current chunk contains images. Data URLs
14445
+ # are composed of four parts: a prefix (data:), a MIME type indicating the type
14446
+ # of data, an optional base64 token if non-textual, and the data itself: data:,
14447
+ # Corresponds to the JSON property `dataUrls`
14448
+ # @return [Array<String>]
14449
+ attr_accessor :data_urls
14450
+
14423
14451
  # Output only. This field is OUTPUT_ONLY. It contains derived data that are not
14424
14452
  # in the original input document.
14425
14453
  # Corresponds to the JSON property `derivedStructData`
@@ -14463,8 +14491,10 @@ module Google
14463
14491
 
14464
14492
  # Update properties of this object
14465
14493
  def update!(**args)
14494
+ @annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
14466
14495
  @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
14467
14496
  @content = args[:content] if args.key?(:content)
14497
+ @data_urls = args[:data_urls] if args.key?(:data_urls)
14468
14498
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
14469
14499
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
14470
14500
  @id = args[:id] if args.key?(:id)
@@ -14840,7 +14870,8 @@ module Google
14840
14870
  attr_accessor :active_time_range
14841
14871
 
14842
14872
  # Optional. Query regex to match the whole search query. Cannot be set when
14843
- # Condition.query_terms is set. This is currently supporting promotion use case.
14873
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
14874
+ # serving controls.
14844
14875
  # Corresponds to the JSON property `queryRegex`
14845
14876
  # @return [String]
14846
14877
  attr_accessor :query_regex
@@ -16410,10 +16441,15 @@ module Google
16410
16441
  include Google::Apis::Core::Hashable
16411
16442
 
16412
16443
  # The MIME type of the content. Supported types: * `application/pdf` (PDF, only
16413
- # native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.
16414
- # openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/
16415
- # vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/
16416
- # plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.
16444
+ # native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) *
16445
+ # `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-
16446
+ # officedocument.wordprocessingml.document` (DOCX) * `application/vnd.
16447
+ # openxmlformats-officedocument.presentationml.presentation` (PPTX) * `
16448
+ # application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `
16449
+ # application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are
16450
+ # supported only if layout parser is enabled in the data store: * `image/bmp` (
16451
+ # BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/
16452
+ # tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.
16417
16453
  # xhtml.
16418
16454
  # Corresponds to the JSON property `mimeType`
16419
16455
  # @return [String]
@@ -20644,6 +20680,12 @@ module Google
20644
20680
  # @return [String]
20645
20681
  attr_accessor :description
20646
20682
 
20683
+ # Optional. The Document the user wants to promote. For site search, leave unset
20684
+ # and only populate uri. Can be set along with uri.
20685
+ # Corresponds to the JSON property `document`
20686
+ # @return [String]
20687
+ attr_accessor :document
20688
+
20647
20689
  # Optional. The enabled promotion will be returned for any serving configs
20648
20690
  # associated with the parent of the control this promotion is attached to. This
20649
20691
  # flag is used for basic site search only.
@@ -20675,6 +20717,7 @@ module Google
20675
20717
  # Update properties of this object
20676
20718
  def update!(**args)
20677
20719
  @description = args[:description] if args.key?(:description)
20720
+ @document = args[:document] if args.key?(:document)
20678
20721
  @enabled = args[:enabled] if args.key?(:enabled)
20679
20722
  @image_uri = args[:image_uri] if args.key?(:image_uri)
20680
20723
  @title = args[:title] if args.key?(:title)
@@ -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.61.0"
19
+ GEM_VERSION = "0.62.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 = "20250331"
25
+ REVISION = "20250410"
26
26
  end
27
27
  end
28
28
  end
@@ -4862,6 +4862,7 @@ module Google
4862
4862
  # @private
4863
4863
  class Representation < Google::Apis::Core::JsonRepresentation
4864
4864
  property :description, as: 'description'
4865
+ property :document, as: 'document'
4865
4866
  property :enabled, as: 'enabled'
4866
4867
  property :image_uri, as: 'imageUri'
4867
4868
  property :title, as: 'title'
@@ -6591,6 +6592,7 @@ module Google
6591
6592
  # @private
6592
6593
  class Representation < Google::Apis::Core::JsonRepresentation
6593
6594
  property :description, as: 'description'
6595
+ property :document, as: 'document'
6594
6596
  property :enabled, as: 'enabled'
6595
6597
  property :image_uri, as: 'imageUri'
6596
6598
  property :title, as: 'title'
@@ -7895,9 +7897,11 @@ module Google
7895
7897
  class GoogleCloudDiscoveryengineV1betaChunk
7896
7898
  # @private
7897
7899
  class Representation < Google::Apis::Core::JsonRepresentation
7900
+ collection :annotation_contents, as: 'annotationContents'
7898
7901
  property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata::Representation
7899
7902
 
7900
7903
  property :content, as: 'content'
7904
+ collection :data_urls, as: 'dataUrls'
7901
7905
  hash :derived_struct_data, as: 'derivedStructData'
7902
7906
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata::Representation
7903
7907
 
@@ -9677,6 +9681,7 @@ module Google
9677
9681
  # @private
9678
9682
  class Representation < Google::Apis::Core::JsonRepresentation
9679
9683
  property :description, as: 'description'
9684
+ property :document, as: 'document'
9680
9685
  property :enabled, as: 'enabled'
9681
9686
  property :image_uri, as: 'imageUri'
9682
9687
  property :title, as: 'title'
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.61.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-16 00:00:00.000000000 Z
10
+ date: 2025-04-20 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.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.62.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: