google-apis-contentwarehouse_v1 0.4.0 → 0.5.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.
@@ -2530,6 +2530,11 @@ module Google
2530
2530
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
2531
2531
  attr_accessor :metadata
2532
2532
 
2533
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
2534
+ # Corresponds to the JSON property `prompt`
2535
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt]
2536
+ attr_accessor :prompt
2537
+
2533
2538
  # Actual value entered. Allows unstructured values.
2534
2539
  # Corresponds to the JSON property `value`
2535
2540
  # @return [String]
@@ -2548,6 +2553,7 @@ module Google
2548
2553
  @date_ms = args[:date_ms] if args.key?(:date_ms)
2549
2554
  @date_ms_as_number = args[:date_ms_as_number] if args.key?(:date_ms_as_number)
2550
2555
  @metadata = args[:metadata] if args.key?(:metadata)
2556
+ @prompt = args[:prompt] if args.key?(:prompt)
2551
2557
  @value = args[:value] if args.key?(:value)
2552
2558
  end
2553
2559
  end
@@ -3742,6 +3748,11 @@ module Google
3742
3748
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
3743
3749
  attr_accessor :metadata
3744
3750
 
3751
+ # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
3752
+ # Corresponds to the JSON property `prompt`
3753
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt]
3754
+ attr_accessor :prompt
3755
+
3745
3756
  # Clients are recommended to read the calendar_day field instead of
3746
3757
  # timestamp_millis. When writing events, new clients must set calendar_day
3747
3758
  # instead of timestamp_millis. Events are currently represented as timestamp
@@ -3768,6 +3779,7 @@ module Google
3768
3779
  @calendar_day = args[:calendar_day] if args.key?(:calendar_day)
3769
3780
  @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
3770
3781
  @metadata = args[:metadata] if args.key?(:metadata)
3782
+ @prompt = args[:prompt] if args.key?(:prompt)
3771
3783
  @timestamp_millis = args[:timestamp_millis] if args.key?(:timestamp_millis)
3772
3784
  @type = args[:type] if args.key?(:type)
3773
3785
  end
@@ -12024,7 +12036,7 @@ module Google
12024
12036
  attr_accessor :location
12025
12037
 
12026
12038
  # Data which is produced for logging and debugging. Servers MUST NOT use this
12027
- # for any other purposes, such as branching on it. Next ID: 14
12039
+ # for any other purposes, such as branching on it. Next ID: 15
12028
12040
  # Corresponds to the JSON property `loggingOnlyData`
12029
12041
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiLoggingOnlyData]
12030
12042
  attr_accessor :logging_only_data
@@ -12822,10 +12834,18 @@ module Google
12822
12834
  end
12823
12835
 
12824
12836
  # Data which is produced for logging and debugging. Servers MUST NOT use this
12825
- # for any other purposes, such as branching on it. Next ID: 14
12837
+ # for any other purposes, such as branching on it. Next ID: 15
12826
12838
  class AssistantApiLoggingOnlyData
12827
12839
  include Google::Apis::Core::Hashable
12828
12840
 
12841
+ # The index of the account on the device. Useful when there are multiple
12842
+ # accounts on a device such as distinguishing primary user data from secondary
12843
+ # users. There is no guarantee that this is a stable number but is relatively
12844
+ # stable in practice.
12845
+ # Corresponds to the JSON property `accountIndex`
12846
+ # @return [Fixnum]
12847
+ attr_accessor :account_index
12848
+
12829
12849
  # A user-readable string describing the ACP version (go/acp-version) of the
12830
12850
  # client app used by the user to originate the conversation.
12831
12851
  # Corresponds to the JSON property `acpVersion`
@@ -12908,6 +12928,7 @@ module Google
12908
12928
 
12909
12929
  # Update properties of this object
12910
12930
  def update!(**args)
12931
+ @account_index = args[:account_index] if args.key?(:account_index)
12911
12932
  @acp_version = args[:acp_version] if args.key?(:acp_version)
12912
12933
  @android_id = args[:android_id] if args.key?(:android_id)
12913
12934
  @app_version = args[:app_version] if args.key?(:app_version)
@@ -16298,13 +16319,15 @@ module Google
16298
16319
  alias_method :click_impersonation_supported?, :click_impersonation_supported
16299
16320
 
16300
16321
  # Whether client supports suggestion chips with colored background/border.
16322
+ # Deprecated in favor of go/color-token-suggestion-chip.
16301
16323
  # Corresponds to the JSON property `coloredChipBackgroundBorderSupported`
16302
16324
  # @return [Boolean]
16303
16325
  attr_accessor :colored_chip_background_border_supported
16304
16326
  alias_method :colored_chip_background_border_supported?, :colored_chip_background_border_supported
16305
16327
 
16306
16328
  # Whether client supports suggestion chips with colored text. See design doc:
16307
- # http://go/opa-suggestions-ux-eng-design.
16329
+ # http://go/opa-suggestions-ux-eng-design. Deprecated in favor of go/color-token-
16330
+ # suggestion-chip.
16308
16331
  # Corresponds to the JSON property `coloredChipTextSupported`
16309
16332
  # @return [Boolean]
16310
16333
  attr_accessor :colored_chip_text_supported
@@ -18649,22 +18672,26 @@ module Google
18649
18672
  # @return [String]
18650
18673
  attr_accessor :matched_name_type
18651
18674
 
18652
- # Number of alternate contact names from fuzzy contact match.
18675
+ # Number of alternate contact names from fuzzy contact match. (Not suggest using
18676
+ # it since it can change due to retrieval iteration)
18653
18677
  # Corresponds to the JSON property `numAlternateNameFromFuzzyContactMatch`
18654
18678
  # @return [Float]
18655
18679
  attr_accessor :num_alternate_name_from_fuzzy_contact_match
18656
18680
 
18657
- # Number of alternate contact names from S3_HYPOTHESES.
18681
+ # Number of alternate contact names from S3_HYPOTHESES. (Not suggest using it
18682
+ # since it can change due to retrieval iteration)
18658
18683
  # Corresponds to the JSON property `numAlternateNamesFromS3`
18659
18684
  # @return [Float]
18660
18685
  attr_accessor :num_alternate_names_from_s3
18661
18686
 
18662
- # Number of alternate contact names from interpretation.
18687
+ # Number of alternate contact names from interpretation. (Not suggest using it
18688
+ # since it can change due to retrieval iteration)
18663
18689
  # Corresponds to the JSON property `numAlternativeNamesFromInterpretation`
18664
18690
  # @return [Float]
18665
18691
  attr_accessor :num_alternative_names_from_interpretation
18666
18692
 
18667
- # Number of contacts populated by the contact Grounding Provider.
18693
+ # Number of contacts populated by the contact Grounding Provider. (Not suggest
18694
+ # using it since it can change due to retrieval iteration)
18668
18695
  # Corresponds to the JSON property `numCandidates`
18669
18696
  # @return [Float]
18670
18697
  attr_accessor :num_candidates
@@ -18695,7 +18722,7 @@ module Google
18695
18722
  end
18696
18723
  end
18697
18724
 
18698
- # Next ID: 3
18725
+ # Next ID: 4
18699
18726
  class AssistantGroundingRankerGroundingProviderFeatures
18700
18727
  include Google::Apis::Core::Hashable
18701
18728
 
@@ -18709,6 +18736,11 @@ module Google
18709
18736
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18710
18737
  attr_accessor :media_grounding_provider_features
18711
18738
 
18739
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
18740
+ # Corresponds to the JSON property `providerGroundingProviderFeatures`
18741
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
18742
+ attr_accessor :provider_grounding_provider_features
18743
+
18712
18744
  def initialize(**args)
18713
18745
  update!(**args)
18714
18746
  end
@@ -18717,6 +18749,7 @@ module Google
18717
18749
  def update!(**args)
18718
18750
  @contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
18719
18751
  @media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
18752
+ @provider_grounding_provider_features = args[:provider_grounding_provider_features] if args.key?(:provider_grounding_provider_features)
18720
18753
  end
18721
18754
  end
18722
18755
 
@@ -18746,6 +18779,26 @@ module Google
18746
18779
  end
18747
18780
  end
18748
18781
 
18782
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 2
18783
+ class AssistantGroundingRankerProviderGroundingProviderFeatures
18784
+ include Google::Apis::Core::Hashable
18785
+
18786
+ # Provider quality score in the range [0,1] that can be used for ranking
18787
+ # providers. Incorporates both policy rules and quality considerations.
18788
+ # Corresponds to the JSON property `pslScore`
18789
+ # @return [Float]
18790
+ attr_accessor :psl_score
18791
+
18792
+ def initialize(**args)
18793
+ update!(**args)
18794
+ end
18795
+
18796
+ # Update properties of this object
18797
+ def update!(**args)
18798
+ @psl_score = args[:psl_score] if args.key?(:psl_score)
18799
+ end
18800
+ end
18801
+
18749
18802
  #
18750
18803
  class AssistantLogsAllMediaStreamLog
18751
18804
  include Google::Apis::Core::Hashable
@@ -18788,6 +18841,17 @@ module Google
18788
18841
  # @return [Array<Fixnum>]
18789
18842
  attr_accessor :ambiguous_device_index
18790
18843
 
18844
+ # DeviceInfo for devices after the filters and promoters. - When device
18845
+ # targeting is only configured for single target, these are ambiguous devices
18846
+ # that would have been the output of Lumos. Downstream may perform extra check
18847
+ # before disambiguation dialog. For example, Media Initiation checks playability
18848
+ # for devices. The output here is before the check. - When configured for multi-
18849
+ # target, these are just the target devices. For privacy consideration, we may
18850
+ # only log device id field inside.
18851
+ # Corresponds to the JSON property `devicesAfterPromoters`
18852
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantLogsDeviceInfoLog>]
18853
+ attr_accessor :devices_after_promoters
18854
+
18791
18855
  # The information related to the device.
18792
18856
  # Corresponds to the JSON property `finalTargetDevice`
18793
18857
  # @return [Google::Apis::ContentwarehouseV1::AssistantLogsDeviceInfoLog]
@@ -18817,6 +18881,7 @@ module Google
18817
18881
  # Update properties of this object
18818
18882
  def update!(**args)
18819
18883
  @ambiguous_device_index = args[:ambiguous_device_index] if args.key?(:ambiguous_device_index)
18884
+ @devices_after_promoters = args[:devices_after_promoters] if args.key?(:devices_after_promoters)
18820
18885
  @final_target_device = args[:final_target_device] if args.key?(:final_target_device)
18821
18886
  @playability_filtered_devices_index = args[:playability_filtered_devices_index] if args.key?(:playability_filtered_devices_index)
18822
18887
  @punt_info_log = args[:punt_info_log] if args.key?(:punt_info_log)
@@ -20300,7 +20365,7 @@ module Google
20300
20365
 
20301
20366
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20302
20367
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20303
- # Next ID: 33
20368
+ # Next ID: 34
20304
20369
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20305
20370
  include Google::Apis::Core::Hashable
20306
20371
 
@@ -20335,7 +20400,7 @@ module Google
20335
20400
  # @return [Float]
20336
20401
  attr_accessor :groundability_score
20337
20402
 
20338
- # Next ID: 3
20403
+ # Next ID: 4
20339
20404
  # Corresponds to the JSON property `groundingProviderFeatures`
20340
20405
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20341
20406
  attr_accessor :grounding_provider_features
@@ -20363,6 +20428,13 @@ module Google
20363
20428
  # @return [Float]
20364
20429
  attr_accessor :intent_name_auis_score_exp
20365
20430
 
20431
+ # Feasibility of fulfilling the binding set. Eg: For PlayMedia, this is
20432
+ # equivalent to playability. More details: go/hgr-feasibility-feature.
20433
+ # Corresponds to the JSON property `isFeasible`
20434
+ # @return [Boolean]
20435
+ attr_accessor :is_feasible
20436
+ alias_method :is_feasible?, :is_feasible
20437
+
20366
20438
  # The rank order of the interpretation as determined by kscorer. The kscorer-
20367
20439
  # determined dominant interpretation, if any, gets a rank of 0. The remaining N
20368
20440
  # interpretations get a rank of 1 through N.
@@ -20474,6 +20546,7 @@ module Google
20474
20546
  @intent_name = args[:intent_name] if args.key?(:intent_name)
20475
20547
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
20476
20548
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
20549
+ @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
20477
20550
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
20478
20551
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
20479
20552
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
@@ -21109,7 +21182,7 @@ module Google
21109
21182
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
21110
21183
  attr_accessor :dto_query_info
21111
21184
 
21112
- # Next ID: 40
21185
+ # Next ID: 42
21113
21186
  # Corresponds to the JSON property `homeautomationMetadata`
21114
21187
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21115
21188
  attr_accessor :homeautomation_metadata
@@ -21156,7 +21229,7 @@ module Google
21156
21229
  class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
21157
21230
  include Google::Apis::Core::Hashable
21158
21231
 
21159
- # Next ID: 40
21232
+ # Next ID: 42
21160
21233
  # Corresponds to the JSON property `homeautomationMetadata`
21161
21234
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21162
21235
  attr_accessor :homeautomation_metadata
@@ -21189,7 +21262,7 @@ module Google
21189
21262
  end
21190
21263
  end
21191
21264
 
21192
- # Next ID: 40
21265
+ # Next ID: 42
21193
21266
  class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
21194
21267
  include Google::Apis::Core::Hashable
21195
21268
 
@@ -21307,6 +21380,12 @@ module Google
21307
21380
  # @return [Array<Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoAgentDeviceId>]
21308
21381
  attr_accessor :other_device_ids
21309
21382
 
21383
+ # Additional device sources. This can be the result of the device being merged
21384
+ # with other devices with a different source.
21385
+ # Corresponds to the JSON property `otherDeviceSources`
21386
+ # @return [Array<String>]
21387
+ attr_accessor :other_device_sources
21388
+
21310
21389
  # LINT.IfChange(home_graph_single_parent) At the moment, we just have a single
21311
21390
  # string. In future this will expand with additional metadata from client or
21312
21391
  # cloud execution data store. In today's 'tree' HomeGraph each object has a
@@ -21418,6 +21497,13 @@ module Google
21418
21497
  # @return [Hash<String,Fixnum>]
21419
21498
  attr_accessor :target_device_signal_strengths
21420
21499
 
21500
+ # The timestamp at which the TDSS map was last updated. This information is used
21501
+ # to help determine which hub would be preferred if multiple hubs report the
21502
+ # same reach-ability for a device.
21503
+ # Corresponds to the JSON property `tdssUpdateTimestamp`
21504
+ # @return [String]
21505
+ attr_accessor :tdss_update_timestamp
21506
+
21421
21507
  # For SHED devices, some traits can only be executed on 3P cloud, e.g. "action.
21422
21508
  # devices.traits.MediaInitiation", "action.devices.traits.Channel" go/shed-per-
21423
21509
  # trait-routing
@@ -21498,6 +21584,7 @@ module Google
21498
21584
  @opaque_custom_data = args[:opaque_custom_data] if args.key?(:opaque_custom_data)
21499
21585
  @operational_node_id = args[:operational_node_id] if args.key?(:operational_node_id)
21500
21586
  @other_device_ids = args[:other_device_ids] if args.key?(:other_device_ids)
21587
+ @other_device_sources = args[:other_device_sources] if args.key?(:other_device_sources)
21501
21588
  @parent_node = args[:parent_node] if args.key?(:parent_node)
21502
21589
  @parent_type = args[:parent_type] if args.key?(:parent_type)
21503
21590
  @personalized_nicknames = args[:personalized_nicknames] if args.key?(:personalized_nicknames)
@@ -21513,6 +21600,7 @@ module Google
21513
21600
  @supported_traits_by_agent = args[:supported_traits_by_agent] if args.key?(:supported_traits_by_agent)
21514
21601
  @supports_direct_response = args[:supports_direct_response] if args.key?(:supports_direct_response)
21515
21602
  @target_device_signal_strengths = args[:target_device_signal_strengths] if args.key?(:target_device_signal_strengths)
21603
+ @tdss_update_timestamp = args[:tdss_update_timestamp] if args.key?(:tdss_update_timestamp)
21516
21604
  @trait_routing_hints = args[:trait_routing_hints] if args.key?(:trait_routing_hints)
21517
21605
  @trait_routing_table = args[:trait_routing_table] if args.key?(:trait_routing_table)
21518
21606
  @trait_to_attribute_protos = args[:trait_to_attribute_protos] if args.key?(:trait_to_attribute_protos)
@@ -23140,11 +23228,11 @@ module Google
23140
23228
  end
23141
23229
 
23142
23230
  # Protocol record used for collecting together all information about a document.
23143
- # Please consult go/dme for two basic questions about `CompositeDoc`: - Where
23144
- # should I look up certain information (e.g: pagerank, language)? - What does
23145
- # each field in CompositeDoc mean and who should I contact if I have questions?
23146
- # To add a new field into CompositeDoc, or change existing field's size
23147
- # significantly, please file a ticket at go/dj-new-field, fill in necessary
23231
+ # Please consult go/dj-explorer for two basic questions about `CompositeDoc`: -
23232
+ # Where should I look up certain information (e.g: pagerank, language)? - What
23233
+ # does each field in CompositeDoc mean and who should I contact if I have
23234
+ # questions? To add a new field into CompositeDoc, or change existing field's
23235
+ # size significantly, please file a ticket at go/dj-new-field, fill in necessary
23148
23236
  # information and get approved by docjoin-access@ team. Next id: 191
23149
23237
  class CompositeDoc
23150
23238
  include Google::Apis::Core::Hashable
@@ -23334,7 +23422,7 @@ module Google
23334
23422
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23335
23423
  # available tag deprecated, use this (and look for commented out fields): blaze-
23336
23424
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23337
- # perdocdata.proto Next tag: 218
23425
+ # perdocdata.proto Next tag: 219
23338
23426
  # Corresponds to the JSON property `perDocData`
23339
23427
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23340
23428
  attr_accessor :per_doc_data
@@ -23695,7 +23783,7 @@ module Google
23695
23783
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23696
23784
  # available tag deprecated, use this (and look for commented out fields): blaze-
23697
23785
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23698
- # perdocdata.proto Next tag: 218
23786
+ # perdocdata.proto Next tag: 219
23699
23787
  # Corresponds to the JSON property `perDocData`
23700
23788
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23701
23789
  attr_accessor :per_doc_data
@@ -23945,11 +24033,11 @@ module Google
23945
24033
  attr_accessor :experiment_id
23946
24034
 
23947
24035
  # Protocol record used for collecting together all information about a document.
23948
- # Please consult go/dme for two basic questions about `CompositeDoc`: - Where
23949
- # should I look up certain information (e.g: pagerank, language)? - What does
23950
- # each field in CompositeDoc mean and who should I contact if I have questions?
23951
- # To add a new field into CompositeDoc, or change existing field's size
23952
- # significantly, please file a ticket at go/dj-new-field, fill in necessary
24036
+ # Please consult go/dj-explorer for two basic questions about `CompositeDoc`: -
24037
+ # Where should I look up certain information (e.g: pagerank, language)? - What
24038
+ # does each field in CompositeDoc mean and who should I contact if I have
24039
+ # questions? To add a new field into CompositeDoc, or change existing field's
24040
+ # size significantly, please file a ticket at go/dj-new-field, fill in necessary
23953
24041
  # information and get approved by docjoin-access@ team. Next id: 191
23954
24042
  # Corresponds to the JSON property `partialCdoc`
23955
24043
  # @return [Google::Apis::ContentwarehouseV1::CompositeDoc]
@@ -24241,7 +24329,7 @@ module Google
24241
24329
  attr_accessor :experimental_qstar_site_signal
24242
24330
 
24243
24331
  # S2V low quality score: converted from quality_nsr.NsrData, applied in Qstar.
24244
- # See NsrUtil::ConvertNsrDataToLowQuality.
24332
+ # See quality_nsr::util::ConvertNsrDataToLowQuality.
24245
24333
  # Corresponds to the JSON property `lowQuality`
24246
24334
  # @return [Fixnum]
24247
24335
  attr_accessor :low_quality
@@ -27817,6 +27905,11 @@ module Google
27817
27905
  # @return [Array<Google::Apis::ContentwarehouseV1::FatcatCompactTaxonomicClassificationCategory>]
27818
27906
  attr_accessor :category
27819
27907
 
27908
+ #
27909
+ # Corresponds to the JSON property `classifierVersion`
27910
+ # @return [String]
27911
+ attr_accessor :classifier_version
27912
+
27820
27913
  # Either taxonomy will be set, using the enum above, or taxonomy_name will be
27821
27914
  # set (if the taxonomy is not one of the ones in the enum) - never both
27822
27915
  # Corresponds to the JSON property `taxonomy`
@@ -27835,6 +27928,7 @@ module Google
27835
27928
  # Update properties of this object
27836
27929
  def update!(**args)
27837
27930
  @category = args[:category] if args.key?(:category)
27931
+ @classifier_version = args[:classifier_version] if args.key?(:classifier_version)
27838
27932
  @taxonomy = args[:taxonomy] if args.key?(:taxonomy)
27839
27933
  @taxonomy_name = args[:taxonomy_name] if args.key?(:taxonomy_name)
27840
27934
  end
@@ -29333,22 +29427,22 @@ module Google
29333
29427
  # actual contents depends on where in the Geo/Google stack you are reading a
29334
29428
  # feature: 1. When an address is initially parsed via a feed or other raw input
29335
29429
  # and structured as an AddressProto, parsed_name should contain the set of names
29336
- # that corresponds to the (possibly normalized) raw text from the raw input. In
29337
- # MapFacts, the address component may be linked to an actual feature via
29430
+ # that corresponds to the (possibly normalized) raw text from the raw input. 2.
29431
+ # In MapFacts, the address component may be linked to an actual feature via
29338
29432
  # feature_id. Any address formatting directly from MapFacts should follow links
29339
29433
  # to retrieve names when possible. The parsed_name contents may be formatted
29340
29434
  # directly if the address component is unlinked following the same rules as
29341
29435
  # selecting and formatting the name of a feature. The cached parsed_name is
29342
29436
  # regularly refreshed from the linked feature with the minimal set of names for
29343
29437
  # address components (usually just a single, preferred name, in the local
29344
- # language). 2. In serving systems, the names of linked features may be
29345
- # denormalized into the parsed_name field to facilitate quicker address
29346
- # formatting or for simple data filtering (e.g. finding all geocodes in
29347
- # California by name). If reading a feature from such a system, the parsed_name
29348
- # field could contain multiple names in multiple languages that reflect a cached
29349
- # copy of the names associated with the linked features. Formatting of such
29350
- # names should follow the same rules as selecting and formatting the name of a
29351
- # feature itself.
29438
+ # language, plus a Latin-script name: go/story-of-ac-names). 3. In serving
29439
+ # systems, the names of linked features may be denormalized into the parsed_name
29440
+ # field to facilitate quicker address formatting or for simple data filtering (e.
29441
+ # g. finding all geocodes in California by name). If reading a feature from such
29442
+ # a system, the parsed_name field could contain multiple names in multiple
29443
+ # languages that reflect a cached copy of the names associated with the linked
29444
+ # features. Formatting of such names should follow the same rules as selecting
29445
+ # and formatting the name of a feature itself.
29352
29446
  # Corresponds to the JSON property `parsedName`
29353
29447
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreNameProto>]
29354
29448
  attr_accessor :parsed_name
@@ -30445,6 +30539,21 @@ module Google
30445
30539
  # @return [Google::Apis::ContentwarehouseV1::GeostorePriceRangeProto]
30446
30540
  attr_accessor :price
30447
30541
 
30542
+ # Represents which price format is being used by this item, which determines the
30543
+ # usage/meaning of the “price” field above. Optional – the default value is
30544
+ # legal and safe (represents no price if the “price” field is unset).
30545
+ # Corresponds to the JSON property `priceFormat`
30546
+ # @return [String]
30547
+ attr_accessor :price_format
30548
+
30549
+ # Numerical score which can be provided by data sources to indicate preferred
30550
+ # item ordering. This is purely a hint – we are not required to followed it if
30551
+ # we have a different order we think is better. Higher scores represent items
30552
+ # that should be shown more prominently/earlier. Optional.
30553
+ # Corresponds to the JSON property `rankingHint`
30554
+ # @return [Float]
30555
+ attr_accessor :ranking_hint
30556
+
30448
30557
  def initialize(**args)
30449
30558
  update!(**args)
30450
30559
  end
@@ -30457,6 +30566,8 @@ module Google
30457
30566
  @name_info = args[:name_info] if args.key?(:name_info)
30458
30567
  @offered = args[:offered] if args.key?(:offered)
30459
30568
  @price = args[:price] if args.key?(:price)
30569
+ @price_format = args[:price_format] if args.key?(:price_format)
30570
+ @ranking_hint = args[:ranking_hint] if args.key?(:ranking_hint)
30460
30571
  end
30461
30572
  end
30462
30573
 
@@ -35356,6 +35467,57 @@ module Google
35356
35467
  end
35357
35468
  end
35358
35469
 
35470
+ #
35471
+ class GeostorePriceInfoSourceDetails
35472
+ include Google::Apis::Core::Hashable
35473
+
35474
+ #
35475
+ # Corresponds to the JSON property `lastUpdateSources`
35476
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetailsSourceData>]
35477
+ attr_accessor :last_update_sources
35478
+
35479
+ #
35480
+ # Corresponds to the JSON property `sourceData`
35481
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetailsSourceData>]
35482
+ attr_accessor :source_data
35483
+
35484
+ def initialize(**args)
35485
+ update!(**args)
35486
+ end
35487
+
35488
+ # Update properties of this object
35489
+ def update!(**args)
35490
+ @last_update_sources = args[:last_update_sources] if args.key?(:last_update_sources)
35491
+ @source_data = args[:source_data] if args.key?(:source_data)
35492
+ end
35493
+ end
35494
+
35495
+ #
35496
+ class GeostorePriceInfoSourceDetailsSourceData
35497
+ include Google::Apis::Core::Hashable
35498
+
35499
+ # Project number of the GMB API client. Set only if the source is
35500
+ # EXTERNAL_GMB_API.
35501
+ # Corresponds to the JSON property `clientProjectNumber`
35502
+ # @return [Fixnum]
35503
+ attr_accessor :client_project_number
35504
+
35505
+ #
35506
+ # Corresponds to the JSON property `source`
35507
+ # @return [String]
35508
+ attr_accessor :source
35509
+
35510
+ def initialize(**args)
35511
+ update!(**args)
35512
+ end
35513
+
35514
+ # Update properties of this object
35515
+ def update!(**args)
35516
+ @client_project_number = args[:client_project_number] if args.key?(:client_project_number)
35517
+ @source = args[:source] if args.key?(:source)
35518
+ end
35519
+ end
35520
+
35359
35521
  # Providers of PriceInfo (e.g. SinglePlatform, YEXT) send verified and
35360
35522
  # unverified listings. PriceInfoStatus is used to encapsulate this information.
35361
35523
  class GeostorePriceInfoStatus
@@ -35438,6 +35600,12 @@ module Google
35438
35600
  class GeostorePriceListProto
35439
35601
  include Google::Apis::Core::Hashable
35440
35602
 
35603
+ # For third party lists, represents the ID of the aggregator which provided this
35604
+ # data. Optional.
35605
+ # Corresponds to the JSON property `aggregatorId`
35606
+ # @return [Fixnum]
35607
+ attr_accessor :aggregator_id
35608
+
35441
35609
  # The time period when this price list is available. Establishments are not
35442
35610
  # required to give available_time for any given price list, however, when this
35443
35611
  # field is not set, the price list is understood as available any time the
@@ -35472,6 +35640,12 @@ module Google
35472
35640
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceListSectionProto>]
35473
35641
  attr_accessor :section
35474
35642
 
35643
+ # Source of the information retrieved, could be from our own NMX UI or a third
35644
+ # party API.
35645
+ # Corresponds to the JSON property `sourceDetails`
35646
+ # @return [Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetails]
35647
+ attr_accessor :source_details
35648
+
35475
35649
  # Hold a list of URLs, usually to contain translations of a single URL.
35476
35650
  # Corresponds to the JSON property `sourceUrl`
35477
35651
  # @return [Google::Apis::ContentwarehouseV1::GeostoreUrlListProto]
@@ -35483,10 +35657,12 @@ module Google
35483
35657
 
35484
35658
  # Update properties of this object
35485
35659
  def update!(**args)
35660
+ @aggregator_id = args[:aggregator_id] if args.key?(:aggregator_id)
35486
35661
  @available_time = args[:available_time] if args.key?(:available_time)
35487
35662
  @cuisines = args[:cuisines] if args.key?(:cuisines)
35488
35663
  @name_info = args[:name_info] if args.key?(:name_info)
35489
35664
  @section = args[:section] if args.key?(:section)
35665
+ @source_details = args[:source_details] if args.key?(:source_details)
35490
35666
  @source_url = args[:source_url] if args.key?(:source_url)
35491
35667
  end
35492
35668
  end
@@ -42180,6 +42356,11 @@ module Google
42180
42356
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1Document]
42181
42357
  attr_accessor :cloud_ai_document
42182
42358
 
42359
+ # Indicates the category (image, audio, video etc.) of the original content.
42360
+ # Corresponds to the JSON property `contentCategory`
42361
+ # @return [String]
42362
+ attr_accessor :content_category
42363
+
42183
42364
  # Output only. The time when the document is created.
42184
42365
  # Corresponds to the JSON property `createTime`
42185
42366
  # @return [String]
@@ -42285,6 +42466,7 @@ module Google
42285
42466
  def update!(**args)
42286
42467
  @async_enabled = args[:async_enabled] if args.key?(:async_enabled)
42287
42468
  @cloud_ai_document = args[:cloud_ai_document] if args.key?(:cloud_ai_document)
42469
+ @content_category = args[:content_category] if args.key?(:content_category)
42288
42470
  @create_time = args[:create_time] if args.key?(:create_time)
42289
42471
  @creator = args[:creator] if args.key?(:creator)
42290
42472
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -42432,7 +42614,31 @@ module Google
42432
42614
  attr_accessor :property_filter
42433
42615
 
42434
42616
  # The query string that matches against the full text of the document and the
42435
- # searchable properties. The maximum number of allowed characters is 255.
42617
+ # searchable properties. The query partially supports [Google AIP style syntax](
42618
+ # https://google.aip.dev/160). Specifically, the query supports literals,
42619
+ # logical operators, negation operators, comparison operators, and functions.
42620
+ # Literals: A bare literal value (examples: "42", "Hugo") is a value to be
42621
+ # matched against. It searches over the full text of the document and the
42622
+ # searchable properties. Logical operators: "AND", "and", "OR", and "or" are
42623
+ # binary logical operators (example: "engineer OR developer"). Negation
42624
+ # operators: "NOT" and "!" are negation operators (example: "NOT software").
42625
+ # Comparison operators: support the binary comparison operators =, !=, <, >, <=
42626
+ # and >= for string, numeric, enum, boolean. Also support like operator `~~` for
42627
+ # string. It provides semantic search functionality by parsing, stemming and
42628
+ # doing synonyms expansion against the input query. To specify a property in the
42629
+ # query, the left hand side expression in the comparison must be the property ID
42630
+ # including the parent. The right hand side must be literals. For example: "\"
42631
+ # projects/123/locations/us\".property_a < 1" matches results whose "property_a"
42632
+ # is less than 1 in project 123 and us location. The literals and comparison
42633
+ # expression can be connected in a single query (example: "software engineer \"
42634
+ # projects/123/locations/us\".salary > 100"). Functions: supported functions are
42635
+ # `LOWER([property_name])` to perform a case insensitive match and `EMPTY([
42636
+ # property_name])` to filter on the existence of a key. Support nested
42637
+ # expressions connected using parenthesis and logical operators. The default
42638
+ # logical operators is `AND` if there is no operators between expressions. The
42639
+ # query can be used with other filters e.g. `time_filters` and `
42640
+ # folder_name_filter`. They are connected with `AND` operator under the hood.
42641
+ # The maximum number of allowed characters is 255.
42436
42642
  # Corresponds to the JSON property `query`
42437
42643
  # @return [String]
42438
42644
  attr_accessor :query
@@ -42544,7 +42750,7 @@ module Google
42544
42750
  # @return [String]
42545
42751
  attr_accessor :description
42546
42752
 
42547
- # Required. Name of the schema given by the user. Must be unique per customer.
42753
+ # Required. Name of the schema given by the user. Must be unique per project.
42548
42754
  # Corresponds to the JSON property `displayName`
42549
42755
  # @return [String]
42550
42756
  attr_accessor :display_name
@@ -43875,7 +44081,7 @@ module Google
43875
44081
  # string_histogram_facet)`: Count the number of matching entities for each
43876
44082
  # distinct attribute value. Data types: * Histogram facet (aka filterable
43877
44083
  # properties): Facet names with format <schema id>.<facet>. Facets will have the
43878
- # format of: a-zA-Z. If the facet is a child facet, then the parent hierarchy
44084
+ # format of: `a-zA-Z`. If the facet is a child facet, then the parent hierarchy
43879
44085
  # needs to be specified separated by dots in the prefix after the schema id.
43880
44086
  # Thus, the format for a multi- level facet is: <schema id>.<parent facet name>.
43881
44087
  # <child facet name>. Example: schema123.root_parent_facet.middle_facet.
@@ -43905,7 +44111,9 @@ module Google
43905
44111
  # determined by the API algorithms. * `"upload_date desc"`: By upload date
43906
44112
  # descending. * `"upload_date"`: By upload date ascending. * `"update_date desc"`
43907
44113
  # : By last updated date descending. * `"update_date"`: By last updated date
43908
- # ascending.
44114
+ # ascending. * `"retrieval_importance desc"`: By retrieval importance of
44115
+ # properties descending. This feature is still under development, please do not
44116
+ # use unless otherwise instructed to do so.
43909
44117
  # Corresponds to the JSON property `orderBy`
43910
44118
  # @return [String]
43911
44119
  attr_accessor :order_by
@@ -43946,6 +44154,12 @@ module Google
43946
44154
  attr_accessor :require_total_size
43947
44155
  alias_method :require_total_size?, :require_total_size
43948
44156
 
44157
+ # Optional. Controls if the search document request requires the return of a
44158
+ # total size of matched documents. See SearchDocumentsResponse.total_size.
44159
+ # Corresponds to the JSON property `totalResultSize`
44160
+ # @return [String]
44161
+ attr_accessor :total_result_size
44162
+
43949
44163
  def initialize(**args)
43950
44164
  update!(**args)
43951
44165
  end
@@ -43961,6 +44175,7 @@ module Google
43961
44175
  @qa_size_limit = args[:qa_size_limit] if args.key?(:qa_size_limit)
43962
44176
  @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
43963
44177
  @require_total_size = args[:require_total_size] if args.key?(:require_total_size)
44178
+ @total_result_size = args[:total_result_size] if args.key?(:total_result_size)
43964
44179
  end
43965
44180
  end
43966
44181
 
@@ -43991,11 +44206,10 @@ module Google
43991
44206
  attr_accessor :next_page_token
43992
44207
 
43993
44208
  # The total number of matched documents which is available only if the client
43994
- # set SearchDocumentsRequest.require_total_size to `true`. Otherwise, the value
43995
- # will be `-1`. `total_size` will max at "100,000". If this is returned, then it
43996
- # can be assumed that the count is equal to or greater than 100,000. Typically a
43997
- # UI would handle this condition by displaying "of many", for example: "
43998
- # Displaying 10 of many".
44209
+ # set SearchDocumentsRequest.require_total_size to `true` or set
44210
+ # SearchDocumentsRequest.total_result_size to `ESTIMATED_SIZE` or `ACTUAL_SIZE`.
44211
+ # Otherwise, the value will be `-1`. Typically a UI would handle this condition
44212
+ # by displaying "of many", for example: "Displaying 10 of many".
43999
44213
  # Corresponds to the JSON property `totalSize`
44000
44214
  # @return [Fixnum]
44001
44215
  attr_accessor :total_size
@@ -44644,26 +44858,28 @@ module Google
44644
44858
  class GoogleCloudDocumentaiV1Barcode
44645
44859
  include Google::Apis::Core::Hashable
44646
44860
 
44647
- # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
44648
- # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
44649
- # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
44650
- # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
44651
- # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
44861
+ # Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. -
44862
+ # `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type.
44863
+ # - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13
44864
+ # type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A
44865
+ # type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code
44866
+ # type. - `DATABAR`: GS1 DataBar code type.
44652
44867
  # Corresponds to the JSON property `format`
44653
44868
  # @return [String]
44654
44869
  attr_accessor :format
44655
44870
 
44656
- # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
44657
- # www.google.com;;'.
44871
+ # Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https:/
44872
+ # /www.google.com;;'`.
44658
44873
  # Corresponds to the JSON property `rawValue`
44659
44874
  # @return [String]
44660
44875
  attr_accessor :raw_value
44661
44876
 
44662
44877
  # Value format describes the format of the value that a barcode encodes. The
44663
- # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
44664
- # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
44665
- # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
44666
- # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
44878
+ # supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email
44879
+ # address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`:
44880
+ # Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `
44881
+ # WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`:
44882
+ # Calendar event. - `DRIVER_LICENSE`: Driver's license.
44667
44883
  # Corresponds to the JSON property `valueFormat`
44668
44884
  # @return [String]
44669
44885
  attr_accessor :value_format
@@ -44769,14 +44985,14 @@ module Google
44769
44985
  # @return [String]
44770
44986
  attr_accessor :text
44771
44987
 
44772
- # Placeholder. A list of text corrections made to [Document.text]. This is
44773
- # usually used for annotating corrections to OCR mistakes. Text changes for a
44774
- # given revision may not overlap with each other.
44988
+ # Placeholder. A list of text corrections made to Document.text. This is usually
44989
+ # used for annotating corrections to OCR mistakes. Text changes for a given
44990
+ # revision may not overlap with each other.
44775
44991
  # Corresponds to the JSON property `textChanges`
44776
44992
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentTextChange>]
44777
44993
  attr_accessor :text_changes
44778
44994
 
44779
- # Placeholder. Styles for the Document.text.
44995
+ # Styles for the Document.text.
44780
44996
  # Corresponds to the JSON property `textStyles`
44781
44997
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentStyle>]
44782
44998
  attr_accessor :text_styles
@@ -44816,7 +45032,7 @@ module Google
44816
45032
  class GoogleCloudDocumentaiV1DocumentEntity
44817
45033
  include Google::Apis::Core::Hashable
44818
45034
 
44819
- # Optional. Confidence of detected Schema entity. Range [0, 1].
45035
+ # Optional. Confidence of detected Schema entity. Range `[0, 1]`.
44820
45036
  # Corresponds to the JSON property `confidence`
44821
45037
  # @return [Float]
44822
45038
  attr_accessor :confidence
@@ -44969,8 +45185,8 @@ module Google
44969
45185
  # Optional. An optional field to store a normalized string. For some entity
44970
45186
  # types, one of respective `structured_value` fields may also be populated. Also
44971
45187
  # not all the types of `structured_value` will be normalized. For example, some
44972
- # processors may not generate float or int normalized text by default. Below are
44973
- # sample formats mapped to structured values. - Money/Currency type (`
45188
+ # processors may not generate `float` or `integer` normalized text by default.
45189
+ # Below are sample formats mapped to structured values. - Money/Currency type (`
44974
45190
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
44975
45191
  # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
44976
45192
  # 8601 text format.
@@ -45179,7 +45395,7 @@ module Google
45179
45395
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1BoundingPoly]
45180
45396
  attr_accessor :bounding_poly
45181
45397
 
45182
- # Optional. Confidence of detected page element, if applicable. Range [0, 1].
45398
+ # Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
45183
45399
  # Corresponds to the JSON property `confidence`
45184
45400
  # @return [Float]
45185
45401
  attr_accessor :confidence
@@ -45194,10 +45410,10 @@ module Google
45194
45410
  # @return [String]
45195
45411
  attr_accessor :layout_type
45196
45412
 
45197
- # Required. Index into the Document.pages element, for example using Document.
45198
- # pages to locate the related page element. This field is skipped when its value
45199
- # is the default 0. See https://developers.google.com/protocol-buffers/docs/
45200
- # proto3#json.
45413
+ # Required. Index into the Document.pages element, for example using `Document.
45414
+ # pages` to locate the related page element. This field is skipped when its
45415
+ # value is the default `0`. See https://developers.google.com/protocol-buffers/
45416
+ # docs/proto3#json.
45201
45417
  # Corresponds to the JSON property `page`
45202
45418
  # @return [Fixnum]
45203
45419
  attr_accessor :page
@@ -45278,12 +45494,12 @@ module Google
45278
45494
  class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
45279
45495
  include Google::Apis::Core::Hashable
45280
45496
 
45281
- # Confidence of detected language. Range [0, 1].
45497
+ # Confidence of detected language. Range `[0, 1]`.
45282
45498
  # Corresponds to the JSON property `confidence`
45283
45499
  # @return [Float]
45284
45500
  attr_accessor :confidence
45285
45501
 
45286
- # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
45502
+ # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
45287
45503
  # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
45288
45504
  # Corresponds to the JSON property `languageCode`
45289
45505
  # @return [String]
@@ -45376,8 +45592,8 @@ module Google
45376
45592
  attr_accessor :value_detected_languages
45377
45593
 
45378
45594
  # If the value is non-textual, this field represents the type. Current valid
45379
- # values are: - blank (this indicates the field_value is normal text) - "
45380
- # unfilled_checkbox" - "filled_checkbox"
45595
+ # values are: - blank (this indicates the `field_value` is normal text) - `
45596
+ # unfilled_checkbox` - `filled_checkbox`
45381
45597
  # Corresponds to the JSON property `valueType`
45382
45598
  # @return [String]
45383
45599
  attr_accessor :value_type
@@ -45446,7 +45662,7 @@ module Google
45446
45662
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
45447
45663
  attr_accessor :detected_defects
45448
45664
 
45449
- # The overall quality score. Range [0, 1] where 1 is perfect quality.
45665
+ # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
45450
45666
  # Corresponds to the JSON property `qualityScore`
45451
45667
  # @return [Float]
45452
45668
  attr_accessor :quality_score
@@ -45466,16 +45682,16 @@ module Google
45466
45682
  class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
45467
45683
  include Google::Apis::Core::Hashable
45468
45684
 
45469
- # Confidence of detected defect. Range [0, 1] where 1 indicates strong
45685
+ # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
45470
45686
  # confidence of that the defect exists.
45471
45687
  # Corresponds to the JSON property `confidence`
45472
45688
  # @return [Float]
45473
45689
  attr_accessor :confidence
45474
45690
 
45475
- # Name of the defect type. Supported values are "quality/defect_blurry", "
45476
- # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
45477
- # defect_text_too_small", "quality/defect_document_cutoff", "quality/
45478
- # defect_text_cutoff", "quality/defect_glare"
45691
+ # Name of the defect type. Supported values are: - `quality/defect_blurry` - `
45692
+ # quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `
45693
+ # quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/
45694
+ # defect_text_cutoff` - `quality/defect_glare`
45479
45695
  # Corresponds to the JSON property `type`
45480
45696
  # @return [String]
45481
45697
  attr_accessor :type
@@ -45502,7 +45718,7 @@ module Google
45502
45718
 
45503
45719
  # Confidence of the current Layout within context of the object this layout is
45504
45720
  # for. e.g. confidence can be for a single token, a table, a visual element, etc.
45505
- # depending on context. Range [0, 1].
45721
+ # depending on context. Range `[0, 1]`.
45506
45722
  # Corresponds to the JSON property `confidence`
45507
45723
  # @return [Float]
45508
45724
  attr_accessor :confidence
@@ -46143,7 +46359,7 @@ module Google
46143
46359
  # @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
46144
46360
  attr_accessor :color
46145
46361
 
46146
- # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
46362
+ # Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/
46147
46363
  # cssref/pr_font_font-family.asp
46148
46364
  # Corresponds to the JSON property `fontFamily`
46149
46365
  # @return [String]
@@ -46636,6 +46852,21 @@ module Google
46636
46852
  class GoogleInternalAppsWaldoV1alphaCalendarBusy
46637
46853
  include Google::Apis::Core::Hashable
46638
46854
 
46855
+ # The time when the user will stop being committed, i.e., when their status will
46856
+ # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the
46857
+ # goal of this field is to provide information to help users decide how to
46858
+ # communicate with a user (see also http://shortn/_wXYXtZScgh).
46859
+ # Corresponds to the JSON property `committedUntil`
46860
+ # @return [String]
46861
+ attr_accessor :committed_until
46862
+
46863
+ # Whether the status of the user from this status's start to committed_until has
46864
+ # more than one status type (e.g. DoNotDisturb + InMeeting).
46865
+ # Corresponds to the JSON property `committedUntilIsMixed`
46866
+ # @return [Boolean]
46867
+ attr_accessor :committed_until_is_mixed
46868
+ alias_method :committed_until_is_mixed?, :committed_until_is_mixed
46869
+
46639
46870
  # The summary of the corresponding event in Calendar.
46640
46871
  # Corresponds to the JSON property `eventSummary`
46641
46872
  # @return [String]
@@ -46660,6 +46891,8 @@ module Google
46660
46891
 
46661
46892
  # Update properties of this object
46662
46893
  def update!(**args)
46894
+ @committed_until = args[:committed_until] if args.key?(:committed_until)
46895
+ @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
46663
46896
  @event_summary = args[:event_summary] if args.key?(:event_summary)
46664
46897
  @next_available = args[:next_available] if args.key?(:next_available)
46665
46898
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
@@ -46705,13 +46938,13 @@ module Google
46705
46938
  include Google::Apis::Core::Hashable
46706
46939
 
46707
46940
  # The time when the user will stop being committed, i.e., when their status will
46708
- # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh.
46941
+ # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh.
46709
46942
  # Corresponds to the JSON property `committedUntil`
46710
46943
  # @return [String]
46711
46944
  attr_accessor :committed_until
46712
46945
 
46713
- # Whether the status of the user until committed_until has more than one status
46714
- # type (e.g. DoNotDisturb + InMeeting).
46946
+ # Whether the status of the user from this status's start to committed_until has
46947
+ # more than one status type (e.g. DoNotDisturb + InMeeting).
46715
46948
  # Corresponds to the JSON property `committedUntilIsMixed`
46716
46949
  # @return [Boolean]
46717
46950
  attr_accessor :committed_until_is_mixed
@@ -46761,15 +46994,15 @@ module Google
46761
46994
  include Google::Apis::Core::Hashable
46762
46995
 
46763
46996
  # The time when the user will stop being committed, i.e., when their status will
46764
- # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that the goal
46765
- # of this field is to provide information to help users decide how to
46997
+ # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the
46998
+ # goal of this field is to provide information to help users decide how to
46766
46999
  # communicate with a user (see also http://shortn/_wXYXtZScgh).
46767
47000
  # Corresponds to the JSON property `committedUntil`
46768
47001
  # @return [String]
46769
47002
  attr_accessor :committed_until
46770
47003
 
46771
- # Whether the status of the user until committed_until has more than one status
46772
- # type (e.g. InMeeting + DoNotDisturb).
47004
+ # Whether the status of the user from this status's start to committed_until has
47005
+ # more than one status type (e.g. DoNotDisturb + InMeeting).
46773
47006
  # Corresponds to the JSON property `committedUntilIsMixed`
46774
47007
  # @return [Boolean]
46775
47008
  attr_accessor :committed_until_is_mixed
@@ -46894,15 +47127,15 @@ module Google
46894
47127
  attr_accessor :come_back_time
46895
47128
 
46896
47129
  # The time when the user will stop being committed, i.e., when their status will
46897
- # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that if this
46898
- # OOO block is large (>Xh), committed_until will be the end of this block, not
46899
- # including any meetings or focus time following it.
47130
+ # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that if
47131
+ # this OOO block is large (>=Xh), committed_until is not set.
46900
47132
  # Corresponds to the JSON property `committedUntil`
46901
47133
  # @return [String]
46902
47134
  attr_accessor :committed_until
46903
47135
 
46904
- # Whether the status of the user until committed_until has more than one status
46905
- # type (e.g. DoNotDisturb + InMeeting).
47136
+ # Whether the status of the user from this status's start to committed_until has
47137
+ # more than one status type (e.g. DoNotDisturb + InMeeting). Only set if
47138
+ # committed_until is set.
46906
47139
  # Corresponds to the JSON property `committedUntilIsMixed`
46907
47140
  # @return [Boolean]
46908
47141
  attr_accessor :committed_until_is_mixed
@@ -46983,9 +47216,11 @@ module Google
46983
47216
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserStatus]
46984
47217
  attr_accessor :next_commitment_status
46985
47218
 
46986
- # The most relevant upcoming commitment (InMeeting, DoNotDisturb or OutOfOffice).
46987
- # In most cases this will be the next closest commitment event, but if there is
46988
- # a large OOO in less than 24h it will take precedence over earlier events.
47219
+ # The most relevant upcoming commitment (InMeeting, DoNotDisturb, CalendarBusy
47220
+ # or OutOfOffice). This context is set only if there is an upcoming commitment
47221
+ # to show, and only on non commitments. Priority is given to the next closest
47222
+ # commitment if its start is close enough to this event, otherwise the next
47223
+ # large OOO if there is one.
46989
47224
  # Corresponds to the JSON property `nextCommitmentTime`
46990
47225
  # @return [String]
46991
47226
  attr_accessor :next_commitment_time
@@ -47136,8 +47371,9 @@ module Google
47136
47371
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUpcomingOooContext]
47137
47372
  attr_accessor :upcoming_ooo
47138
47373
 
47139
- # The context indicating the user is working remotely (from home / from a
47140
- # different office).
47374
+ # The context providing the User Location (not just Elsewhere). This is a legacy
47375
+ # name from when it was only set for users working remotely, now it is also set
47376
+ # when the user is working from the office.
47141
47377
  # Corresponds to the JSON property `workingElsewhere`
47142
47378
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaWorkingElsewhereContext]
47143
47379
  attr_accessor :working_elsewhere
@@ -47155,7 +47391,7 @@ module Google
47155
47391
  end
47156
47392
  end
47157
47393
 
47158
- # Location of the user, which might be "home", for example, or another office
47394
+ # Location of the user, which might be "home", for example, or an office
47159
47395
  # building, as well as a custom location specified by the user.
47160
47396
  class GoogleInternalAppsWaldoV1alphaUserLocation
47161
47397
  include Google::Apis::Core::Hashable
@@ -47239,12 +47475,13 @@ module Google
47239
47475
  end
47240
47476
  end
47241
47477
 
47242
- # The context indicating the user is working remotely (from home / from a
47243
- # different office).
47478
+ # The context providing the User Location (not just Elsewhere). This is a legacy
47479
+ # name from when it was only set for users working remotely, now it is also set
47480
+ # when the user is working from the office.
47244
47481
  class GoogleInternalAppsWaldoV1alphaWorkingElsewhereContext
47245
47482
  include Google::Apis::Core::Hashable
47246
47483
 
47247
- # Location of the user, which might be "home", for example, or another office
47484
+ # Location of the user, which might be "home", for example, or an office
47248
47485
  # building, as well as a custom location specified by the user.
47249
47486
  # Corresponds to the JSON property `location`
47250
47487
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserLocation]
@@ -49174,7 +49411,8 @@ module Google
49174
49411
  # @return [Fixnum]
49175
49412
  attr_accessor :referenced_resource_content_index
49176
49413
 
49177
- #
49414
+ # Only necessary headers are recorded. See google3/htmlrender/webkit_headless/
49415
+ # resource_key.cc
49178
49416
  # Corresponds to the JSON property `requestHeader`
49179
49417
  # @return [Array<Google::Apis::ContentwarehouseV1::HtmlrenderWebkitHeadlessProtoReferencedResourceHttpHeader>]
49180
49418
  attr_accessor :request_header
@@ -49769,7 +50007,8 @@ module Google
49769
50007
  # @return [String]
49770
50008
  attr_accessor :post_data
49771
50009
 
49772
- #
50010
+ # Only necessary headers are included in the resource key by default. See
50011
+ # google3/htmlrender/webkit_headless/resource_key.cc
49773
50012
  # Corresponds to the JSON property `requestHeader`
49774
50013
  # @return [Array<Google::Apis::ContentwarehouseV1::HtmlrenderWebkitHeadlessProtoResourceHttpHeader>]
49775
50014
  attr_accessor :request_header
@@ -50665,7 +50904,7 @@ module Google
50665
50904
 
50666
50905
  # This defines the per-doc data which is extracted from thumbnails and
50667
50906
  # propagated over to indexing. It contains all information that can be used for
50668
- # restricts. Next tag id: 127
50907
+ # restricts. Next tag id: 128
50669
50908
  class ImageData
50670
50909
  include Google::Apis::Core::Hashable
50671
50910
 
@@ -50780,6 +51019,11 @@ module Google
50780
51019
  # @return [Google::Apis::ContentwarehouseV1::DeepCropIndexing]
50781
51020
  attr_accessor :deep_crop
50782
51021
 
51022
+ # Productionized Deep Image Engagingness score.
51023
+ # Corresponds to the JSON property `deepImageEngagingness`
51024
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryDeepImageEngagingnessOutput]
51025
+ attr_accessor :deep_image_engagingness
51026
+
50783
51027
  # Image-level deep tags: essentially equivalent to the proto above but
50784
51028
  # containing tags that are computed at the image level. These image signals are
50785
51029
  # maintained by the Visual Shopping team (visual-shopping@). *** If you do use
@@ -51236,6 +51480,7 @@ module Google
51236
51480
  @corpus_selection_info = args[:corpus_selection_info] if args.key?(:corpus_selection_info)
51237
51481
  @crops = args[:crops] if args.key?(:crops)
51238
51482
  @deep_crop = args[:deep_crop] if args.key?(:deep_crop)
51483
+ @deep_image_engagingness = args[:deep_image_engagingness] if args.key?(:deep_image_engagingness)
51239
51484
  @deep_tags = args[:deep_tags] if args.key?(:deep_tags)
51240
51485
  @docid = args[:docid] if args.key?(:docid)
51241
51486
  @embedded_metadata = args[:embedded_metadata] if args.key?(:embedded_metadata)
@@ -52871,7 +53116,9 @@ module Google
52871
53116
  # Video Understanding Golden features. (go/amarna-video-signals#golden-signals)
52872
53117
  # Note: Golden6 features (names matching "video_*") are DEPRECATED. Please
52873
53118
  # migrate to Golden7 ("VideoFeatures.*"). For more context, see go/golden7/
52874
- # migrating-from-golden6 and go/amarna-golden-feature-tracker.
53119
+ # migrating-from-golden6 and go/amarna-golden-feature-tracker. Signals popluated
53120
+ # in Raffia cdoc.doc_videos are configured in cs/symbol:
53121
+ # AMARNA_EXPORTED_GOLDEN7_FEATURES.
52875
53122
  # Corresponds to the JSON property `featureSetData`
52876
53123
  # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData]
52877
53124
  attr_accessor :feature_set_data
@@ -52915,7 +53162,7 @@ module Google
52915
53162
 
52916
53163
  # This defines the per-doc data which is extracted from thumbnails and
52917
53164
  # propagated over to indexing. It contains all information that can be used for
52918
- # restricts. Next tag id: 127
53165
+ # restricts. Next tag id: 128
52919
53166
  # Corresponds to the JSON property `representativeFrameData`
52920
53167
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
52921
53168
  attr_accessor :representative_frame_data
@@ -52980,8 +53227,8 @@ module Google
52980
53227
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryFileTruncationInfo]
52981
53228
  attr_accessor :truncation_info
52982
53229
 
52983
- # To indicate whether the image is to be deleted from the repository due to
52984
- # legal reasons.
53230
+ # To indicate whether the image or video is to be deleted from the repository
53231
+ # due to legal reasons or hidden from search results.
52985
53232
  # Corresponds to the JSON property `unwantedContent`
52986
53233
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryUnwantedContent]
52987
53234
  attr_accessor :unwanted_content
@@ -53124,6 +53371,25 @@ module Google
53124
53371
  end
53125
53372
  end
53126
53373
 
53374
+ #
53375
+ class ImageRepositoryDeepImageEngagingnessOutput
53376
+ include Google::Apis::Core::Hashable
53377
+
53378
+ # DeepImageEngagingness score.
53379
+ # Corresponds to the JSON property `score`
53380
+ # @return [Float]
53381
+ attr_accessor :score
53382
+
53383
+ def initialize(**args)
53384
+ update!(**args)
53385
+ end
53386
+
53387
+ # Update properties of this object
53388
+ def update!(**args)
53389
+ @score = args[:score] if args.key?(:score)
53390
+ end
53391
+ end
53392
+
53127
53393
  # Describes our knowledge about whether a stored file is truncated with respect
53128
53394
  # to its original file online.
53129
53395
  class ImageRepositoryFileTruncationInfo
@@ -53237,7 +53503,7 @@ module Google
53237
53503
 
53238
53504
  # This defines the per-doc data which is extracted from thumbnails and
53239
53505
  # propagated over to indexing. It contains all information that can be used for
53240
- # restricts. Next tag id: 127
53506
+ # restricts. Next tag id: 128
53241
53507
  # Corresponds to the JSON property `perdoc`
53242
53508
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
53243
53509
  attr_accessor :perdoc
@@ -53670,8 +53936,8 @@ module Google
53670
53936
  end
53671
53937
  end
53672
53938
 
53673
- # To indicate whether the image is to be deleted from the repository due to
53674
- # legal reasons.
53939
+ # To indicate whether the image or video is to be deleted from the repository
53940
+ # due to legal reasons or hidden from search results.
53675
53941
  class ImageRepositoryUnwantedContent
53676
53942
  include Google::Apis::Core::Hashable
53677
53943
 
@@ -53680,6 +53946,11 @@ module Google
53680
53946
  # @return [String]
53681
53947
  attr_accessor :deletion_reason
53682
53948
 
53949
+ #
53950
+ # Corresponds to the JSON property `hideReason`
53951
+ # @return [String]
53952
+ attr_accessor :hide_reason
53953
+
53683
53954
  def initialize(**args)
53684
53955
  update!(**args)
53685
53956
  end
@@ -53687,6 +53958,7 @@ module Google
53687
53958
  # Update properties of this object
53688
53959
  def update!(**args)
53689
53960
  @deletion_reason = args[:deletion_reason] if args.key?(:deletion_reason)
53961
+ @hide_reason = args[:hide_reason] if args.key?(:hide_reason)
53690
53962
  end
53691
53963
  end
53692
53964
 
@@ -55988,12 +56260,17 @@ module Google
55988
56260
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55989
56261
  attr_accessor :accelerated_shopping_signal
55990
56262
 
55991
- # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
55992
- # sdl)
56263
+ #
55993
56264
  # Corresponds to the JSON property `chromeCounts`
55994
56265
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55995
56266
  attr_accessor :chrome_counts
55996
56267
 
56268
+ # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
56269
+ # sdl)
56270
+ # Corresponds to the JSON property `instantNavboost`
56271
+ # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
56272
+ attr_accessor :instant_navboost
56273
+
55997
56274
  #
55998
56275
  # Corresponds to the JSON property `localyp`
55999
56276
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -56062,6 +56339,7 @@ module Google
56062
56339
  def update!(**args)
56063
56340
  @accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
56064
56341
  @chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
56342
+ @instant_navboost = args[:instant_navboost] if args.key?(:instant_navboost)
56065
56343
  @localyp = args[:localyp] if args.key?(:localyp)
56066
56344
  @localyp_version = args[:localyp_version] if args.key?(:localyp_version)
56067
56345
  @modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
@@ -59767,6 +60045,12 @@ module Google
59767
60045
  # @return [Array<Google::Apis::ContentwarehouseV1::NlpSemanticParsingAnnotationEvalData>]
59768
60046
  attr_accessor :eval_data
59769
60047
 
60048
+ # The value is used for CurrentQuery.annotator and PreviousQuery.annotator to
60049
+ # indicate what annotator annotated the argument
60050
+ # Corresponds to the JSON property `neuralLocationAnnotator`
60051
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator]
60052
+ attr_accessor :neural_location_annotator
60053
+
59770
60054
  def initialize(**args)
59771
60055
  update!(**args)
59772
60056
  end
@@ -59774,6 +60058,7 @@ module Google
59774
60058
  # Update properties of this object
59775
60059
  def update!(**args)
59776
60060
  @eval_data = args[:eval_data] if args.key?(:eval_data)
60061
+ @neural_location_annotator = args[:neural_location_annotator] if args.key?(:neural_location_annotator)
59777
60062
  end
59778
60063
  end
59779
60064
 
@@ -59796,6 +60081,20 @@ module Google
59796
60081
  end
59797
60082
  end
59798
60083
 
60084
+ # The value is used for CurrentQuery.annotator and PreviousQuery.annotator to
60085
+ # indicate what annotator annotated the argument
60086
+ class KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator
60087
+ include Google::Apis::Core::Hashable
60088
+
60089
+ def initialize(**args)
60090
+ update!(**args)
60091
+ end
60092
+
60093
+ # Update properties of this object
60094
+ def update!(**args)
60095
+ end
60096
+ end
60097
+
59799
60098
  # The value is carried over from either the previous winning IntentQuery or an
59800
60099
  # entity annotated by QRef in a previous query. For example: U: How old is Obama.
59801
60100
  # [Age(person=/m/obama)] G: Barack Obama is 56 years old. U: Who is his wife. [
@@ -59828,6 +60127,12 @@ module Google
59828
60127
  # @return [Google::Apis::ContentwarehouseV1::EventIdMessage]
59829
60128
  attr_accessor :event_id
59830
60129
 
60130
+ # The value is used for CurrentQuery.annotator and PreviousQuery.annotator to
60131
+ # indicate what annotator annotated the argument
60132
+ # Corresponds to the JSON property `neuralLocationAnnotator`
60133
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator]
60134
+ attr_accessor :neural_location_annotator
60135
+
59831
60136
  # The role that this data played in the previous query.
59832
60137
  # Corresponds to the JSON property `role`
59833
60138
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole]
@@ -59847,6 +60152,7 @@ module Google
59847
60152
  @current_query_eval_data = args[:current_query_eval_data] if args.key?(:current_query_eval_data)
59848
60153
  @eval_data = args[:eval_data] if args.key?(:eval_data)
59849
60154
  @event_id = args[:event_id] if args.key?(:event_id)
60155
+ @neural_location_annotator = args[:neural_location_annotator] if args.key?(:neural_location_annotator)
59850
60156
  @role = args[:role] if args.key?(:role)
59851
60157
  @source = args[:source] if args.key?(:source)
59852
60158
  end
@@ -60411,7 +60717,7 @@ module Google
60411
60717
  # example, having both entity_type and string_type present in a ValueType field
60412
60718
  # of a Slot means that the Slot can take _either_ an an EntityType _or_
60413
60719
  # StringType as a value, and nothing else. It may be helpful to think of this
60414
- # proto as being called something like AllAllowedValueTypes. Next tag id: 24
60720
+ # proto as being called something like AllAllowedValueTypes. Next tag id: 25
60415
60721
  # LINT.IfChange
60416
60722
  # Corresponds to the JSON property `ungroundedValueType`
60417
60723
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersValueType]
@@ -60727,7 +61033,7 @@ module Google
60727
61033
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingModelsRecurrence]
60728
61034
  attr_accessor :recurrence
60729
61035
 
60730
- # Next id: 30
61036
+ # Next id: 32
60731
61037
  # Corresponds to the JSON property `reminder`
60732
61038
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminder]
60733
61039
  attr_accessor :reminder
@@ -61266,7 +61572,7 @@ module Google
61266
61572
 
61267
61573
  # Signals to be used by the Prefulfillment Ranker. Derived from the
61268
61574
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
61269
- # Next ID: 33
61575
+ # Next ID: 34
61270
61576
  # Corresponds to the JSON property `prefulfillmentSignals`
61271
61577
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
61272
61578
  attr_accessor :prefulfillment_signals
@@ -64156,7 +64462,7 @@ module Google
64156
64462
  # example, having both entity_type and string_type present in a ValueType field
64157
64463
  # of a Slot means that the Slot can take _either_ an an EntityType _or_
64158
64464
  # StringType as a value, and nothing else. It may be helpful to think of this
64159
- # proto as being called something like AllAllowedValueTypes. Next tag id: 24
64465
+ # proto as being called something like AllAllowedValueTypes. Next tag id: 25
64160
64466
  # LINT.IfChange
64161
64467
  class KnowledgeAnswersValueType
64162
64468
  include Google::Apis::Core::Hashable
@@ -64215,6 +64521,13 @@ module Google
64215
64521
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersEntityType]
64216
64522
  attr_accessor :entity_type
64217
64523
 
64524
+ # When specified on a slot's type, restricts composition based on the enum value.
64525
+ # This does not mean anything when the value type is to be interpreted as an
64526
+ # output_type.
64527
+ # Corresponds to the JSON property `inputCompositionConfig`
64528
+ # @return [String]
64529
+ attr_accessor :input_composition_config
64530
+
64218
64531
  # A MeasurementType configures a value that consists of a measurement. The
64219
64532
  # expected value should have a number and a mid representing the unit. Note:
64220
64533
  # this is currently only used for attribute answer value types. Configuration
@@ -64338,6 +64651,7 @@ module Google
64338
64651
  @dependency_type = args[:dependency_type] if args.key?(:dependency_type)
64339
64652
  @duration_type = args[:duration_type] if args.key?(:duration_type)
64340
64653
  @entity_type = args[:entity_type] if args.key?(:entity_type)
64654
+ @input_composition_config = args[:input_composition_config] if args.key?(:input_composition_config)
64341
64655
  @measurement_type = args[:measurement_type] if args.key?(:measurement_type)
64342
64656
  @normalized_string_type = args[:normalized_string_type] if args.key?(:normalized_string_type)
64343
64657
  @number_type = args[:number_type] if args.key?(:number_type)
@@ -66803,10 +67117,20 @@ module Google
66803
67117
 
66804
67118
  # Flags that describe the information about a special word. If you add another
66805
67119
  # flag please add it to the special words implemenation in google3/maps/quality/
66806
- # internal/special_words.cc. -- Next available id: 20 --
67120
+ # internal/special_words.cc. -- Next available id: 22 --
66807
67121
  class MapsQualitySpecialWordsFlags
66808
67122
  include Google::Apis::Core::Hashable
66809
67123
 
67124
+ # An affix that indicates an alley. Alleys are unnamed, numbered routes that are
67125
+ # always linked to a "parent street". As these parent streets can be named e.g. "
67126
+ # 7th street" and alleys might be referred to as "7th alley", we need to be able
67127
+ # to distinguish those affixes. For more details about alleys see go/vn-alley-
67128
+ # geocoding.
67129
+ # Corresponds to the JSON property `isAlleyAffix`
67130
+ # @return [Boolean]
67131
+ attr_accessor :is_alley_affix
67132
+ alias_method :is_alley_affix?, :is_alley_affix
67133
+
66810
67134
  # Common words E.g.: center, park, etc.
66811
67135
  # Corresponds to the JSON property `isCommonWord`
66812
67136
  # @return [Boolean]
@@ -66826,6 +67150,12 @@ module Google
66826
67150
  attr_accessor :is_directional_modifier
66827
67151
  alias_method :is_directional_modifier?, :is_directional_modifier
66828
67152
 
67153
+ # An affix that indicates distance marker on a route, e.g., 'km'.
67154
+ # Corresponds to the JSON property `isDistanceMarker`
67155
+ # @return [Boolean]
67156
+ attr_accessor :is_distance_marker
67157
+ alias_method :is_distance_marker?, :is_distance_marker
67158
+
66829
67159
  # Whether geo paths are forbidden to contain this word.
66830
67160
  # Corresponds to the JSON property `isForbiddenWord`
66831
67161
  # @return [Boolean]
@@ -66929,9 +67259,11 @@ module Google
66929
67259
 
66930
67260
  # Update properties of this object
66931
67261
  def update!(**args)
67262
+ @is_alley_affix = args[:is_alley_affix] if args.key?(:is_alley_affix)
66932
67263
  @is_common_word = args[:is_common_word] if args.key?(:is_common_word)
66933
67264
  @is_deconstructible = args[:is_deconstructible] if args.key?(:is_deconstructible)
66934
67265
  @is_directional_modifier = args[:is_directional_modifier] if args.key?(:is_directional_modifier)
67266
+ @is_distance_marker = args[:is_distance_marker] if args.key?(:is_distance_marker)
66935
67267
  @is_forbidden_word = args[:is_forbidden_word] if args.key?(:is_forbidden_word)
66936
67268
  @is_house_id_identifier = args[:is_house_id_identifier] if args.key?(:is_house_id_identifier)
66937
67269
  @is_intersection_connector = args[:is_intersection_connector] if args.key?(:is_intersection_connector)
@@ -66984,7 +67316,7 @@ module Google
66984
67316
 
66985
67317
  # Flags that describe the information about a special word. If you add another
66986
67318
  # flag please add it to the special words implemenation in google3/maps/quality/
66987
- # internal/special_words.cc. -- Next available id: 20 --
67319
+ # internal/special_words.cc. -- Next available id: 22 --
66988
67320
  # Corresponds to the JSON property `flags`
66989
67321
  # @return [Google::Apis::ContentwarehouseV1::MapsQualitySpecialWordsFlags]
66990
67322
  attr_accessor :flags
@@ -67769,11 +68101,21 @@ module Google
67769
68101
  # @return [Array<Google::Apis::ContentwarehouseV1::MustangReposWwwSnippetsSnippetCandidate>]
67770
68102
  attr_accessor :candidates
67771
68103
 
68104
+ # Snippet candidate related information and signal scores. Next ID: 11
68105
+ # Corresponds to the JSON property `displaySnippet`
68106
+ # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
68107
+ attr_accessor :display_snippet
68108
+
67772
68109
  # locale of the document.
67773
68110
  # Corresponds to the JSON property `documentLanguage`
67774
68111
  # @return [String]
67775
68112
  attr_accessor :document_language
67776
68113
 
68114
+ # Snippet query term coverage features.
68115
+ # Corresponds to the JSON property `originalQueryTermCoverages`
68116
+ # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
68117
+ attr_accessor :original_query_term_coverages
68118
+
67777
68119
  # locale of the query,
67778
68120
  # Corresponds to the JSON property `queryLanguage`
67779
68121
  # @return [String]
@@ -67789,8 +68131,8 @@ module Google
67789
68131
  # @return [Float]
67790
68132
  attr_accessor :snippet_query_term_coverage
67791
68133
 
67792
- # Snippet features for ranklab models, generated only by snippets scorer v2. In
67793
- # production, only the data for chosen snippet will be recorded.
68134
+ # Snippet features for Muppet snippet candidates. In production, only the data
68135
+ # for chosen snippet will be recorded.
67794
68136
  # Corresponds to the JSON property `snippets`
67795
68137
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet>]
67796
68138
  attr_accessor :snippets
@@ -67825,7 +68167,9 @@ module Google
67825
68167
  def update!(**args)
67826
68168
  @browser_width = args[:browser_width] if args.key?(:browser_width)
67827
68169
  @candidates = args[:candidates] if args.key?(:candidates)
68170
+ @display_snippet = args[:display_snippet] if args.key?(:display_snippet)
67828
68171
  @document_language = args[:document_language] if args.key?(:document_language)
68172
+ @original_query_term_coverages = args[:original_query_term_coverages] if args.key?(:original_query_term_coverages)
67829
68173
  @query_language = args[:query_language] if args.key?(:query_language)
67830
68174
  @snippet_data_source_type = args[:snippet_data_source_type] if args.key?(:snippet_data_source_type)
67831
68175
  @snippet_query_term_coverage = args[:snippet_query_term_coverage] if args.key?(:snippet_query_term_coverage)
@@ -67920,238 +68264,6 @@ module Google
67920
68264
  end
67921
68265
  end
67922
68266
 
67923
- # Next ID: 7
67924
- class NewsReconServiceLrsQ2lrs2EntryPayload
67925
- include Google::Apis::Core::Hashable
67926
-
67927
- #
67928
- # Corresponds to the JSON property `isDailyMoment`
67929
- # @return [Boolean]
67930
- attr_accessor :is_daily_moment
67931
- alias_method :is_daily_moment?, :is_daily_moment
67932
-
67933
- # DEPRECATED as in: will be removed shortly.
67934
- # Corresponds to the JSON property `isMomentAnyFlavor`
67935
- # @return [Boolean]
67936
- attr_accessor :is_moment_any_flavor
67937
- alias_method :is_moment_any_flavor?, :is_moment_any_flavor
67938
-
67939
- #
67940
- # Corresponds to the JSON property `isPlannedMoment`
67941
- # @return [Boolean]
67942
- attr_accessor :is_planned_moment
67943
- alias_method :is_planned_moment?, :is_planned_moment
67944
-
67945
- # This is meant to hold `LongRunningStory.Type`s only, unfortunately adding an
67946
- # import here causes a circular dependency.
67947
- # Corresponds to the JSON property `lrsTypes`
67948
- # @return [Array<Fixnum>]
67949
- attr_accessor :lrs_types
67950
-
67951
- #
67952
- # Corresponds to the JSON property `momentRankingScore`
67953
- # @return [Fixnum]
67954
- attr_accessor :moment_ranking_score
67955
-
67956
- # LRS-level feature types to be sent as triples to KG. The equivalent KG
67957
- # collection will be added to the LRS topic.
67958
- # Corresponds to the JSON property `outKgFeatureTypes`
67959
- # @return [Array<String>]
67960
- attr_accessor :out_kg_feature_types
67961
-
67962
- def initialize(**args)
67963
- update!(**args)
67964
- end
67965
-
67966
- # Update properties of this object
67967
- def update!(**args)
67968
- @is_daily_moment = args[:is_daily_moment] if args.key?(:is_daily_moment)
67969
- @is_moment_any_flavor = args[:is_moment_any_flavor] if args.key?(:is_moment_any_flavor)
67970
- @is_planned_moment = args[:is_planned_moment] if args.key?(:is_planned_moment)
67971
- @lrs_types = args[:lrs_types] if args.key?(:lrs_types)
67972
- @moment_ranking_score = args[:moment_ranking_score] if args.key?(:moment_ranking_score)
67973
- @out_kg_feature_types = args[:out_kg_feature_types] if args.key?(:out_kg_feature_types)
67974
- end
67975
- end
67976
-
67977
- #
67978
- class NewsReconServiceLrsQ2lrs2QueryToLrsDataset
67979
- include Google::Apis::Core::Hashable
67980
-
67981
- # At most one entry per (LRS, algo version) pair.
67982
- # Corresponds to the JSON property `entries`
67983
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntry>]
67984
- attr_accessor :entries
67985
-
67986
- #
67987
- # Corresponds to the JSON property `timeMillis`
67988
- # @return [Fixnum]
67989
- attr_accessor :time_millis
67990
-
67991
- def initialize(**args)
67992
- update!(**args)
67993
- end
67994
-
67995
- # Update properties of this object
67996
- def update!(**args)
67997
- @entries = args[:entries] if args.key?(:entries)
67998
- @time_millis = args[:time_millis] if args.key?(:time_millis)
67999
- end
68000
- end
68001
-
68002
- # Each entry is specific to one LRS, and contains all the information required
68003
- # for matching a query with the LRS. For example: entries ` lrs ` mid: "/m/
68004
- # 2024WakandaSenateElection" ` qref_entities ` mid: "/m/election" # The general
68005
- # concept of election debug_index: 0 ` qref_entities ` mid: "/m/senate"
68006
- # debug_index: 1 ` qref_entities ` mid: "/m/wakanda" debug_index: 2 `
68007
- # qref_entities ` mid: "/m/WakandaSenate" debug_index: 3 ` qref_entities ` mid: "
68008
- # /m/2024" # The year 2024 debug_index: 4 ` patterns ` pattern: "TT***" only_in `
68009
- # regions: "WK" # BCP-47 region code for Wakanda ` ` patterns ` pattern: "TTT**"
68010
- # ` patterns ` pattern: "T**T*" ` algo_version: 7 ` The characters in every
68011
- # pattern string match the `qref_entities` pairwise. For example, in the pattern
68012
- # "TT***", the first T corresponds to the entity /m/election, the second T to /m/
68013
- # senate, the first star to /m/wakanda. A query matches a pattern if all the
68014
- # entities marked as T (== required) are found by QRef. If QRef also finds
68015
- # entities marked as star (== optional), those entities will be consumed in the
68016
- # LRS interpretation and added to the `QueryToLrsInterpretation.
68017
- # consumed_qref_mids` field. A query matches an entry if either: - QRef found
68018
- # the LRS entity itself in the query. This is the best-case scenario, it happens
68019
- # when the name of the event is well defined (for example "brexit") and the
68020
- # query mentions it explicitly; - the query matches any of the patterns defined
68021
- # in the entry. Next id: 8
68022
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntry
68023
- include Google::Apis::Core::Hashable
68024
-
68025
- # The value of a `AlgoVersion.Enum` constant.
68026
- # Corresponds to the JSON property `algoVersion`
68027
- # @return [Fixnum]
68028
- attr_accessor :algo_version
68029
-
68030
- # Index of the entry in the list of entries. This does not need to be populated
68031
- # in the dataset which is written to disk.
68032
- # Corresponds to the JSON property `entryIndex`
68033
- # @return [Fixnum]
68034
- attr_accessor :entry_index
68035
-
68036
- # Next ID: 7
68037
- # Corresponds to the JSON property `internalPayload`
68038
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2EntryPayload]
68039
- attr_accessor :internal_payload
68040
-
68041
- # Next id: 7
68042
- # Corresponds to the JSON property `lrs`
68043
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity]
68044
- attr_accessor :lrs
68045
-
68046
- #
68047
- # Corresponds to the JSON property `patterns`
68048
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern>]
68049
- attr_accessor :patterns
68050
-
68051
- #
68052
- # Corresponds to the JSON property `qrefEntities`
68053
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity>]
68054
- attr_accessor :qref_entities
68055
-
68056
- def initialize(**args)
68057
- update!(**args)
68058
- end
68059
-
68060
- # Update properties of this object
68061
- def update!(**args)
68062
- @algo_version = args[:algo_version] if args.key?(:algo_version)
68063
- @entry_index = args[:entry_index] if args.key?(:entry_index)
68064
- @internal_payload = args[:internal_payload] if args.key?(:internal_payload)
68065
- @lrs = args[:lrs] if args.key?(:lrs)
68066
- @patterns = args[:patterns] if args.key?(:patterns)
68067
- @qref_entities = args[:qref_entities] if args.key?(:qref_entities)
68068
- end
68069
- end
68070
-
68071
- # Next id: 7
68072
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity
68073
- include Google::Apis::Core::Hashable
68074
-
68075
- #
68076
- # Corresponds to the JSON property `debugIndex`
68077
- # @return [Fixnum]
68078
- attr_accessor :debug_index
68079
-
68080
- #
68081
- # Corresponds to the JSON property `debugName`
68082
- # @return [String]
68083
- attr_accessor :debug_name
68084
-
68085
- # This does not need to be populated in the dataset which is written to disk.
68086
- # Corresponds to the JSON property `encodedMid`
68087
- # @return [Fixnum]
68088
- attr_accessor :encoded_mid
68089
-
68090
- #
68091
- # Corresponds to the JSON property `mid`
68092
- # @return [String]
68093
- attr_accessor :mid
68094
-
68095
- def initialize(**args)
68096
- update!(**args)
68097
- end
68098
-
68099
- # Update properties of this object
68100
- def update!(**args)
68101
- @debug_index = args[:debug_index] if args.key?(:debug_index)
68102
- @debug_name = args[:debug_name] if args.key?(:debug_name)
68103
- @encoded_mid = args[:encoded_mid] if args.key?(:encoded_mid)
68104
- @mid = args[:mid] if args.key?(:mid)
68105
- end
68106
- end
68107
-
68108
- # A locale satisfies the restrict if there is any match.
68109
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict
68110
- include Google::Apis::Core::Hashable
68111
-
68112
- # BCP-47 region codes, e.g. "US". There is a match if the user's locale `.
68113
- # region_subtag()` is found in this set, e.g. the user's locale is "es-US".
68114
- # Corresponds to the JSON property `regions`
68115
- # @return [Array<String>]
68116
- attr_accessor :regions
68117
-
68118
- def initialize(**args)
68119
- update!(**args)
68120
- end
68121
-
68122
- # Update properties of this object
68123
- def update!(**args)
68124
- @regions = args[:regions] if args.key?(:regions)
68125
- end
68126
- end
68127
-
68128
- #
68129
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern
68130
- include Google::Apis::Core::Hashable
68131
-
68132
- # A locale satisfies the restrict if there is any match.
68133
- # Corresponds to the JSON property `onlyIn`
68134
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict]
68135
- attr_accessor :only_in
68136
-
68137
- # A string containing N characters, where each character is 'T' (required) or '*'
68138
- # (optional), and N is the size of `qref_entities`. Characters match QRef
68139
- # entities pairwise.
68140
- # Corresponds to the JSON property `pattern`
68141
- # @return [String]
68142
- attr_accessor :pattern
68143
-
68144
- def initialize(**args)
68145
- update!(**args)
68146
- end
68147
-
68148
- # Update properties of this object
68149
- def update!(**args)
68150
- @only_in = args[:only_in] if args.key?(:only_in)
68151
- @pattern = args[:pattern] if args.key?(:pattern)
68152
- end
68153
- end
68154
-
68155
68267
  # The proto that holds the complete call path info of the QRewrite client (e.g.
68156
68268
  # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
68157
68269
  # and the ACE's candidate type like "FuzzyMatcher"). Next ID: 5 ACE tags
@@ -70369,7 +70481,7 @@ module Google
70369
70481
  attr_accessor :association
70370
70482
 
70371
70483
  # A proto for storing inferred and reconciled metadata for Science Search. Next
70372
- # available tag: 69
70484
+ # available tag: 70
70373
70485
  # Corresponds to the JSON property `datasetMetadata`
70374
70486
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
70375
70487
  attr_accessor :dataset_metadata
@@ -82267,7 +82379,7 @@ module Google
82267
82379
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
82268
82380
  # available tag deprecated, use this (and look for commented out fields): blaze-
82269
82381
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
82270
- # perdocdata.proto Next tag: 218
82382
+ # perdocdata.proto Next tag: 219
82271
82383
  class PerDocData
82272
82384
  include Google::Apis::Core::Hashable
82273
82385
 
@@ -82400,11 +82512,6 @@ module Google
82400
82512
  # @return [Fixnum]
82401
82513
  attr_accessor :scaled_spam_score_yoram
82402
82514
 
82403
- # Next tag: 43
82404
- # Corresponds to the JSON property `ScienceData`
82405
- # @return [Google::Apis::ContentwarehouseV1::SciencePerDocData]
82406
- attr_accessor :science_data
82407
-
82408
82515
  # The spamword score is represented in 7-bits, going from 0 to 127.
82409
82516
  # Corresponds to the JSON property `SpamWordScore`
82410
82517
  # @return [Fixnum]
@@ -82637,7 +82744,7 @@ module Google
82637
82744
  attr_accessor :host_age
82638
82745
 
82639
82746
  # Site rank computed for host-level sitechunks. This value encodes nsr, site_pr
82640
- # and new_nsr. See NsrUtil::ConvertNsrDataToHostNsr and go/nsr.
82747
+ # and new_nsr. See quality_nsr::util::ConvertNsrDataToHostNsr and go/nsr.
82641
82748
  # Corresponds to the JSON property `hostNsr`
82642
82749
  # @return [Fixnum]
82643
82750
  attr_accessor :host_nsr
@@ -82746,8 +82853,8 @@ module Google
82746
82853
  # just url (e.g. youtube channels). See NsrAnnotator for details. If sitechunk
82747
82854
  # is longer than --populate_nsr_sitechunk_max_length (default=100), it will not
82748
82855
  # get populated. This field might be compressed and needs to be decoded with
82749
- # NsrUtil::DecodeNsrSitechunk. See go/nsr-chunks for more details. This field
82750
- # contains only nontrivial primary chunks.
82856
+ # quality_nsr::util::DecodeNsrSitechunk. See go/nsr-chunks for more details.
82857
+ # This field contains only nontrivial primary chunks.
82751
82858
  # Corresponds to the JSON property `nsrSitechunk`
82752
82859
  # @return [String]
82753
82860
  attr_accessor :nsr_sitechunk
@@ -82836,7 +82943,7 @@ module Google
82836
82943
  attr_accessor :rosetta_languages
82837
82944
 
82838
82945
  # This structure holds data for application information for rich snippets Next
82839
- # ID: 51
82946
+ # ID: 52
82840
82947
  # Corresponds to the JSON property `rsApplication`
82841
82948
  # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplication]
82842
82949
  attr_accessor :rs_application
@@ -82934,6 +83041,13 @@ module Google
82934
83041
  # @return [Google::Apis::ContentwarehouseV1::SpamMuppetjoinsMuppetSignals]
82935
83042
  attr_accessor :spam_muppet_signals
82936
83043
 
83044
+ # This holds SpamBrain values which will be populated to docjoins & muppet.
83045
+ # Proto is copied from spam_brain::SpamBrainData and populated at sitechunked
83046
+ # site level (as opposed to the spambrain page classifier score).
83047
+ # Corresponds to the JSON property `spambrainData`
83048
+ # @return [Google::Apis::ContentwarehouseV1::SpamBrainData]
83049
+ attr_accessor :spambrain_data
83050
+
82937
83051
  # The document total spam score identified by spambrain, going from 0 to 1.
82938
83052
  # Corresponds to the JSON property `spambrainTotalDocSpamScore`
82939
83053
  # @return [Float]
@@ -83124,7 +83238,6 @@ module Google
83124
83238
  @scaled_link_age_spam_score = args[:scaled_link_age_spam_score] if args.key?(:scaled_link_age_spam_score)
83125
83239
  @scaled_spam_score_eric = args[:scaled_spam_score_eric] if args.key?(:scaled_spam_score_eric)
83126
83240
  @scaled_spam_score_yoram = args[:scaled_spam_score_yoram] if args.key?(:scaled_spam_score_yoram)
83127
- @science_data = args[:science_data] if args.key?(:science_data)
83128
83241
  @spam_word_score = args[:spam_word_score] if args.key?(:spam_word_score)
83129
83242
  @tag_page_score = args[:tag_page_score] if args.key?(:tag_page_score)
83130
83243
  @tool_bar_data = args[:tool_bar_data] if args.key?(:tool_bar_data)
@@ -83206,6 +83319,7 @@ module Google
83206
83319
  @socialgraph_node_name_fp = args[:socialgraph_node_name_fp] if args.key?(:socialgraph_node_name_fp)
83207
83320
  @spam_cookbook_action = args[:spam_cookbook_action] if args.key?(:spam_cookbook_action)
83208
83321
  @spam_muppet_signals = args[:spam_muppet_signals] if args.key?(:spam_muppet_signals)
83322
+ @spambrain_data = args[:spambrain_data] if args.key?(:spambrain_data)
83209
83323
  @spambrain_total_doc_spam_score = args[:spambrain_total_doc_spam_score] if args.key?(:spambrain_total_doc_spam_score)
83210
83324
  @spamrank = args[:spamrank] if args.key?(:spamrank)
83211
83325
  @spamtokens_content_score = args[:spamtokens_content_score] if args.key?(:spamtokens_content_score)
@@ -86117,24 +86231,6 @@ module Google
86117
86231
  class PornFlagData
86118
86232
  include Google::Apis::Core::Hashable
86119
86233
 
86120
- # Content score - computed on the image pixel data only. Additionally, we store
86121
- # a version and minor version number of the model which was used to compute this
86122
- # score. Note: these fields are copies of adaboost_image_feature_porn* in
86123
- # ImageData.
86124
- # Corresponds to the JSON property `adaboostContentScore`
86125
- # @return [Float]
86126
- attr_accessor :adaboost_content_score
86127
-
86128
- #
86129
- # Corresponds to the JSON property `adaboostContentScoreMinorVersion`
86130
- # @return [Fixnum]
86131
- attr_accessor :adaboost_content_score_minor_version
86132
-
86133
- #
86134
- # Corresponds to the JSON property `adaboostContentScoreVersion`
86135
- # @return [Fixnum]
86136
- attr_accessor :adaboost_content_score_version
86137
-
86138
86234
  # Don't change the field names. The names are used as sparse feature labels in
86139
86235
  # client projects.
86140
86236
  # Corresponds to the JSON property `coclickBrainScores`
@@ -86172,30 +86268,12 @@ module Google
86172
86268
  # @return [String]
86173
86269
  attr_accessor :final_violence_score_version
86174
86270
 
86175
- # PornStatsImage is repeated even though we use only a single version, to help
86176
- # with rolling out new versions with miminum risk. Multiple versions should
86177
- # exist only for a short window of time. Once the new version is rolled out, the
86178
- # data for older versions should no longer be generated.
86179
- # Corresponds to the JSON property `imageStats`
86180
- # @return [Array<Google::Apis::ContentwarehouseV1::PornStatsImage>]
86181
- attr_accessor :image_stats
86182
-
86183
86271
  # A proto that stores SafeSearch internal signals that are not exported to
86184
86272
  # clients.
86185
86273
  # Corresponds to the JSON property `internalSignals`
86186
86274
  # @return [Google::Apis::ContentwarehouseV1::SafesearchInternalImageSignals]
86187
86275
  attr_accessor :internal_signals
86188
86276
 
86189
- # largest face, scaled by 1000 This field is same as ImageData.largest_face_frac.
86190
- # Corresponds to the JSON property `largestFaceFrac`
86191
- # @return [Float]
86192
- attr_accessor :largest_face_frac
86193
-
86194
- #
86195
- # Corresponds to the JSON property `largestFaceFraction`
86196
- # @return [Fixnum]
86197
- attr_accessor :largest_face_fraction
86198
-
86199
86277
  # number of faces
86200
86278
  # Corresponds to the JSON property `numberFaces`
86201
86279
  # @return [Fixnum]
@@ -86218,12 +86296,6 @@ module Google
86218
86296
  # @return [Google::Apis::ContentwarehouseV1::ImageSafesearchContentOffensiveSymbolDetection]
86219
86297
  attr_accessor :offensive_symbol_detection
86220
86298
 
86221
- # Overall porn score that determines the porn restricts used during image search
86222
- # retrieval.
86223
- # Corresponds to the JSON property `overallPornScore`
86224
- # @return [Float]
86225
- attr_accessor :overall_porn_score
86226
-
86227
86299
  # Binary version of the PhotoDNA hash (144 bytes long). If not set (
86228
86300
  # has_photodna_hash() == false) it means that it was not computed, if empty (
86229
86301
  # has_photodna_hash() == true && photodna_hash() == "") it means that the
@@ -86242,24 +86314,6 @@ module Google
86242
86314
  attr_accessor :porn_with_high_confidence
86243
86315
  alias_method :porn_with_high_confidence?, :porn_with_high_confidence
86244
86316
 
86245
- # OR of the prop_porn_flag and prop_softporn_flag.
86246
- # Corresponds to the JSON property `propAnyPornFlag`
86247
- # @return [Boolean]
86248
- attr_accessor :prop_any_porn_flag
86249
- alias_method :prop_any_porn_flag?, :prop_any_porn_flag
86250
-
86251
- # Text classifier properties for the referrer page.
86252
- # Corresponds to the JSON property `propPornFlag`
86253
- # @return [Boolean]
86254
- attr_accessor :prop_porn_flag
86255
- alias_method :prop_porn_flag?, :prop_porn_flag
86256
-
86257
- #
86258
- # Corresponds to the JSON property `propSoftpornFlag`
86259
- # @return [Boolean]
86260
- attr_accessor :prop_softporn_flag
86261
- alias_method :prop_softporn_flag?, :prop_softporn_flag
86262
-
86263
86317
  # QBST-based image offensive score, Navboost based
86264
86318
  # Corresponds to the JSON property `qbstOffensiveScore`
86265
86319
  # @return [Float]
@@ -86301,14 +86355,6 @@ module Google
86301
86355
  # @return [Float]
86302
86356
  attr_accessor :semantic_sexualization_score
86303
86357
 
86304
- # PornStatsText is repeated even though we use only a single version, to help
86305
- # with rolling out new versions with miminum risk. Multiple versions should
86306
- # exist only for a short window of time. Once the new version is rolled out, the
86307
- # data for older versions should no longer be generated.
86308
- # Corresponds to the JSON property `textStats`
86309
- # @return [Array<Google::Apis::ContentwarehouseV1::PornStatsText>]
86310
- attr_accessor :text_stats
86311
-
86312
86358
  # url of the image
86313
86359
  # Corresponds to the JSON property `url`
86314
86360
  # @return [String]
@@ -86325,29 +86371,19 @@ module Google
86325
86371
 
86326
86372
  # Update properties of this object
86327
86373
  def update!(**args)
86328
- @adaboost_content_score = args[:adaboost_content_score] if args.key?(:adaboost_content_score)
86329
- @adaboost_content_score_minor_version = args[:adaboost_content_score_minor_version] if args.key?(:adaboost_content_score_minor_version)
86330
- @adaboost_content_score_version = args[:adaboost_content_score_version] if args.key?(:adaboost_content_score_version)
86331
86374
  @coclick_brain_scores = args[:coclick_brain_scores] if args.key?(:coclick_brain_scores)
86332
86375
  @csai_score = args[:csai_score] if args.key?(:csai_score)
86333
86376
  @debug_info = args[:debug_info] if args.key?(:debug_info)
86334
86377
  @final_offensive_score = args[:final_offensive_score] if args.key?(:final_offensive_score)
86335
86378
  @final_violence_score = args[:final_violence_score] if args.key?(:final_violence_score)
86336
86379
  @final_violence_score_version = args[:final_violence_score_version] if args.key?(:final_violence_score_version)
86337
- @image_stats = args[:image_stats] if args.key?(:image_stats)
86338
86380
  @internal_signals = args[:internal_signals] if args.key?(:internal_signals)
86339
- @largest_face_frac = args[:largest_face_frac] if args.key?(:largest_face_frac)
86340
- @largest_face_fraction = args[:largest_face_fraction] if args.key?(:largest_face_fraction)
86341
86381
  @number_faces = args[:number_faces] if args.key?(:number_faces)
86342
86382
  @ocr_annotation = args[:ocr_annotation] if args.key?(:ocr_annotation)
86343
86383
  @ocr_vulgar_score = args[:ocr_vulgar_score] if args.key?(:ocr_vulgar_score)
86344
86384
  @offensive_symbol_detection = args[:offensive_symbol_detection] if args.key?(:offensive_symbol_detection)
86345
- @overall_porn_score = args[:overall_porn_score] if args.key?(:overall_porn_score)
86346
86385
  @photodna_hash = args[:photodna_hash] if args.key?(:photodna_hash)
86347
86386
  @porn_with_high_confidence = args[:porn_with_high_confidence] if args.key?(:porn_with_high_confidence)
86348
- @prop_any_porn_flag = args[:prop_any_porn_flag] if args.key?(:prop_any_porn_flag)
86349
- @prop_porn_flag = args[:prop_porn_flag] if args.key?(:prop_porn_flag)
86350
- @prop_softporn_flag = args[:prop_softporn_flag] if args.key?(:prop_softporn_flag)
86351
86387
  @qbst_offensive_score = args[:qbst_offensive_score] if args.key?(:qbst_offensive_score)
86352
86388
  @qbst_spoof_score = args[:qbst_spoof_score] if args.key?(:qbst_spoof_score)
86353
86389
  @query_stats = args[:query_stats] if args.key?(:query_stats)
@@ -86355,84 +86391,11 @@ module Google
86355
86391
  @referer = args[:referer] if args.key?(:referer)
86356
86392
  @referrer_counts = args[:referrer_counts] if args.key?(:referrer_counts)
86357
86393
  @semantic_sexualization_score = args[:semantic_sexualization_score] if args.key?(:semantic_sexualization_score)
86358
- @text_stats = args[:text_stats] if args.key?(:text_stats)
86359
86394
  @url = args[:url] if args.key?(:url)
86360
86395
  @url_porn_scores = args[:url_porn_scores] if args.key?(:url_porn_scores)
86361
86396
  end
86362
86397
  end
86363
86398
 
86364
- # Site aggregated image content signals are captured in this protocol buffer.
86365
- # This is versioned. Not all fields are present in each version. It is important
86366
- # to document all the fields that are used in each version here.
86367
- class PornStatsImage
86368
- include Google::Apis::Core::Hashable
86369
-
86370
- # image content score data
86371
- # Corresponds to the JSON property `imageCount`
86372
- # @return [Fixnum]
86373
- attr_accessor :image_count
86374
-
86375
- #
86376
- # Corresponds to the JSON property `siteKey`
86377
- # @return [String]
86378
- attr_accessor :site_key
86379
-
86380
- #
86381
- # Corresponds to the JSON property `version`
86382
- # @return [Fixnum]
86383
- attr_accessor :version
86384
-
86385
- def initialize(**args)
86386
- update!(**args)
86387
- end
86388
-
86389
- # Update properties of this object
86390
- def update!(**args)
86391
- @image_count = args[:image_count] if args.key?(:image_count)
86392
- @site_key = args[:site_key] if args.key?(:site_key)
86393
- @version = args[:version] if args.key?(:version)
86394
- end
86395
- end
86396
-
86397
- # Site aggregated text signals are captured in this protocol buffer. This is
86398
- # versioned. Not all fields are present in each version. It is important to
86399
- # document all the fields that are used in each version here.
86400
- class PornStatsText
86401
- include Google::Apis::Core::Hashable
86402
-
86403
- #
86404
- # Corresponds to the JSON property `anyPornPageCount`
86405
- # @return [Fixnum]
86406
- attr_accessor :any_porn_page_count
86407
-
86408
- #
86409
- # Corresponds to the JSON property `pageCount`
86410
- # @return [Fixnum]
86411
- attr_accessor :page_count
86412
-
86413
- #
86414
- # Corresponds to the JSON property `siteKey`
86415
- # @return [String]
86416
- attr_accessor :site_key
86417
-
86418
- #
86419
- # Corresponds to the JSON property `version`
86420
- # @return [Fixnum]
86421
- attr_accessor :version
86422
-
86423
- def initialize(**args)
86424
- update!(**args)
86425
- end
86426
-
86427
- # Update properties of this object
86428
- def update!(**args)
86429
- @any_porn_page_count = args[:any_porn_page_count] if args.key?(:any_porn_page_count)
86430
- @page_count = args[:page_count] if args.key?(:page_count)
86431
- @site_key = args[:site_key] if args.key?(:site_key)
86432
- @version = args[:version] if args.key?(:version)
86433
- end
86434
- end
86435
-
86436
86399
  # Next free ID: 32
86437
86400
  class PostalAddress
86438
86401
  include Google::Apis::Core::Hashable
@@ -87232,7 +87195,7 @@ module Google
87232
87195
  end
87233
87196
  end
87234
87197
 
87235
- # Next id: 30
87198
+ # Next id: 32
87236
87199
  class QualityActionsReminder
87237
87200
  include Google::Apis::Core::Hashable
87238
87201
 
@@ -87336,6 +87299,20 @@ module Google
87336
87299
  # @return [String]
87337
87300
  attr_accessor :description
87338
87301
 
87302
+ # Message representing a Document (i.e. Google Docs, Sheets, Slides) This is
87303
+ # currently only used to indicate the existence of said document and can be
87304
+ # later extended to include more document information as needed.
87305
+ # Corresponds to the JSON property `documentAssignmentSource`
87306
+ # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminderDocument]
87307
+ attr_accessor :document_assignment_source
87308
+
87309
+ # Message representing a Dynamite Group (AKA Google Chat space) This is
87310
+ # currently only used to indicate the existence of said group and can be later
87311
+ # extended to include more group information as needed.
87312
+ # Corresponds to the JSON property `dynamiteGroupAssignmentSource`
87313
+ # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminderDynamiteGroup]
87314
+ attr_accessor :dynamite_group_assignment_source
87315
+
87339
87316
  # DEPRECATED. Use `client_id` or `server_id` instead.
87340
87317
  # Corresponds to the JSON property `id`
87341
87318
  # @return [String]
@@ -87428,6 +87405,8 @@ module Google
87428
87405
  @customized_notification_card = args[:customized_notification_card] if args.key?(:customized_notification_card)
87429
87406
  @datetime = args[:datetime] if args.key?(:datetime)
87430
87407
  @description = args[:description] if args.key?(:description)
87408
+ @document_assignment_source = args[:document_assignment_source] if args.key?(:document_assignment_source)
87409
+ @dynamite_group_assignment_source = args[:dynamite_group_assignment_source] if args.key?(:dynamite_group_assignment_source)
87431
87410
  @id = args[:id] if args.key?(:id)
87432
87411
  @location = args[:location] if args.key?(:location)
87433
87412
  @log = args[:log] if args.key?(:log)
@@ -87443,6 +87422,36 @@ module Google
87443
87422
  end
87444
87423
  end
87445
87424
 
87425
+ # Message representing a Document (i.e. Google Docs, Sheets, Slides) This is
87426
+ # currently only used to indicate the existence of said document and can be
87427
+ # later extended to include more document information as needed.
87428
+ class QualityActionsReminderDocument
87429
+ include Google::Apis::Core::Hashable
87430
+
87431
+ def initialize(**args)
87432
+ update!(**args)
87433
+ end
87434
+
87435
+ # Update properties of this object
87436
+ def update!(**args)
87437
+ end
87438
+ end
87439
+
87440
+ # Message representing a Dynamite Group (AKA Google Chat space) This is
87441
+ # currently only used to indicate the existence of said group and can be later
87442
+ # extended to include more group information as needed.
87443
+ class QualityActionsReminderDynamiteGroup
87444
+ include Google::Apis::Core::Hashable
87445
+
87446
+ def initialize(**args)
87447
+ update!(**args)
87448
+ end
87449
+
87450
+ # Update properties of this object
87451
+ def update!(**args)
87452
+ end
87453
+ end
87454
+
87446
87455
  # A representation of reminder-triggering locations. They may be specific,
87447
87456
  # resolved locations, non-specific location groups, or personal aliases. Next id:
87448
87457
  # 12
@@ -88008,7 +88017,7 @@ module Google
88008
88017
  # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpEvent>]
88009
88018
  attr_accessor :country_level_schedule_information
88010
88019
 
88011
- # Contains the format information for a single LiveOp/LiveEvent. Next ID: 8
88020
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88012
88021
  # Corresponds to the JSON property `defaultFormatInformation`
88013
88022
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpFormat]
88014
88023
  attr_accessor :default_format_information
@@ -88093,7 +88102,7 @@ module Google
88093
88102
  end
88094
88103
  end
88095
88104
 
88096
- # Contains the format information for a single LiveOp/LiveEvent. Next ID: 8
88105
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88097
88106
  class QualityCalypsoAppsUniversalAuLiveOpFormat
88098
88107
  include Google::Apis::Core::Hashable
88099
88108
 
@@ -88107,7 +88116,7 @@ module Google
88107
88116
  # @return [String]
88108
88117
  attr_accessor :description
88109
88118
 
88110
- # iOS only
88119
+ # iOS only, kind of event type
88111
88120
  # Corresponds to the JSON property `eyebrow`
88112
88121
  # @return [String]
88113
88122
  attr_accessor :eyebrow
@@ -88117,6 +88126,16 @@ module Google
88117
88126
  # @return [String]
88118
88127
  attr_accessor :image_url
88119
88128
 
88129
+ #
88130
+ # Corresponds to the JSON property `squareImageUrl`
88131
+ # @return [String]
88132
+ attr_accessor :square_image_url
88133
+
88134
+ # iOS only, sort of start schedule
88135
+ # Corresponds to the JSON property `status`
88136
+ # @return [String]
88137
+ attr_accessor :status
88138
+
88120
88139
  #
88121
88140
  # Corresponds to the JSON property `title`
88122
88141
  # @return [String]
@@ -88142,6 +88161,8 @@ module Google
88142
88161
  @description = args[:description] if args.key?(:description)
88143
88162
  @eyebrow = args[:eyebrow] if args.key?(:eyebrow)
88144
88163
  @image_url = args[:image_url] if args.key?(:image_url)
88164
+ @square_image_url = args[:square_image_url] if args.key?(:square_image_url)
88165
+ @status = args[:status] if args.key?(:status)
88145
88166
  @title = args[:title] if args.key?(:title)
88146
88167
  @video_id = args[:video_id] if args.key?(:video_id)
88147
88168
  @video_url = args[:video_url] if args.key?(:video_url)
@@ -88174,6 +88195,62 @@ module Google
88174
88195
  end
88175
88196
  end
88176
88197
 
88198
+ #
88199
+ class QualityCalypsoAppsUniversalImage
88200
+ include Google::Apis::Core::Hashable
88201
+
88202
+ #
88203
+ # Corresponds to the JSON property `fifeUrl`
88204
+ # @return [String]
88205
+ attr_accessor :fife_url
88206
+
88207
+ #
88208
+ # Corresponds to the JSON property `height`
88209
+ # @return [Fixnum]
88210
+ attr_accessor :height
88211
+
88212
+ #
88213
+ # Corresponds to the JSON property `width`
88214
+ # @return [Fixnum]
88215
+ attr_accessor :width
88216
+
88217
+ def initialize(**args)
88218
+ update!(**args)
88219
+ end
88220
+
88221
+ # Update properties of this object
88222
+ def update!(**args)
88223
+ @fife_url = args[:fife_url] if args.key?(:fife_url)
88224
+ @height = args[:height] if args.key?(:height)
88225
+ @width = args[:width] if args.key?(:width)
88226
+ end
88227
+ end
88228
+
88229
+ #
88230
+ class QualityCalypsoAppsUniversalImageData
88231
+ include Google::Apis::Core::Hashable
88232
+
88233
+ # aka. promotional image / cover image.
88234
+ # Corresponds to the JSON property `featureGraphic`
88235
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
88236
+ attr_accessor :feature_graphic
88237
+
88238
+ #
88239
+ # Corresponds to the JSON property `screenshot`
88240
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage>]
88241
+ attr_accessor :screenshot
88242
+
88243
+ def initialize(**args)
88244
+ update!(**args)
88245
+ end
88246
+
88247
+ # Update properties of this object
88248
+ def update!(**args)
88249
+ @feature_graphic = args[:feature_graphic] if args.key?(:feature_graphic)
88250
+ @screenshot = args[:screenshot] if args.key?(:screenshot)
88251
+ end
88252
+ end
88253
+
88177
88254
  # Proto message containing site-level signal for search stack. Because
88178
88255
  # firefly_stats.proto depends on "//segindexer:compositedoc_proto", we cannot
88179
88256
  # make perdocdata contain it.
@@ -89826,7 +89903,10 @@ module Google
89826
89903
  # @return [Float]
89827
89904
  attr_accessor :locality_score
89828
89905
 
89829
- # Contains meta information about this data.
89906
+ # Contains meta information about this data. This field is only available in
89907
+ # docjoins (and potentially MDU shards), it is not populated offline. NOTE: This
89908
+ # is a new field (Nov 2022) and we do not want clients to depend on this; please
89909
+ # contact qscore-team@ if you want to use this information.
89830
89910
  # Corresponds to the JSON property `metadata`
89831
89911
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrDataMetadata]
89832
89912
  attr_accessor :metadata
@@ -90053,26 +90133,61 @@ module Google
90053
90133
  end
90054
90134
  end
90055
90135
 
90056
- # Contains meta information about this data.
90136
+ # Contains meta information about this data. This field is only available in
90137
+ # docjoins (and potentially MDU shards), it is not populated offline. NOTE: This
90138
+ # is a new field (Nov 2022) and we do not want clients to depend on this; please
90139
+ # contact qscore-team@ if you want to use this information.
90057
90140
  class QualityNsrNsrDataMetadata
90058
90141
  include Google::Apis::Core::Hashable
90059
90142
 
90060
- # This is an internal field set by Raffia, to indicate which lookup key this
90061
- # record belonged to. This is helpful in determining where the final data is
90062
- # coming from, as we don't populate `site_chunk` fields offline (at all), so we
90063
- # cannot distinguish if data is coming from host fallback, secondary chunks or
90064
- # something else.
90143
+ # Same as raffia_lookup_key_per_field. Note that the goldmine_lookups have
90144
+ # priority; if a field appears in both goldmine and raffia entries, it means it
90145
+ # was taken from goldmine. If it's missing here but present in
90146
+ # raffia_lookup_key_per_field, it was taken from raffia.
90147
+ # Corresponds to the JSON property `goldmineLookupKeyPerField`
90148
+ # @return [Hash<String,Fixnum>]
90149
+ attr_accessor :goldmine_lookup_key_per_field
90150
+
90151
+ # The lookup keys attempted by goldmine. Note that goldmine only runs for urls
90152
+ # which can be chunked differently than raffia; in those cases, goldmine related
90153
+ # fields are empty.
90154
+ # Corresponds to the JSON property `goldmineLookupKeys`
90155
+ # @return [Array<String>]
90156
+ attr_accessor :goldmine_lookup_keys
90157
+
90158
+ #
90065
90159
  # Corresponds to the JSON property `raffiaLookupKey`
90066
90160
  # @return [String]
90067
90161
  attr_accessor :raffia_lookup_key
90068
90162
 
90163
+ # Returns the raffia lookup key per each field in the NsrData proto (with
90164
+ # exclusion of the Metadata sub-message (i.e. this)). It contains information
90165
+ # like 3 : 1, meaning that the field inside NsrData with id '3' (in this case '
90166
+ # host') has been taken by raffia from the raffia lookup key at index 1.
90167
+ # Corresponds to the JSON property `raffiaLookupKeyPerField`
90168
+ # @return [Hash<String,Fixnum>]
90169
+ attr_accessor :raffia_lookup_key_per_field
90170
+
90171
+ # This is an internal field set by Raffia, to indicate which lookup keys have
90172
+ # been attempted to populate the NsrData for this document. This will allow us
90173
+ # to determine which key has been used to populate each field in the proto. The
90174
+ # keys are ordered by lookup priority; raffia will give priority to earlier keys,
90175
+ # and only take fields from later keys if they are missing.
90176
+ # Corresponds to the JSON property `raffiaLookupKeys`
90177
+ # @return [Array<String>]
90178
+ attr_accessor :raffia_lookup_keys
90179
+
90069
90180
  def initialize(**args)
90070
90181
  update!(**args)
90071
90182
  end
90072
90183
 
90073
90184
  # Update properties of this object
90074
90185
  def update!(**args)
90186
+ @goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
90187
+ @goldmine_lookup_keys = args[:goldmine_lookup_keys] if args.key?(:goldmine_lookup_keys)
90075
90188
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
90189
+ @raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
90190
+ @raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
90076
90191
  end
90077
90192
  end
90078
90193
 
@@ -90305,7 +90420,7 @@ module Google
90305
90420
  end
90306
90421
  end
90307
90422
 
90308
- # Information for chosen snippet. Next ID: 7
90423
+ # Information for chosen snippet. Next ID: 8
90309
90424
  class QualityPreviewChosenSnippetInfo
90310
90425
  include Google::Apis::Core::Hashable
90311
90426
 
@@ -90320,6 +90435,11 @@ module Google
90320
90435
  # @return [String]
90321
90436
  attr_accessor :leading_text_type
90322
90437
 
90438
+ # The rendered snippet html.
90439
+ # Corresponds to the JSON property `snippetHtml`
90440
+ # @return [String]
90441
+ attr_accessor :snippet_html
90442
+
90323
90443
  #
90324
90444
  # Corresponds to the JSON property `snippetType`
90325
90445
  # @return [String]
@@ -90327,8 +90447,7 @@ module Google
90327
90447
 
90328
90448
  # Source of the chosen snippet, decided in PORC. String value of quality.porc.
90329
90449
  # TextSnippetCandidate.TextSnippetSource defined at google3/quality/porc/proto/
90330
- # text_snippet.proto Note: This field is only populated and used in offline
90331
- # pipeline.
90450
+ # text_snippet.proto
90332
90451
  # Corresponds to the JSON property `source`
90333
90452
  # @return [String]
90334
90453
  attr_accessor :source
@@ -90352,6 +90471,7 @@ module Google
90352
90471
  def update!(**args)
90353
90472
  @is_vulgar = args[:is_vulgar] if args.key?(:is_vulgar)
90354
90473
  @leading_text_type = args[:leading_text_type] if args.key?(:leading_text_type)
90474
+ @snippet_html = args[:snippet_html] if args.key?(:snippet_html)
90355
90475
  @snippet_type = args[:snippet_type] if args.key?(:snippet_type)
90356
90476
  @source = args[:source] if args.key?(:source)
90357
90477
  @tidbits = args[:tidbits] if args.key?(:tidbits)
@@ -90402,7 +90522,7 @@ module Google
90402
90522
  end
90403
90523
  end
90404
90524
 
90405
- # Snippet candidate related information and signal scores.
90525
+ # Snippet candidate related information and signal scores. Next ID: 11
90406
90526
  class QualityPreviewRanklabSnippet
90407
90527
  include Google::Apis::Core::Hashable
90408
90528
 
@@ -90421,6 +90541,22 @@ module Google
90421
90541
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetExperimentalFeatures]
90422
90542
  attr_accessor :experimental_features
90423
90543
 
90544
+ # The final score of this candidate.
90545
+ # Corresponds to the JSON property `finalScore`
90546
+ # @return [Float]
90547
+ attr_accessor :final_score
90548
+
90549
+ # Is this the candidate chosen by Muppet scorer.
90550
+ # Corresponds to the JSON property `isMuppetSelectedSnippet`
90551
+ # @return [Boolean]
90552
+ attr_accessor :is_muppet_selected_snippet
90553
+ alias_method :is_muppet_selected_snippet?, :is_muppet_selected_snippet
90554
+
90555
+ # Snippet query term coverage features.
90556
+ # Corresponds to the JSON property `originalQueryTermCoverageFeatures`
90557
+ # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
90558
+ attr_accessor :original_query_term_coverage_features
90559
+
90424
90560
  # Quality related features used in snippets scoring. Next ID: 10
90425
90561
  # Corresponds to the JSON property `qualityFeatures`
90426
90562
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQualityFeatures]
@@ -90436,7 +90572,7 @@ module Google
90436
90572
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
90437
90573
  attr_accessor :query_term_coverage_features
90438
90574
 
90439
- # Information for chosen snippet. Next ID: 7
90575
+ # Information for chosen snippet. Next ID: 8
90440
90576
  # Corresponds to the JSON property `snippetInfo`
90441
90577
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewChosenSnippetInfo]
90442
90578
  attr_accessor :snippet_info
@@ -90450,6 +90586,9 @@ module Google
90450
90586
  @brain_features = args[:brain_features] if args.key?(:brain_features)
90451
90587
  @document_features = args[:document_features] if args.key?(:document_features)
90452
90588
  @experimental_features = args[:experimental_features] if args.key?(:experimental_features)
90589
+ @final_score = args[:final_score] if args.key?(:final_score)
90590
+ @is_muppet_selected_snippet = args[:is_muppet_selected_snippet] if args.key?(:is_muppet_selected_snippet)
90591
+ @original_query_term_coverage_features = args[:original_query_term_coverage_features] if args.key?(:original_query_term_coverage_features)
90453
90592
  @quality_features = args[:quality_features] if args.key?(:quality_features)
90454
90593
  @query_features = args[:query_features] if args.key?(:query_features)
90455
90594
  @query_term_coverage_features = args[:query_term_coverage_features] if args.key?(:query_term_coverage_features)
@@ -90863,7 +91002,13 @@ module Google
90863
91002
  class QualityPreviewSnippetBrainFeatures
90864
91003
  include Google::Apis::Core::Hashable
90865
91004
 
90866
- #
91005
+ # Is the bolding triggered.
91006
+ # Corresponds to the JSON property `isSnippetBrainBoldingTriggered`
91007
+ # @return [Boolean]
91008
+ attr_accessor :is_snippet_brain_bolding_triggered
91009
+ alias_method :is_snippet_brain_bolding_triggered?, :is_snippet_brain_bolding_triggered
91010
+
91011
+ # The score by SnippetBrain model.
90867
91012
  # Corresponds to the JSON property `modelScore`
90868
91013
  # @return [Float]
90869
91014
  attr_accessor :model_score
@@ -90874,6 +91019,7 @@ module Google
90874
91019
 
90875
91020
  # Update properties of this object
90876
91021
  def update!(**args)
91022
+ @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
90877
91023
  @model_score = args[:model_score] if args.key?(:model_score)
90878
91024
  end
90879
91025
  end
@@ -92427,10 +92573,16 @@ module Google
92427
92573
  # that we can control individual fields that will sit in Muppet. Data here will
92428
92574
  # be used for scoring organic shopping web results and previews. Many shopping
92429
92575
  # related signals, e.g., product review score, are also served from this
92430
- # attachment. Next ID: 20
92576
+ # attachment. Next ID: 21
92431
92577
  class QualityShoppingShoppingAttachment
92432
92578
  include Google::Apis::Core::Hashable
92433
92579
 
92580
+ # Score from the blockbert article classifier model. go/article-understanding-
92581
+ # project
92582
+ # Corresponds to the JSON property `datasetModelArticleScore`
92583
+ # @return [Fixnum]
92584
+ attr_accessor :dataset_model_article_score
92585
+
92434
92586
  #
92435
92587
  # Corresponds to the JSON property `datasetModelBuyingGuideScore`
92436
92588
  # @return [Fixnum]
@@ -92535,6 +92687,7 @@ module Google
92535
92687
 
92536
92688
  # Update properties of this object
92537
92689
  def update!(**args)
92690
+ @dataset_model_article_score = args[:dataset_model_article_score] if args.key?(:dataset_model_article_score)
92538
92691
  @dataset_model_buying_guide_score = args[:dataset_model_buying_guide_score] if args.key?(:dataset_model_buying_guide_score)
92539
92692
  @dataset_model_forum_list_score = args[:dataset_model_forum_list_score] if args.key?(:dataset_model_forum_list_score)
92540
92693
  @dataset_model_forum_single_score = args[:dataset_model_forum_single_score] if args.key?(:dataset_model_forum_single_score)
@@ -93529,6 +93682,12 @@ module Google
93529
93682
  class QualityTimebasedLastSignificantUpdate
93530
93683
  include Google::Apis::Core::Hashable
93531
93684
 
93685
+ # This is stored only for debugging purposes. Please consult dates@ team before
93686
+ # making a dependency on this field.
93687
+ # Corresponds to the JSON property `adjustmentInfo`
93688
+ # @return [Google::Apis::ContentwarehouseV1::QualityTimebasedLastSignificantUpdateAdjustments]
93689
+ attr_accessor :adjustment_info
93690
+
93532
93691
  # LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/
93533
93692
  # lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status)
93534
93693
  # , falling back to the legacy V1 signal if the V2 signal does not exist. Please
@@ -93548,11 +93707,54 @@ module Google
93548
93707
 
93549
93708
  # Update properties of this object
93550
93709
  def update!(**args)
93710
+ @adjustment_info = args[:adjustment_info] if args.key?(:adjustment_info)
93551
93711
  @date = args[:date] if args.key?(:date)
93552
93712
  @source = args[:source] if args.key?(:source)
93553
93713
  end
93554
93714
  end
93555
93715
 
93716
+ #
93717
+ class QualityTimebasedLastSignificantUpdateAdjustments
93718
+ include Google::Apis::Core::Hashable
93719
+
93720
+ #
93721
+ # Corresponds to the JSON property `adjustmentSource`
93722
+ # @return [String]
93723
+ attr_accessor :adjustment_source
93724
+
93725
+ # The timestamp is precise when it's derived from existing (>March 2022) passage
93726
+ # timestamp.
93727
+ # Corresponds to the JSON property `isUpperboundTimestampPrecise`
93728
+ # @return [Boolean]
93729
+ attr_accessor :is_upperbound_timestamp_precise
93730
+ alias_method :is_upperbound_timestamp_precise?, :is_upperbound_timestamp_precise
93731
+
93732
+ # The timestamp that was picked up by the component indicated in the
93733
+ # LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
93734
+ # The two following fields are present only when the adjustment took place.
93735
+ # Corresponds to the JSON property `unadjustedTimestampInSeconds`
93736
+ # @return [Fixnum]
93737
+ attr_accessor :unadjusted_timestamp_in_seconds
93738
+
93739
+ # The upperbound value derived from passage timestamps. If present, the LSU date
93740
+ # should never exceed this value. Design doc: go/lsu-max-passage-timestamp
93741
+ # Corresponds to the JSON property `upperboundTimestampInSeconds`
93742
+ # @return [Fixnum]
93743
+ attr_accessor :upperbound_timestamp_in_seconds
93744
+
93745
+ def initialize(**args)
93746
+ update!(**args)
93747
+ end
93748
+
93749
+ # Update properties of this object
93750
+ def update!(**args)
93751
+ @adjustment_source = args[:adjustment_source] if args.key?(:adjustment_source)
93752
+ @is_upperbound_timestamp_precise = args[:is_upperbound_timestamp_precise] if args.key?(:is_upperbound_timestamp_precise)
93753
+ @unadjusted_timestamp_in_seconds = args[:unadjusted_timestamp_in_seconds] if args.key?(:unadjusted_timestamp_in_seconds)
93754
+ @upperbound_timestamp_in_seconds = args[:upperbound_timestamp_in_seconds] if args.key?(:upperbound_timestamp_in_seconds)
93755
+ end
93756
+ end
93757
+
93556
93758
  #
93557
93759
  class QualityTimebasedOldnessInfo
93558
93760
  include Google::Apis::Core::Hashable
@@ -94463,7 +94665,7 @@ module Google
94463
94665
  end
94464
94666
 
94465
94667
  # This structure holds data for application information for rich snippets Next
94466
- # ID: 51
94668
+ # ID: 52
94467
94669
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplication
94468
94670
  include Google::Apis::Core::Hashable
94469
94671
 
@@ -94550,6 +94752,11 @@ module Google
94550
94752
  # @return [String]
94551
94753
  attr_accessor :icon_url_thumbnail
94552
94754
 
94755
+ # Copied from google3/contentads/shared/boulder/mobile-app-data-image-data.proto.
94756
+ # Corresponds to the JSON property `imageData`
94757
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImageData]
94758
+ attr_accessor :image_data
94759
+
94553
94760
  # Whether the app offers in-app purchase.
94554
94761
  # Corresponds to the JSON property `inAppPurchase`
94555
94762
  # @return [Boolean]
@@ -94663,7 +94870,7 @@ module Google
94663
94870
  # @return [String]
94664
94871
  attr_accessor :review_count
94665
94872
 
94666
- #
94873
+ # TODO(b/260128276) deprecate this field in favor of image_data.
94667
94874
  # Corresponds to the JSON property `screenUrlHref`
94668
94875
  # @return [Array<String>]
94669
94876
  attr_accessor :screen_url_href
@@ -94754,6 +94961,7 @@ module Google
94754
94961
  @has_editors_choice_badge = args[:has_editors_choice_badge] if args.key?(:has_editors_choice_badge)
94755
94962
  @icon_url_href = args[:icon_url_href] if args.key?(:icon_url_href)
94756
94963
  @icon_url_thumbnail = args[:icon_url_thumbnail] if args.key?(:icon_url_thumbnail)
94964
+ @image_data = args[:image_data] if args.key?(:image_data)
94757
94965
  @in_app_purchase = args[:in_app_purchase] if args.key?(:in_app_purchase)
94758
94966
  @is_default_lang_locale = args[:is_default_lang_locale] if args.key?(:is_default_lang_locale)
94759
94967
  @lang_locale = args[:lang_locale] if args.key?(:lang_locale)
@@ -95510,25 +95718,10 @@ module Google
95510
95718
  # type) R, then: For each entity B that has incoming links of type R This
95511
95719
  # defines an instance of this rule, with argument=B We create a Set S We make B
95512
95720
  # a child of S For each entity A that has a link R to B, we make A a child of S
95721
+ # Next available tag: 6
95513
95722
  class RepositoryWebrefClusterProtoRelationRule
95514
95723
  include Google::Apis::Core::Hashable
95515
95724
 
95516
- # If true, cluster global names and links will be extracted from the target of
95517
- # the property. If false, all members of the cluster will be considered sources.
95518
- # Corresponds to the JSON property `isCollapsible`
95519
- # @return [Boolean]
95520
- attr_accessor :is_collapsible
95521
- alias_method :is_collapsible?, :is_collapsible
95522
-
95523
- # Whether the target of the relation is an intermediate (CVT) node in KG: - if
95524
- # it is not: generate external_id for the cluster - if it is: - CVT should not
95525
- # be /common/topic otherwise rule will not be created - cluster will reuse CVT
95526
- # mid as its own
95527
- # Corresponds to the JSON property `isCvtRule`
95528
- # @return [Boolean]
95529
- attr_accessor :is_cvt_rule
95530
- alias_method :is_cvt_rule?, :is_cvt_rule
95531
-
95532
95725
  # The topic_property_name for the link that defines the relation, e.g. "/tv/
95533
95726
  # tv_series_episode/series". Can start with a "!" to indicate that this link is
95534
95727
  # reversed during extraction and we want the reversed case. Required.
@@ -95536,21 +95729,13 @@ module Google
95536
95729
  # @return [String]
95537
95730
  attr_accessor :relation
95538
95731
 
95539
- # No longer set.
95540
- # Corresponds to the JSON property `sequenceId`
95541
- # @return [Fixnum]
95542
- attr_accessor :sequence_id
95543
-
95544
95732
  def initialize(**args)
95545
95733
  update!(**args)
95546
95734
  end
95547
95735
 
95548
95736
  # Update properties of this object
95549
95737
  def update!(**args)
95550
- @is_collapsible = args[:is_collapsible] if args.key?(:is_collapsible)
95551
- @is_cvt_rule = args[:is_cvt_rule] if args.key?(:is_cvt_rule)
95552
95738
  @relation = args[:relation] if args.key?(:relation)
95553
- @sequence_id = args[:sequence_id] if args.key?(:sequence_id)
95554
95739
  end
95555
95740
  end
95556
95741
 
@@ -95569,6 +95754,7 @@ module Google
95569
95754
  # type) R, then: For each entity B that has incoming links of type R This
95570
95755
  # defines an instance of this rule, with argument=B We create a Set S We make B
95571
95756
  # a child of S For each entity A that has a link R to B, we make A a child of S
95757
+ # Next available tag: 6
95572
95758
  # Corresponds to the JSON property `rule`
95573
95759
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefClusterProtoRelationRule]
95574
95760
  attr_accessor :rule
@@ -96529,12 +96715,6 @@ module Google
96529
96715
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGlobalNameInfo>]
96530
96716
  attr_accessor :name_info
96531
96717
 
96532
- # If you add any field, make sure to add it in reffresh to the empty checks at
96533
- # the end of the corresponding name extractor processors (extract-*-names.cc).
96534
- # Corresponds to the JSON property `nameSignals`
96535
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameSignals]
96536
- attr_accessor :name_signals
96537
-
96538
96718
  # Contains names and names metadata used by Refcon.
96539
96719
  # Corresponds to the JSON property `refconNameInfo`
96540
96720
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefRefconRefconNameInfo>]
@@ -96566,7 +96746,6 @@ module Google
96566
96746
  @human_ratings = args[:human_ratings] if args.key?(:human_ratings)
96567
96747
  @link_info = args[:link_info] if args.key?(:link_info)
96568
96748
  @name_info = args[:name_info] if args.key?(:name_info)
96569
- @name_signals = args[:name_signals] if args.key?(:name_signals)
96570
96749
  @refcon_name_info = args[:refcon_name_info] if args.key?(:refcon_name_info)
96571
96750
  @representation = args[:representation] if args.key?(:representation)
96572
96751
  end
@@ -97603,7 +97782,25 @@ module Google
97603
97782
  class RepositoryWebrefImageQueryIndices
97604
97783
  include Google::Apis::Core::Hashable
97605
97784
 
97606
- # / The index of the source image in CompositeDoc::doc_images.
97785
+ # The (canonical) image docid of the ImageData this image query is part of.
97786
+ # Useful for identifying the ImageData even after doc_images are updated in
97787
+ # between Webref annotation runs. Use docid only when canonical_docid == 0.
97788
+ # Corresponds to the JSON property `canonicalDocid`
97789
+ # @return [Fixnum]
97790
+ attr_accessor :canonical_docid
97791
+
97792
+ #
97793
+ # Corresponds to the JSON property `docid`
97794
+ # @return [Fixnum]
97795
+ attr_accessor :docid
97796
+
97797
+ # WARNING: The doc_images in docjoins are subject to updates including non-
97798
+ # deterministic reordering of doc_images and their image_nb_data extensions.
97799
+ # This means that without re-running WebrefAnnotator one cannot rely on the
97800
+ # accuracy or even consistency of either image_index or query_index when parsing
97801
+ # a cdoc from docjoins. In those situations one ought to rely on canonical_docid
97802
+ # (or docid when canonical_docid is absent viz. 0). The index of the source
97803
+ # image in CompositeDoc::doc_images.
97607
97804
  # Corresponds to the JSON property `imageIndex`
97608
97805
  # @return [Fixnum]
97609
97806
  attr_accessor :image_index
@@ -97622,6 +97819,8 @@ module Google
97622
97819
 
97623
97820
  # Update properties of this object
97624
97821
  def update!(**args)
97822
+ @canonical_docid = args[:canonical_docid] if args.key?(:canonical_docid)
97823
+ @docid = args[:docid] if args.key?(:docid)
97625
97824
  @image_index = args[:image_index] if args.key?(:image_index)
97626
97825
  @query_index = args[:query_index] if args.key?(:query_index)
97627
97826
  end
@@ -98174,11 +98373,6 @@ module Google
98174
98373
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefMdvcMetadataPerVertical>]
98175
98374
  attr_accessor :per_vertical
98176
98375
 
98177
- #
98178
- # Corresponds to the JSON property `queryToLongRunningStoryDataset`
98179
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsDataset]
98180
- attr_accessor :query_to_long_running_story_dataset
98181
-
98182
98376
  # Undergoing migration into the PerVertical message. Avoid using it. Resolution
98183
98377
  # priority for this entity. In case a query has many possible resolutions, only
98184
98378
  # the ones with the highest resolution priority are annotated.
@@ -98197,7 +98391,6 @@ module Google
98197
98391
  @generalization = args[:generalization] if args.key?(:generalization)
98198
98392
  @is_synthetic = args[:is_synthetic] if args.key?(:is_synthetic)
98199
98393
  @per_vertical = args[:per_vertical] if args.key?(:per_vertical)
98200
- @query_to_long_running_story_dataset = args[:query_to_long_running_story_dataset] if args.key?(:query_to_long_running_story_dataset)
98201
98394
  @resolution_priority = args[:resolution_priority] if args.key?(:resolution_priority)
98202
98395
  end
98203
98396
  end
@@ -99151,21 +99344,6 @@ module Google
99151
99344
  # @return [String]
99152
99345
  attr_accessor :content_relevant
99153
99346
 
99154
- #
99155
- # Corresponds to the JSON property `deprecatedItemId`
99156
- # @return [Fixnum]
99157
- attr_accessor :deprecated_item_id
99158
-
99159
- #
99160
- # Corresponds to the JSON property `deprecatedProjectId`
99161
- # @return [Fixnum]
99162
- attr_accessor :deprecated_project_id
99163
-
99164
- #
99165
- # Corresponds to the JSON property `deprecatedTaskId`
99166
- # @return [Fixnum]
99167
- attr_accessor :deprecated_task_id
99168
-
99169
99347
  # How this rating is displayed in the evals, pre-computed from the other fields.
99170
99348
  # Corresponds to the JSON property `displayString`
99171
99349
  # @return [String]
@@ -99177,33 +99355,17 @@ module Google
99177
99355
  # @return [String]
99178
99356
  attr_accessor :furball_url
99179
99357
 
99180
- #
99181
- # Corresponds to the JSON property `itemDescription`
99182
- # @return [String]
99183
- attr_accessor :item_description
99184
-
99185
99358
  #
99186
99359
  # Corresponds to the JSON property `itemId`
99187
99360
  # @return [Fixnum]
99188
99361
  attr_accessor :item_id
99189
99362
 
99190
- #
99191
- # Corresponds to the JSON property `language`
99192
- # @return [String]
99193
- attr_accessor :language
99194
-
99195
99363
  # If the topic is about a business chain, whether the
99196
99364
  # Corresponds to the JSON property `pageIsAboutChain`
99197
99365
  # @return [String]
99198
99366
  attr_accessor :page_is_about_chain
99199
99367
 
99200
- # If true, content_relevance is set to NONE.
99201
- # Corresponds to the JSON property `pageNotLoaded`
99202
- # @return [Boolean]
99203
- attr_accessor :page_not_loaded
99204
- alias_method :page_not_loaded?, :page_not_loaded
99205
-
99206
- #
99368
+ # Metadata for task-level ratings. Not filled for aggregated doc-level ratings.
99207
99369
  # Corresponds to the JSON property `projectId`
99208
99370
  # @return [Fixnum]
99209
99371
  attr_accessor :project_id
@@ -99214,11 +99376,6 @@ module Google
99214
99376
  attr_accessor :rater_can_understand_topic
99215
99377
  alias_method :rater_can_understand_topic?, :rater_can_understand_topic
99216
99378
 
99217
- # Floating point representation of the `content_relevant` field.
99218
- # Corresponds to the JSON property `ratingScore`
99219
- # @return [Float]
99220
- attr_accessor :rating_score
99221
-
99222
99379
  # Information about what the raters saw, how the information was presented to
99223
99380
  # them, or how they interacted with the task. Next id: 6
99224
99381
  # Corresponds to the JSON property `taskDetails`
@@ -99230,21 +99387,6 @@ module Google
99230
99387
  # @return [Fixnum]
99231
99388
  attr_accessor :task_id
99232
99389
 
99233
- #
99234
- # Corresponds to the JSON property `taskStatus`
99235
- # @return [String]
99236
- attr_accessor :task_status
99237
-
99238
- #
99239
- # Corresponds to the JSON property `taskUser`
99240
- # @return [Fixnum]
99241
- attr_accessor :task_user
99242
-
99243
- # Metadata for task-level ratings. Not filled for aggregated doc-level ratings.
99244
- # Corresponds to the JSON property `templateId`
99245
- # @return [Fixnum]
99246
- attr_accessor :template_id
99247
-
99248
99390
  # Whether the topic is about a business chain.
99249
99391
  # Corresponds to the JSON property `topicIsChain`
99250
99392
  # @return [String]
@@ -99257,24 +99399,14 @@ module Google
99257
99399
  # Update properties of this object
99258
99400
  def update!(**args)
99259
99401
  @content_relevant = args[:content_relevant] if args.key?(:content_relevant)
99260
- @deprecated_item_id = args[:deprecated_item_id] if args.key?(:deprecated_item_id)
99261
- @deprecated_project_id = args[:deprecated_project_id] if args.key?(:deprecated_project_id)
99262
- @deprecated_task_id = args[:deprecated_task_id] if args.key?(:deprecated_task_id)
99263
99402
  @display_string = args[:display_string] if args.key?(:display_string)
99264
99403
  @furball_url = args[:furball_url] if args.key?(:furball_url)
99265
- @item_description = args[:item_description] if args.key?(:item_description)
99266
99404
  @item_id = args[:item_id] if args.key?(:item_id)
99267
- @language = args[:language] if args.key?(:language)
99268
99405
  @page_is_about_chain = args[:page_is_about_chain] if args.key?(:page_is_about_chain)
99269
- @page_not_loaded = args[:page_not_loaded] if args.key?(:page_not_loaded)
99270
99406
  @project_id = args[:project_id] if args.key?(:project_id)
99271
99407
  @rater_can_understand_topic = args[:rater_can_understand_topic] if args.key?(:rater_can_understand_topic)
99272
- @rating_score = args[:rating_score] if args.key?(:rating_score)
99273
99408
  @task_details = args[:task_details] if args.key?(:task_details)
99274
99409
  @task_id = args[:task_id] if args.key?(:task_id)
99275
- @task_status = args[:task_status] if args.key?(:task_status)
99276
- @task_user = args[:task_user] if args.key?(:task_user)
99277
- @template_id = args[:template_id] if args.key?(:template_id)
99278
99410
  @topic_is_chain = args[:topic_is_chain] if args.key?(:topic_is_chain)
99279
99411
  end
99280
99412
  end
@@ -99291,31 +99423,16 @@ module Google
99291
99423
  # @return [Fixnum]
99292
99424
  attr_accessor :doc_fp
99293
99425
 
99294
- # Per document ratings relevance ratings. Next id: 21.
99295
- # Corresponds to the JSON property `docLevelRating`
99296
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPerDocRelevanceRating]
99297
- attr_accessor :doc_level_rating
99298
-
99299
99426
  #
99300
99427
  # Corresponds to the JSON property `entityNameRating`
99301
99428
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefEntityNameRatings>]
99302
99429
  attr_accessor :entity_name_rating
99303
99430
 
99304
- #
99305
- # Corresponds to the JSON property `listMembership`
99306
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefListMembership>]
99307
- attr_accessor :list_membership
99308
-
99309
99431
  #
99310
99432
  # Corresponds to the JSON property `mentionRating`
99311
99433
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefMentionRatings>]
99312
99434
  attr_accessor :mention_rating
99313
99435
 
99314
- #
99315
- # Corresponds to the JSON property `pageClassification`
99316
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefPageClassification>]
99317
- attr_accessor :page_classification
99318
-
99319
99436
  #
99320
99437
  # Corresponds to the JSON property `taskLevelRating`
99321
99438
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPerDocRelevanceRating>]
@@ -99337,11 +99454,8 @@ module Google
99337
99454
  # Update properties of this object
99338
99455
  def update!(**args)
99339
99456
  @doc_fp = args[:doc_fp] if args.key?(:doc_fp)
99340
- @doc_level_rating = args[:doc_level_rating] if args.key?(:doc_level_rating)
99341
99457
  @entity_name_rating = args[:entity_name_rating] if args.key?(:entity_name_rating)
99342
- @list_membership = args[:list_membership] if args.key?(:list_membership)
99343
99458
  @mention_rating = args[:mention_rating] if args.key?(:mention_rating)
99344
- @page_classification = args[:page_classification] if args.key?(:page_classification)
99345
99459
  @task_level_rating = args[:task_level_rating] if args.key?(:task_level_rating)
99346
99460
  @url = args[:url] if args.key?(:url)
99347
99461
  end
@@ -99616,47 +99730,6 @@ module Google
99616
99730
  end
99617
99731
  end
99618
99732
 
99619
- # If you add any field, make sure to add it in reffresh to the empty checks at
99620
- # the end of the corresponding name extractor processors (extract-*-names.cc).
99621
- class RepositoryWebrefPreprocessingNameSignals
99622
- include Google::Apis::Core::Hashable
99623
-
99624
- # The set of name candidates and their signals for a given entity.
99625
- # Corresponds to the JSON property `normalizedNameData`
99626
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNormalizedNameData>]
99627
- attr_accessor :normalized_name_data
99628
-
99629
- def initialize(**args)
99630
- update!(**args)
99631
- end
99632
-
99633
- # Update properties of this object
99634
- def update!(**args)
99635
- @normalized_name_data = args[:normalized_name_data] if args.key?(:normalized_name_data)
99636
- end
99637
- end
99638
-
99639
- # Represents a single name with all its signal, like language, sources and
99640
- # confidences.
99641
- class RepositoryWebrefPreprocessingNameVariantData
99642
- include Google::Apis::Core::Hashable
99643
-
99644
- # Sources providing this name variant and their metadata. NOTE: by convention we
99645
- # only allow one proto per source.
99646
- # Corresponds to the JSON property `variantSignals`
99647
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantSignals>]
99648
- attr_accessor :variant_signals
99649
-
99650
- def initialize(**args)
99651
- update!(**args)
99652
- end
99653
-
99654
- # Update properties of this object
99655
- def update!(**args)
99656
- @variant_signals = args[:variant_signals] if args.key?(:variant_signals)
99657
- end
99658
- end
99659
-
99660
99733
  # Next available tag: 33.
99661
99734
  class RepositoryWebrefPreprocessingNameVariantSignals
99662
99735
  include Google::Apis::Core::Hashable
@@ -99682,27 +99755,6 @@ module Google
99682
99755
  end
99683
99756
  end
99684
99757
 
99685
- # Aggregation of all names of an entity that normalize to the same string.
99686
- class RepositoryWebrefPreprocessingNormalizedNameData
99687
- include Google::Apis::Core::Hashable
99688
-
99689
- # Name variants and their signals by source. All these name variants normalize
99690
- # to @normalized_name given their locales. NOTE: This includes metadata
99691
- # aggregated for the normalized name.
99692
- # Corresponds to the JSON property `nameVariantData`
99693
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantData>]
99694
- attr_accessor :name_variant_data
99695
-
99696
- def initialize(**args)
99697
- update!(**args)
99698
- end
99699
-
99700
- # Update properties of this object
99701
- def update!(**args)
99702
- @name_variant_data = args[:name_variant_data] if args.key?(:name_variant_data)
99703
- end
99704
- end
99705
-
99706
99758
  #
99707
99759
  class RepositoryWebrefPreprocessingOriginalNames
99708
99760
  include Google::Apis::Core::Hashable
@@ -100974,147 +101026,6 @@ module Google
100974
101026
  end
100975
101027
  end
100976
101028
 
100977
- # Entity-level classification. Template: experimental/topref/eval_entities/
100978
- # template.jhtml
100979
- class RepositoryWebrefToprefListMembership
100980
- include Google::Apis::Core::Hashable
100981
-
100982
- #
100983
- # Corresponds to the JSON property `member`
100984
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefListMembershipListMember>]
100985
- attr_accessor :member
100986
-
100987
- #
100988
- # Corresponds to the JSON property `taskData`
100989
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefTaskData]
100990
- attr_accessor :task_data
100991
-
100992
- def initialize(**args)
100993
- update!(**args)
100994
- end
100995
-
100996
- # Update properties of this object
100997
- def update!(**args)
100998
- @member = args[:member] if args.key?(:member)
100999
- @task_data = args[:task_data] if args.key?(:task_data)
101000
- end
101001
- end
101002
-
101003
- #
101004
- class RepositoryWebrefToprefListMembershipListMember
101005
- include Google::Apis::Core::Hashable
101006
-
101007
- # The identifier of a WebrefEntity (see webref-entities.proto). IMPORTANT:
101008
- # Please consider reading this proto through GetWebrefEntityMid() in webref-
101009
- # entities-util.h, because this proto may: a) contain both freebase_mid and
101010
- # concept_id (this is frequently the case to avoid breaking downstream clients),
101011
- # b) only contain freebase_mid or only contain concept_id (as the other one is
101012
- # technically redundant), c) contain neither of them or be missing entirely (
101013
- # potentially in future).
101014
- # Corresponds to the JSON property `id`
101015
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefWebrefEntityId]
101016
- attr_accessor :id
101017
-
101018
- #
101019
- # Corresponds to the JSON property `isMember`
101020
- # @return [String]
101021
- attr_accessor :is_member
101022
-
101023
- def initialize(**args)
101024
- update!(**args)
101025
- end
101026
-
101027
- # Update properties of this object
101028
- def update!(**args)
101029
- @id = args[:id] if args.key?(:id)
101030
- @is_member = args[:is_member] if args.key?(:is_member)
101031
- end
101032
- end
101033
-
101034
- # Top-level page classification. Template: experimental/topref/eval_main/
101035
- # template.jhtml
101036
- class RepositoryWebrefToprefPageClassification
101037
- include Google::Apis::Core::Hashable
101038
-
101039
- #
101040
- # Corresponds to the JSON property `isList`
101041
- # @return [String]
101042
- attr_accessor :is_list
101043
-
101044
- #
101045
- # Corresponds to the JSON property `isListTypeCorrect`
101046
- # @return [String]
101047
- attr_accessor :is_list_type_correct
101048
-
101049
- #
101050
- # Corresponds to the JSON property `isRanking`
101051
- # @return [String]
101052
- attr_accessor :is_ranking
101053
-
101054
- #
101055
- # Corresponds to the JSON property `isToplist`
101056
- # @return [String]
101057
- attr_accessor :is_toplist
101058
-
101059
- # A string generated based on the main collection of the list. E.g., /collection/
101060
- # geo/restaurant => "Restaurants" retrieved by following the /base/schemastaging/
101061
- # context_name/plural in KG.
101062
- # Corresponds to the JSON property `listType`
101063
- # @return [String]
101064
- attr_accessor :list_type
101065
-
101066
- # "repeated" because we potentially evaluate several (up to 5) title candidates
101067
- # for the page.
101068
- # Corresponds to the JSON property `ratedTitle`
101069
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefPageClassificationRatedTitle>]
101070
- attr_accessor :rated_title
101071
-
101072
- #
101073
- # Corresponds to the JSON property `taskData`
101074
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefTaskData]
101075
- attr_accessor :task_data
101076
-
101077
- def initialize(**args)
101078
- update!(**args)
101079
- end
101080
-
101081
- # Update properties of this object
101082
- def update!(**args)
101083
- @is_list = args[:is_list] if args.key?(:is_list)
101084
- @is_list_type_correct = args[:is_list_type_correct] if args.key?(:is_list_type_correct)
101085
- @is_ranking = args[:is_ranking] if args.key?(:is_ranking)
101086
- @is_toplist = args[:is_toplist] if args.key?(:is_toplist)
101087
- @list_type = args[:list_type] if args.key?(:list_type)
101088
- @rated_title = args[:rated_title] if args.key?(:rated_title)
101089
- @task_data = args[:task_data] if args.key?(:task_data)
101090
- end
101091
- end
101092
-
101093
- #
101094
- class RepositoryWebrefToprefPageClassificationRatedTitle
101095
- include Google::Apis::Core::Hashable
101096
-
101097
- #
101098
- # Corresponds to the JSON property `isGood`
101099
- # @return [String]
101100
- attr_accessor :is_good
101101
-
101102
- #
101103
- # Corresponds to the JSON property `title`
101104
- # @return [String]
101105
- attr_accessor :title
101106
-
101107
- def initialize(**args)
101108
- update!(**args)
101109
- end
101110
-
101111
- # Update properties of this object
101112
- def update!(**args)
101113
- @is_good = args[:is_good] if args.key?(:is_good)
101114
- @title = args[:title] if args.key?(:title)
101115
- end
101116
- end
101117
-
101118
101029
  #
101119
101030
  class RepositoryWebrefTripleAnnotation
101120
101031
  include Google::Apis::Core::Hashable
@@ -103474,7 +103385,7 @@ module Google
103474
103385
  end
103475
103386
 
103476
103387
  # A proto for storing inferred and reconciled metadata for Science Search. Next
103477
- # available tag: 69
103388
+ # available tag: 70
103478
103389
  class ResearchScienceSearchReconciledMetadata
103479
103390
  include Google::Apis::Core::Hashable
103480
103391
 
@@ -103654,6 +103565,13 @@ module Google
103654
103565
  # @return [Array<String>]
103655
103566
  attr_accessor :is_based_on
103656
103567
 
103568
+ # Indicates whether the metadata was inferred using an ML model rather than from
103569
+ # the schema.org fields.
103570
+ # Corresponds to the JSON property `isInferred`
103571
+ # @return [Boolean]
103572
+ attr_accessor :is_inferred
103573
+ alias_method :is_inferred?, :is_inferred
103574
+
103657
103575
  # Keywords describing the dataset.
103658
103576
  # Corresponds to the JSON property `keyword`
103659
103577
  # @return [Array<String>]
@@ -103829,6 +103747,7 @@ module Google
103829
103747
  @index_in_cluster = args[:index_in_cluster] if args.key?(:index_in_cluster)
103830
103748
  @is_accessible_for_free = args[:is_accessible_for_free] if args.key?(:is_accessible_for_free)
103831
103749
  @is_based_on = args[:is_based_on] if args.key?(:is_based_on)
103750
+ @is_inferred = args[:is_inferred] if args.key?(:is_inferred)
103832
103751
  @keyword = args[:keyword] if args.key?(:keyword)
103833
103752
  @language_code = args[:language_code] if args.key?(:language_code)
103834
103753
  @license = args[:license] if args.key?(:license)
@@ -103968,12 +103887,6 @@ module Google
103968
103887
  # @return [Fixnum]
103969
103888
  attr_accessor :docid
103970
103889
 
103971
- # A set of entities from /collection/field_of_studies in knowledge graph schema (
103972
- # http://shortn/_ldBsa14lo8).
103973
- # Corresponds to the JSON property `fieldOfStudyEntity`
103974
- # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScienceSearchSourceUrlDocjoinInfoWebrefEntityInfo>]
103975
- attr_accessor :field_of_study_entity
103976
-
103977
103890
  # Index tiers (BASE, UNIFIED_ZEPPELIN, etc) that the document belongs to. NOTE:
103978
103891
  # Each document may belong to multiple tiers. NOTE: The original data type is an
103979
103892
  # enum CompositeDoc::SubIndexType. However we don't want to depend on segindexer/
@@ -104052,6 +103965,11 @@ module Google
104052
103965
  # @return [String]
104053
103966
  attr_accessor :url
104054
103967
 
103968
+ # A set of entities copied from WebRefEntities on cDoc.
103969
+ # Corresponds to the JSON property `webrefEntity`
103970
+ # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScienceSearchSourceUrlDocjoinInfoWebrefEntityInfo>]
103971
+ attr_accessor :webref_entity
103972
+
104055
103973
  def initialize(**args)
104056
103974
  update!(**args)
104057
103975
  end
@@ -104061,7 +103979,6 @@ module Google
104061
103979
  @data_source = args[:data_source] if args.key?(:data_source)
104062
103980
  @display_url = args[:display_url] if args.key?(:display_url)
104063
103981
  @docid = args[:docid] if args.key?(:docid)
104064
- @field_of_study_entity = args[:field_of_study_entity] if args.key?(:field_of_study_entity)
104065
103982
  @index_tier = args[:index_tier] if args.key?(:index_tier)
104066
103983
  @language_code = args[:language_code] if args.key?(:language_code)
104067
103984
  @latest_page_update_date = args[:latest_page_update_date] if args.key?(:latest_page_update_date)
@@ -104074,6 +103991,7 @@ module Google
104074
103991
  @title = args[:title] if args.key?(:title)
104075
103992
  @top_entity = args[:top_entity] if args.key?(:top_entity)
104076
103993
  @url = args[:url] if args.key?(:url)
103994
+ @webref_entity = args[:webref_entity] if args.key?(:webref_entity)
104077
103995
  end
104078
103996
  end
104079
103997
 
@@ -104086,6 +104004,11 @@ module Google
104086
104004
  # @return [String]
104087
104005
  attr_accessor :description
104088
104006
 
104007
+ #
104008
+ # Corresponds to the JSON property `entityType`
104009
+ # @return [String]
104010
+ attr_accessor :entity_type
104011
+
104089
104012
  # The KG identifier of the WebrefEntity.
104090
104013
  # Corresponds to the JSON property `mid`
104091
104014
  # @return [String]
@@ -104098,6 +104021,7 @@ module Google
104098
104021
  # Update properties of this object
104099
104022
  def update!(**args)
104100
104023
  @description = args[:description] if args.key?(:description)
104024
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
104101
104025
  @mid = args[:mid] if args.key?(:mid)
104102
104026
  end
104103
104027
  end
@@ -104384,37 +104308,6 @@ module Google
104384
104308
  end
104385
104309
  end
104386
104310
 
104387
- # An input into the citation prediction model.
104388
- class ScholarCitationPredictionSignal
104389
- include Google::Apis::Core::Hashable
104390
-
104391
- #
104392
- # Corresponds to the JSON property `metricType`
104393
- # @return [String]
104394
- attr_accessor :metric_type
104395
-
104396
- #
104397
- # Corresponds to the JSON property `signalType`
104398
- # @return [String]
104399
- attr_accessor :signal_type
104400
-
104401
- #
104402
- # Corresponds to the JSON property `value`
104403
- # @return [Float]
104404
- attr_accessor :value
104405
-
104406
- def initialize(**args)
104407
- update!(**args)
104408
- end
104409
-
104410
- # Update properties of this object
104411
- def update!(**args)
104412
- @metric_type = args[:metric_type] if args.key?(:metric_type)
104413
- @signal_type = args[:signal_type] if args.key?(:signal_type)
104414
- @value = args[:value] if args.key?(:value)
104415
- end
104416
- end
104417
-
104418
104311
  #
104419
104312
  class ScienceCitation
104420
104313
  include Google::Apis::Core::Hashable
@@ -104522,6 +104415,11 @@ module Google
104522
104415
  # @return [String]
104523
104416
  attr_accessor :citation_src
104524
104417
 
104418
+ #
104419
+ # Corresponds to the JSON property `ClearedReason`
104420
+ # @return [String]
104421
+ attr_accessor :cleared_reason
104422
+
104525
104423
  # Used for logging, recommendations, and sort-by-date. Contains the earliest
104526
104424
  # discovery date of the cluster, adjusted for earlier publication dates. Stored
104527
104425
  # in Universal time scale (100 ns ticks since 0001 AD) because Unix timestamp
@@ -105011,6 +104909,7 @@ module Google
105011
104909
  @citation_source = args[:citation_source] if args.key?(:citation_source)
105012
104910
  @citation_source_url = args[:citation_source_url] if args.key?(:citation_source_url)
105013
104911
  @citation_src = args[:citation_src] if args.key?(:citation_src)
104912
+ @cleared_reason = args[:cleared_reason] if args.key?(:cleared_reason)
105014
104913
  @cluster_discovery_date = args[:cluster_discovery_date] if args.key?(:cluster_discovery_date)
105015
104914
  @conference_id = args[:conference_id] if args.key?(:conference_id)
105016
104915
  @conference_number = args[:conference_number] if args.key?(:conference_number)
@@ -106126,170 +106025,118 @@ module Google
106126
106025
  end
106127
106026
  end
106128
106027
 
106129
- # Next tag: 43
106130
- class SciencePerDocData
106028
+ #
106029
+ class SdrEmbedding
106131
106030
  include Google::Apis::Core::Hashable
106132
106031
 
106133
- # The first hit position after the end of the abstract. We index the abstract
106134
- # immediately after the body, so all hits between BodyEndPosition and
106135
- # AbstractEndPosition are from the abstract.
106136
- # Corresponds to the JSON property `AbstractEndPosition`
106137
- # @return [Fixnum]
106138
- attr_accessor :abstract_end_position
106139
-
106140
- # The first hit position past the last body hit.
106141
- # Corresponds to the JSON property `BodyEndPosition`
106142
- # @return [Fixnum]
106143
- attr_accessor :body_end_position
106144
-
106145
- # Input features used to compute PredictedCitations.
106146
- # Corresponds to the JSON property `CitationPredictionSignal`
106147
- # @return [Array<Google::Apis::ContentwarehouseV1::ScholarCitationPredictionSignal>]
106148
- attr_accessor :citation_prediction_signal
106149
-
106150
- # Used for sorting legal documents by court; e.g. Supreme Court > Appeals Court >
106151
- # Trial Court
106152
- # Corresponds to the JSON property `CourtLevel`
106153
- # @return [Fixnum]
106154
- attr_accessor :court_level
106032
+ #
106033
+ # Corresponds to the JSON property `values`
106034
+ # @return [Array<Float>]
106035
+ attr_accessor :values
106155
106036
 
106156
106037
  #
106157
- # Corresponds to the JSON property `DEPRECATEDCrawlTime`
106038
+ # Corresponds to the JSON property `version`
106158
106039
  # @return [Fixnum]
106159
- attr_accessor :deprecated_crawl_time
106040
+ attr_accessor :version
106160
106041
 
106161
- # The age in days since discovery date at the time of indexing. Used to compute
106162
- # PredictedCitations.
106163
- # Corresponds to the JSON property `DiscoveryAgeInDays`
106164
- # @return [Fixnum]
106165
- attr_accessor :discovery_age_in_days
106042
+ def initialize(**args)
106043
+ update!(**args)
106044
+ end
106166
106045
 
106167
- # Used for sorting articles by date, and as an input for recent-query ranking.
106168
- # Stored in Universal time scale (100 ns ticks since 0001 AD).
106169
- # Corresponds to the JSON property `DiscoveryTimestamp`
106170
- # @return [Fixnum]
106171
- attr_accessor :discovery_timestamp
106046
+ # Update properties of this object
106047
+ def update!(**args)
106048
+ @values = args[:values] if args.key?(:values)
106049
+ @version = args[:version] if args.key?(:version)
106050
+ end
106051
+ end
106172
106052
 
106173
- # citation-only marker - for use in scorer
106174
- # Corresponds to the JSON property `IsCitationOnly`
106175
- # @return [Boolean]
106176
- attr_accessor :is_citation_only
106177
- alias_method :is_citation_only?, :is_citation_only
106053
+ #
106054
+ class SdrPageAnchorsDocInfo
106055
+ include Google::Apis::Core::Hashable
106178
106056
 
106179
- # Scoring penalty for non-scholarly articles. In the range [0, 1], with 0 being
106180
- # no penalty and 1 being the full penalty.
106181
- # Corresponds to the JSON property `NonScholarlinessPenalty`
106057
+ #
106058
+ # Corresponds to the JSON property `articleness`
106182
106059
  # @return [Float]
106183
- attr_accessor :non_scholarliness_penalty
106184
-
106185
- # Summary statistics, for display in the FE.
106186
- # Corresponds to the JSON property `NumBackwardLinks`
106187
- # @return [Fixnum]
106188
- attr_accessor :num_backward_links
106060
+ attr_accessor :articleness
106189
106061
 
106190
106062
  #
106191
- # Corresponds to the JSON property `NumRelated`
106192
- # @return [Fixnum]
106193
- attr_accessor :num_related
106194
-
106195
- # Used for exact title boost in Scholar, as of 1/7/2008.
106196
- # Corresponds to the JSON property `NumTitleWords`
106197
- # @return [Fixnum]
106198
- attr_accessor :num_title_words
106063
+ # Corresponds to the JSON property `pageAnchors`
106064
+ # @return [Array<Google::Apis::ContentwarehouseV1::SdrPageAnchorsSitelink>]
106065
+ attr_accessor :page_anchors
106199
106066
 
106200
106067
  #
106201
- # Corresponds to the JSON property `NumVersions`
106202
- # @return [Fixnum]
106203
- attr_accessor :num_versions
106068
+ # Corresponds to the JSON property `qscore`
106069
+ # @return [Float]
106070
+ attr_accessor :qscore
106204
106071
 
106205
106072
  #
106206
- # Corresponds to the JSON property `OffDomAnchors`
106207
- # @return [Fixnum]
106208
- attr_accessor :off_dom_anchors
106073
+ # Corresponds to the JSON property `sitelinkWrapper`
106074
+ # @return [Array<Google::Apis::ContentwarehouseV1::SdrPageAnchorsSitelinkWrapper>]
106075
+ attr_accessor :sitelink_wrapper
106209
106076
 
106210
106077
  #
106211
- # Corresponds to the JSON property `OnSiteAnchors`
106212
- # @return [Fixnum]
106213
- attr_accessor :on_site_anchors
106214
-
106215
- # The predicted new citations for this document once it reaches 5 years after
106216
- # its discovery date. Not set for: - Documents 5 years or older - Citation only
106217
- # documents - Patents and legal documents
106218
- # Corresponds to the JSON property `PredictedCitations`
106219
- # @return [Float]
106220
- attr_accessor :predicted_citations
106221
-
106222
- # The predicted new citations for this document over the next 5 years. This
106223
- # differs from the PredictedCitations field in that this is set for documents of
106224
- # all ages, whereas PredictedCitations is only set for new documents. This is
106225
- # also a prediction over a fixed time interval, whereas the time interval for
106226
- # PredictedCitations depends on the document's age.
106227
- # Corresponds to the JSON property `PredictedCitationsNext5Years`
106078
+ # Corresponds to the JSON property `textRichness`
106228
106079
  # @return [Float]
106229
- attr_accessor :predicted_citations_next5_years
106080
+ attr_accessor :text_richness
106230
106081
 
106231
- #
106232
- # Corresponds to the JSON property `PublicationDay`
106233
- # @return [Fixnum]
106234
- attr_accessor :publication_day
106235
-
106236
- #
106237
- # Corresponds to the JSON property `PublicationMonth`
106238
- # @return [Fixnum]
106239
- attr_accessor :publication_month
106082
+ def initialize(**args)
106083
+ update!(**args)
106084
+ end
106240
106085
 
106241
- # Publication date. Used both for ranking of recent articles and for display in
106242
- # the FE.
106243
- # Corresponds to the JSON property `PublicationYear`
106244
- # @return [Fixnum]
106245
- attr_accessor :publication_year
106086
+ # Update properties of this object
106087
+ def update!(**args)
106088
+ @articleness = args[:articleness] if args.key?(:articleness)
106089
+ @page_anchors = args[:page_anchors] if args.key?(:page_anchors)
106090
+ @qscore = args[:qscore] if args.key?(:qscore)
106091
+ @sitelink_wrapper = args[:sitelink_wrapper] if args.key?(:sitelink_wrapper)
106092
+ @text_richness = args[:text_richness] if args.key?(:text_richness)
106093
+ end
106094
+ end
106246
106095
 
106247
- # For links from websearch to scholar.
106248
- # Corresponds to the JSON property `ScholarId`
106249
- # @return [Fixnum]
106250
- attr_accessor :scholar_id
106096
+ #
106097
+ class SdrPageAnchorsSitelink
106098
+ include Google::Apis::Core::Hashable
106251
106099
 
106252
- # DEPRECATED e.g., fp("med")
106253
- # Corresponds to the JSON property `Subject`
106254
- # @return [Fixnum]
106255
- attr_accessor :subject
106100
+ # Needed for relevance scoring.
106101
+ # Corresponds to the JSON property `embedding`
106102
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106103
+ attr_accessor :embedding
106256
106104
 
106257
- # A string encoding the uni-, bi-, and trigram weights in the title. This is
106258
- # encoded and decoded by science_search/util/title_ngrams.h.
106259
- # Corresponds to the JSON property `TitleNgrams`
106260
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
106261
- # @return [String]
106262
- attr_accessor :title_ngrams
106105
+ # aggregate score from Section Geometry.
106106
+ # Corresponds to the JSON property `geometryScore`
106107
+ # @return [Float]
106108
+ attr_accessor :geometry_score
106263
106109
 
106264
- # Anchor count info for scorer
106265
- # Corresponds to the JSON property `TotalAnchors`
106266
- # @return [Fixnum]
106267
- attr_accessor :total_anchors
106110
+ # Heading Abbreviation score.
106111
+ # Corresponds to the JSON property `headingAbbrvScore`
106112
+ # @return [Float]
106113
+ attr_accessor :heading_abbrv_score
106268
106114
 
106269
- # The type of the article - paper, review, patent, etc.
106270
- # Corresponds to the JSON property `Type`
106271
- # @return [String]
106272
- attr_accessor :type
106115
+ # Needed for heading/passage filtering.
106116
+ # Corresponds to the JSON property `hpScore`
106117
+ # @return [Float]
106118
+ attr_accessor :hp_score
106273
106119
 
106274
106120
  #
106275
- # Corresponds to the JSON property `author`
106276
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataAuthor>]
106277
- attr_accessor :author
106121
+ # Corresponds to the JSON property `level`
106122
+ # @return [Fixnum]
106123
+ attr_accessor :level
106278
106124
 
106279
- #
106280
- # Corresponds to the JSON property `referencediscussion`
106281
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataReferenceDiscussion>]
106282
- attr_accessor :referencediscussion
106125
+ # Data needed to construct a go/scroll-to text fragment. The url fragment is: #:~
106126
+ # :text=[prefix-,]text_start,text_end
106127
+ # Corresponds to the JSON property `scrollTo`
106128
+ # @return [Google::Apis::ContentwarehouseV1::SdrScrollTo]
106129
+ attr_accessor :scroll_to
106283
106130
 
106284
- # Section markers, sorted by begin_position, no overlapping.
106285
- # Corresponds to the JSON property `section`
106286
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataSection>]
106287
- attr_accessor :section
106131
+ # Needed for Geometry Scoring and backoffs. from Section Geometry.
106132
+ # Corresponds to the JSON property `sectionHeight`
106133
+ # @return [Fixnum]
106134
+ attr_accessor :section_height
106288
106135
 
106289
- #
106290
- # Corresponds to the JSON property `signal`
106291
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataSignal>]
106292
- attr_accessor :signal
106136
+ # Heading/Reformulated text is needed to display.
106137
+ # Corresponds to the JSON property `text`
106138
+ # @return [String]
106139
+ attr_accessor :text
106293
106140
 
106294
106141
  def initialize(**args)
106295
106142
  update!(**args)
@@ -106297,83 +106144,51 @@ module Google
106297
106144
 
106298
106145
  # Update properties of this object
106299
106146
  def update!(**args)
106300
- @abstract_end_position = args[:abstract_end_position] if args.key?(:abstract_end_position)
106301
- @body_end_position = args[:body_end_position] if args.key?(:body_end_position)
106302
- @citation_prediction_signal = args[:citation_prediction_signal] if args.key?(:citation_prediction_signal)
106303
- @court_level = args[:court_level] if args.key?(:court_level)
106304
- @deprecated_crawl_time = args[:deprecated_crawl_time] if args.key?(:deprecated_crawl_time)
106305
- @discovery_age_in_days = args[:discovery_age_in_days] if args.key?(:discovery_age_in_days)
106306
- @discovery_timestamp = args[:discovery_timestamp] if args.key?(:discovery_timestamp)
106307
- @is_citation_only = args[:is_citation_only] if args.key?(:is_citation_only)
106308
- @non_scholarliness_penalty = args[:non_scholarliness_penalty] if args.key?(:non_scholarliness_penalty)
106309
- @num_backward_links = args[:num_backward_links] if args.key?(:num_backward_links)
106310
- @num_related = args[:num_related] if args.key?(:num_related)
106311
- @num_title_words = args[:num_title_words] if args.key?(:num_title_words)
106312
- @num_versions = args[:num_versions] if args.key?(:num_versions)
106313
- @off_dom_anchors = args[:off_dom_anchors] if args.key?(:off_dom_anchors)
106314
- @on_site_anchors = args[:on_site_anchors] if args.key?(:on_site_anchors)
106315
- @predicted_citations = args[:predicted_citations] if args.key?(:predicted_citations)
106316
- @predicted_citations_next5_years = args[:predicted_citations_next5_years] if args.key?(:predicted_citations_next5_years)
106317
- @publication_day = args[:publication_day] if args.key?(:publication_day)
106318
- @publication_month = args[:publication_month] if args.key?(:publication_month)
106319
- @publication_year = args[:publication_year] if args.key?(:publication_year)
106320
- @scholar_id = args[:scholar_id] if args.key?(:scholar_id)
106321
- @subject = args[:subject] if args.key?(:subject)
106322
- @title_ngrams = args[:title_ngrams] if args.key?(:title_ngrams)
106323
- @total_anchors = args[:total_anchors] if args.key?(:total_anchors)
106324
- @type = args[:type] if args.key?(:type)
106325
- @author = args[:author] if args.key?(:author)
106326
- @referencediscussion = args[:referencediscussion] if args.key?(:referencediscussion)
106327
- @section = args[:section] if args.key?(:section)
106328
- @signal = args[:signal] if args.key?(:signal)
106147
+ @embedding = args[:embedding] if args.key?(:embedding)
106148
+ @geometry_score = args[:geometry_score] if args.key?(:geometry_score)
106149
+ @heading_abbrv_score = args[:heading_abbrv_score] if args.key?(:heading_abbrv_score)
106150
+ @hp_score = args[:hp_score] if args.key?(:hp_score)
106151
+ @level = args[:level] if args.key?(:level)
106152
+ @scroll_to = args[:scroll_to] if args.key?(:scroll_to)
106153
+ @section_height = args[:section_height] if args.key?(:section_height)
106154
+ @text = args[:text] if args.key?(:text)
106329
106155
  end
106330
106156
  end
106331
106157
 
106332
- # Used for exact author boost and for display in the FE.
106333
- class SciencePerDocDataAuthor
106158
+ # This wrapper is used for passing in additional information to generate
106159
+ # embeddings in Goldmine.
106160
+ class SdrPageAnchorsSitelinkWrapper
106334
106161
  include Google::Apis::Core::Hashable
106335
106162
 
106336
106163
  #
106337
- # Corresponds to the JSON property `IsCJK`
106338
- # @return [Boolean]
106339
- attr_accessor :is_cjk
106340
- alias_method :is_cjk?, :is_cjk
106341
-
106342
- #
106343
- # Corresponds to the JSON property `LastName`
106164
+ # Corresponds to the JSON property `abbreviatedHeadingText`
106344
106165
  # @return [String]
106345
- attr_accessor :last_name
106166
+ attr_accessor :abbreviated_heading_text
106346
106167
 
106347
106168
  #
106348
- # Corresponds to the JSON property `OtherNames`
106349
- # @return [String]
106350
- attr_accessor :other_names
106351
-
106352
- def initialize(**args)
106353
- update!(**args)
106354
- end
106169
+ # Corresponds to the JSON property `abbrvEmbedding`
106170
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106171
+ attr_accessor :abbrv_embedding
106355
106172
 
106356
- # Update properties of this object
106357
- def update!(**args)
106358
- @is_cjk = args[:is_cjk] if args.key?(:is_cjk)
106359
- @last_name = args[:last_name] if args.key?(:last_name)
106360
- @other_names = args[:other_names] if args.key?(:other_names)
106361
- end
106362
- end
106173
+ #
106174
+ # Corresponds to the JSON property `headingEmbedding`
106175
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106176
+ attr_accessor :heading_embedding
106363
106177
 
106364
- #
106365
- class SciencePerDocDataReferenceDiscussion
106366
- include Google::Apis::Core::Hashable
106178
+ #
106179
+ # Corresponds to the JSON property `normalizedHeadingText`
106180
+ # @return [String]
106181
+ attr_accessor :normalized_heading_text
106367
106182
 
106368
106183
  #
106369
- # Corresponds to the JSON property `Level`
106370
- # @return [Fixnum]
106371
- attr_accessor :level
106184
+ # Corresponds to the JSON property `passageEmbedding`
106185
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106186
+ attr_accessor :passage_embedding
106372
106187
 
106373
106188
  #
106374
- # Corresponds to the JSON property `TargetID`
106375
- # @return [Fixnum]
106376
- attr_accessor :target_id
106189
+ # Corresponds to the JSON property `passageText`
106190
+ # @return [String]
106191
+ attr_accessor :passage_text
106377
106192
 
106378
106193
  def initialize(**args)
106379
106194
  update!(**args)
@@ -106381,29 +106196,48 @@ module Google
106381
106196
 
106382
106197
  # Update properties of this object
106383
106198
  def update!(**args)
106384
- @level = args[:level] if args.key?(:level)
106385
- @target_id = args[:target_id] if args.key?(:target_id)
106199
+ @abbreviated_heading_text = args[:abbreviated_heading_text] if args.key?(:abbreviated_heading_text)
106200
+ @abbrv_embedding = args[:abbrv_embedding] if args.key?(:abbrv_embedding)
106201
+ @heading_embedding = args[:heading_embedding] if args.key?(:heading_embedding)
106202
+ @normalized_heading_text = args[:normalized_heading_text] if args.key?(:normalized_heading_text)
106203
+ @passage_embedding = args[:passage_embedding] if args.key?(:passage_embedding)
106204
+ @passage_text = args[:passage_text] if args.key?(:passage_text)
106386
106205
  end
106387
106206
  end
106388
106207
 
106389
- #
106390
- class SciencePerDocDataSection
106208
+ # Data needed to construct a go/scroll-to text fragment. The url fragment is: #:~
106209
+ # :text=[prefix-,]text_start,text_end
106210
+ class SdrScrollTo
106391
106211
  include Google::Apis::Core::Hashable
106392
106212
 
106393
- # The first hit position at the start of the section.
106394
- # Corresponds to the JSON property `beginPosition`
106395
- # @return [Fixnum]
106396
- attr_accessor :begin_position
106213
+ # Number of matches in the page when using text alone, prefix + text, text +
106214
+ # suffix, and prefix + text + suffix. The match is case-insensitive to align
106215
+ # with go/scroll-to behavior.
106216
+ # Corresponds to the JSON property `onpageMatches`
106217
+ # @return [Google::Apis::ContentwarehouseV1::SdrScrollToOnPageMatches]
106218
+ attr_accessor :onpage_matches
106397
106219
 
106398
- # Delta in hit position from the start of the section to the end.
106399
- # Corresponds to the JSON property `numPositions`
106400
- # @return [Fixnum]
106401
- attr_accessor :num_positions
106220
+ # Prefix to help with disambiguating between multiple text matches on page.
106221
+ # Optional.
106222
+ # Corresponds to the JSON property `prefix`
106223
+ # @return [String]
106224
+ attr_accessor :prefix
106402
106225
 
106403
- #
106404
- # Corresponds to the JSON property `type`
106226
+ # Suffix to help with disambiguating between multiple text matches on page.
106227
+ # Optional.
106228
+ # Corresponds to the JSON property `suffix`
106405
106229
  # @return [String]
106406
- attr_accessor :type
106230
+ attr_accessor :suffix
106231
+
106232
+ # End of the text span to be highlighted. Optional.
106233
+ # Corresponds to the JSON property `textEnd`
106234
+ # @return [String]
106235
+ attr_accessor :text_end
106236
+
106237
+ # Start of the text span to be highlighted.
106238
+ # Corresponds to the JSON property `textStart`
106239
+ # @return [String]
106240
+ attr_accessor :text_start
106407
106241
 
106408
106242
  def initialize(**args)
106409
106243
  update!(**args)
@@ -106411,58 +106245,39 @@ module Google
106411
106245
 
106412
106246
  # Update properties of this object
106413
106247
  def update!(**args)
106414
- @begin_position = args[:begin_position] if args.key?(:begin_position)
106415
- @num_positions = args[:num_positions] if args.key?(:num_positions)
106416
- @type = args[:type] if args.key?(:type)
106248
+ @onpage_matches = args[:onpage_matches] if args.key?(:onpage_matches)
106249
+ @prefix = args[:prefix] if args.key?(:prefix)
106250
+ @suffix = args[:suffix] if args.key?(:suffix)
106251
+ @text_end = args[:text_end] if args.key?(:text_end)
106252
+ @text_start = args[:text_start] if args.key?(:text_start)
106417
106253
  end
106418
106254
  end
106419
106255
 
106420
- #
106421
- class SciencePerDocDataSignal
106256
+ # Number of matches in the page when using text alone, prefix + text, text +
106257
+ # suffix, and prefix + text + suffix. The match is case-insensitive to align
106258
+ # with go/scroll-to behavior.
106259
+ class SdrScrollToOnPageMatches
106422
106260
  include Google::Apis::Core::Hashable
106423
106261
 
106424
- # Values for different metrics
106425
- # Corresponds to the JSON property `avgCitations`
106426
- # @return [Float]
106427
- attr_accessor :avg_citations
106428
-
106429
- # Number of papers in the bucket for this paper/signal combination 16-bit value
106430
- # Corresponds to the JSON property `count`
106431
- # @return [Fixnum]
106432
- attr_accessor :count
106433
-
106434
- # Count of papers with 10 or more citations (ge is >=) 16-bit value
106435
- # Corresponds to the JSON property `geThres1Count`
106436
- # @return [Fixnum]
106437
- attr_accessor :ge_thres1_count
106438
-
106439
- # Count of papers with 50 or more citations 16-bit value
106440
- # Corresponds to the JSON property `geThres2Count`
106262
+ #
106263
+ # Corresponds to the JSON property `text`
106441
106264
  # @return [Fixnum]
106442
- attr_accessor :ge_thres2_count
106265
+ attr_accessor :text
106443
106266
 
106444
- # Signal type dependent (for Journals refers to the year) index must refers to
106445
- # years ago not absolute year. 8-bit value
106446
- # Corresponds to the JSON property `index`
106267
+ #
106268
+ # Corresponds to the JSON property `textWithPrefix`
106447
106269
  # @return [Fixnum]
106448
- attr_accessor :index
106270
+ attr_accessor :text_with_prefix
106449
106271
 
106450
106272
  #
106451
- # Corresponds to the JSON property `medianCitations`
106452
- # @return [Float]
106453
- attr_accessor :median_citations
106273
+ # Corresponds to the JSON property `textWithPrefixSuffix`
106274
+ # @return [Fixnum]
106275
+ attr_accessor :text_with_prefix_suffix
106454
106276
 
106455
106277
  #
106456
- # Corresponds to the JSON property `type`
106278
+ # Corresponds to the JSON property `textWithSuffix`
106457
106279
  # @return [Fixnum]
106458
- attr_accessor :type
106459
-
106460
- # Authors own a part of a paper value. This is the cumulative weight. If all
106461
- # papers falling into this bucket are single author papers, then weight will be
106462
- # equal to 1.0. Otherwise it will be smaller.
106463
- # Corresponds to the JSON property `weight`
106464
- # @return [Float]
106465
- attr_accessor :weight
106280
+ attr_accessor :text_with_suffix
106466
106281
 
106467
106282
  def initialize(**args)
106468
106283
  update!(**args)
@@ -106470,14 +106285,10 @@ module Google
106470
106285
 
106471
106286
  # Update properties of this object
106472
106287
  def update!(**args)
106473
- @avg_citations = args[:avg_citations] if args.key?(:avg_citations)
106474
- @count = args[:count] if args.key?(:count)
106475
- @ge_thres1_count = args[:ge_thres1_count] if args.key?(:ge_thres1_count)
106476
- @ge_thres2_count = args[:ge_thres2_count] if args.key?(:ge_thres2_count)
106477
- @index = args[:index] if args.key?(:index)
106478
- @median_citations = args[:median_citations] if args.key?(:median_citations)
106479
- @type = args[:type] if args.key?(:type)
106480
- @weight = args[:weight] if args.key?(:weight)
106288
+ @text = args[:text] if args.key?(:text)
106289
+ @text_with_prefix = args[:text_with_prefix] if args.key?(:text_with_prefix)
106290
+ @text_with_prefix_suffix = args[:text_with_prefix_suffix] if args.key?(:text_with_prefix_suffix)
106291
+ @text_with_suffix = args[:text_with_suffix] if args.key?(:text_with_suffix)
106481
106292
  end
106482
106293
  end
106483
106294
 
@@ -108095,6 +107906,12 @@ module Google
108095
107906
  # @return [Array<Google::Apis::ContentwarehouseV1::SitemapDeprecatedTarget>]
108096
107907
  attr_accessor :deprecated_target
108097
107908
 
107909
+ # This field is populated in the Sitemap MDU subpopulator from cdoc data. This
107910
+ # is used to store page anchors information for TopicTagsScrolltoFlow.
107911
+ # Corresponds to the JSON property `pageAnchorsDocInfo`
107912
+ # @return [Google::Apis::ContentwarehouseV1::SdrPageAnchorsDocInfo]
107913
+ attr_accessor :page_anchors_doc_info
107914
+
108098
107915
  # Enable site search.
108099
107916
  # Corresponds to the JSON property `searchInSite`
108100
107917
  # @return [Boolean]
@@ -108130,6 +107947,7 @@ module Google
108130
107947
  @deprecated_source_title = args[:deprecated_source_title] if args.key?(:deprecated_source_title)
108131
107948
  @target_groups = args[:target_groups] if args.key?(:target_groups)
108132
107949
  @deprecated_target = args[:deprecated_target] if args.key?(:deprecated_target)
107950
+ @page_anchors_doc_info = args[:page_anchors_doc_info] if args.key?(:page_anchors_doc_info)
108133
107951
  @search_in_site = args[:search_in_site] if args.key?(:search_in_site)
108134
107952
  @sitemap_type = args[:sitemap_type] if args.key?(:sitemap_type)
108135
107953
  @source_orgfp = args[:source_orgfp] if args.key?(:source_orgfp)
@@ -108679,7 +108497,7 @@ module Google
108679
108497
  # @return [Float]
108680
108498
  attr_accessor :brain_score
108681
108499
 
108682
- # Snippet candidate related information and signal scores.
108500
+ # Snippet candidate related information and signal scores. Next ID: 11
108683
108501
  # Corresponds to the JSON property `features`
108684
108502
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
108685
108503
  attr_accessor :features
@@ -108713,6 +108531,11 @@ module Google
108713
108531
  class SnippetExtraInfoSnippetsBrainModelInfo
108714
108532
  include Google::Apis::Core::Hashable
108715
108533
 
108534
+ #
108535
+ # Corresponds to the JSON property `ng3ModelName`
108536
+ # @return [String]
108537
+ attr_accessor :ng3_model_name
108538
+
108716
108539
  # The below fields are populated by SnippetFlow in superroot.
108717
108540
  # Corresponds to the JSON property `snippetsbrainModelName`
108718
108541
  # @return [String]
@@ -108734,6 +108557,7 @@ module Google
108734
108557
 
108735
108558
  # Update properties of this object
108736
108559
  def update!(**args)
108560
+ @ng3_model_name = args[:ng3_model_name] if args.key?(:ng3_model_name)
108737
108561
  @snippetsbrain_model_name = args[:snippetsbrain_model_name] if args.key?(:snippetsbrain_model_name)
108738
108562
  @snippetsbrain_model_partition = args[:snippetsbrain_model_partition] if args.key?(:snippetsbrain_model_partition)
108739
108563
  @snippetsbrain_tokenizer_type = args[:snippetsbrain_tokenizer_type] if args.key?(:snippetsbrain_tokenizer_type)
@@ -109728,8 +109552,7 @@ module Google
109728
109552
 
109729
109553
  # The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month,
109730
109554
  # week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the
109731
- # month are skipped. Negative values are relative from end of month (e.g. Last
109732
- # Friday of every month).
109555
+ # month are skipped.
109733
109556
  # Corresponds to the JSON property `weekDay`
109734
109557
  # @return [String]
109735
109558
  attr_accessor :week_day
@@ -110029,8 +109852,9 @@ module Google
110029
109852
  # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
110030
109853
  # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
110031
109854
  # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
110032
- # ContactsService (not in ProfileService) TODO(b/240850530) add link to
110033
- # validators when created.
109855
+ # ContactsService (not in ProfileService) The canonical recurrence validation
109856
+ # function is located here: http://google3/java/com/google/social/people/prompts/
109857
+ # util/PromptValidators.java?q=func:%5CbvalidateRecurrence%5Cb
110034
109858
  # Corresponds to the JSON property `recurrence`
110035
109859
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrence]
110036
109860
  attr_accessor :recurrence
@@ -110223,8 +110047,9 @@ module Google
110223
110047
  # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
110224
110048
  # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
110225
110049
  # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
110226
- # ContactsService (not in ProfileService) TODO(b/240850530) add link to
110227
- # validators when created.
110050
+ # ContactsService (not in ProfileService) The canonical recurrence validation
110051
+ # function is located here: http://google3/java/com/google/social/people/prompts/
110052
+ # util/PromptValidators.java?q=func:%5CbvalidateRecurrence%5Cb
110228
110053
  class SocialGraphApiProtoRecurrence
110229
110054
  include Google::Apis::Core::Hashable
110230
110055
 
@@ -110236,9 +110061,10 @@ module Google
110236
110061
  attr_accessor :daily_recurrence
110237
110062
 
110238
110063
  # Multiplier on the frequency of the recurrence. Use this to specify patterns
110239
- # that recur every X days, months, years, etc. Example: [remind me to call mom
110240
- # every 2nd week]. Default value will be considered 1 (every day,every week,...)
110241
- # and not 0. This is ignored for a SingleRecurrence. Optional.
110064
+ # that recur every X days, months, years, etc. Must be a positive int. Example: [
110065
+ # remind me to call mom every 2nd week]. If this field isn't set, it will
110066
+ # default to 1 (every day,every week, etc). This field is ignored when
110067
+ # recurrence_data is a SingleRecurrence. Optional.
110242
110068
  # Corresponds to the JSON property `every`
110243
110069
  # @return [Fixnum]
110244
110070
  attr_accessor :every
@@ -110288,7 +110114,7 @@ module Google
110288
110114
 
110289
110115
  # Will repeat only a finite number of times. This is the original number of
110290
110116
  # times the recurrence will repeat and not how many times are left for it to
110291
- # repeat.
110117
+ # repeat. This end type is not currently supported.
110292
110118
  # Corresponds to the JSON property `repeatCount`
110293
110119
  # @return [Fixnum]
110294
110120
  attr_accessor :repeat_count
@@ -110313,10 +110139,11 @@ module Google
110313
110139
 
110314
110140
  # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
110315
110141
  # monthly pattern and a set of months the pattern applies to. Some examples: "
110316
- # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
110317
- # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
110318
- # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
110319
- # ProfileService)
110142
+ # Every January 16" : monthly_pattern ` monthly_day_recurrence ` month_day: 16 `
110143
+ # ` months: JANUARY "Fourth Thursday of November and December" : monthly_pattern
110144
+ # ` monthly_weekday_recurrence ` week_day: THURSDAY week_day_number: 4 ` `
110145
+ # months: NOVEMBER months: DECEMBER Used in PeopleAPI layers + FBS/
110146
+ # ContactsService (not in ProfileService)
110320
110147
  # Corresponds to the JSON property `yearlyRecurrence`
110321
110148
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoYearlyRecurrence]
110322
110149
  attr_accessor :yearly_recurrence
@@ -110916,10 +110743,11 @@ module Google
110916
110743
 
110917
110744
  # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
110918
110745
  # monthly pattern and a set of months the pattern applies to. Some examples: "
110919
- # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
110920
- # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
110921
- # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
110922
- # ProfileService)
110746
+ # Every January 16" : monthly_pattern ` monthly_day_recurrence ` month_day: 16 `
110747
+ # ` months: JANUARY "Fourth Thursday of November and December" : monthly_pattern
110748
+ # ` monthly_weekday_recurrence ` week_day: THURSDAY week_day_number: 4 ` `
110749
+ # months: NOVEMBER months: DECEMBER Used in PeopleAPI layers + FBS/
110750
+ # ContactsService (not in ProfileService)
110923
110751
  class SocialGraphApiProtoYearlyRecurrence
110924
110752
  include Google::Apis::Core::Hashable
110925
110753
 
@@ -111526,6 +111354,58 @@ module Google
111526
111354
  end
111527
111355
  end
111528
111356
 
111357
+ # This holds SpamBrain values which will be populated to docjoins & muppet.
111358
+ # Proto is copied from spam_brain::SpamBrainData and populated at sitechunked
111359
+ # site level (as opposed to the spambrain page classifier score).
111360
+ class SpamBrainData
111361
+ include Google::Apis::Core::Hashable
111362
+
111363
+ # Sitechunker site granularity for this result
111364
+ # Corresponds to the JSON property `site`
111365
+ # @return [String]
111366
+ attr_accessor :site
111367
+
111368
+ # Versioned scores of SB classifiers
111369
+ # Corresponds to the JSON property `versionedData`
111370
+ # @return [Array<Google::Apis::ContentwarehouseV1::SpamBrainScore>]
111371
+ attr_accessor :versioned_data
111372
+
111373
+ def initialize(**args)
111374
+ update!(**args)
111375
+ end
111376
+
111377
+ # Update properties of this object
111378
+ def update!(**args)
111379
+ @site = args[:site] if args.key?(:site)
111380
+ @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
111381
+ end
111382
+ end
111383
+
111384
+ # Message representing versioned scores
111385
+ class SpamBrainScore
111386
+ include Google::Apis::Core::Hashable
111387
+
111388
+ # The value corresponding to this version.
111389
+ # Corresponds to the JSON property `sbScore`
111390
+ # @return [Float]
111391
+ attr_accessor :sb_score
111392
+
111393
+ # The version id.
111394
+ # Corresponds to the JSON property `versionId`
111395
+ # @return [Fixnum]
111396
+ attr_accessor :version_id
111397
+
111398
+ def initialize(**args)
111399
+ update!(**args)
111400
+ end
111401
+
111402
+ # Update properties of this object
111403
+ def update!(**args)
111404
+ @sb_score = args[:sb_score] if args.key?(:sb_score)
111405
+ @version_id = args[:version_id] if args.key?(:version_id)
111406
+ end
111407
+ end
111408
+
111529
111409
  # This protocol buffer indicates actions that we take based on Cookbook recipes (
111530
111410
  # see http://cookbook/) matching a particular document.
111531
111411
  class SpamCookbookAction
@@ -111766,6 +111646,81 @@ module Google
111766
111646
  end
111767
111647
  end
111768
111648
 
111649
+ # Metadata fields for LMS. See go/lms-online-restrictions for details.
111650
+ class StorageGraphBfgLmsPolicyMetadata
111651
+ include Google::Apis::Core::Hashable
111652
+
111653
+ #
111654
+ # Corresponds to the JSON property `clientIdsAllowed`
111655
+ # @return [Array<String>]
111656
+ attr_accessor :client_ids_allowed
111657
+
111658
+ #
111659
+ # Corresponds to the JSON property `isEditorial`
111660
+ # @return [Boolean]
111661
+ attr_accessor :is_editorial
111662
+ alias_method :is_editorial?, :is_editorial
111663
+
111664
+ # Int values corresponds to the values of image_repository.licensed.api.
111665
+ # restrictions.Modification enum.
111666
+ # Corresponds to the JSON property `modificationsAllowed`
111667
+ # @return [Array<Fixnum>]
111668
+ attr_accessor :modifications_allowed
111669
+
111670
+ # Wrapper message containing list of regions and their corresponding type of
111671
+ # region signal to use in data governance.
111672
+ # Corresponds to the JSON property `regionsAllowed`
111673
+ # @return [Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions]
111674
+ attr_accessor :regions_allowed
111675
+
111676
+ # Wrapper message containing list of regions and their corresponding type of
111677
+ # region signal to use in data governance.
111678
+ # Corresponds to the JSON property `regionsDisallowed`
111679
+ # @return [Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions]
111680
+ attr_accessor :regions_disallowed
111681
+
111682
+ #
111683
+ # Corresponds to the JSON property `requiresAttribution`
111684
+ # @return [Boolean]
111685
+ attr_accessor :requires_attribution
111686
+ alias_method :requires_attribution?, :requires_attribution
111687
+
111688
+ #
111689
+ # Corresponds to the JSON property `requiresFirstPartyOnly`
111690
+ # @return [Boolean]
111691
+ attr_accessor :requires_first_party_only
111692
+ alias_method :requires_first_party_only?, :requires_first_party_only
111693
+
111694
+ #
111695
+ # Corresponds to the JSON property `requiresLinkback`
111696
+ # @return [Boolean]
111697
+ attr_accessor :requires_linkback
111698
+ alias_method :requires_linkback?, :requires_linkback
111699
+
111700
+ #
111701
+ # Corresponds to the JSON property `requiresShareAlike`
111702
+ # @return [Boolean]
111703
+ attr_accessor :requires_share_alike
111704
+ alias_method :requires_share_alike?, :requires_share_alike
111705
+
111706
+ def initialize(**args)
111707
+ update!(**args)
111708
+ end
111709
+
111710
+ # Update properties of this object
111711
+ def update!(**args)
111712
+ @client_ids_allowed = args[:client_ids_allowed] if args.key?(:client_ids_allowed)
111713
+ @is_editorial = args[:is_editorial] if args.key?(:is_editorial)
111714
+ @modifications_allowed = args[:modifications_allowed] if args.key?(:modifications_allowed)
111715
+ @regions_allowed = args[:regions_allowed] if args.key?(:regions_allowed)
111716
+ @regions_disallowed = args[:regions_disallowed] if args.key?(:regions_disallowed)
111717
+ @requires_attribution = args[:requires_attribution] if args.key?(:requires_attribution)
111718
+ @requires_first_party_only = args[:requires_first_party_only] if args.key?(:requires_first_party_only)
111719
+ @requires_linkback = args[:requires_linkback] if args.key?(:requires_linkback)
111720
+ @requires_share_alike = args[:requires_share_alike] if args.key?(:requires_share_alike)
111721
+ end
111722
+ end
111723
+
111769
111724
  # Metadata about data governance policies. For more context, see go/ke-triple-dg-
111770
111725
  # policy-and-metadata. If any attribute is not set, then there's no specific
111771
111726
  # restrictions associated with the missing attribute. For example, if `
@@ -111812,48 +111767,10 @@ module Google
111812
111767
  # @return [Array<Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions>]
111813
111768
  attr_accessor :legal_removal_regions
111814
111769
 
111815
- # The following attributes with `lms_` prefix are for supporting LMS
111816
- # restrictions. See go/lms-online-restrictions for details.
111817
- # Corresponds to the JSON property `lmsIsEditorial`
111818
- # @return [Boolean]
111819
- attr_accessor :lms_is_editorial
111820
- alias_method :lms_is_editorial?, :lms_is_editorial
111821
-
111822
- # Wrapper message containing list of regions and their corresponding type of
111823
- # region signal to use in data governance.
111824
- # Corresponds to the JSON property `lmsRegionsAllowed`
111825
- # @return [Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions]
111826
- attr_accessor :lms_regions_allowed
111827
-
111828
- # Wrapper message containing list of regions and their corresponding type of
111829
- # region signal to use in data governance.
111830
- # Corresponds to the JSON property `lmsRegionsDisallowed`
111831
- # @return [Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions]
111832
- attr_accessor :lms_regions_disallowed
111833
-
111834
- #
111835
- # Corresponds to the JSON property `lmsRequiresAttribution`
111836
- # @return [Boolean]
111837
- attr_accessor :lms_requires_attribution
111838
- alias_method :lms_requires_attribution?, :lms_requires_attribution
111839
-
111840
- #
111841
- # Corresponds to the JSON property `lmsRequiresFirstPartyOnly`
111842
- # @return [Boolean]
111843
- attr_accessor :lms_requires_first_party_only
111844
- alias_method :lms_requires_first_party_only?, :lms_requires_first_party_only
111845
-
111846
- #
111847
- # Corresponds to the JSON property `lmsRequiresLink`
111848
- # @return [Boolean]
111849
- attr_accessor :lms_requires_link
111850
- alias_method :lms_requires_link?, :lms_requires_link
111851
-
111852
- #
111853
- # Corresponds to the JSON property `lmsRequiresShareAlike`
111854
- # @return [Boolean]
111855
- attr_accessor :lms_requires_share_alike
111856
- alias_method :lms_requires_share_alike?, :lms_requires_share_alike
111770
+ # Metadata fields for LMS. See go/lms-online-restrictions for details.
111771
+ # Corresponds to the JSON property `lmsPolicyMetadata`
111772
+ # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgLmsPolicyMetadata]
111773
+ attr_accessor :lms_policy_metadata
111857
111774
 
111858
111775
  # Policy metadata are VERTICAL by default. Vertical policy makers / providers
111859
111776
  # does not need to set this field explicitly.
@@ -111861,6 +111778,14 @@ module Google
111861
111778
  # @return [String]
111862
111779
  attr_accessor :policy_source_type
111863
111780
 
111781
+ # Metadata fields for UMP. A piece of data satisfies UMP policy if: (data access
111782
+ # region is in the `regions_allowed` list) AND (data access time >=
111783
+ # availability_start_timestamp) AND (data access time <
111784
+ # availability_end_timestamp)
111785
+ # Corresponds to the JSON property `umpPolicyMetadata`
111786
+ # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgUmpPolicyMetadata]
111787
+ attr_accessor :ump_policy_metadata
111788
+
111864
111789
  def initialize(**args)
111865
111790
  update!(**args)
111866
111791
  end
@@ -111871,14 +111796,9 @@ module Google
111871
111796
  @availability_start_timestamp = args[:availability_start_timestamp] if args.key?(:availability_start_timestamp)
111872
111797
  @legal_allowed_regions = args[:legal_allowed_regions] if args.key?(:legal_allowed_regions)
111873
111798
  @legal_removal_regions = args[:legal_removal_regions] if args.key?(:legal_removal_regions)
111874
- @lms_is_editorial = args[:lms_is_editorial] if args.key?(:lms_is_editorial)
111875
- @lms_regions_allowed = args[:lms_regions_allowed] if args.key?(:lms_regions_allowed)
111876
- @lms_regions_disallowed = args[:lms_regions_disallowed] if args.key?(:lms_regions_disallowed)
111877
- @lms_requires_attribution = args[:lms_requires_attribution] if args.key?(:lms_requires_attribution)
111878
- @lms_requires_first_party_only = args[:lms_requires_first_party_only] if args.key?(:lms_requires_first_party_only)
111879
- @lms_requires_link = args[:lms_requires_link] if args.key?(:lms_requires_link)
111880
- @lms_requires_share_alike = args[:lms_requires_share_alike] if args.key?(:lms_requires_share_alike)
111799
+ @lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
111881
111800
  @policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
111801
+ @ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
111882
111802
  end
111883
111803
  end
111884
111804
 
@@ -112140,6 +112060,41 @@ module Google
112140
112060
  end
112141
112061
  end
112142
112062
 
112063
+ # Metadata fields for UMP. A piece of data satisfies UMP policy if: (data access
112064
+ # region is in the `regions_allowed` list) AND (data access time >=
112065
+ # availability_start_timestamp) AND (data access time <
112066
+ # availability_end_timestamp)
112067
+ class StorageGraphBfgUmpPolicyMetadata
112068
+ include Google::Apis::Core::Hashable
112069
+
112070
+ # Timestamp after which data with this policy cannot be used.
112071
+ # Corresponds to the JSON property `availabilityEnds`
112072
+ # @return [String]
112073
+ attr_accessor :availability_ends
112074
+
112075
+ # Timestamp before which data with this policy cannot be used.
112076
+ # Corresponds to the JSON property `availabilityStarts`
112077
+ # @return [String]
112078
+ attr_accessor :availability_starts
112079
+
112080
+ # Wrapper message containing list of regions and their corresponding type of
112081
+ # region signal to use in data governance.
112082
+ # Corresponds to the JSON property `regionsAllowed`
112083
+ # @return [Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions]
112084
+ attr_accessor :regions_allowed
112085
+
112086
+ def initialize(**args)
112087
+ update!(**args)
112088
+ end
112089
+
112090
+ # Update properties of this object
112091
+ def update!(**args)
112092
+ @availability_ends = args[:availability_ends] if args.key?(:availability_ends)
112093
+ @availability_starts = args[:availability_starts] if args.key?(:availability_starts)
112094
+ @regions_allowed = args[:regions_allowed] if args.key?(:regions_allowed)
112095
+ end
112096
+ end
112097
+
112143
112098
  # LINT.IfChange Next ID: 101
112144
112099
  class SuperrootPodcastsRecommendationsPodcastRecsFeatures
112145
112100
  include Google::Apis::Core::Hashable
@@ -115664,7 +115619,7 @@ module Google
115664
115619
  end
115665
115620
 
115666
115621
  # Proto message containing the id, localized title, score, and hierarchy level
115667
- # of a trusted genome entity.
115622
+ # of a trusted genome entity. Next ID: 10
115668
115623
  class VendingConsumerProtoTrustedGenomeEntity
115669
115624
  include Google::Apis::Core::Hashable
115670
115625
 
@@ -115687,6 +115642,11 @@ module Google
115687
115642
  # @return [Fixnum]
115688
115643
  attr_accessor :level
115689
115644
 
115645
+ # The name of the relation between the app and the entity. Required.
115646
+ # Corresponds to the JSON property `predicateName`
115647
+ # @return [String]
115648
+ attr_accessor :predicate_name
115649
+
115690
115650
  # The localized query string for this trusted genome entity. This query will be
115691
115651
  # used when we want to bring users to SERP on click.
115692
115652
  # Corresponds to the JSON property `queryText`
@@ -115719,6 +115679,7 @@ module Google
115719
115679
  @category_id = args[:category_id] if args.key?(:category_id)
115720
115680
  @id = args[:id] if args.key?(:id)
115721
115681
  @level = args[:level] if args.key?(:level)
115682
+ @predicate_name = args[:predicate_name] if args.key?(:predicate_name)
115722
115683
  @query_text = args[:query_text] if args.key?(:query_text)
115723
115684
  @score = args[:score] if args.key?(:score)
115724
115685
  @title = args[:title] if args.key?(:title)
@@ -116376,7 +116337,7 @@ module Google
116376
116337
 
116377
116338
  # This defines the per-doc data which is extracted from thumbnails and
116378
116339
  # propagated over to indexing. It contains all information that can be used for
116379
- # restricts. Next tag id: 127
116340
+ # restricts. Next tag id: 128
116380
116341
  # Corresponds to the JSON property `imageData`
116381
116342
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
116382
116343
  attr_accessor :image_data
@@ -117140,7 +117101,7 @@ module Google
117140
117101
  # Intended to be simpler to work with than the ExportedStanza it's derived from
117141
117102
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
117142
117103
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
117143
- # 74
117104
+ # 75
117144
117105
  # Corresponds to the JSON property `miniStanza`
117145
117106
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
117146
117107
  attr_accessor :mini_stanza
@@ -120166,6 +120127,11 @@ module Google
120166
120127
  # @return [Float]
120167
120128
  attr_accessor :average_description_quality
120168
120129
 
120130
+ # Furball URL(s) of the rating score (may have been rated more than once)
120131
+ # Corresponds to the JSON property `furballUrl`
120132
+ # @return [Array<String>]
120133
+ attr_accessor :furball_url
120134
+
120169
120135
  def initialize(**args)
120170
120136
  update!(**args)
120171
120137
  end
@@ -120174,6 +120140,7 @@ module Google
120174
120140
  def update!(**args)
120175
120141
  @average_bookmark_usefulness = args[:average_bookmark_usefulness] if args.key?(:average_bookmark_usefulness)
120176
120142
  @average_description_quality = args[:average_description_quality] if args.key?(:average_description_quality)
120143
+ @furball_url = args[:furball_url] if args.key?(:furball_url)
120177
120144
  end
120178
120145
  end
120179
120146
 
@@ -124888,7 +124855,7 @@ module Google
124888
124855
  # that we can control individual fields that will sit in Muppet. Data here will
124889
124856
  # be used for scoring organic shopping web results and previews. Many shopping
124890
124857
  # related signals, e.g., product review score, are also served from this
124891
- # attachment. Next ID: 20
124858
+ # attachment. Next ID: 21
124892
124859
  # Corresponds to the JSON property `shoppingAttachment`
124893
124860
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachment]
124894
124861
  attr_accessor :shopping_attachment
@@ -125948,7 +125915,7 @@ module Google
125948
125915
  # Intended to be simpler to work with than the ExportedStanza it's derived from
125949
125916
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
125950
125917
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
125951
- # 74
125918
+ # 75
125952
125919
  class YoutubeCommentsClusteringMiniStanza
125953
125920
  include Google::Apis::Core::Hashable
125954
125921
 
@@ -126285,6 +126252,11 @@ module Google
126285
126252
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsRankingYouTubeCommentTextQualityAnnotation]
126286
126253
  attr_accessor :text_quality_scores
126287
126254
 
126255
+ # Text quality scores for a single comment.
126256
+ # Corresponds to the JSON property `textQualityScores2`
126257
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsRankingYouTubeCommentTextQualityAnnotation]
126258
+ attr_accessor :text_quality_scores2
126259
+
126288
126260
  # The video this comment belongs to.
126289
126261
  # Corresponds to the JSON property `videoId`
126290
126262
  # @return [String]
@@ -126386,6 +126358,7 @@ module Google
126386
126358
  @text_embedding = args[:text_embedding] if args.key?(:text_embedding)
126387
126359
  @text_length = args[:text_length] if args.key?(:text_length)
126388
126360
  @text_quality_scores = args[:text_quality_scores] if args.key?(:text_quality_scores)
126361
+ @text_quality_scores2 = args[:text_quality_scores2] if args.key?(:text_quality_scores2)
126389
126362
  @video_id = args[:video_id] if args.key?(:video_id)
126390
126363
  @video_timestamps = args[:video_timestamps] if args.key?(:video_timestamps)
126391
126364
  @word_entropy = args[:word_entropy] if args.key?(:word_entropy)