google-apis-contentwarehouse_v1 0.24.0 → 0.25.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.
@@ -6272,15 +6272,17 @@ module Google
6272
6272
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPosixAccount>]
6273
6273
  attr_accessor :posix_account
6274
6274
 
6275
- # DEPRECATED. (go/people-api-concepts#repeated): Use person.profile_url_repeated
6276
- # instead. Access to this field is restricted to a set of legacy clients. This
6277
- # is a Google+-only field. See go/fbs-g+-deprecation. NOTE: `Person.profile_url`
6278
- # is only populated for profile-centric person.
6275
+ # DEPRECATED. No data is returned for this field anymore. (go/people-api-
6276
+ # concepts#repeated): Use person.profile_url_repeated instead. Access to this
6277
+ # field is restricted to a set of legacy clients. This is a Google+-only field.
6278
+ # See go/fbs-g+-deprecation. NOTE: `Person.profile_url` is only populated for
6279
+ # profile-centric person.
6279
6280
  # Corresponds to the JSON property `profileUrl`
6280
6281
  # @return [String]
6281
6282
  attr_accessor :profile_url
6282
6283
 
6283
- # This is a Google+-only field. See go/fbs-g+-deprecation.
6284
+ # DEPRECATED. No data is returned for this field anymore. This is a Google+-only
6285
+ # field. See go/fbs-g+-deprecation.
6284
6286
  # Corresponds to the JSON property `profileUrlRepeated`
6285
6287
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiProfileUrl>]
6286
6288
  attr_accessor :profile_url_repeated
@@ -9551,28 +9553,6 @@ module Google
9551
9553
  end
9552
9554
  end
9553
9555
 
9554
- # Information about the readiness of Home app features on the device. As of
9555
- # January 2023, this is only populated by Assistant on Android.
9556
- class AssistantApiCapabilitiesHomeAppCapabilities
9557
- include Google::Apis::Core::Hashable
9558
-
9559
- # The app's installation and setup state. This is most pertinent for Tangor,
9560
- # where lock screen Smart Home queries are fulfilled by a Home app activity that
9561
- # may be blocked if this value is not `SETUP_STATE_COMPLETE`.
9562
- # Corresponds to the JSON property `setupState`
9563
- # @return [String]
9564
- attr_accessor :setup_state
9565
-
9566
- def initialize(**args)
9567
- update!(**args)
9568
- end
9569
-
9570
- # Update properties of this object
9571
- def update!(**args)
9572
- @setup_state = args[:setup_state] if args.key?(:setup_state)
9573
- end
9574
- end
9575
-
9576
9556
  # Capabilities that are associated with Assistants on auto surfaces. This is
9577
9557
  # different from other capabilities such as CarSettingsCapabilities,
9578
9558
  # CloudCarCapabilities since they are specific to settings and 3P cloud
@@ -16730,12 +16710,6 @@ module Google
16730
16710
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiGcmCapabilities]
16731
16711
  attr_accessor :gcm_capabilities
16732
16712
 
16733
- # Information about the readiness of Home app features on the device. As of
16734
- # January 2023, this is only populated by Assistant on Android.
16735
- # Corresponds to the JSON property `homeAppCapabilities`
16736
- # @return [Google::Apis::ContentwarehouseV1::AssistantApiCapabilitiesHomeAppCapabilities]
16737
- attr_accessor :home_app_capabilities
16738
-
16739
16713
  # Capabilities related to live TV channels.
16740
16714
  # Corresponds to the JSON property `liveTvChannelCapabilities`
16741
16715
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiLiveTvChannelCapabilities]
@@ -16832,7 +16806,6 @@ module Google
16832
16806
  @cross_device_execution_capabilities = args[:cross_device_execution_capabilities] if args.key?(:cross_device_execution_capabilities)
16833
16807
  @gacs_capabilities = args[:gacs_capabilities] if args.key?(:gacs_capabilities)
16834
16808
  @gcm_capabilities = args[:gcm_capabilities] if args.key?(:gcm_capabilities)
16835
- @home_app_capabilities = args[:home_app_capabilities] if args.key?(:home_app_capabilities)
16836
16809
  @live_tv_channel_capabilities = args[:live_tv_channel_capabilities] if args.key?(:live_tv_channel_capabilities)
16837
16810
  @oem_capabilities = args[:oem_capabilities] if args.key?(:oem_capabilities)
16838
16811
  @on_device_assistant_capabilities = args[:on_device_assistant_capabilities] if args.key?(:on_device_assistant_capabilities)
@@ -20047,7 +20020,7 @@ module Google
20047
20020
  attr_accessor :properties
20048
20021
 
20049
20022
  # The states of the device. They are dynamic and may change based on the current
20050
- # context. Next ID: 5
20023
+ # context. Next ID: 6
20051
20024
  # Corresponds to the JSON property `states`
20052
20025
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesStates]
20053
20026
  attr_accessor :states
@@ -20097,14 +20070,11 @@ module Google
20097
20070
  end
20098
20071
 
20099
20072
  # The states of the device. They are dynamic and may change based on the current
20100
- # context. Next ID: 5
20073
+ # context. Next ID: 6
20101
20074
  class AssistantGroundingRankerDeviceTargetingFeaturesStates
20102
20075
  include Google::Apis::Core::Hashable
20103
20076
 
20104
20077
  # The distance of the device relative to others that hear the user's OKG.
20105
- # Timestamp of when the device was last used. Should correspond to when the
20106
- # AssistantRequestParams (in ASSISTANT_SNAPSHOT corpus) were last written for
20107
- # this device.
20108
20078
  # Corresponds to the JSON property `distance`
20109
20079
  # @return [String]
20110
20080
  attr_accessor :distance
@@ -20115,6 +20085,19 @@ module Google
20115
20085
  attr_accessor :is_docked
20116
20086
  alias_method :is_docked?, :is_docked
20117
20087
 
20088
+ # Whether the device is a local device, i.e. the device that heard OKG from a
20089
+ # user and is processed by an assistant pipeline. If multiple devices heard OKG (
20090
+ # MDA case), each hearing device would be considered a local device in its own
20091
+ # assistant pipeline. Example: A user says "OKG, play music on TV" to Google
20092
+ # Home, and music is played on the TV. Google home is considered a local device,
20093
+ # while TV is considered a remote device. Timestamp of when the device was last
20094
+ # used. Should correspond to when the AssistantRequestParams (in
20095
+ # ASSISTANT_SNAPSHOT corpus) were last written for this device.
20096
+ # Corresponds to the JSON property `isLocal`
20097
+ # @return [Boolean]
20098
+ attr_accessor :is_local
20099
+ alias_method :is_local?, :is_local
20100
+
20118
20101
  # Indicate whether the device is locked.
20119
20102
  # Corresponds to the JSON property `isLocked`
20120
20103
  # @return [Boolean]
@@ -20135,6 +20118,7 @@ module Google
20135
20118
  def update!(**args)
20136
20119
  @distance = args[:distance] if args.key?(:distance)
20137
20120
  @is_docked = args[:is_docked] if args.key?(:is_docked)
20121
+ @is_local = args[:is_local] if args.key?(:is_local)
20138
20122
  @is_locked = args[:is_locked] if args.key?(:is_locked)
20139
20123
  @is_tethered = args[:is_tethered] if args.key?(:is_tethered)
20140
20124
  end
@@ -20203,12 +20187,12 @@ module Google
20203
20187
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerEndpointGroundingProviderFeatures]
20204
20188
  attr_accessor :endpoint_grounding_provider_features
20205
20189
 
20206
- # Features to be passed from Media GP to HGR. Next ID: 17
20190
+ # Features to be passed from Media GP to HGR. Next ID: 18
20207
20191
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
20208
20192
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
20209
20193
  attr_accessor :media_grounding_provider_features
20210
20194
 
20211
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 6
20195
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 7
20212
20196
  # Corresponds to the JSON property `podcastGroundingProviderFeatures`
20213
20197
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerPodcastGroundingProviderFeatures]
20214
20198
  attr_accessor :podcast_grounding_provider_features
@@ -20383,7 +20367,7 @@ module Google
20383
20367
  end
20384
20368
  end
20385
20369
 
20386
- # Features to be passed from Media GP to HGR. Next ID: 17
20370
+ # Features to be passed from Media GP to HGR. Next ID: 18
20387
20371
  class AssistantGroundingRankerMediaGroundingProviderFeatures
20388
20372
  include Google::Apis::Core::Hashable
20389
20373
 
@@ -20402,6 +20386,13 @@ module Google
20402
20386
  # @return [String]
20403
20387
  attr_accessor :entity_mid
20404
20388
 
20389
+ # True if the candidate has a CAST_VIDEO deeplink regardless of which provider
20390
+ # was chosen.
20391
+ # Corresponds to the JSON property `hasCastVideoDeeplink`
20392
+ # @return [Boolean]
20393
+ attr_accessor :has_cast_video_deeplink
20394
+ alias_method :has_cast_video_deeplink?, :has_cast_video_deeplink
20395
+
20405
20396
  # True if the argument's type was explicitly mentioned in the query.
20406
20397
  # Corresponds to the JSON property `hasTypeSemanticEdge`
20407
20398
  # @return [Boolean]
@@ -20502,6 +20493,7 @@ module Google
20502
20493
  @album_release_type = args[:album_release_type] if args.key?(:album_release_type)
20503
20494
  @ambiguity_classifier = args[:ambiguity_classifier] if args.key?(:ambiguity_classifier)
20504
20495
  @entity_mid = args[:entity_mid] if args.key?(:entity_mid)
20496
+ @has_cast_video_deeplink = args[:has_cast_video_deeplink] if args.key?(:has_cast_video_deeplink)
20505
20497
  @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
20506
20498
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
20507
20499
  @is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
@@ -20518,7 +20510,7 @@ module Google
20518
20510
  end
20519
20511
  end
20520
20512
 
20521
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 6
20513
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 7
20522
20514
  class AssistantGroundingRankerPodcastGroundingProviderFeatures
20523
20515
  include Google::Apis::Core::Hashable
20524
20516
 
@@ -20548,6 +20540,13 @@ module Google
20548
20540
  # @return [Float]
20549
20541
  attr_accessor :scubed_tstar_score
20550
20542
 
20543
+ # This score is in the range [0.0, 1.0] and is used for cross-backend (e.g., YT
20544
+ # vs another Music/Podcast service provider) ranking and scoring. 0.0 means no
20545
+ # confidence and 1.0 means full confidence.
20546
+ # Corresponds to the JSON property `youtubeConfidenceScore`
20547
+ # @return [Float]
20548
+ attr_accessor :youtube_confidence_score
20549
+
20551
20550
  def initialize(**args)
20552
20551
  update!(**args)
20553
20552
  end
@@ -20559,6 +20558,7 @@ module Google
20559
20558
  @popularity_score = args[:popularity_score] if args.key?(:popularity_score)
20560
20559
  @scubed_ng3_model_score = args[:scubed_ng3_model_score] if args.key?(:scubed_ng3_model_score)
20561
20560
  @scubed_tstar_score = args[:scubed_tstar_score] if args.key?(:scubed_tstar_score)
20561
+ @youtube_confidence_score = args[:youtube_confidence_score] if args.key?(:youtube_confidence_score)
20562
20562
  end
20563
20563
  end
20564
20564
 
@@ -22342,9 +22342,34 @@ module Google
22342
22342
  end
22343
22343
  end
22344
22344
 
22345
+ # Features used by the PrefulfillmentRanker's scorer exclusively to break ties.
22346
+ class AssistantPfrTiebreakingMetadata
22347
+ include Google::Apis::Core::Hashable
22348
+
22349
+ #
22350
+ # Corresponds to the JSON property `fingerprint`
22351
+ # @return [Fixnum]
22352
+ attr_accessor :fingerprint
22353
+
22354
+ #
22355
+ # Corresponds to the JSON property `sortedNameString`
22356
+ # @return [String]
22357
+ attr_accessor :sorted_name_string
22358
+
22359
+ def initialize(**args)
22360
+ update!(**args)
22361
+ end
22362
+
22363
+ # Update properties of this object
22364
+ def update!(**args)
22365
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
22366
+ @sorted_name_string = args[:sorted_name_string] if args.key?(:sorted_name_string)
22367
+ end
22368
+ end
22369
+
22345
22370
  # Signals to be used by the Prefulfillment Ranker. Derived from the
22346
22371
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
22347
- # Next ID: 62
22372
+ # Next ID: 65
22348
22373
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
22349
22374
  include Google::Apis::Core::Hashable
22350
22375
 
@@ -22516,6 +22541,13 @@ module Google
22516
22541
  attr_accessor :is_sage_disabled_intent
22517
22542
  alias_method :is_sage_disabled_intent?, :is_sage_disabled_intent
22518
22543
 
22544
+ # Whether the intent is produced by the Sage IntentGenerator invoked by the NSP
22545
+ # intent-generator (thus, Sage-in-NSP-invoking_Sage, or Sage-in-Nage).
22546
+ # Corresponds to the JSON property `isSageInNageIntent`
22547
+ # @return [Boolean]
22548
+ attr_accessor :is_sage_in_nage_intent
22549
+ alias_method :is_sage_in_nage_intent?, :is_sage_in_nage_intent
22550
+
22519
22551
  # Whether this intent was generated by Sage.
22520
22552
  # Corresponds to the JSON property `isSageIntent`
22521
22553
  # @return [Boolean]
@@ -22623,6 +22655,13 @@ module Google
22623
22655
  # @return [String]
22624
22656
  attr_accessor :phase
22625
22657
 
22658
+ # Whether the intent comes from the Sage IntentGenerator's "platinum" source,
22659
+ # signifying high-confidence in quality.
22660
+ # Corresponds to the JSON property `platinumSource`
22661
+ # @return [Boolean]
22662
+ attr_accessor :platinum_source
22663
+ alias_method :platinum_source?, :platinum_source
22664
+
22626
22665
  # Cosine similarity between predicted query-to-term model and assistant intent-
22627
22666
  # type-based salient terms. This is intended to be only used for ACE ranking and
22628
22667
  # only populated for assistant traffic.
@@ -22666,6 +22705,11 @@ module Google
22666
22705
  # @return [String]
22667
22706
  attr_accessor :sub_intent_type
22668
22707
 
22708
+ # Features used by the PrefulfillmentRanker's scorer exclusively to break ties.
22709
+ # Corresponds to the JSON property `tiebreakingMetadata`
22710
+ # @return [Google::Apis::ContentwarehouseV1::AssistantPfrTiebreakingMetadata]
22711
+ attr_accessor :tiebreaking_metadata
22712
+
22669
22713
  # Average of per-word confidence for top speech recognition hypothesis. The
22670
22714
  # value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
22671
22715
  # service/recognizer_log.proto?l=848&rcl=281400256
@@ -22712,6 +22756,7 @@ module Google
22712
22756
  @is_podcast_generic_intent = args[:is_podcast_generic_intent] if args.key?(:is_podcast_generic_intent)
22713
22757
  @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
22714
22758
  @is_sage_disabled_intent = args[:is_sage_disabled_intent] if args.key?(:is_sage_disabled_intent)
22759
+ @is_sage_in_nage_intent = args[:is_sage_in_nage_intent] if args.key?(:is_sage_in_nage_intent)
22715
22760
  @is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
22716
22761
  @is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
22717
22762
  @is_valid_smarthome_intent = args[:is_valid_smarthome_intent] if args.key?(:is_valid_smarthome_intent)
@@ -22730,6 +22775,7 @@ module Google
22730
22775
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
22731
22776
  @parsing_score_mse8_bucket_id = args[:parsing_score_mse8_bucket_id] if args.key?(:parsing_score_mse8_bucket_id)
22732
22777
  @phase = args[:phase] if args.key?(:phase)
22778
+ @platinum_source = args[:platinum_source] if args.key?(:platinum_source)
22733
22779
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
22734
22780
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
22735
22781
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
@@ -22737,6 +22783,7 @@ module Google
22737
22783
  @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
22738
22784
  @smarthome_intent_metadata = args[:smarthome_intent_metadata] if args.key?(:smarthome_intent_metadata)
22739
22785
  @sub_intent_type = args[:sub_intent_type] if args.key?(:sub_intent_type)
22786
+ @tiebreaking_metadata = args[:tiebreaking_metadata] if args.key?(:tiebreaking_metadata)
22740
22787
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
22741
22788
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
22742
22789
  end
@@ -25916,7 +25963,7 @@ module Google
25916
25963
  # does each field in CompositeDoc mean and who should I contact if I have
25917
25964
  # questions? To add a new field into CompositeDoc, or change existing field's
25918
25965
  # size significantly, please file a ticket at go/dj-new-field, fill in necessary
25919
- # information and get approved by docjoin-access@ team. Next id: 191
25966
+ # information and get approved by docjoin-access@ team. Next id: 193
25920
25967
  class CompositeDoc
25921
25968
  include Google::Apis::Core::Hashable
25922
25969
 
@@ -25948,7 +25995,9 @@ module Google
25948
25995
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerAnchorStatistics]
25949
25996
  attr_accessor :anchor_stats
25950
25997
 
25951
- #
25998
+ # Mark as non-personal since no personal fields will be populated in `anchors.
25999
+ # link_additional_info` and `anchors.additional_info`. For more details of
26000
+ # Search personal data, see go/dma52-search-cdoc-fields.
25952
26001
  # Corresponds to the JSON property `anchors`
25953
26002
  # @return [Google::Apis::ContentwarehouseV1::Anchors]
25954
26003
  attr_accessor :anchors
@@ -26593,6 +26642,17 @@ module Google
26593
26642
  # @return [Float]
26594
26643
  attr_accessor :normalized_click_score
26595
26644
 
26645
+ # Vertical membership of the document. - `primary_vertical` is the vertical that
26646
+ # initiated indexing of this document (or empty if the vertical was websearch). -
26647
+ # `verticals` is the full list of verticals that contained this document (
26648
+ # excluding websearch) at indexing time. `primary_vertical` may or may not be an
26649
+ # element of `verticals` because of vertical membership skew between the
26650
+ # ingestion time and indexing time. See go/one-indexing-for-web for more
26651
+ # background.
26652
+ # Corresponds to the JSON property `primaryVertical`
26653
+ # @return [String]
26654
+ attr_accessor :primary_vertical
26655
+
26596
26656
  # The raw navboost count for the canonical url without aggregating the navboost
26597
26657
  # from dup urls. This field is used when building forwarding map.
26598
26658
  # Corresponds to the JSON property `rawNavboost`
@@ -26645,6 +26705,11 @@ module Google
26645
26705
  # @return [Google::Apis::ContentwarehouseV1::IndexingSignalAggregatorUrlPatternSignals]
26646
26706
  attr_accessor :url_pattern_signals
26647
26707
 
26708
+ #
26709
+ # Corresponds to the JSON property `verticals`
26710
+ # @return [Array<String>]
26711
+ attr_accessor :verticals
26712
+
26648
26713
  # Indexing info about videos.
26649
26714
  # Corresponds to the JSON property `videoIndexingInfo`
26650
26715
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryVideoIndexingInfo]
@@ -26669,6 +26734,7 @@ module Google
26669
26734
  @indexing_ts = args[:indexing_ts] if args.key?(:indexing_ts)
26670
26735
  @no_longer_canonical_timestamp = args[:no_longer_canonical_timestamp] if args.key?(:no_longer_canonical_timestamp)
26671
26736
  @normalized_click_score = args[:normalized_click_score] if args.key?(:normalized_click_score)
26737
+ @primary_vertical = args[:primary_vertical] if args.key?(:primary_vertical)
26672
26738
  @raw_navboost = args[:raw_navboost] if args.key?(:raw_navboost)
26673
26739
  @row_timestamp = args[:row_timestamp] if args.key?(:row_timestamp)
26674
26740
  @selection_tier_rank = args[:selection_tier_rank] if args.key?(:selection_tier_rank)
@@ -26676,6 +26742,7 @@ module Google
26676
26742
  @url_changerate = args[:url_changerate] if args.key?(:url_changerate)
26677
26743
  @url_history = args[:url_history] if args.key?(:url_history)
26678
26744
  @url_pattern_signals = args[:url_pattern_signals] if args.key?(:url_pattern_signals)
26745
+ @verticals = args[:verticals] if args.key?(:verticals)
26679
26746
  @video_indexing_info = args[:video_indexing_info] if args.key?(:video_indexing_info)
26680
26747
  end
26681
26748
  end
@@ -26717,7 +26784,7 @@ module Google
26717
26784
  # does each field in CompositeDoc mean and who should I contact if I have
26718
26785
  # questions? To add a new field into CompositeDoc, or change existing field's
26719
26786
  # size significantly, please file a ticket at go/dj-new-field, fill in necessary
26720
- # information and get approved by docjoin-access@ team. Next id: 191
26787
+ # information and get approved by docjoin-access@ team. Next id: 193
26721
26788
  # Corresponds to the JSON property `partialCdoc`
26722
26789
  # @return [Google::Apis::ContentwarehouseV1::CompositeDoc]
26723
26790
  attr_accessor :partial_cdoc
@@ -35622,6 +35689,12 @@ module Google
35622
35689
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreAnchoredGeometryProto>]
35623
35690
  attr_accessor :storefront_geometry
35624
35691
 
35692
+ # A Geometry Store ID and, in some contexts, geometry materialized from the
35693
+ # record associated with that ID.
35694
+ # Corresponds to the JSON property `storefrontGeometryModel`
35695
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreGeometryStoreReferenceProto]
35696
+ attr_accessor :storefront_geometry_model
35697
+
35625
35698
  # We prefer features that have geometry over those that do not. In some cases we
35626
35699
  # synthesize geometry (e.g., polygons for postal codes). This flag is set to
35627
35700
  # indicate features that have such synthetic geometry.
@@ -35810,6 +35883,7 @@ module Google
35810
35883
  @source_info = args[:source_info] if args.key?(:source_info)
35811
35884
  @status = args[:status] if args.key?(:status)
35812
35885
  @storefront_geometry = args[:storefront_geometry] if args.key?(:storefront_geometry)
35886
+ @storefront_geometry_model = args[:storefront_geometry_model] if args.key?(:storefront_geometry_model)
35813
35887
  @synthetic_geometry = args[:synthetic_geometry] if args.key?(:synthetic_geometry)
35814
35888
  @temporary_data = args[:temporary_data] if args.key?(:temporary_data)
35815
35889
  @three_dim_model = args[:three_dim_model] if args.key?(:three_dim_model)
@@ -35875,16 +35949,14 @@ module Google
35875
35949
  end
35876
35950
  end
35877
35951
 
35878
- # Proto used to represent rights for a field type. See go/geo-rights for more
35879
- # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
35880
- # com/google/geostore/provenance/rights/Rights.java instead of accessing this
35881
- # proto directly.
35952
+ # Proto used to represent rights for a feature property id. See go/geo-rights
35953
+ # for more details. NOTE: Use google3/geostore/provenance/public/rights.h or
35954
+ # google3/java/com/google/geostore/provenance/rights/Rights.java instead of
35955
+ # accessing this proto directly.
35882
35956
  class GeostoreFieldWithRightsProto
35883
35957
  include Google::Apis::Core::Hashable
35884
35958
 
35885
- # ** DEPRECATED ** If field_type is set to FEATURE_ATTRIBUTE or
35886
- # KNOWLEDGE_GRAPH_PROPERTY, the attribute ID / KG property ID that makes this
35887
- # field with rights complete.
35959
+ # **DEPRECATED** Never set.
35888
35960
  # Corresponds to the JSON property `attributeId`
35889
35961
  # @return [String]
35890
35962
  attr_accessor :attribute_id
@@ -35899,13 +35971,14 @@ module Google
35899
35971
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeaturePropertyIdProto]
35900
35972
  attr_accessor :feature_property_id
35901
35973
 
35902
- # The field type for which the rights level are tracked on. The default value
35903
- # here has to match the value of fieldtype::NONE.
35974
+ # **DEPRECATED** The field type for which this entry tracks rights. There may be
35975
+ # multiple entries for the same field type - prefer feature_property_id to
35976
+ # uniquely identify a particular entry.
35904
35977
  # Corresponds to the JSON property `fieldType`
35905
35978
  # @return [Fixnum]
35906
35979
  attr_accessor :field_type
35907
35980
 
35908
- # The minimum rights level for all the current values on the field type.
35981
+ # The minimum rights level among all current values for this feature property id.
35909
35982
  # Corresponds to the JSON property `minRightsLevel`
35910
35983
  # @return [String]
35911
35984
  attr_accessor :min_rights_level
@@ -40262,6 +40335,11 @@ module Google
40262
40335
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFieldMetadataProto]
40263
40336
  attr_accessor :priority_metadata
40264
40337
 
40338
+ # Encapsulates ramp-specific properties.
40339
+ # Corresponds to the JSON property `ramp`
40340
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreSegmentProtoRampProto]
40341
+ attr_accessor :ramp
40342
+
40265
40343
  # The set of restrictions that apply to this segment. Restrictions may make a
40266
40344
  # single segment, turn, or more complex maneuver along a set of segments
40267
40345
  # unroutable for the specified travel modes, or may only add penalties or
@@ -40434,6 +40512,7 @@ module Google
40434
40512
  @pedestrian_grade = args[:pedestrian_grade] if args.key?(:pedestrian_grade)
40435
40513
  @priority = args[:priority] if args.key?(:priority)
40436
40514
  @priority_metadata = args[:priority_metadata] if args.key?(:priority_metadata)
40515
+ @ramp = args[:ramp] if args.key?(:ramp)
40437
40516
  @restriction = args[:restriction] if args.key?(:restriction)
40438
40517
  @road_monitor = args[:road_monitor] if args.key?(:road_monitor)
40439
40518
  @road_sign = args[:road_sign] if args.key?(:road_sign)
@@ -40451,6 +40530,32 @@ module Google
40451
40530
  end
40452
40531
  end
40453
40532
 
40533
+ # Encapsulates ramp-specific properties.
40534
+ class GeostoreSegmentProtoRampProto
40535
+ include Google::Apis::Core::Hashable
40536
+
40537
+ # The highest priority of any TYPE_ROAD endpoint segment which is transitively
40538
+ # connected to this ramp via other ramp segments. For instance, if we have two
40539
+ # roads connected through a series of ramps (omitting intersections): Road(P=96)-
40540
+ # > Ramp 1 -> Ramp 2 -> Ramp 3 -> Road(P=122) -> Road(P=144) The `
40541
+ # max_connected_priority` of all three intermediary ramps is 122. It's not 144,
40542
+ # since Road(P=144) is connected through another road, not a ramp. This differs
40543
+ # from the usual `SegmentProto.priority` field, which contains the lowest
40544
+ # priority across any connected road segment.
40545
+ # Corresponds to the JSON property `maxConnectedPriority`
40546
+ # @return [String]
40547
+ attr_accessor :max_connected_priority
40548
+
40549
+ def initialize(**args)
40550
+ update!(**args)
40551
+ end
40552
+
40553
+ # Update properties of this object
40554
+ def update!(**args)
40555
+ @max_connected_priority = args[:max_connected_priority] if args.key?(:max_connected_priority)
40556
+ end
40557
+ end
40558
+
40454
40559
  # This proto represents the geographic area served by an establishment. WARNING:
40455
40560
  # This proto is not meant to be used directly. Please use the provided libraries.
40456
40561
  # http://google3/geostore/base/public/service_area.h http://google3/java/com/
@@ -55224,7 +55329,7 @@ module Google
55224
55329
 
55225
55330
  # This defines the per-doc data which is extracted from thumbnails and
55226
55331
  # propagated over to indexing. It contains all information that can be used for
55227
- # restricts. Next tag id: 129
55332
+ # restricts. Next tag id: 130
55228
55333
  class ImageData
55229
55334
  include Google::Apis::Core::Hashable
55230
55335
 
@@ -55447,7 +55552,9 @@ module Google
55447
55552
  # @return [Float]
55448
55553
  attr_accessor :h2c
55449
55554
 
55450
- # 'Hovers to Impressions' and 'Hovers to Clicks' ratios for an image.
55555
+ # 'Hovers to Impressions' and 'Hovers to Clicks' ratios for an image. These are
55556
+ # considered Search CPS Personal Data due to concerns that they may be used to
55557
+ # reidentify or confirm the presence of specific singleton (unique) queries.
55451
55558
  # Corresponds to the JSON property `h2i`
55452
55559
  # @return [Float]
55453
55560
  attr_accessor :h2i
@@ -55559,6 +55666,11 @@ module Google
55559
55666
  # @return [Fixnum]
55560
55667
  attr_accessor :lineart_detector_version
55561
55668
 
55669
+ # Bitmask of LinkInfo enum in google3/indexing/converter/outlinks/linkinfo.h.
55670
+ # Corresponds to the JSON property `linkinfoType`
55671
+ # @return [Fixnum]
55672
+ attr_accessor :linkinfo_type
55673
+
55562
55674
  # Multibang kg entities.
55563
55675
  # Corresponds to the JSON property `multibangKgEntities`
55564
55676
  # @return [Google::Apis::ContentwarehouseV1::ImageDataMultibangEntities]
@@ -55839,6 +55951,7 @@ module Google
55839
55951
  @licensed_web_images_opt_in_state = args[:licensed_web_images_opt_in_state] if args.key?(:licensed_web_images_opt_in_state)
55840
55952
  @lineart_detector_score = args[:lineart_detector_score] if args.key?(:lineart_detector_score)
55841
55953
  @lineart_detector_version = args[:lineart_detector_version] if args.key?(:lineart_detector_version)
55954
+ @linkinfo_type = args[:linkinfo_type] if args.key?(:linkinfo_type)
55842
55955
  @multibang_kg_entities = args[:multibang_kg_entities] if args.key?(:multibang_kg_entities)
55843
55956
  @near_dup_features = args[:near_dup_features] if args.key?(:near_dup_features)
55844
55957
  @near_dup_features_small = args[:near_dup_features_small] if args.key?(:near_dup_features_small)
@@ -57206,7 +57319,7 @@ module Google
57206
57319
  end
57207
57320
  end
57208
57321
 
57209
- # Next Tag: 8
57322
+ # Next Tag: 9
57210
57323
  class ImageRepositoryAmarnaCloudSpeechSignals
57211
57324
  include Google::Apis::Core::Hashable
57212
57325
 
@@ -57226,7 +57339,7 @@ module Google
57226
57339
  # @return [String]
57227
57340
  attr_accessor :lang_without_locale
57228
57341
 
57229
- # Identifying which ASR models are used for the result
57342
+ #
57230
57343
  # Corresponds to the JSON property `modelIdentifier`
57231
57344
  # @return [String]
57232
57345
  attr_accessor :model_identifier
@@ -57236,6 +57349,12 @@ module Google
57236
57349
  # @return [Array<Google::Apis::ContentwarehouseV1::ImageRepositorySpeechRecognitionResult>]
57237
57350
  attr_accessor :results
57238
57351
 
57352
+ # This proto is trimmed down from RecognizerMetadataResponse in google3/speech/
57353
+ # service/s3/services/recognizer/recognizer.proto
57354
+ # Corresponds to the JSON property `s3RecognizerMetadataResponse`
57355
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryS3RecognizerMetadataResponse]
57356
+ attr_accessor :s3_recognizer_metadata_response
57357
+
57239
57358
  # Available tags: 14+
57240
57359
  # Corresponds to the JSON property `transcriptAsr`
57241
57360
  # @return [Google::Apis::ContentwarehouseV1::PseudoVideoData]
@@ -57251,6 +57370,7 @@ module Google
57251
57370
  @lang_without_locale = args[:lang_without_locale] if args.key?(:lang_without_locale)
57252
57371
  @model_identifier = args[:model_identifier] if args.key?(:model_identifier)
57253
57372
  @results = args[:results] if args.key?(:results)
57373
+ @s3_recognizer_metadata_response = args[:s3_recognizer_metadata_response] if args.key?(:s3_recognizer_metadata_response)
57254
57374
  @transcript_asr = args[:transcript_asr] if args.key?(:transcript_asr)
57255
57375
  end
57256
57376
  end
@@ -57476,7 +57596,7 @@ module Google
57476
57596
  attr_accessor :audio_only
57477
57597
  alias_method :audio_only?, :audio_only
57478
57598
 
57479
- # Next Tag: 8
57599
+ # Next Tag: 9
57480
57600
  # Corresponds to the JSON property `cloudSpeechSignals`
57481
57601
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57482
57602
  attr_accessor :cloud_speech_signals
@@ -57540,12 +57660,12 @@ module Google
57540
57660
 
57541
57661
  # This defines the per-doc data which is extracted from thumbnails and
57542
57662
  # propagated over to indexing. It contains all information that can be used for
57543
- # restricts. Next tag id: 129
57663
+ # restricts. Next tag id: 130
57544
57664
  # Corresponds to the JSON property `representativeFrameData`
57545
57665
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
57546
57666
  attr_accessor :representative_frame_data
57547
57667
 
57548
- # Next Tag: 8
57668
+ # Next Tag: 9
57549
57669
  # Corresponds to the JSON property `s3Asr`
57550
57670
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57551
57671
  attr_accessor :s3_asr
@@ -57908,7 +58028,7 @@ module Google
57908
58028
 
57909
58029
  # This defines the per-doc data which is extracted from thumbnails and
57910
58030
  # propagated over to indexing. It contains all information that can be used for
57911
- # restricts. Next tag id: 129
58031
+ # restricts. Next tag id: 130
57912
58032
  # Corresponds to the JSON property `perdoc`
57913
58033
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
57914
58034
  attr_accessor :perdoc
@@ -58094,6 +58214,38 @@ module Google
58094
58214
  end
58095
58215
  end
58096
58216
 
58217
+ # This proto is trimmed down from RecognizerMetadataResponse in google3/speech/
58218
+ # service/s3/services/recognizer/recognizer.proto
58219
+ class ImageRepositoryS3RecognizerMetadataResponse
58220
+ include Google::Apis::Core::Hashable
58221
+
58222
+ #
58223
+ # Corresponds to the JSON property `mode`
58224
+ # @return [String]
58225
+ attr_accessor :mode
58226
+
58227
+ #
58228
+ # Corresponds to the JSON property `modelInfoLabel`
58229
+ # @return [String]
58230
+ attr_accessor :model_info_label
58231
+
58232
+ #
58233
+ # Corresponds to the JSON property `serviceName`
58234
+ # @return [String]
58235
+ attr_accessor :service_name
58236
+
58237
+ def initialize(**args)
58238
+ update!(**args)
58239
+ end
58240
+
58241
+ # Update properties of this object
58242
+ def update!(**args)
58243
+ @mode = args[:mode] if args.key?(:mode)
58244
+ @model_info_label = args[:model_info_label] if args.key?(:model_info_label)
58245
+ @service_name = args[:service_name] if args.key?(:service_name)
58246
+ end
58247
+ end
58248
+
58097
58249
  # A message containing embedding information and localization scores using the
58098
58250
  # VSS product recognition module.
58099
58251
  class ImageRepositoryShoppingProductInformation
@@ -66812,6 +66964,14 @@ module Google
66812
66964
  class KnowledgeAnswersAnyType
66813
66965
  include Google::Apis::Core::Hashable
66814
66966
 
66967
+ # A Component-Specific Contract is a proto message that can be placed on various
66968
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
66969
+ # whether that element is part of the contract for a given component. go/
66970
+ # contract-based-conformance
66971
+ # Corresponds to the JSON property `componentSpecificContracts`
66972
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
66973
+ attr_accessor :component_specific_contracts
66974
+
66815
66975
  # This proto will be added as a field to part of a schema to indicate it is
66816
66976
  # being remodeled.
66817
66977
  # Corresponds to the JSON property `remodelings`
@@ -66824,6 +66984,7 @@ module Google
66824
66984
 
66825
66985
  # Update properties of this object
66826
66986
  def update!(**args)
66987
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
66827
66988
  @remodelings = args[:remodelings] if args.key?(:remodelings)
66828
66989
  end
66829
66990
  end
@@ -66839,6 +67000,14 @@ module Google
66839
67000
  # @return [Array<String>]
66840
67001
  attr_accessor :attribute
66841
67002
 
67003
+ # A Component-Specific Contract is a proto message that can be placed on various
67004
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67005
+ # whether that element is part of the contract for a given component. go/
67006
+ # contract-based-conformance
67007
+ # Corresponds to the JSON property `componentSpecificContracts`
67008
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67009
+ attr_accessor :component_specific_contracts
67010
+
66842
67011
  # If exist, the attribute will be applied on the given pivot slot. This helps
66843
67012
  # type checking when qrewrite constructs function calls with an attribute-typed
66844
67013
  # slot.
@@ -66859,6 +67028,7 @@ module Google
66859
67028
  # Update properties of this object
66860
67029
  def update!(**args)
66861
67030
  @attribute = args[:attribute] if args.key?(:attribute)
67031
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
66862
67032
  @pivot_entity_slot = args[:pivot_entity_slot] if args.key?(:pivot_entity_slot)
66863
67033
  @remodelings = args[:remodelings] if args.key?(:remodelings)
66864
67034
  end
@@ -66868,6 +67038,14 @@ module Google
66868
67038
  class KnowledgeAnswersBooleanType
66869
67039
  include Google::Apis::Core::Hashable
66870
67040
 
67041
+ # A Component-Specific Contract is a proto message that can be placed on various
67042
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67043
+ # whether that element is part of the contract for a given component. go/
67044
+ # contract-based-conformance
67045
+ # Corresponds to the JSON property `componentSpecificContracts`
67046
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67047
+ attr_accessor :component_specific_contracts
67048
+
66871
67049
  # This proto will be added as a field to part of a schema to indicate it is
66872
67050
  # being remodeled.
66873
67051
  # Corresponds to the JSON property `remodelings`
@@ -66880,6 +67058,7 @@ module Google
66880
67058
 
66881
67059
  # Update properties of this object
66882
67060
  def update!(**args)
67061
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
66883
67062
  @remodelings = args[:remodelings] if args.key?(:remodelings)
66884
67063
  end
66885
67064
  end
@@ -66895,6 +67074,14 @@ module Google
66895
67074
  # @return [Array<String>]
66896
67075
  attr_accessor :collection
66897
67076
 
67077
+ # A Component-Specific Contract is a proto message that can be placed on various
67078
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67079
+ # whether that element is part of the contract for a given component. go/
67080
+ # contract-based-conformance
67081
+ # Corresponds to the JSON property `componentSpecificContracts`
67082
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67083
+ attr_accessor :component_specific_contracts
67084
+
66898
67085
  # This proto will be added as a field to part of a schema to indicate it is
66899
67086
  # being remodeled.
66900
67087
  # Corresponds to the JSON property `remodelings`
@@ -66908,6 +67095,7 @@ module Google
66908
67095
  # Update properties of this object
66909
67096
  def update!(**args)
66910
67097
  @collection = args[:collection] if args.key?(:collection)
67098
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
66911
67099
  @remodelings = args[:remodelings] if args.key?(:remodelings)
66912
67100
  end
66913
67101
  end
@@ -66916,6 +67104,14 @@ module Google
66916
67104
  class KnowledgeAnswersCompoundType
66917
67105
  include Google::Apis::Core::Hashable
66918
67106
 
67107
+ # A Component-Specific Contract is a proto message that can be placed on various
67108
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67109
+ # whether that element is part of the contract for a given component. go/
67110
+ # contract-based-conformance
67111
+ # Corresponds to the JSON property `componentSpecificContracts`
67112
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67113
+ attr_accessor :component_specific_contracts
67114
+
66919
67115
  # This proto will be added as a field to part of a schema to indicate it is
66920
67116
  # being remodeled.
66921
67117
  # Corresponds to the JSON property `remodelings`
@@ -66928,6 +67124,7 @@ module Google
66928
67124
 
66929
67125
  # Update properties of this object
66930
67126
  def update!(**args)
67127
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
66931
67128
  @remodelings = args[:remodelings] if args.key?(:remodelings)
66932
67129
  end
66933
67130
  end
@@ -66952,7 +67149,7 @@ module Google
66952
67149
  end
66953
67150
 
66954
67151
  # A DateType configures a value whose type is intended to be a date. LINT.
66955
- # IfChange Next id: 16
67152
+ # IfChange Next id: 17
66956
67153
  class KnowledgeAnswersDateType
66957
67154
  include Google::Apis::Core::Hashable
66958
67155
 
@@ -67042,6 +67239,14 @@ module Google
67042
67239
  attr_accessor :allow_year_resolution
67043
67240
  alias_method :allow_year_resolution?, :allow_year_resolution
67044
67241
 
67242
+ # A Component-Specific Contract is a proto message that can be placed on various
67243
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67244
+ # whether that element is part of the contract for a given component. go/
67245
+ # contract-based-conformance
67246
+ # Corresponds to the JSON property `componentSpecificContracts`
67247
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67248
+ attr_accessor :component_specific_contracts
67249
+
67045
67250
  # This proto will be added as a field to part of a schema to indicate it is
67046
67251
  # being remodeled.
67047
67252
  # Corresponds to the JSON property `remodelings`
@@ -67072,6 +67277,7 @@ module Google
67072
67277
  @allow_symbolic_time = args[:allow_symbolic_time] if args.key?(:allow_symbolic_time)
67073
67278
  @allow_time_resolutions_without_explicit_timezone = args[:allow_time_resolutions_without_explicit_timezone] if args.key?(:allow_time_resolutions_without_explicit_timezone)
67074
67279
  @allow_year_resolution = args[:allow_year_resolution] if args.key?(:allow_year_resolution)
67280
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
67075
67281
  @remodelings = args[:remodelings] if args.key?(:remodelings)
67076
67282
  @sub_type = args[:sub_type] if args.key?(:sub_type)
67077
67283
  end
@@ -67081,6 +67287,14 @@ module Google
67081
67287
  class KnowledgeAnswersDependencyType
67082
67288
  include Google::Apis::Core::Hashable
67083
67289
 
67290
+ # A Component-Specific Contract is a proto message that can be placed on various
67291
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67292
+ # whether that element is part of the contract for a given component. go/
67293
+ # contract-based-conformance
67294
+ # Corresponds to the JSON property `componentSpecificContracts`
67295
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67296
+ attr_accessor :component_specific_contracts
67297
+
67084
67298
  #
67085
67299
  # Corresponds to the JSON property `containerType`
67086
67300
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersContainerType]
@@ -67113,6 +67327,7 @@ module Google
67113
67327
 
67114
67328
  # Update properties of this object
67115
67329
  def update!(**args)
67330
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
67116
67331
  @container_type = args[:container_type] if args.key?(:container_type)
67117
67332
  @intersect_type = args[:intersect_type] if args.key?(:intersect_type)
67118
67333
  @remodelings = args[:remodelings] if args.key?(:remodelings)
@@ -67155,6 +67370,14 @@ module Google
67155
67370
  class KnowledgeAnswersDurationType
67156
67371
  include Google::Apis::Core::Hashable
67157
67372
 
67373
+ # A Component-Specific Contract is a proto message that can be placed on various
67374
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67375
+ # whether that element is part of the contract for a given component. go/
67376
+ # contract-based-conformance
67377
+ # Corresponds to the JSON property `componentSpecificContracts`
67378
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67379
+ attr_accessor :component_specific_contracts
67380
+
67158
67381
  # Range constraint limits the set of durations accepted. The values of the range
67159
67382
  # are in milliseconds. Currently, this constraint is only enforced in Loose
67160
67383
  # Parser.
@@ -67174,6 +67397,7 @@ module Google
67174
67397
 
67175
67398
  # Update properties of this object
67176
67399
  def update!(**args)
67400
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
67177
67401
  @range_constraint = args[:range_constraint] if args.key?(:range_constraint)
67178
67402
  @remodelings = args[:remodelings] if args.key?(:remodelings)
67179
67403
  end
@@ -67183,7 +67407,7 @@ module Google
67183
67407
  # Entities may be specified using either the collection(s) to which they belong,
67184
67408
  # or explicitly via a list of KG-ids. Both collections and ids can be specified,
67185
67409
  # in which case the type will be the union of the id(s) and all mids within the
67186
- # collection(s). Next available tag: 9
67410
+ # collection(s). Next available tag: 10
67187
67411
  class KnowledgeAnswersEntityType
67188
67412
  include Google::Apis::Core::Hashable
67189
67413
 
@@ -67197,6 +67421,14 @@ module Google
67197
67421
  # @return [Array<String>]
67198
67422
  attr_accessor :collection
67199
67423
 
67424
+ # A Component-Specific Contract is a proto message that can be placed on various
67425
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
67426
+ # whether that element is part of the contract for a given component. go/
67427
+ # contract-based-conformance
67428
+ # Corresponds to the JSON property `componentSpecificContracts`
67429
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
67430
+ attr_accessor :component_specific_contracts
67431
+
67200
67432
  # The entity that this value is filled with must not be any of these collections
67201
67433
  # (denoted by a /collection/* id). This restriction does not affect parsing; it
67202
67434
  # is used only to filter attributes in the extraction flow.
@@ -67245,6 +67477,7 @@ module Google
67245
67477
  # Update properties of this object
67246
67478
  def update!(**args)
67247
67479
  @collection = args[:collection] if args.key?(:collection)
67480
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
67248
67481
  @excluded_collection = args[:excluded_collection] if args.key?(:excluded_collection)
67249
67482
  @id = args[:id] if args.key?(:id)
67250
67483
  @identifier = args[:identifier] if args.key?(:identifier)
@@ -67493,7 +67726,7 @@ module Google
67493
67726
  attr_accessor :name
67494
67727
 
67495
67728
  # A message representing the signals associated with an argument. NEXT ID TO USE:
67496
- # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
67729
+ # 59 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
67497
67730
  # in the "ThenChange", fields under Argument.signals in the serving proto are
67498
67731
  # stored directly under Argument on the logging side. For example, see http://
67499
67732
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -67998,7 +68231,7 @@ module Google
67998
68231
  end
67999
68232
 
68000
68233
  # A message representing the signals associated with an argument. NEXT ID TO USE:
68001
- # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68234
+ # 59 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68002
68235
  # in the "ThenChange", fields under Argument.signals in the serving proto are
68003
68236
  # stored directly under Argument on the logging side. For example, see http://
68004
68237
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -68187,6 +68420,11 @@ module Google
68187
68420
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryLocationMarkersSignals]
68188
68421
  attr_accessor :location_markers_signals
68189
68422
 
68423
+ # The type category for the location stored in this Argument, if it exists.
68424
+ # Corresponds to the JSON property `locationType`
68425
+ # @return [String]
68426
+ attr_accessor :location_type
68427
+
68190
68428
  # Signals about the media entity.
68191
68429
  # Corresponds to the JSON property `mediaEntitySignals`
68192
68430
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryMediaEntitySignals]
@@ -68399,6 +68637,7 @@ module Google
68399
68637
  @is_nimble_annotation = args[:is_nimble_annotation] if args.key?(:is_nimble_annotation)
68400
68638
  @location = args[:location] if args.key?(:location)
68401
68639
  @location_markers_signals = args[:location_markers_signals] if args.key?(:location_markers_signals)
68640
+ @location_type = args[:location_type] if args.key?(:location_type)
68402
68641
  @media_entity_signals = args[:media_entity_signals] if args.key?(:media_entity_signals)
68403
68642
  @merged_implied_entity = args[:merged_implied_entity] if args.key?(:merged_implied_entity)
68404
68643
  @mid_equivalent_to_collection = args[:mid_equivalent_to_collection] if args.key?(:mid_equivalent_to_collection)
@@ -69010,7 +69249,7 @@ module Google
69010
69249
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSensitivitySensitivity]
69011
69250
  attr_accessor :sensitivity
69012
69251
 
69013
- # Next ID: 37
69252
+ # Next ID: 38
69014
69253
  # Corresponds to the JSON property `signals`
69015
69254
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryFunctionCallSignals]
69016
69255
  attr_accessor :signals
@@ -69042,7 +69281,7 @@ module Google
69042
69281
  end
69043
69282
  end
69044
69283
 
69045
- # Next ID: 37
69284
+ # Next ID: 38
69046
69285
  class KnowledgeAnswersIntentQueryFunctionCallSignals
69047
69286
  include Google::Apis::Core::Hashable
69048
69287
 
@@ -69164,6 +69403,14 @@ module Google
69164
69403
  attr_accessor :is_neural_categorical_interpretation
69165
69404
  alias_method :is_neural_categorical_interpretation?, :is_neural_categorical_interpretation
69166
69405
 
69406
+ # Whether the FunctionCall is created as a refined_meaning in resolution.
69407
+ # Downstream code will look at this field to see if it needs to create a new
69408
+ # refined QueryInterpretation.
69409
+ # Corresponds to the JSON property `isRefinedMeaning`
69410
+ # @return [Boolean]
69411
+ attr_accessor :is_refined_meaning
69412
+ alias_method :is_refined_meaning?, :is_refined_meaning
69413
+
69167
69414
  # Denotes this is a sub-intent used for composing an Assistant UI response. The
69168
69415
  # assistant dialog should output ui_composition_shelf in the SystemResponse if
69169
69416
  # it can fulfill the intent. More info in go/davinci-design and go/davinci-di-
@@ -69211,7 +69458,7 @@ module Google
69211
69458
 
69212
69459
  # Signals to be used by the Prefulfillment Ranker. Derived from the
69213
69460
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
69214
- # Next ID: 62
69461
+ # Next ID: 65
69215
69462
  # Corresponds to the JSON property `prefulfillmentSignals`
69216
69463
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
69217
69464
  attr_accessor :prefulfillment_signals
@@ -69302,6 +69549,7 @@ module Google
69302
69549
  @is_disambiguation_card_intent = args[:is_disambiguation_card_intent] if args.key?(:is_disambiguation_card_intent)
69303
69550
  @is_disambiguation_intent = args[:is_disambiguation_intent] if args.key?(:is_disambiguation_intent)
69304
69551
  @is_neural_categorical_interpretation = args[:is_neural_categorical_interpretation] if args.key?(:is_neural_categorical_interpretation)
69552
+ @is_refined_meaning = args[:is_refined_meaning] if args.key?(:is_refined_meaning)
69305
69553
  @is_ui_composition_intent = args[:is_ui_composition_intent] if args.key?(:is_ui_composition_intent)
69306
69554
  @local_signals = args[:local_signals] if args.key?(:local_signals)
69307
69555
  @osrp_journey_tag = args[:osrp_journey_tag] if args.key?(:osrp_journey_tag)
@@ -70745,6 +70993,14 @@ module Google
70745
70993
  class KnowledgeAnswersMeasurementType
70746
70994
  include Google::Apis::Core::Hashable
70747
70995
 
70996
+ # A Component-Specific Contract is a proto message that can be placed on various
70997
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
70998
+ # whether that element is part of the contract for a given component. go/
70999
+ # contract-based-conformance
71000
+ # Corresponds to the JSON property `componentSpecificContracts`
71001
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71002
+ attr_accessor :component_specific_contracts
71003
+
70748
71004
  # This proto will be added as a field to part of a schema to indicate it is
70749
71005
  # being remodeled.
70750
71006
  # Corresponds to the JSON property `remodelings`
@@ -70757,6 +71013,7 @@ module Google
70757
71013
 
70758
71014
  # Update properties of this object
70759
71015
  def update!(**args)
71016
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
70760
71017
  @remodelings = args[:remodelings] if args.key?(:remodelings)
70761
71018
  end
70762
71019
  end
@@ -70772,6 +71029,14 @@ module Google
70772
71029
  class KnowledgeAnswersNormalizedStringType
70773
71030
  include Google::Apis::Core::Hashable
70774
71031
 
71032
+ # A Component-Specific Contract is a proto message that can be placed on various
71033
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71034
+ # whether that element is part of the contract for a given component. go/
71035
+ # contract-based-conformance
71036
+ # Corresponds to the JSON property `componentSpecificContracts`
71037
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71038
+ attr_accessor :component_specific_contracts
71039
+
70775
71040
  #
70776
71041
  # Corresponds to the JSON property `normalizedValue`
70777
71042
  # @return [Array<String>]
@@ -70789,6 +71054,7 @@ module Google
70789
71054
 
70790
71055
  # Update properties of this object
70791
71056
  def update!(**args)
71057
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
70792
71058
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
70793
71059
  @remodelings = args[:remodelings] if args.key?(:remodelings)
70794
71060
  end
@@ -70798,6 +71064,14 @@ module Google
70798
71064
  class KnowledgeAnswersNumberType
70799
71065
  include Google::Apis::Core::Hashable
70800
71066
 
71067
+ # A Component-Specific Contract is a proto message that can be placed on various
71068
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71069
+ # whether that element is part of the contract for a given component. go/
71070
+ # contract-based-conformance
71071
+ # Corresponds to the JSON property `componentSpecificContracts`
71072
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71073
+ attr_accessor :component_specific_contracts
71074
+
70801
71075
  # If true, the semantics of the NumberType argument are retained as a string,
70802
71076
  # rather than being converted to a float-type object. This option is
70803
71077
  # particularly useful in cases where leading 0s in the user input are meaningful,
@@ -70834,6 +71108,7 @@ module Google
70834
71108
 
70835
71109
  # Update properties of this object
70836
71110
  def update!(**args)
71111
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
70837
71112
  @keep_as_string = args[:keep_as_string] if args.key?(:keep_as_string)
70838
71113
  @range_constraint = args[:range_constraint] if args.key?(:range_constraint)
70839
71114
  @remodelings = args[:remodelings] if args.key?(:remodelings)
@@ -70999,18 +71274,7 @@ module Google
70999
71274
  end
71000
71275
  end
71001
71276
 
71002
- # A LocationType configures a value whose type is a Location message, for
71003
- # example, the output of the Location subgrammar. Note that this location type
71004
- # is not the same as a "location entity" (an entity with a location indicating
71005
- # type/collection, which is annotated by QRef). The scope of a LocationType is
71006
- # usually broader than a location entity, it may represent - businesses, places,
71007
- # and POIs (location entities from QRef) - addresses ("123 Main St., New York,
71008
- # NY") or even just coordinates (latitude, longitude) - business categories (e.g.
71009
- # , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
71010
- # and "work") - contacts - combinations of a location with modifiers and
71011
- # constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
71012
- # - ungrounded locations produced by ungrounded_location model See go/location-
71013
- # type for the details of the location proto output by location subgrammar.
71277
+ #
71014
71278
  class KnowledgeAnswersOpaqueLocationType
71015
71279
  include Google::Apis::Core::Hashable
71016
71280
 
@@ -71245,7 +71509,7 @@ module Google
71245
71509
  # If you find a need to add any fields to these messages, make them non-opaque
71246
71510
  # and implement all of the code to treat them as first class types. It is
71247
71511
  # allowable for a value to have more than one of the opaque types. See http://go/
71248
- # opaque-type-for-value-type. LINT.IfChange Next Id: 31
71512
+ # opaque-type-for-value-type. LINT.IfChange Next Id: 32
71249
71513
  class KnowledgeAnswersOpaqueType
71250
71514
  include Google::Apis::Core::Hashable
71251
71515
 
@@ -71291,6 +71555,14 @@ module Google
71291
71555
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueComponentReferenceIndexType]
71292
71556
  attr_accessor :component_reference_type
71293
71557
 
71558
+ # A Component-Specific Contract is a proto message that can be placed on various
71559
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71560
+ # whether that element is part of the contract for a given component. go/
71561
+ # contract-based-conformance
71562
+ # Corresponds to the JSON property `componentSpecificContracts`
71563
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71564
+ attr_accessor :component_specific_contracts
71565
+
71294
71566
  #
71295
71567
  # Corresponds to the JSON property `deviceIdType`
71296
71568
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueDeviceIdType]
@@ -71311,18 +71583,7 @@ module Google
71311
71583
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueHomeAutomationDeviceType]
71312
71584
  attr_accessor :home_automation_device_type
71313
71585
 
71314
- # A LocationType configures a value whose type is a Location message, for
71315
- # example, the output of the Location subgrammar. Note that this location type
71316
- # is not the same as a "location entity" (an entity with a location indicating
71317
- # type/collection, which is annotated by QRef). The scope of a LocationType is
71318
- # usually broader than a location entity, it may represent - businesses, places,
71319
- # and POIs (location entities from QRef) - addresses ("123 Main St., New York,
71320
- # NY") or even just coordinates (latitude, longitude) - business categories (e.g.
71321
- # , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
71322
- # and "work") - contacts - combinations of a location with modifiers and
71323
- # constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
71324
- # - ungrounded locations produced by ungrounded_location model See go/location-
71325
- # type for the details of the location proto output by location subgrammar.
71586
+ #
71326
71587
  # Corresponds to the JSON property `locationType`
71327
71588
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueLocationType]
71328
71589
  attr_accessor :location_type
@@ -71428,6 +71689,7 @@ module Google
71428
71689
  @calendar_reference_type = args[:calendar_reference_type] if args.key?(:calendar_reference_type)
71429
71690
  @complex_queries_rewrite_type = args[:complex_queries_rewrite_type] if args.key?(:complex_queries_rewrite_type)
71430
71691
  @component_reference_type = args[:component_reference_type] if args.key?(:component_reference_type)
71692
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
71431
71693
  @device_id_type = args[:device_id_type] if args.key?(:device_id_type)
71432
71694
  @device_type = args[:device_type] if args.key?(:device_type)
71433
71695
  @device_user_identity_type = args[:device_user_identity_type] if args.key?(:device_user_identity_type)
@@ -71463,6 +71725,14 @@ module Google
71463
71725
  class KnowledgeAnswersPlexityRequirement
71464
71726
  include Google::Apis::Core::Hashable
71465
71727
 
71728
+ # A Component-Specific Contract is a proto message that can be placed on various
71729
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71730
+ # whether that element is part of the contract for a given component. go/
71731
+ # contract-based-conformance
71732
+ # Corresponds to the JSON property `componentSpecificContracts`
71733
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71734
+ attr_accessor :component_specific_contracts
71735
+
71466
71736
  # This proto will be added as a field to part of a schema to indicate it is
71467
71737
  # being remodeled.
71468
71738
  # Corresponds to the JSON property `remodelings`
@@ -71481,6 +71751,7 @@ module Google
71481
71751
 
71482
71752
  # Update properties of this object
71483
71753
  def update!(**args)
71754
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
71484
71755
  @remodelings = args[:remodelings] if args.key?(:remodelings)
71485
71756
  @simple_plexity = args[:simple_plexity] if args.key?(:simple_plexity)
71486
71757
  end
@@ -71490,6 +71761,14 @@ module Google
71490
71761
  class KnowledgeAnswersPolarQuestionType
71491
71762
  include Google::Apis::Core::Hashable
71492
71763
 
71764
+ # A Component-Specific Contract is a proto message that can be placed on various
71765
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71766
+ # whether that element is part of the contract for a given component. go/
71767
+ # contract-based-conformance
71768
+ # Corresponds to the JSON property `componentSpecificContracts`
71769
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71770
+ attr_accessor :component_specific_contracts
71771
+
71493
71772
  # This proto will be added as a field to part of a schema to indicate it is
71494
71773
  # being remodeled.
71495
71774
  # Corresponds to the JSON property `remodelings`
@@ -71502,6 +71781,7 @@ module Google
71502
71781
 
71503
71782
  # Update properties of this object
71504
71783
  def update!(**args)
71784
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
71505
71785
  @remodelings = args[:remodelings] if args.key?(:remodelings)
71506
71786
  end
71507
71787
  end
@@ -71595,6 +71875,14 @@ module Google
71595
71875
  attr_accessor :allow_all
71596
71876
  alias_method :allow_all?, :allow_all
71597
71877
 
71878
+ # A Component-Specific Contract is a proto message that can be placed on various
71879
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
71880
+ # whether that element is part of the contract for a given component. go/
71881
+ # contract-based-conformance
71882
+ # Corresponds to the JSON property `componentSpecificContracts`
71883
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
71884
+ attr_accessor :component_specific_contracts
71885
+
71598
71886
  # Determines whether or not the meaning schema that contains this semantic_type
71599
71887
  # conforms to a function call with the name and arguments taken from the meaning
71600
71888
  # schema. As it refers to the "containing_intent", this field should only be set
@@ -71622,6 +71910,12 @@ module Google
71622
71910
  # @return [Array<String>]
71623
71911
  attr_accessor :name
71624
71912
 
71913
+ # Like `name_remodelings`, but for ComponentSpecificContracts instead of
71914
+ # remodelings.
71915
+ # Corresponds to the JSON property `nameContracts`
71916
+ # @return [Array<Google::Apis::ContentwarehouseV1::NlpMeaningSemanticTypeNameComponentSpecificContracts>]
71917
+ attr_accessor :name_contracts
71918
+
71625
71919
  # Contains data about current schema remodelings at the SemanticType name level.
71626
71920
  # The "name" field contains all possible semantic type names and "
71627
71921
  # semantic_type_name_remodelings" acts as an overlay to determine which ones to
@@ -71644,8 +71938,10 @@ module Google
71644
71938
  # Update properties of this object
71645
71939
  def update!(**args)
71646
71940
  @allow_all = args[:allow_all] if args.key?(:allow_all)
71941
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
71647
71942
  @includes_containing_intent = args[:includes_containing_intent] if args.key?(:includes_containing_intent)
71648
71943
  @name = args[:name] if args.key?(:name)
71944
+ @name_contracts = args[:name_contracts] if args.key?(:name_contracts)
71649
71945
  @name_remodelings = args[:name_remodelings] if args.key?(:name_remodelings)
71650
71946
  @remodelings = args[:remodelings] if args.key?(:remodelings)
71651
71947
  end
@@ -72096,6 +72392,14 @@ module Google
72096
72392
  class KnowledgeAnswersStateOfAffairsType
72097
72393
  include Google::Apis::Core::Hashable
72098
72394
 
72395
+ # A Component-Specific Contract is a proto message that can be placed on various
72396
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
72397
+ # whether that element is part of the contract for a given component. go/
72398
+ # contract-based-conformance
72399
+ # Corresponds to the JSON property `componentSpecificContracts`
72400
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
72401
+ attr_accessor :component_specific_contracts
72402
+
72099
72403
  # This proto will be added as a field to part of a schema to indicate it is
72100
72404
  # being remodeled.
72101
72405
  # Corresponds to the JSON property `remodelings`
@@ -72108,6 +72412,7 @@ module Google
72108
72412
 
72109
72413
  # Update properties of this object
72110
72414
  def update!(**args)
72415
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
72111
72416
  @remodelings = args[:remodelings] if args.key?(:remodelings)
72112
72417
  end
72113
72418
  end
@@ -72116,6 +72421,14 @@ module Google
72116
72421
  class KnowledgeAnswersStringType
72117
72422
  include Google::Apis::Core::Hashable
72118
72423
 
72424
+ # A Component-Specific Contract is a proto message that can be placed on various
72425
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
72426
+ # whether that element is part of the contract for a given component. go/
72427
+ # contract-based-conformance
72428
+ # Corresponds to the JSON property `componentSpecificContracts`
72429
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
72430
+ attr_accessor :component_specific_contracts
72431
+
72119
72432
  # This proto will be added as a field to part of a schema to indicate it is
72120
72433
  # being remodeled.
72121
72434
  # Corresponds to the JSON property `remodelings`
@@ -72135,6 +72448,7 @@ module Google
72135
72448
 
72136
72449
  # Update properties of this object
72137
72450
  def update!(**args)
72451
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
72138
72452
  @remodelings = args[:remodelings] if args.key?(:remodelings)
72139
72453
  @single_token = args[:single_token] if args.key?(:single_token)
72140
72454
  end
@@ -72144,6 +72458,14 @@ module Google
72144
72458
  class KnowledgeAnswersTimeZoneType
72145
72459
  include Google::Apis::Core::Hashable
72146
72460
 
72461
+ # A Component-Specific Contract is a proto message that can be placed on various
72462
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
72463
+ # whether that element is part of the contract for a given component. go/
72464
+ # contract-based-conformance
72465
+ # Corresponds to the JSON property `componentSpecificContracts`
72466
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
72467
+ attr_accessor :component_specific_contracts
72468
+
72147
72469
  # This proto will be added as a field to part of a schema to indicate it is
72148
72470
  # being remodeled.
72149
72471
  # Corresponds to the JSON property `remodelings`
@@ -72156,6 +72478,7 @@ module Google
72156
72478
 
72157
72479
  # Update properties of this object
72158
72480
  def update!(**args)
72481
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
72159
72482
  @remodelings = args[:remodelings] if args.key?(:remodelings)
72160
72483
  end
72161
72484
  end
@@ -72164,6 +72487,14 @@ module Google
72164
72487
  class KnowledgeAnswersTrackingNumberType
72165
72488
  include Google::Apis::Core::Hashable
72166
72489
 
72490
+ # A Component-Specific Contract is a proto message that can be placed on various
72491
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
72492
+ # whether that element is part of the contract for a given component. go/
72493
+ # contract-based-conformance
72494
+ # Corresponds to the JSON property `componentSpecificContracts`
72495
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
72496
+ attr_accessor :component_specific_contracts
72497
+
72167
72498
  # This proto will be added as a field to part of a schema to indicate it is
72168
72499
  # being remodeled.
72169
72500
  # Corresponds to the JSON property `remodelings`
@@ -72176,6 +72507,7 @@ module Google
72176
72507
 
72177
72508
  # Update properties of this object
72178
72509
  def update!(**args)
72510
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
72179
72511
  @remodelings = args[:remodelings] if args.key?(:remodelings)
72180
72512
  end
72181
72513
  end
@@ -72237,7 +72569,7 @@ module Google
72237
72569
  attr_accessor :compound_type
72238
72570
 
72239
72571
  # A DateType configures a value whose type is intended to be a date. LINT.
72240
- # IfChange Next id: 16
72572
+ # IfChange Next id: 17
72241
72573
  # Corresponds to the JSON property `dateType`
72242
72574
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersDateType]
72243
72575
  attr_accessor :date_type
@@ -72257,7 +72589,7 @@ module Google
72257
72589
  # Entities may be specified using either the collection(s) to which they belong,
72258
72590
  # or explicitly via a list of KG-ids. Both collections and ids can be specified,
72259
72591
  # in which case the type will be the union of the id(s) and all mids within the
72260
- # collection(s). Next available tag: 9
72592
+ # collection(s). Next available tag: 10
72261
72593
  # Corresponds to the JSON property `entityType`
72262
72594
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersEntityType]
72263
72595
  attr_accessor :entity_type
@@ -72308,7 +72640,7 @@ module Google
72308
72640
  # If you find a need to add any fields to these messages, make them non-opaque
72309
72641
  # and implement all of the code to treat them as first class types. It is
72310
72642
  # allowable for a value to have more than one of the opaque types. See http://go/
72311
- # opaque-type-for-value-type. LINT.IfChange Next Id: 31
72643
+ # opaque-type-for-value-type. LINT.IfChange Next Id: 32
72312
72644
  # Corresponds to the JSON property `opaqueType`
72313
72645
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueType]
72314
72646
  attr_accessor :opaque_type
@@ -75977,6 +76309,28 @@ module Google
75977
76309
  end
75978
76310
  end
75979
76311
 
76312
+ # A Component-Specific Contract is a proto message that can be placed on various
76313
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
76314
+ # whether that element is part of the contract for a given component. go/
76315
+ # contract-based-conformance
76316
+ class NlpMeaningComponentSpecificContracts
76317
+ include Google::Apis::Core::Hashable
76318
+
76319
+ #
76320
+ # Corresponds to the JSON property `componentSpecificContracts`
76321
+ # @return [Array<String>]
76322
+ attr_accessor :component_specific_contracts
76323
+
76324
+ def initialize(**args)
76325
+ update!(**args)
76326
+ end
76327
+
76328
+ # Update properties of this object
76329
+ def update!(**args)
76330
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
76331
+ end
76332
+ end
76333
+
75980
76334
  #
75981
76335
  class NlpMeaningMeaningRemodeling
75982
76336
  include Google::Apis::Core::Hashable
@@ -76046,6 +76400,36 @@ module Google
76046
76400
  end
76047
76401
  end
76048
76402
 
76403
+ # Component-Specific Contract for SemanticTypes, which are atomic string values (
76404
+ # and thus can't have a ComponentSpecificContracts message attached to them). go/
76405
+ # contract-based-conformance
76406
+ class NlpMeaningSemanticTypeNameComponentSpecificContracts
76407
+ include Google::Apis::Core::Hashable
76408
+
76409
+ # A Component-Specific Contract is a proto message that can be placed on various
76410
+ # elements of the MeaningCatalog (intent schemas, slots, types) that signals
76411
+ # whether that element is part of the contract for a given component. go/
76412
+ # contract-based-conformance
76413
+ # Corresponds to the JSON property `componentSpecificContracts`
76414
+ # @return [Google::Apis::ContentwarehouseV1::NlpMeaningComponentSpecificContracts]
76415
+ attr_accessor :component_specific_contracts
76416
+
76417
+ # Semantic type name.
76418
+ # Corresponds to the JSON property `name`
76419
+ # @return [String]
76420
+ attr_accessor :name
76421
+
76422
+ def initialize(**args)
76423
+ update!(**args)
76424
+ end
76425
+
76426
+ # Update properties of this object
76427
+ def update!(**args)
76428
+ @component_specific_contracts = args[:component_specific_contracts] if args.key?(:component_specific_contracts)
76429
+ @name = args[:name] if args.key?(:name)
76430
+ end
76431
+ end
76432
+
76049
76433
  # Associates remodeling data with a semantic type name.
76050
76434
  class NlpMeaningSemanticTypeNameMeaningRemodelings
76051
76435
  include Google::Apis::Core::Hashable
@@ -90521,7 +90905,7 @@ module Google
90521
90905
  attr_accessor :noimageframeoverlayreason
90522
90906
 
90523
90907
  # NOTE: When adding a new field to be propagated to Raffia check if
90524
- # NsrPatternSignalSpec needs to be updated. Next ID: 53
90908
+ # NsrPatternSignalSpec needs to be updated. Next ID: 54
90525
90909
  # Corresponds to the JSON property `nsrDataProto`
90526
90910
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
90527
90911
  attr_accessor :nsr_data_proto
@@ -90870,8 +91254,7 @@ module Google
90870
91254
  # @return [Google::Apis::ContentwarehouseV1::IndexingMobileVoltVoltPerDocData]
90871
91255
  attr_accessor :volt_data
90872
91256
 
90873
- # Language classified by the WatchPageLanguage Model (go/watchpage-language).
90874
- # Only present for watch pages.
91257
+ # Next ID: 3
90875
91258
  # Corresponds to the JSON property `watchpageLanguageResult`
90876
91259
  # @return [Google::Apis::ContentwarehouseV1::WatchpageLanguageWatchPageLanguageResult]
90877
91260
  attr_accessor :watchpage_language_result
@@ -91186,6 +91569,16 @@ module Google
91186
91569
  # @return [Google::Apis::ContentwarehouseV1::GeostorePointProto]
91187
91570
  attr_accessor :point
91188
91571
 
91572
+ # PToken expresses policy-relevant properties of the data objects being
91573
+ # processed and stored in Google's production systems. See go/ptoken to learn
91574
+ # more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
91575
+ # should be considered implementation details. Next ID: 9 LINT.IfChange INTERNAL:
91576
+ # If both the Scalar and the Compound extensions are populated, we use the
91577
+ # Compound and discard the Scalar. In principle, this should never happen.
91578
+ # Corresponds to the JSON property `ptoken`
91579
+ # @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
91580
+ attr_accessor :ptoken
91581
+
91189
91582
  # The id of the sticker asset chosen by the user to replace the default asset
91190
91583
  # for the alias.
91191
91584
  # Corresponds to the JSON property `stickerId`
@@ -91218,6 +91611,7 @@ module Google
91218
91611
  @formatted_address = args[:formatted_address] if args.key?(:formatted_address)
91219
91612
  @nickname = args[:nickname] if args.key?(:nickname)
91220
91613
  @point = args[:point] if args.key?(:point)
91614
+ @ptoken = args[:ptoken] if args.key?(:ptoken)
91221
91615
  @sticker_id = args[:sticker_id] if args.key?(:sticker_id)
91222
91616
  @synthetic_feature = args[:synthetic_feature] if args.key?(:synthetic_feature)
91223
91617
  @timestamp = args[:timestamp] if args.key?(:timestamp)
@@ -91479,6 +91873,13 @@ module Google
91479
91873
  attr_accessor :adobe_hdr
91480
91874
  alias_method :adobe_hdr?, :adobe_hdr
91481
91875
 
91876
+ # Indicates that this image can be processed as an Apple HDR image by reading
91877
+ # the MPF segments (if JPEG) or HEIF segments (if HEIC).
91878
+ # Corresponds to the JSON property `appleHdr`
91879
+ # @return [Boolean]
91880
+ attr_accessor :apple_hdr
91881
+ alias_method :apple_hdr?, :apple_hdr
91882
+
91482
91883
  # Indicates that this image can be processed as a go/ghdr (UltraHDR) image by
91483
91884
  # reading the GContainer in the primary XMP block.
91484
91885
  # Corresponds to the JSON property `googleHdr`
@@ -91493,6 +91894,7 @@ module Google
91493
91894
  # Update properties of this object
91494
91895
  def update!(**args)
91495
91896
  @adobe_hdr = args[:adobe_hdr] if args.key?(:adobe_hdr)
91897
+ @apple_hdr = args[:apple_hdr] if args.key?(:apple_hdr)
91496
91898
  @google_hdr = args[:google_hdr] if args.key?(:google_hdr)
91497
91899
  end
91498
91900
  end
@@ -97626,7 +98028,7 @@ module Google
97626
98028
  end
97627
98029
 
97628
98030
  # NOTE: When adding a new field to be propagated to Raffia check if
97629
- # NsrPatternSignalSpec needs to be updated. Next ID: 53
98031
+ # NsrPatternSignalSpec needs to be updated. Next ID: 54
97630
98032
  class QualityNsrNsrData
97631
98033
  include Google::Apis::Core::Hashable
97632
98034
 
@@ -97650,6 +98052,11 @@ module Google
97650
98052
  # @return [Float]
97651
98053
  attr_accessor :chard_variance
97652
98054
 
98055
+ # Site-level Chrome views.
98056
+ # Corresponds to the JSON property `chromeInTotal`
98057
+ # @return [Float]
98058
+ attr_accessor :chrome_in_total
98059
+
97653
98060
  # An id for defining clusters of sites. Used in ecosystem experiments (project
97654
98061
  # Tundra).
97655
98062
  # Corresponds to the JSON property `clusterId`
@@ -97906,6 +98313,7 @@ module Google
97906
98313
  @article_score_v2 = args[:article_score_v2] if args.key?(:article_score_v2)
97907
98314
  @chard_encoded = args[:chard_encoded] if args.key?(:chard_encoded)
97908
98315
  @chard_variance = args[:chard_variance] if args.key?(:chard_variance)
98316
+ @chrome_in_total = args[:chrome_in_total] if args.key?(:chrome_in_total)
97909
98317
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
97910
98318
  @cluster_uplift = args[:cluster_uplift] if args.key?(:cluster_uplift)
97911
98319
  @clutter_score = args[:clutter_score] if args.key?(:clutter_score)
@@ -104173,12 +104581,6 @@ module Google
104173
104581
  # @return [Float]
104174
104582
  attr_accessor :doc_score
104175
104583
 
104176
- # If the annotation corresponds to a geo topic, this is populated with GeoTopic::
104177
- # normalized_score.
104178
- # Corresponds to the JSON property `geoTopicNormalizedScore`
104179
- # @return [Float]
104180
- attr_accessor :geo_topic_normalized_score
104181
-
104182
104584
  # True if the entity is the author of the document. This was mainly developed
104183
104585
  # and tuned for news articles (e.g. /m/02x27qn on "www.vogue.com/article/flint-
104184
104586
  # town-netflix") but is also popluated for other content (e.g. scientific
@@ -104204,12 +104606,6 @@ module Google
104204
104606
  attr_accessor :is_reference_page
104205
104607
  alias_method :is_reference_page?, :is_reference_page
104206
104608
 
104207
- # If the annotation corresponds to a local entity, this is populated with
104208
- # LocalEntityAnnotations::Instance::location_confidence.
104209
- # Corresponds to the JSON property `localEntityLocationConfidence`
104210
- # @return [Float]
104211
- attr_accessor :local_entity_location_confidence
104212
-
104213
104609
  # Representation of the topicality score that is normalized in [0, 1] and which
104214
104610
  # sum over all entities in the document is 1. It represents the "proportion" of
104215
104611
  # the document that talks about the entity. This score is less human
@@ -104246,11 +104642,9 @@ module Google
104246
104642
  def update!(**args)
104247
104643
  @connectedness = args[:connectedness] if args.key?(:connectedness)
104248
104644
  @doc_score = args[:doc_score] if args.key?(:doc_score)
104249
- @geo_topic_normalized_score = args[:geo_topic_normalized_score] if args.key?(:geo_topic_normalized_score)
104250
104645
  @is_author = args[:is_author] if args.key?(:is_author)
104251
104646
  @is_publisher = args[:is_publisher] if args.key?(:is_publisher)
104252
104647
  @is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
104253
- @local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
104254
104648
  @normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
104255
104649
  @profile_url = args[:profile_url] if args.key?(:profile_url)
104256
104650
  @reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
@@ -105312,7 +105706,8 @@ module Google
105312
105706
  # @return [Fixnum]
105313
105707
  attr_accessor :primary_recording
105314
105708
 
105315
- # Products-specific information about the entity. Next available tag: 16.
105709
+ # Products-specific information about the entity. Only available in QrefMetadata
105710
+ # output. Next available tag: 16.
105316
105711
  # Corresponds to the JSON property `productMetadata`
105317
105712
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefProductMetadata]
105318
105713
  attr_accessor :product_metadata
@@ -107980,7 +108375,8 @@ module Google
107980
108375
  end
107981
108376
  end
107982
108377
 
107983
- # Products-specific information about the entity. Next available tag: 16.
108378
+ # Products-specific information about the entity. Only available in QrefMetadata
108379
+ # output. Next available tag: 16.
107984
108380
  class RepositoryWebrefProductMetadata
107985
108381
  include Google::Apis::Core::Hashable
107986
108382
 
@@ -108002,11 +108398,6 @@ module Google
108002
108398
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryShoppingIds]
108003
108399
  attr_accessor :shopping_ids
108004
108400
 
108005
- #
108006
- # Corresponds to the JSON property `type`
108007
- # @return [String]
108008
- attr_accessor :type
108009
-
108010
108401
  # All unique variant cluster ids (shopping's GPCs) of this entity.
108011
108402
  # Corresponds to the JSON property `variantClusterId`
108012
108403
  # @return [Array<Fixnum>]
@@ -108020,7 +108411,6 @@ module Google
108020
108411
  def update!(**args)
108021
108412
  @product_line_id = args[:product_line_id] if args.key?(:product_line_id)
108022
108413
  @shopping_ids = args[:shopping_ids] if args.key?(:shopping_ids)
108023
- @type = args[:type] if args.key?(:type)
108024
108414
  @variant_cluster_id = args[:variant_cluster_id] if args.key?(:variant_cluster_id)
108025
108415
  end
108026
108416
  end
@@ -108295,29 +108685,6 @@ module Google
108295
108685
  # @return [Float]
108296
108686
  attr_accessor :book_score
108297
108687
 
108298
- # The raw topicality score of the primary entity.
108299
- # Corresponds to the JSON property `firstScore`
108300
- # @return [Float]
108301
- attr_accessor :first_score
108302
-
108303
- # Whether the primary entity has any "special" links. Currently a link is
108304
- # considered special if it has a good implication probability and has no
108305
- # negative disambiguation probability.
108306
- # Corresponds to the JSON property `hasSpecialLinks`
108307
- # @return [Boolean]
108308
- attr_accessor :has_special_links
108309
- alias_method :has_special_links?, :has_special_links
108310
-
108311
- # The median mentions core of the primary entity.
108312
- # Corresponds to the JSON property `medianMentionScore`
108313
- # @return [Float]
108314
- attr_accessor :median_mention_score
108315
-
108316
- # The navboost token coverage ratio. All queries are taken into account.
108317
- # Corresponds to the JSON property `navboostCoverage`
108318
- # @return [Float]
108319
- attr_accessor :navboost_coverage
108320
-
108321
108688
  # Reference page score used to select the reference page owner.
108322
108689
  # Corresponds to the JSON property `referencePageScore`
108323
108690
  # @return [Float]
@@ -108340,18 +108707,6 @@ module Google
108340
108707
  # @return [Float]
108341
108708
  attr_accessor :single_topicness_v2
108342
108709
 
108343
- # =================================== Signals for the single topicness. Only
108344
- # filled in for the primary (i.e., top ranked) entity. The title token coverage
108345
- # ratio.
108346
- # Corresponds to the JSON property `titleCoverage`
108347
- # @return [Float]
108348
- attr_accessor :title_coverage
108349
-
108350
- # The sum of raw topicality scores for all entities in this page.
108351
- # Corresponds to the JSON property `totalSum`
108352
- # @return [Float]
108353
- attr_accessor :total_sum
108354
-
108355
108710
  def initialize(**args)
108356
108711
  update!(**args)
108357
108712
  end
@@ -108359,16 +108714,10 @@ module Google
108359
108714
  # Update properties of this object
108360
108715
  def update!(**args)
108361
108716
  @book_score = args[:book_score] if args.key?(:book_score)
108362
- @first_score = args[:first_score] if args.key?(:first_score)
108363
- @has_special_links = args[:has_special_links] if args.key?(:has_special_links)
108364
- @median_mention_score = args[:median_mention_score] if args.key?(:median_mention_score)
108365
- @navboost_coverage = args[:navboost_coverage] if args.key?(:navboost_coverage)
108366
108717
  @reference_page_score = args[:reference_page_score] if args.key?(:reference_page_score)
108367
108718
  @selected = args[:selected] if args.key?(:selected)
108368
108719
  @single_topicness = args[:single_topicness] if args.key?(:single_topicness)
108369
108720
  @single_topicness_v2 = args[:single_topicness_v2] if args.key?(:single_topicness_v2)
108370
- @title_coverage = args[:title_coverage] if args.key?(:title_coverage)
108371
- @total_sum = args[:total_sum] if args.key?(:total_sum)
108372
108721
  end
108373
108722
  end
108374
108723
 
@@ -116737,6 +117086,12 @@ module Google
116737
117086
  attr_accessor :disable_query_features
116738
117087
  alias_method :disable_query_features?, :disable_query_features
116739
117088
 
117089
+ # Indicates to not add any new candidates in SnippetFlow.
117090
+ # Corresponds to the JSON property `forceLeadingTextOrMeta`
117091
+ # @return [Boolean]
117092
+ attr_accessor :force_leading_text_or_meta
117093
+ alias_method :force_leading_text_or_meta?, :force_leading_text_or_meta
117094
+
116740
117095
  # Snippet candidate index selected by snippet brain model. This field will get
116741
117096
  # populated in SnippetFlow in superroot. go/snippets-brain
116742
117097
  # Corresponds to the JSON property `snippetBrainSelectedCandidateIndex`
@@ -116760,6 +117115,7 @@ module Google
116760
117115
  @contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
116761
117116
  @disable_ng3_scoring = args[:disable_ng3_scoring] if args.key?(:disable_ng3_scoring)
116762
117117
  @disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
117118
+ @force_leading_text_or_meta = args[:force_leading_text_or_meta] if args.key?(:force_leading_text_or_meta)
116763
117119
  @snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
116764
117120
  @snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
116765
117121
  end
@@ -122709,7 +123065,7 @@ module Google
122709
123065
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
122710
123066
  # reply (it should be added *after* the reply is prepared). Use
122711
123067
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
122712
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 46
123068
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 47
122713
123069
  # Corresponds to the JSON property `TrawlerPrivate`
122714
123070
  # @return [Google::Apis::ContentwarehouseV1::TrawlerTrawlerPrivateFetchReplyData]
122715
123071
  attr_accessor :trawler_private
@@ -123968,7 +124324,7 @@ module Google
123968
124324
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
123969
124325
  # reply (it should be added *after* the reply is prepared). Use
123970
124326
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
123971
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 46
124327
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 47
123972
124328
  class TrawlerTrawlerPrivateFetchReplyData
123973
124329
  include Google::Apis::Core::Hashable
123974
124330
 
@@ -124223,6 +124579,11 @@ module Google
124223
124579
  # @return [Google::Apis::ContentwarehouseV1::TrawlerOriginalClientParams]
124224
124580
  attr_accessor :original_client_params
124225
124581
 
124582
+ # Log the prod region (only for regional harpoon requestor ids)
124583
+ # Corresponds to the JSON property `prodRegion`
124584
+ # @return [String]
124585
+ attr_accessor :prod_region
124586
+
124226
124587
  # If the requestor shares resource bucket with other requestorids, we will store
124227
124588
  # the resource bucket name in these fields.
124228
124589
  # Corresponds to the JSON property `resourceBucket`
@@ -124291,6 +124652,7 @@ module Google
124291
124652
  @multiverse_client_identifier = args[:multiverse_client_identifier] if args.key?(:multiverse_client_identifier)
124292
124653
  @num_dropped_replies = args[:num_dropped_replies] if args.key?(:num_dropped_replies)
124293
124654
  @original_client_params = args[:original_client_params] if args.key?(:original_client_params)
124655
+ @prod_region = args[:prod_region] if args.key?(:prod_region)
124294
124656
  @resource_bucket = args[:resource_bucket] if args.key?(:resource_bucket)
124295
124657
  @sub_resource_bucket = args[:sub_resource_bucket] if args.key?(:sub_resource_bucket)
124296
124658
  @tier = args[:tier] if args.key?(:tier)
@@ -124532,7 +124894,7 @@ module Google
124532
124894
  end
124533
124895
 
124534
124896
  # Proto message containing the id, localized title, score, and hierarchy level
124535
- # of a trusted genome entity. Next ID: 10
124897
+ # of a trusted genome entity. Next ID: 12
124536
124898
  class VendingConsumerProtoTrustedGenomeEntity
124537
124899
  include Google::Apis::Core::Hashable
124538
124900
 
@@ -124547,6 +124909,12 @@ module Google
124547
124909
  # @return [String]
124548
124910
  attr_accessor :id
124549
124911
 
124912
+ # Indicate whether the trusted genome entity has localized title.
124913
+ # Corresponds to the JSON property `isLocalized`
124914
+ # @return [Boolean]
124915
+ attr_accessor :is_localized
124916
+ alias_method :is_localized?, :is_localized
124917
+
124550
124918
  # The level of the entity. E.g. in hierarchy like Action -> Platformer > Endless
124551
124919
  # Runner. Action is level 1, Platformer is level 2 and Endless Runner is level 3.
124552
124920
  # Currently, only APP_TAXONOMY and GAME_TAXONOMY type may have the levels. For
@@ -124566,6 +124934,12 @@ module Google
124566
124934
  # @return [String]
124567
124935
  attr_accessor :query_text
124568
124936
 
124937
+ # The corresponding recs topics created from the trusted genome entity if
124938
+ # available.
124939
+ # Corresponds to the JSON property `recsTopicId`
124940
+ # @return [Array<String>]
124941
+ attr_accessor :recs_topic_id
124942
+
124569
124943
  # The confidence score of the entity to the app.
124570
124944
  # Corresponds to the JSON property `score`
124571
124945
  # @return [Float]
@@ -124591,9 +124965,11 @@ module Google
124591
124965
  def update!(**args)
124592
124966
  @category_id = args[:category_id] if args.key?(:category_id)
124593
124967
  @id = args[:id] if args.key?(:id)
124968
+ @is_localized = args[:is_localized] if args.key?(:is_localized)
124594
124969
  @level = args[:level] if args.key?(:level)
124595
124970
  @predicate_name = args[:predicate_name] if args.key?(:predicate_name)
124596
124971
  @query_text = args[:query_text] if args.key?(:query_text)
124972
+ @recs_topic_id = args[:recs_topic_id] if args.key?(:recs_topic_id)
124597
124973
  @score = args[:score] if args.key?(:score)
124598
124974
  @title = args[:title] if args.key?(:title)
124599
124975
  @user_visible = args[:user_visible] if args.key?(:user_visible)
@@ -125275,7 +125651,7 @@ module Google
125275
125651
 
125276
125652
  # This defines the per-doc data which is extracted from thumbnails and
125277
125653
  # propagated over to indexing. It contains all information that can be used for
125278
- # restricts. Next tag id: 129
125654
+ # restricts. Next tag id: 130
125279
125655
  # Corresponds to the JSON property `imageData`
125280
125656
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
125281
125657
  attr_accessor :image_data
@@ -134496,10 +134872,11 @@ module Google
134496
134872
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryAnnotationsMustangSentimentSnippetAnnotations>]
134497
134873
  attr_accessor :sentiment_snippets
134498
134874
 
134499
- # The display name of the document's domain used as the first part of VisUrl, e.
134500
- # g, "Google > play > store" is the VisUrl of "https://play.google.com/store/".
134501
- # Wherein, "Google" is site_display_name of the domain "google.com". See go/site-
134502
- # display-name for more details.
134875
+ # The domain-level display name of the website, such as "Google" for google.com.
134876
+ # See go/site-display-name for more details. As of Aug 2023, this field is being
134877
+ # deprecated in favor of `info.[AlternativeTitlesResponse].
134878
+ # site_display_name_response` field, which also contains host-level site display
134879
+ # names with additional information.
134503
134880
  # Corresponds to the JSON property `siteDisplayName`
134504
134881
  # @return [String]
134505
134882
  attr_accessor :site_display_name
@@ -134577,7 +134954,7 @@ module Google
134577
134954
 
134578
134955
  # How tokens are rendered in generating title. Note: In rendering a title, the
134579
134956
  # page title part and the site/host/domain title part can be flipped after
134580
- # initial rendering. The flip, if happend, may not be reflected in this field.
134957
+ # initial rendering. The flip, if happened, may not be reflected in this field.
134581
134958
  # That is, this field may contain the tokens in the original, pre-flip, order.
134582
134959
  # Corresponds to the JSON property `titleRenderedToken`
134583
134960
  # @return [Array<Google::Apis::ContentwarehouseV1::MustangSnippetsRenderedToken>]
@@ -134675,10 +135052,47 @@ module Google
134675
135052
  end
134676
135053
  end
134677
135054
 
134678
- #
134679
- class WatchpageLanguageWatchPageLanguageResult
135055
+ # Next ID: 4
135056
+ class WatchpageLanguageWatchPageLanguageModelPredictions
134680
135057
  include Google::Apis::Core::Hashable
134681
135058
 
135059
+ # A list of watchpage languages predicted arranged according to their scores.
135060
+ # Corresponds to the JSON property `languageScore`
135061
+ # @return [Array<Google::Apis::ContentwarehouseV1::WatchpageLanguageWatchPageLanguageModelPredictionsLanguageScore>]
135062
+ attr_accessor :language_score
135063
+
135064
+ # Does the prediction uses speech signals like audio language.
135065
+ # Corresponds to the JSON property `usesSpeechSignals`
135066
+ # @return [Boolean]
135067
+ attr_accessor :uses_speech_signals
135068
+ alias_method :uses_speech_signals?, :uses_speech_signals
135069
+
135070
+ # An identifier to recognize the model version used for this prediction.
135071
+ # Corresponds to the JSON property `version`
135072
+ # @return [String]
135073
+ attr_accessor :version
135074
+
135075
+ def initialize(**args)
135076
+ update!(**args)
135077
+ end
135078
+
135079
+ # Update properties of this object
135080
+ def update!(**args)
135081
+ @language_score = args[:language_score] if args.key?(:language_score)
135082
+ @uses_speech_signals = args[:uses_speech_signals] if args.key?(:uses_speech_signals)
135083
+ @version = args[:version] if args.key?(:version)
135084
+ end
135085
+ end
135086
+
135087
+ # Next ID: 3
135088
+ class WatchpageLanguageWatchPageLanguageModelPredictionsLanguageScore
135089
+ include Google::Apis::Core::Hashable
135090
+
135091
+ # Score for the predicted language by the WatchPage Language model.
135092
+ # Corresponds to the JSON property `score`
135093
+ # @return [Float]
135094
+ attr_accessor :score
135095
+
134682
135096
  # The language predicted by the WatchPage Language model.
134683
135097
  # Corresponds to the JSON property `watchpageLanguage`
134684
135098
  # @return [String]
@@ -134690,6 +135104,34 @@ module Google
134690
135104
 
134691
135105
  # Update properties of this object
134692
135106
  def update!(**args)
135107
+ @score = args[:score] if args.key?(:score)
135108
+ @watchpage_language = args[:watchpage_language] if args.key?(:watchpage_language)
135109
+ end
135110
+ end
135111
+
135112
+ # Next ID: 3
135113
+ class WatchpageLanguageWatchPageLanguageResult
135114
+ include Google::Apis::Core::Hashable
135115
+
135116
+ # Versioned WatchPageLanguageResults. This is to experiment and launch new
135117
+ # models. The first prediction is the latest production version.
135118
+ # Corresponds to the JSON property `predictions`
135119
+ # @return [Array<Google::Apis::ContentwarehouseV1::WatchpageLanguageWatchPageLanguageModelPredictions>]
135120
+ attr_accessor :predictions
135121
+
135122
+ # The language predicted by the V1 WatchPage Language model. For new and
135123
+ # experimental versions use versioned_language_result.
135124
+ # Corresponds to the JSON property `watchpageLanguage`
135125
+ # @return [String]
135126
+ attr_accessor :watchpage_language
135127
+
135128
+ def initialize(**args)
135129
+ update!(**args)
135130
+ end
135131
+
135132
+ # Update properties of this object
135133
+ def update!(**args)
135134
+ @predictions = args[:predictions] if args.key?(:predictions)
134693
135135
  @watchpage_language = args[:watchpage_language] if args.key?(:watchpage_language)
134694
135136
  end
134695
135137
  end