@@ -3015,6 +3015,11 @@ def update!(**args)
30153015 class GoogleCloudDiscoveryengineV1Chunk
30163016 include Google::Apis::Core::Hashable
30173017
3018+ # Output only. Annotation contents if the current chunk contains annotations.
3019+ # Corresponds to the JSON property `annotationContents`
3020+ # @return [Array<String>]
3021+ attr_accessor :annotation_contents
3022+
30183023 # Metadata of the current chunk. This field is only populated on SearchService.
30193024 # Search API.
30203025 # Corresponds to the JSON property `chunkMetadata`
@@ -3026,6 +3031,13 @@ class GoogleCloudDiscoveryengineV1Chunk
30263031 # @return [String]
30273032 attr_accessor :content
30283033
3034+ # Output only. Image Data URLs if the current chunk contains images. Data URLs
3035+ # are composed of four parts: a prefix (data:), a MIME type indicating the type
3036+ # of data, an optional base64 token if non-textual, and the data itself: data:,
3037+ # Corresponds to the JSON property `dataUrls`
3038+ # @return [Array<String>]
3039+ attr_accessor :data_urls
3040+
30293041 # Output only. This field is OUTPUT_ONLY. It contains derived data that are not
30303042 # in the original input document.
30313043 # Corresponds to the JSON property `derivedStructData`
@@ -3069,8 +3081,10 @@ def initialize(**args)
30693081
30703082 # Update properties of this object
30713083 def update!(**args)
3084+ @annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
30723085 @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
30733086 @content = args[:content] if args.key?(:content)
3087+ @data_urls = args[:data_urls] if args.key?(:data_urls)
30743088 @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
30753089 @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
30763090 @id = args[:id] if args.key?(:id)
@@ -3446,7 +3460,8 @@ class GoogleCloudDiscoveryengineV1Condition
34463460 attr_accessor :active_time_range
34473461
34483462 # Optional. Query regex to match the whole search query. Cannot be set when
3449- # Condition.query_terms is set. This is currently supporting promotion use case.
3463+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
3464+ # serving controls.
34503465 # Corresponds to the JSON property `queryRegex`
34513466 # @return [String]
34523467 attr_accessor :query_regex
@@ -4952,10 +4967,15 @@ class GoogleCloudDiscoveryengineV1DocumentContent
49524967 include Google::Apis::Core::Hashable
49534968
49544969 # The MIME type of the content. Supported types: * `application/pdf` (PDF, only
4955- # native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.
4956- # openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/
4957- # vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/
4958- # plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.
4970+ # native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) *
4971+ # `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-
4972+ # officedocument.wordprocessingml.document` (DOCX) * `application/vnd.
4973+ # openxmlformats-officedocument.presentationml.presentation` (PPTX) * `
4974+ # application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `
4975+ # application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are
4976+ # supported only if layout parser is enabled in the data store: * `image/bmp` (
4977+ # BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/
4978+ # tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.
49594979 # xhtml.
49604980 # Corresponds to the JSON property `mimeType`
49614981 # @return [String]
@@ -8225,6 +8245,12 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion
82258245 # @return [String]
82268246 attr_accessor :description
82278247
8248+ # Optional. The Document the user wants to promote. For site search, leave unset
8249+ # and only populate uri. Can be set along with uri.
8250+ # Corresponds to the JSON property `document`
8251+ # @return [String]
8252+ attr_accessor :document
8253+
82288254 # Optional. The enabled promotion will be returned for any serving configs
82298255 # associated with the parent of the control this promotion is attached to. This
82308256 # flag is used for basic site search only.
@@ -8256,6 +8282,7 @@ def initialize(**args)
82568282 # Update properties of this object
82578283 def update!(**args)
82588284 @description = args[:description] if args.key?(:description)
8285+ @document = args[:document] if args.key?(:document)
82598286 @enabled = args[:enabled] if args.key?(:enabled)
82608287 @image_uri = args[:image_uri] if args.key?(:image_uri)
82618288 @title = args[:title] if args.key?(:title)
@@ -12255,7 +12282,8 @@ class GoogleCloudDiscoveryengineV1alphaCondition
1225512282 attr_accessor :active_time_range
1225612283
1225712284 # Optional. Query regex to match the whole search query. Cannot be set when
12258- # Condition.query_terms is set. This is currently supporting promotion use case.
12285+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
12286+ # serving controls.
1225912287 # Corresponds to the JSON property `queryRegex`
1226012288 # @return [String]
1226112289 attr_accessor :query_regex
@@ -16564,6 +16592,12 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
1656416592 # @return [String]
1656516593 attr_accessor :description
1656616594
16595+ # Optional. The Document the user wants to promote. For site search, leave unset
16596+ # and only populate uri. Can be set along with uri.
16597+ # Corresponds to the JSON property `document`
16598+ # @return [String]
16599+ attr_accessor :document
16600+
1656716601 # Optional. The enabled promotion will be returned for any serving configs
1656816602 # associated with the parent of the control this promotion is attached to. This
1656916603 # flag is used for basic site search only.
@@ -16595,6 +16629,7 @@ def initialize(**args)
1659516629 # Update properties of this object
1659616630 def update!(**args)
1659716631 @description = args[:description] if args.key?(:description)
16632+ @document = args[:document] if args.key?(:document)
1659816633 @enabled = args[:enabled] if args.key?(:enabled)
1659916634 @image_uri = args[:image_uri] if args.key?(:image_uri)
1660016635 @title = args[:title] if args.key?(:title)
@@ -18817,7 +18852,8 @@ class GoogleCloudDiscoveryengineV1betaCondition
1881718852 attr_accessor :active_time_range
1881818853
1881918854 # Optional. Query regex to match the whole search query. Cannot be set when
18820- # Condition.query_terms is set. This is currently supporting promotion use case.
18855+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
18856+ # serving controls.
1882118857 # Corresponds to the JSON property `queryRegex`
1882218858 # @return [String]
1882318859 attr_accessor :query_regex
@@ -21518,6 +21554,12 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
2151821554 # @return [String]
2151921555 attr_accessor :description
2152021556
21557+ # Optional. The Document the user wants to promote. For site search, leave unset
21558+ # and only populate uri. Can be set along with uri.
21559+ # Corresponds to the JSON property `document`
21560+ # @return [String]
21561+ attr_accessor :document
21562+
2152121563 # Optional. The enabled promotion will be returned for any serving configs
2152221564 # associated with the parent of the control this promotion is attached to. This
2152321565 # flag is used for basic site search only.
@@ -21549,6 +21591,7 @@ def initialize(**args)
2154921591 # Update properties of this object
2155021592 def update!(**args)
2155121593 @description = args[:description] if args.key?(:description)
21594+ @document = args[:document] if args.key?(:document)
2155221595 @enabled = args[:enabled] if args.key?(:enabled)
2155321596 @image_uri = args[:image_uri] if args.key?(:image_uri)
2155421597 @title = args[:title] if args.key?(:title)
0 commit comments