google-apis-contentwarehouse_v1 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -3518,10 +3524,10 @@ module Google
3518
3524
  end
3519
3525
  end
3520
3526
 
3521
- # Under development. Represents a hosted S/MIME certificate config for use with
3522
- # Gmail. See //caribou/smime/proto/certificate_status.proto. There can be zero
3523
- # or more certificates associated with an email address, be it profile email or
3524
- # contact email.
3527
+ # Represents a hosted S/MIME certificate config for use with Gmail. See //
3528
+ # caribou/smime/proto/certificate_status.proto. There can be zero or more
3529
+ # certificates associated with an email address, be it profile email or contact
3530
+ # email.
3525
3531
  class AppsPeopleOzExternalMergedpeopleapiEmailCertificate
3526
3532
  include Google::Apis::Core::Hashable
3527
3533
 
@@ -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
@@ -9080,9 +9092,8 @@ module Google
9080
9092
 
9081
9093
  #
9082
9094
  # Corresponds to the JSON property `enabled`
9083
- # @return [Boolean]
9095
+ # @return [String]
9084
9096
  attr_accessor :enabled
9085
- alias_method :enabled?, :enabled
9086
9097
 
9087
9098
  def initialize(**args)
9088
9099
  update!(**args)
@@ -9669,7 +9680,7 @@ module Google
9669
9680
  end
9670
9681
  end
9671
9682
 
9672
- # The android app information of the provider. Like, Spotify. Next ID: 15 LINT.
9683
+ # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
9673
9684
  # IfChange
9674
9685
  class AssistantApiCoreTypesAndroidAppInfo
9675
9686
  include Google::Apis::Core::Hashable
@@ -9771,6 +9782,12 @@ module Google
9771
9782
  # @return [String]
9772
9783
  attr_accessor :shortcut_id
9773
9784
 
9785
+ # The fully qualified target class name of the provider, like "com.example.myapp.
9786
+ # GetOrderService".
9787
+ # Corresponds to the JSON property `targetClass`
9788
+ # @return [String]
9789
+ attr_accessor :target_class
9790
+
9774
9791
  # The android app version name, like "4.1.091.05.40d", "11.2.7.21.alpha".
9775
9792
  # Android Docs: https://developer.android.com/reference/android/content/pm/
9776
9793
  # PackageInfo#versionName
@@ -9797,6 +9814,7 @@ module Google
9797
9814
  @package_name = args[:package_name] if args.key?(:package_name)
9798
9815
  @provider_type = args[:provider_type] if args.key?(:provider_type)
9799
9816
  @shortcut_id = args[:shortcut_id] if args.key?(:shortcut_id)
9817
+ @target_class = args[:target_class] if args.key?(:target_class)
9800
9818
  @version_name = args[:version_name] if args.key?(:version_name)
9801
9819
  end
9802
9820
  end
@@ -9806,7 +9824,7 @@ module Google
9806
9824
  class AssistantApiCoreTypesAndroidAppInfoDelta
9807
9825
  include Google::Apis::Core::Hashable
9808
9826
 
9809
- # The android app information of the provider. Like, Spotify. Next ID: 15 LINT.
9827
+ # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
9810
9828
  # IfChange
9811
9829
  # Corresponds to the JSON property `androidAppInfo`
9812
9830
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -11441,7 +11459,7 @@ module Google
11441
11459
  class AssistantApiCoreTypesProvider
11442
11460
  include Google::Apis::Core::Hashable
11443
11461
 
11444
- # The android app information of the provider. Like, Spotify. Next ID: 15 LINT.
11462
+ # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
11445
11463
  # IfChange
11446
11464
  # Corresponds to the JSON property `androidAppInfo`
11447
11465
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -12018,7 +12036,7 @@ module Google
12018
12036
  attr_accessor :location
12019
12037
 
12020
12038
  # Data which is produced for logging and debugging. Servers MUST NOT use this
12021
- # 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
12022
12040
  # Corresponds to the JSON property `loggingOnlyData`
12023
12041
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiLoggingOnlyData]
12024
12042
  attr_accessor :logging_only_data
@@ -12816,10 +12834,18 @@ module Google
12816
12834
  end
12817
12835
 
12818
12836
  # Data which is produced for logging and debugging. Servers MUST NOT use this
12819
- # 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
12820
12838
  class AssistantApiLoggingOnlyData
12821
12839
  include Google::Apis::Core::Hashable
12822
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
+
12823
12849
  # A user-readable string describing the ACP version (go/acp-version) of the
12824
12850
  # client app used by the user to originate the conversation.
12825
12851
  # Corresponds to the JSON property `acpVersion`
@@ -12902,6 +12928,7 @@ module Google
12902
12928
 
12903
12929
  # Update properties of this object
12904
12930
  def update!(**args)
12931
+ @account_index = args[:account_index] if args.key?(:account_index)
12905
12932
  @acp_version = args[:acp_version] if args.key?(:acp_version)
12906
12933
  @android_id = args[:android_id] if args.key?(:android_id)
12907
12934
  @app_version = args[:app_version] if args.key?(:app_version)
@@ -16292,13 +16319,15 @@ module Google
16292
16319
  alias_method :click_impersonation_supported?, :click_impersonation_supported
16293
16320
 
16294
16321
  # Whether client supports suggestion chips with colored background/border.
16322
+ # Deprecated in favor of go/color-token-suggestion-chip.
16295
16323
  # Corresponds to the JSON property `coloredChipBackgroundBorderSupported`
16296
16324
  # @return [Boolean]
16297
16325
  attr_accessor :colored_chip_background_border_supported
16298
16326
  alias_method :colored_chip_background_border_supported?, :colored_chip_background_border_supported
16299
16327
 
16300
16328
  # Whether client supports suggestion chips with colored text. See design doc:
16301
- # 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.
16302
16331
  # Corresponds to the JSON property `coloredChipTextSupported`
16303
16332
  # @return [Boolean]
16304
16333
  attr_accessor :colored_chip_text_supported
@@ -16881,7 +16910,7 @@ module Google
16881
16910
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSignInMethod]
16882
16911
  attr_accessor :sign_in_method
16883
16912
 
16884
- # Whether the client can monitor sleep. This allows us to show sleep CUJ realted
16913
+ # Whether the client can monitor sleep. This allows us to show sleep CUJ related
16885
16914
  # information: go/TwilightDesign Use for development only, see the same field in
16886
16915
  # DeviceCapabilities.SoftwareCapabilities.SelinaCapabilities.
16887
16916
  # Corresponds to the JSON property `sleepSensingSupported`
@@ -18643,22 +18672,26 @@ module Google
18643
18672
  # @return [String]
18644
18673
  attr_accessor :matched_name_type
18645
18674
 
18646
- # 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)
18647
18677
  # Corresponds to the JSON property `numAlternateNameFromFuzzyContactMatch`
18648
18678
  # @return [Float]
18649
18679
  attr_accessor :num_alternate_name_from_fuzzy_contact_match
18650
18680
 
18651
- # 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)
18652
18683
  # Corresponds to the JSON property `numAlternateNamesFromS3`
18653
18684
  # @return [Float]
18654
18685
  attr_accessor :num_alternate_names_from_s3
18655
18686
 
18656
- # 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)
18657
18689
  # Corresponds to the JSON property `numAlternativeNamesFromInterpretation`
18658
18690
  # @return [Float]
18659
18691
  attr_accessor :num_alternative_names_from_interpretation
18660
18692
 
18661
- # 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)
18662
18695
  # Corresponds to the JSON property `numCandidates`
18663
18696
  # @return [Float]
18664
18697
  attr_accessor :num_candidates
@@ -18689,7 +18722,7 @@ module Google
18689
18722
  end
18690
18723
  end
18691
18724
 
18692
- # Next ID: 3
18725
+ # Next ID: 4
18693
18726
  class AssistantGroundingRankerGroundingProviderFeatures
18694
18727
  include Google::Apis::Core::Hashable
18695
18728
 
@@ -18703,6 +18736,11 @@ module Google
18703
18736
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18704
18737
  attr_accessor :media_grounding_provider_features
18705
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
+
18706
18744
  def initialize(**args)
18707
18745
  update!(**args)
18708
18746
  end
@@ -18711,6 +18749,7 @@ module Google
18711
18749
  def update!(**args)
18712
18750
  @contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
18713
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)
18714
18753
  end
18715
18754
  end
18716
18755
 
@@ -18740,6 +18779,26 @@ module Google
18740
18779
  end
18741
18780
  end
18742
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
+
18743
18802
  #
18744
18803
  class AssistantLogsAllMediaStreamLog
18745
18804
  include Google::Apis::Core::Hashable
@@ -18782,6 +18841,17 @@ module Google
18782
18841
  # @return [Array<Fixnum>]
18783
18842
  attr_accessor :ambiguous_device_index
18784
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
+
18785
18855
  # The information related to the device.
18786
18856
  # Corresponds to the JSON property `finalTargetDevice`
18787
18857
  # @return [Google::Apis::ContentwarehouseV1::AssistantLogsDeviceInfoLog]
@@ -18811,6 +18881,7 @@ module Google
18811
18881
  # Update properties of this object
18812
18882
  def update!(**args)
18813
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)
18814
18885
  @final_target_device = args[:final_target_device] if args.key?(:final_target_device)
18815
18886
  @playability_filtered_devices_index = args[:playability_filtered_devices_index] if args.key?(:playability_filtered_devices_index)
18816
18887
  @punt_info_log = args[:punt_info_log] if args.key?(:punt_info_log)
@@ -20294,7 +20365,7 @@ module Google
20294
20365
 
20295
20366
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20296
20367
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20297
- # Next ID: 30
20368
+ # Next ID: 34
20298
20369
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20299
20370
  include Google::Apis::Core::Hashable
20300
20371
 
@@ -20329,7 +20400,7 @@ module Google
20329
20400
  # @return [Float]
20330
20401
  attr_accessor :groundability_score
20331
20402
 
20332
- # Next ID: 3
20403
+ # Next ID: 4
20333
20404
  # Corresponds to the JSON property `groundingProviderFeatures`
20334
20405
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20335
20406
  attr_accessor :grounding_provider_features
@@ -20357,6 +20428,20 @@ module Google
20357
20428
  # @return [Float]
20358
20429
  attr_accessor :intent_name_auis_score_exp
20359
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
+
20438
+ # The rank order of the interpretation as determined by kscorer. The kscorer-
20439
+ # determined dominant interpretation, if any, gets a rank of 0. The remaining N
20440
+ # interpretations get a rank of 1 through N.
20441
+ # Corresponds to the JSON property `kscorerRank`
20442
+ # @return [Fixnum]
20443
+ attr_accessor :kscorer_rank
20444
+
20360
20445
  # This feature is always false / no-op in serving time. In training time, this
20361
20446
  # feature may be set true on specific examples for weighted training where when
20362
20447
  # this signal is true, only cross-intent level features are used for training
@@ -20420,6 +20505,18 @@ module Google
20420
20505
  # @return [Float]
20421
20506
  attr_accessor :pq2t_vs_ibst_cosine
20422
20507
 
20508
+ # Intent confidence predicted by the AssistantVerticalClassifier QRewrite
20509
+ # servlet.
20510
+ # Corresponds to the JSON property `predictedIntentConfidence`
20511
+ # @return [Float]
20512
+ attr_accessor :predicted_intent_confidence
20513
+
20514
+ # The determination made by the SearchDispatchingConfig as to whether and how
20515
+ # this interpretation should be dispatched to Search.
20516
+ # Corresponds to the JSON property `searchDispatch`
20517
+ # @return [String]
20518
+ attr_accessor :search_dispatch
20519
+
20423
20520
  # Average of per-word confidence for top speech recognition hypothesis. The
20424
20521
  # value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
20425
20522
  # service/recognizer_log.proto?l=848&rcl=281400256
@@ -20449,6 +20546,8 @@ module Google
20449
20546
  @intent_name = args[:intent_name] if args.key?(:intent_name)
20450
20547
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
20451
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)
20550
+ @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
20452
20551
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
20453
20552
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
20454
20553
  @num_constraints = args[:num_constraints] if args.key?(:num_constraints)
@@ -20459,6 +20558,8 @@ module Google
20459
20558
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
20460
20559
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
20461
20560
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
20561
+ @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
20562
+ @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
20462
20563
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
20463
20564
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
20464
20565
  end
@@ -21081,7 +21182,7 @@ module Google
21081
21182
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
21082
21183
  attr_accessor :dto_query_info
21083
21184
 
21084
- # Next ID: 40
21185
+ # Next ID: 42
21085
21186
  # Corresponds to the JSON property `homeautomationMetadata`
21086
21187
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21087
21188
  attr_accessor :homeautomation_metadata
@@ -21128,7 +21229,7 @@ module Google
21128
21229
  class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
21129
21230
  include Google::Apis::Core::Hashable
21130
21231
 
21131
- # Next ID: 40
21232
+ # Next ID: 42
21132
21233
  # Corresponds to the JSON property `homeautomationMetadata`
21133
21234
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21134
21235
  attr_accessor :homeautomation_metadata
@@ -21161,7 +21262,7 @@ module Google
21161
21262
  end
21162
21263
  end
21163
21264
 
21164
- # Next ID: 40
21265
+ # Next ID: 42
21165
21266
  class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
21166
21267
  include Google::Apis::Core::Hashable
21167
21268
 
@@ -21279,6 +21380,12 @@ module Google
21279
21380
  # @return [Array<Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoAgentDeviceId>]
21280
21381
  attr_accessor :other_device_ids
21281
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
+
21282
21389
  # LINT.IfChange(home_graph_single_parent) At the moment, we just have a single
21283
21390
  # string. In future this will expand with additional metadata from client or
21284
21391
  # cloud execution data store. In today's 'tree' HomeGraph each object has a
@@ -21390,6 +21497,13 @@ module Google
21390
21497
  # @return [Hash<String,Fixnum>]
21391
21498
  attr_accessor :target_device_signal_strengths
21392
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
+
21393
21507
  # For SHED devices, some traits can only be executed on 3P cloud, e.g. "action.
21394
21508
  # devices.traits.MediaInitiation", "action.devices.traits.Channel" go/shed-per-
21395
21509
  # trait-routing
@@ -21470,6 +21584,7 @@ module Google
21470
21584
  @opaque_custom_data = args[:opaque_custom_data] if args.key?(:opaque_custom_data)
21471
21585
  @operational_node_id = args[:operational_node_id] if args.key?(:operational_node_id)
21472
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)
21473
21588
  @parent_node = args[:parent_node] if args.key?(:parent_node)
21474
21589
  @parent_type = args[:parent_type] if args.key?(:parent_type)
21475
21590
  @personalized_nicknames = args[:personalized_nicknames] if args.key?(:personalized_nicknames)
@@ -21485,6 +21600,7 @@ module Google
21485
21600
  @supported_traits_by_agent = args[:supported_traits_by_agent] if args.key?(:supported_traits_by_agent)
21486
21601
  @supports_direct_response = args[:supports_direct_response] if args.key?(:supports_direct_response)
21487
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)
21488
21604
  @trait_routing_hints = args[:trait_routing_hints] if args.key?(:trait_routing_hints)
21489
21605
  @trait_routing_table = args[:trait_routing_table] if args.key?(:trait_routing_table)
21490
21606
  @trait_to_attribute_protos = args[:trait_to_attribute_protos] if args.key?(:trait_to_attribute_protos)
@@ -23112,11 +23228,11 @@ module Google
23112
23228
  end
23113
23229
 
23114
23230
  # Protocol record used for collecting together all information about a document.
23115
- # Please consult go/dme for two basic questions about `CompositeDoc`: - Where
23116
- # should I look up certain information (e.g: pagerank, language)? - What does
23117
- # each field in CompositeDoc mean and who should I contact if I have questions?
23118
- # To add a new field into CompositeDoc, or change existing field's size
23119
- # 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
23120
23236
  # information and get approved by docjoin-access@ team. Next id: 191
23121
23237
  class CompositeDoc
23122
23238
  include Google::Apis::Core::Hashable
@@ -23306,7 +23422,7 @@ module Google
23306
23422
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23307
23423
  # available tag deprecated, use this (and look for commented out fields): blaze-
23308
23424
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23309
- # perdocdata.proto Next tag: 217
23425
+ # perdocdata.proto Next tag: 219
23310
23426
  # Corresponds to the JSON property `perDocData`
23311
23427
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23312
23428
  attr_accessor :per_doc_data
@@ -23667,7 +23783,7 @@ module Google
23667
23783
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23668
23784
  # available tag deprecated, use this (and look for commented out fields): blaze-
23669
23785
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23670
- # perdocdata.proto Next tag: 217
23786
+ # perdocdata.proto Next tag: 219
23671
23787
  # Corresponds to the JSON property `perDocData`
23672
23788
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23673
23789
  attr_accessor :per_doc_data
@@ -23917,11 +24033,11 @@ module Google
23917
24033
  attr_accessor :experiment_id
23918
24034
 
23919
24035
  # Protocol record used for collecting together all information about a document.
23920
- # Please consult go/dme for two basic questions about `CompositeDoc`: - Where
23921
- # should I look up certain information (e.g: pagerank, language)? - What does
23922
- # each field in CompositeDoc mean and who should I contact if I have questions?
23923
- # To add a new field into CompositeDoc, or change existing field's size
23924
- # 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
23925
24041
  # information and get approved by docjoin-access@ team. Next id: 191
23926
24042
  # Corresponds to the JSON property `partialCdoc`
23927
24043
  # @return [Google::Apis::ContentwarehouseV1::CompositeDoc]
@@ -24213,7 +24329,7 @@ module Google
24213
24329
  attr_accessor :experimental_qstar_site_signal
24214
24330
 
24215
24331
  # S2V low quality score: converted from quality_nsr.NsrData, applied in Qstar.
24216
- # See NsrUtil::ConvertNsrDataToLowQuality.
24332
+ # See quality_nsr::util::ConvertNsrDataToLowQuality.
24217
24333
  # Corresponds to the JSON property `lowQuality`
24218
24334
  # @return [Fixnum]
24219
24335
  attr_accessor :low_quality
@@ -27789,6 +27905,11 @@ module Google
27789
27905
  # @return [Array<Google::Apis::ContentwarehouseV1::FatcatCompactTaxonomicClassificationCategory>]
27790
27906
  attr_accessor :category
27791
27907
 
27908
+ #
27909
+ # Corresponds to the JSON property `classifierVersion`
27910
+ # @return [String]
27911
+ attr_accessor :classifier_version
27912
+
27792
27913
  # Either taxonomy will be set, using the enum above, or taxonomy_name will be
27793
27914
  # set (if the taxonomy is not one of the ones in the enum) - never both
27794
27915
  # Corresponds to the JSON property `taxonomy`
@@ -27807,6 +27928,7 @@ module Google
27807
27928
  # Update properties of this object
27808
27929
  def update!(**args)
27809
27930
  @category = args[:category] if args.key?(:category)
27931
+ @classifier_version = args[:classifier_version] if args.key?(:classifier_version)
27810
27932
  @taxonomy = args[:taxonomy] if args.key?(:taxonomy)
27811
27933
  @taxonomy_name = args[:taxonomy_name] if args.key?(:taxonomy_name)
27812
27934
  end
@@ -29305,22 +29427,22 @@ module Google
29305
29427
  # actual contents depends on where in the Geo/Google stack you are reading a
29306
29428
  # feature: 1. When an address is initially parsed via a feed or other raw input
29307
29429
  # and structured as an AddressProto, parsed_name should contain the set of names
29308
- # that corresponds to the (possibly normalized) raw text from the raw input. In
29309
- # 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
29310
29432
  # feature_id. Any address formatting directly from MapFacts should follow links
29311
29433
  # to retrieve names when possible. The parsed_name contents may be formatted
29312
29434
  # directly if the address component is unlinked following the same rules as
29313
29435
  # selecting and formatting the name of a feature. The cached parsed_name is
29314
29436
  # regularly refreshed from the linked feature with the minimal set of names for
29315
29437
  # address components (usually just a single, preferred name, in the local
29316
- # language). 2. In serving systems, the names of linked features may be
29317
- # denormalized into the parsed_name field to facilitate quicker address
29318
- # formatting or for simple data filtering (e.g. finding all geocodes in
29319
- # California by name). If reading a feature from such a system, the parsed_name
29320
- # field could contain multiple names in multiple languages that reflect a cached
29321
- # copy of the names associated with the linked features. Formatting of such
29322
- # names should follow the same rules as selecting and formatting the name of a
29323
- # 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.
29324
29446
  # Corresponds to the JSON property `parsedName`
29325
29447
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreNameProto>]
29326
29448
  attr_accessor :parsed_name
@@ -30417,6 +30539,21 @@ module Google
30417
30539
  # @return [Google::Apis::ContentwarehouseV1::GeostorePriceRangeProto]
30418
30540
  attr_accessor :price
30419
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
+
30420
30557
  def initialize(**args)
30421
30558
  update!(**args)
30422
30559
  end
@@ -30429,6 +30566,8 @@ module Google
30429
30566
  @name_info = args[:name_info] if args.key?(:name_info)
30430
30567
  @offered = args[:offered] if args.key?(:offered)
30431
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)
30432
30571
  end
30433
30572
  end
30434
30573
 
@@ -35328,6 +35467,57 @@ module Google
35328
35467
  end
35329
35468
  end
35330
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
+
35331
35521
  # Providers of PriceInfo (e.g. SinglePlatform, YEXT) send verified and
35332
35522
  # unverified listings. PriceInfoStatus is used to encapsulate this information.
35333
35523
  class GeostorePriceInfoStatus
@@ -35410,6 +35600,12 @@ module Google
35410
35600
  class GeostorePriceListProto
35411
35601
  include Google::Apis::Core::Hashable
35412
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
+
35413
35609
  # The time period when this price list is available. Establishments are not
35414
35610
  # required to give available_time for any given price list, however, when this
35415
35611
  # field is not set, the price list is understood as available any time the
@@ -35444,6 +35640,12 @@ module Google
35444
35640
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceListSectionProto>]
35445
35641
  attr_accessor :section
35446
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
+
35447
35649
  # Hold a list of URLs, usually to contain translations of a single URL.
35448
35650
  # Corresponds to the JSON property `sourceUrl`
35449
35651
  # @return [Google::Apis::ContentwarehouseV1::GeostoreUrlListProto]
@@ -35455,10 +35657,12 @@ module Google
35455
35657
 
35456
35658
  # Update properties of this object
35457
35659
  def update!(**args)
35660
+ @aggregator_id = args[:aggregator_id] if args.key?(:aggregator_id)
35458
35661
  @available_time = args[:available_time] if args.key?(:available_time)
35459
35662
  @cuisines = args[:cuisines] if args.key?(:cuisines)
35460
35663
  @name_info = args[:name_info] if args.key?(:name_info)
35461
35664
  @section = args[:section] if args.key?(:section)
35665
+ @source_details = args[:source_details] if args.key?(:source_details)
35462
35666
  @source_url = args[:source_url] if args.key?(:source_url)
35463
35667
  end
35464
35668
  end
@@ -42152,6 +42356,11 @@ module Google
42152
42356
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1Document]
42153
42357
  attr_accessor :cloud_ai_document
42154
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
+
42155
42364
  # Output only. The time when the document is created.
42156
42365
  # Corresponds to the JSON property `createTime`
42157
42366
  # @return [String]
@@ -42257,6 +42466,7 @@ module Google
42257
42466
  def update!(**args)
42258
42467
  @async_enabled = args[:async_enabled] if args.key?(:async_enabled)
42259
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)
42260
42470
  @create_time = args[:create_time] if args.key?(:create_time)
42261
42471
  @creator = args[:creator] if args.key?(:creator)
42262
42472
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -42404,7 +42614,31 @@ module Google
42404
42614
  attr_accessor :property_filter
42405
42615
 
42406
42616
  # The query string that matches against the full text of the document and the
42407
- # 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.
42408
42642
  # Corresponds to the JSON property `query`
42409
42643
  # @return [String]
42410
42644
  attr_accessor :query
@@ -42516,7 +42750,7 @@ module Google
42516
42750
  # @return [String]
42517
42751
  attr_accessor :description
42518
42752
 
42519
- # 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.
42520
42754
  # Corresponds to the JSON property `displayName`
42521
42755
  # @return [String]
42522
42756
  attr_accessor :display_name
@@ -43847,7 +44081,7 @@ module Google
43847
44081
  # string_histogram_facet)`: Count the number of matching entities for each
43848
44082
  # distinct attribute value. Data types: * Histogram facet (aka filterable
43849
44083
  # properties): Facet names with format <schema id>.<facet>. Facets will have the
43850
- # 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
43851
44085
  # needs to be specified separated by dots in the prefix after the schema id.
43852
44086
  # Thus, the format for a multi- level facet is: <schema id>.<parent facet name>.
43853
44087
  # <child facet name>. Example: schema123.root_parent_facet.middle_facet.
@@ -43877,7 +44111,9 @@ module Google
43877
44111
  # determined by the API algorithms. * `"upload_date desc"`: By upload date
43878
44112
  # descending. * `"upload_date"`: By upload date ascending. * `"update_date desc"`
43879
44113
  # : By last updated date descending. * `"update_date"`: By last updated date
43880
- # 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.
43881
44117
  # Corresponds to the JSON property `orderBy`
43882
44118
  # @return [String]
43883
44119
  attr_accessor :order_by
@@ -43918,6 +44154,12 @@ module Google
43918
44154
  attr_accessor :require_total_size
43919
44155
  alias_method :require_total_size?, :require_total_size
43920
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
+
43921
44163
  def initialize(**args)
43922
44164
  update!(**args)
43923
44165
  end
@@ -43933,6 +44175,7 @@ module Google
43933
44175
  @qa_size_limit = args[:qa_size_limit] if args.key?(:qa_size_limit)
43934
44176
  @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
43935
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)
43936
44179
  end
43937
44180
  end
43938
44181
 
@@ -43963,11 +44206,10 @@ module Google
43963
44206
  attr_accessor :next_page_token
43964
44207
 
43965
44208
  # The total number of matched documents which is available only if the client
43966
- # set SearchDocumentsRequest.require_total_size to `true`. Otherwise, the value
43967
- # will be `-1`. `total_size` will max at "100,000". If this is returned, then it
43968
- # can be assumed that the count is equal to or greater than 100,000. Typically a
43969
- # UI would handle this condition by displaying "of many", for example: "
43970
- # 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".
43971
44213
  # Corresponds to the JSON property `totalSize`
43972
44214
  # @return [Fixnum]
43973
44215
  attr_accessor :total_size
@@ -44616,26 +44858,28 @@ module Google
44616
44858
  class GoogleCloudDocumentaiV1Barcode
44617
44859
  include Google::Apis::Core::Hashable
44618
44860
 
44619
- # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
44620
- # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
44621
- # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
44622
- # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
44623
- # 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.
44624
44867
  # Corresponds to the JSON property `format`
44625
44868
  # @return [String]
44626
44869
  attr_accessor :format
44627
44870
 
44628
- # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
44629
- # www.google.com;;'.
44871
+ # Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https:/
44872
+ # /www.google.com;;'`.
44630
44873
  # Corresponds to the JSON property `rawValue`
44631
44874
  # @return [String]
44632
44875
  attr_accessor :raw_value
44633
44876
 
44634
44877
  # Value format describes the format of the value that a barcode encodes. The
44635
- # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
44636
- # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
44637
- # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
44638
- # 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.
44639
44883
  # Corresponds to the JSON property `valueFormat`
44640
44884
  # @return [String]
44641
44885
  attr_accessor :value_format
@@ -44741,14 +44985,14 @@ module Google
44741
44985
  # @return [String]
44742
44986
  attr_accessor :text
44743
44987
 
44744
- # Placeholder. A list of text corrections made to [Document.text]. This is
44745
- # usually used for annotating corrections to OCR mistakes. Text changes for a
44746
- # 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.
44747
44991
  # Corresponds to the JSON property `textChanges`
44748
44992
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentTextChange>]
44749
44993
  attr_accessor :text_changes
44750
44994
 
44751
- # Placeholder. Styles for the Document.text.
44995
+ # Styles for the Document.text.
44752
44996
  # Corresponds to the JSON property `textStyles`
44753
44997
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentStyle>]
44754
44998
  attr_accessor :text_styles
@@ -44788,7 +45032,7 @@ module Google
44788
45032
  class GoogleCloudDocumentaiV1DocumentEntity
44789
45033
  include Google::Apis::Core::Hashable
44790
45034
 
44791
- # Optional. Confidence of detected Schema entity. Range [0, 1].
45035
+ # Optional. Confidence of detected Schema entity. Range `[0, 1]`.
44792
45036
  # Corresponds to the JSON property `confidence`
44793
45037
  # @return [Float]
44794
45038
  attr_accessor :confidence
@@ -44941,8 +45185,8 @@ module Google
44941
45185
  # Optional. An optional field to store a normalized string. For some entity
44942
45186
  # types, one of respective `structured_value` fields may also be populated. Also
44943
45187
  # not all the types of `structured_value` will be normalized. For example, some
44944
- # processors may not generate float or int normalized text by default. Below are
44945
- # 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 (`
44946
45190
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
44947
45191
  # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
44948
45192
  # 8601 text format.
@@ -45151,7 +45395,7 @@ module Google
45151
45395
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1BoundingPoly]
45152
45396
  attr_accessor :bounding_poly
45153
45397
 
45154
- # Optional. Confidence of detected page element, if applicable. Range [0, 1].
45398
+ # Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
45155
45399
  # Corresponds to the JSON property `confidence`
45156
45400
  # @return [Float]
45157
45401
  attr_accessor :confidence
@@ -45166,10 +45410,10 @@ module Google
45166
45410
  # @return [String]
45167
45411
  attr_accessor :layout_type
45168
45412
 
45169
- # Required. Index into the Document.pages element, for example using Document.
45170
- # pages to locate the related page element. This field is skipped when its value
45171
- # is the default 0. See https://developers.google.com/protocol-buffers/docs/
45172
- # 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.
45173
45417
  # Corresponds to the JSON property `page`
45174
45418
  # @return [Fixnum]
45175
45419
  attr_accessor :page
@@ -45250,12 +45494,12 @@ module Google
45250
45494
  class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
45251
45495
  include Google::Apis::Core::Hashable
45252
45496
 
45253
- # Confidence of detected language. Range [0, 1].
45497
+ # Confidence of detected language. Range `[0, 1]`.
45254
45498
  # Corresponds to the JSON property `confidence`
45255
45499
  # @return [Float]
45256
45500
  attr_accessor :confidence
45257
45501
 
45258
- # 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,
45259
45503
  # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
45260
45504
  # Corresponds to the JSON property `languageCode`
45261
45505
  # @return [String]
@@ -45348,8 +45592,8 @@ module Google
45348
45592
  attr_accessor :value_detected_languages
45349
45593
 
45350
45594
  # If the value is non-textual, this field represents the type. Current valid
45351
- # values are: - blank (this indicates the field_value is normal text) - "
45352
- # unfilled_checkbox" - "filled_checkbox"
45595
+ # values are: - blank (this indicates the `field_value` is normal text) - `
45596
+ # unfilled_checkbox` - `filled_checkbox`
45353
45597
  # Corresponds to the JSON property `valueType`
45354
45598
  # @return [String]
45355
45599
  attr_accessor :value_type
@@ -45418,7 +45662,7 @@ module Google
45418
45662
  # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
45419
45663
  attr_accessor :detected_defects
45420
45664
 
45421
- # 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.
45422
45666
  # Corresponds to the JSON property `qualityScore`
45423
45667
  # @return [Float]
45424
45668
  attr_accessor :quality_score
@@ -45438,16 +45682,16 @@ module Google
45438
45682
  class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
45439
45683
  include Google::Apis::Core::Hashable
45440
45684
 
45441
- # Confidence of detected defect. Range [0, 1] where 1 indicates strong
45685
+ # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
45442
45686
  # confidence of that the defect exists.
45443
45687
  # Corresponds to the JSON property `confidence`
45444
45688
  # @return [Float]
45445
45689
  attr_accessor :confidence
45446
45690
 
45447
- # Name of the defect type. Supported values are "quality/defect_blurry", "
45448
- # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
45449
- # defect_text_too_small", "quality/defect_document_cutoff", "quality/
45450
- # 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`
45451
45695
  # Corresponds to the JSON property `type`
45452
45696
  # @return [String]
45453
45697
  attr_accessor :type
@@ -45474,7 +45718,7 @@ module Google
45474
45718
 
45475
45719
  # Confidence of the current Layout within context of the object this layout is
45476
45720
  # for. e.g. confidence can be for a single token, a table, a visual element, etc.
45477
- # depending on context. Range [0, 1].
45721
+ # depending on context. Range `[0, 1]`.
45478
45722
  # Corresponds to the JSON property `confidence`
45479
45723
  # @return [Float]
45480
45724
  attr_accessor :confidence
@@ -46115,7 +46359,7 @@ module Google
46115
46359
  # @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
46116
46360
  attr_accessor :color
46117
46361
 
46118
- # 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/
46119
46363
  # cssref/pr_font_font-family.asp
46120
46364
  # Corresponds to the JSON property `fontFamily`
46121
46365
  # @return [String]
@@ -46608,6 +46852,21 @@ module Google
46608
46852
  class GoogleInternalAppsWaldoV1alphaCalendarBusy
46609
46853
  include Google::Apis::Core::Hashable
46610
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
+
46611
46870
  # The summary of the corresponding event in Calendar.
46612
46871
  # Corresponds to the JSON property `eventSummary`
46613
46872
  # @return [String]
@@ -46632,6 +46891,8 @@ module Google
46632
46891
 
46633
46892
  # Update properties of this object
46634
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)
46635
46896
  @event_summary = args[:event_summary] if args.key?(:event_summary)
46636
46897
  @next_available = args[:next_available] if args.key?(:next_available)
46637
46898
  @occupied_until = args[:occupied_until] if args.key?(:occupied_until)
@@ -46677,13 +46938,13 @@ module Google
46677
46938
  include Google::Apis::Core::Hashable
46678
46939
 
46679
46940
  # The time when the user will stop being committed, i.e., when their status will
46680
- # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh.
46941
+ # be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh.
46681
46942
  # Corresponds to the JSON property `committedUntil`
46682
46943
  # @return [String]
46683
46944
  attr_accessor :committed_until
46684
46945
 
46685
- # Whether the status of the user until committed_until has more than one status
46686
- # 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).
46687
46948
  # Corresponds to the JSON property `committedUntilIsMixed`
46688
46949
  # @return [Boolean]
46689
46950
  attr_accessor :committed_until_is_mixed
@@ -46733,15 +46994,15 @@ module Google
46733
46994
  include Google::Apis::Core::Hashable
46734
46995
 
46735
46996
  # The time when the user will stop being committed, i.e., when their status will
46736
- # be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that the goal
46737
- # 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
46738
46999
  # communicate with a user (see also http://shortn/_wXYXtZScgh).
46739
47000
  # Corresponds to the JSON property `committedUntil`
46740
47001
  # @return [String]
46741
47002
  attr_accessor :committed_until
46742
47003
 
46743
- # Whether the status of the user until committed_until has more than one status
46744
- # 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).
46745
47006
  # Corresponds to the JSON property `committedUntilIsMixed`
46746
47007
  # @return [Boolean]
46747
47008
  attr_accessor :committed_until_is_mixed
@@ -46865,6 +47126,21 @@ module Google
46865
47126
  # @return [String]
46866
47127
  attr_accessor :come_back_time
46867
47128
 
47129
+ # The time when the user will stop being committed, i.e., when their status will
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.
47132
+ # Corresponds to the JSON property `committedUntil`
47133
+ # @return [String]
47134
+ attr_accessor :committed_until
47135
+
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.
47139
+ # Corresponds to the JSON property `committedUntilIsMixed`
47140
+ # @return [Boolean]
47141
+ attr_accessor :committed_until_is_mixed
47142
+ alias_method :committed_until_is_mixed?, :committed_until_is_mixed
47143
+
46868
47144
  # The summary of the corresponding OOO block in Calendar. This is entered by the
46869
47145
  # user, so we return it "as is" - no i18n.
46870
47146
  # Corresponds to the JSON property `eventSummary`
@@ -46878,6 +47154,8 @@ module Google
46878
47154
  # Update properties of this object
46879
47155
  def update!(**args)
46880
47156
  @come_back_time = args[:come_back_time] if args.key?(:come_back_time)
47157
+ @committed_until = args[:committed_until] if args.key?(:committed_until)
47158
+ @committed_until_is_mixed = args[:committed_until_is_mixed] if args.key?(:committed_until_is_mixed)
46881
47159
  @event_summary = args[:event_summary] if args.key?(:event_summary)
46882
47160
  end
46883
47161
  end
@@ -46938,8 +47216,11 @@ module Google
46938
47216
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserStatus]
46939
47217
  attr_accessor :next_commitment_status
46940
47218
 
46941
- # The time when the user will start having a status of InMeeting, DoNotDisturb
46942
- # or short OutOfOffice.
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.
46943
47224
  # Corresponds to the JSON property `nextCommitmentTime`
46944
47225
  # @return [String]
46945
47226
  attr_accessor :next_commitment_time
@@ -47090,8 +47371,9 @@ module Google
47090
47371
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUpcomingOooContext]
47091
47372
  attr_accessor :upcoming_ooo
47092
47373
 
47093
- # The context indicating the user is working remotely (from home / from a
47094
- # 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.
47095
47377
  # Corresponds to the JSON property `workingElsewhere`
47096
47378
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaWorkingElsewhereContext]
47097
47379
  attr_accessor :working_elsewhere
@@ -47109,7 +47391,7 @@ module Google
47109
47391
  end
47110
47392
  end
47111
47393
 
47112
- # 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
47113
47395
  # building, as well as a custom location specified by the user.
47114
47396
  class GoogleInternalAppsWaldoV1alphaUserLocation
47115
47397
  include Google::Apis::Core::Hashable
@@ -47193,12 +47475,13 @@ module Google
47193
47475
  end
47194
47476
  end
47195
47477
 
47196
- # The context indicating the user is working remotely (from home / from a
47197
- # 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.
47198
47481
  class GoogleInternalAppsWaldoV1alphaWorkingElsewhereContext
47199
47482
  include Google::Apis::Core::Hashable
47200
47483
 
47201
- # 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
47202
47485
  # building, as well as a custom location specified by the user.
47203
47486
  # Corresponds to the JSON property `location`
47204
47487
  # @return [Google::Apis::ContentwarehouseV1::GoogleInternalAppsWaldoV1alphaUserLocation]
@@ -49128,7 +49411,8 @@ module Google
49128
49411
  # @return [Fixnum]
49129
49412
  attr_accessor :referenced_resource_content_index
49130
49413
 
49131
- #
49414
+ # Only necessary headers are recorded. See google3/htmlrender/webkit_headless/
49415
+ # resource_key.cc
49132
49416
  # Corresponds to the JSON property `requestHeader`
49133
49417
  # @return [Array<Google::Apis::ContentwarehouseV1::HtmlrenderWebkitHeadlessProtoReferencedResourceHttpHeader>]
49134
49418
  attr_accessor :request_header
@@ -49723,7 +50007,8 @@ module Google
49723
50007
  # @return [String]
49724
50008
  attr_accessor :post_data
49725
50009
 
49726
- #
50010
+ # Only necessary headers are included in the resource key by default. See
50011
+ # google3/htmlrender/webkit_headless/resource_key.cc
49727
50012
  # Corresponds to the JSON property `requestHeader`
49728
50013
  # @return [Array<Google::Apis::ContentwarehouseV1::HtmlrenderWebkitHeadlessProtoResourceHttpHeader>]
49729
50014
  attr_accessor :request_header
@@ -50619,7 +50904,7 @@ module Google
50619
50904
 
50620
50905
  # This defines the per-doc data which is extracted from thumbnails and
50621
50906
  # propagated over to indexing. It contains all information that can be used for
50622
- # restricts. Next tag id: 127
50907
+ # restricts. Next tag id: 128
50623
50908
  class ImageData
50624
50909
  include Google::Apis::Core::Hashable
50625
50910
 
@@ -50734,6 +51019,11 @@ module Google
50734
51019
  # @return [Google::Apis::ContentwarehouseV1::DeepCropIndexing]
50735
51020
  attr_accessor :deep_crop
50736
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
+
50737
51027
  # Image-level deep tags: essentially equivalent to the proto above but
50738
51028
  # containing tags that are computed at the image level. These image signals are
50739
51029
  # maintained by the Visual Shopping team (visual-shopping@). *** If you do use
@@ -51190,6 +51480,7 @@ module Google
51190
51480
  @corpus_selection_info = args[:corpus_selection_info] if args.key?(:corpus_selection_info)
51191
51481
  @crops = args[:crops] if args.key?(:crops)
51192
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)
51193
51484
  @deep_tags = args[:deep_tags] if args.key?(:deep_tags)
51194
51485
  @docid = args[:docid] if args.key?(:docid)
51195
51486
  @embedded_metadata = args[:embedded_metadata] if args.key?(:embedded_metadata)
@@ -52825,7 +53116,9 @@ module Google
52825
53116
  # Video Understanding Golden features. (go/amarna-video-signals#golden-signals)
52826
53117
  # Note: Golden6 features (names matching "video_*") are DEPRECATED. Please
52827
53118
  # migrate to Golden7 ("VideoFeatures.*"). For more context, see go/golden7/
52828
- # 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.
52829
53122
  # Corresponds to the JSON property `featureSetData`
52830
53123
  # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData]
52831
53124
  attr_accessor :feature_set_data
@@ -52869,7 +53162,7 @@ module Google
52869
53162
 
52870
53163
  # This defines the per-doc data which is extracted from thumbnails and
52871
53164
  # propagated over to indexing. It contains all information that can be used for
52872
- # restricts. Next tag id: 127
53165
+ # restricts. Next tag id: 128
52873
53166
  # Corresponds to the JSON property `representativeFrameData`
52874
53167
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
52875
53168
  attr_accessor :representative_frame_data
@@ -52934,8 +53227,8 @@ module Google
52934
53227
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryFileTruncationInfo]
52935
53228
  attr_accessor :truncation_info
52936
53229
 
52937
- # To indicate whether the image is to be deleted from the repository due to
52938
- # 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.
52939
53232
  # Corresponds to the JSON property `unwantedContent`
52940
53233
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryUnwantedContent]
52941
53234
  attr_accessor :unwanted_content
@@ -53078,6 +53371,25 @@ module Google
53078
53371
  end
53079
53372
  end
53080
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
+
53081
53393
  # Describes our knowledge about whether a stored file is truncated with respect
53082
53394
  # to its original file online.
53083
53395
  class ImageRepositoryFileTruncationInfo
@@ -53191,7 +53503,7 @@ module Google
53191
53503
 
53192
53504
  # This defines the per-doc data which is extracted from thumbnails and
53193
53505
  # propagated over to indexing. It contains all information that can be used for
53194
- # restricts. Next tag id: 127
53506
+ # restricts. Next tag id: 128
53195
53507
  # Corresponds to the JSON property `perdoc`
53196
53508
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
53197
53509
  attr_accessor :perdoc
@@ -53624,8 +53936,8 @@ module Google
53624
53936
  end
53625
53937
  end
53626
53938
 
53627
- # To indicate whether the image is to be deleted from the repository due to
53628
- # 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.
53629
53941
  class ImageRepositoryUnwantedContent
53630
53942
  include Google::Apis::Core::Hashable
53631
53943
 
@@ -53634,6 +53946,11 @@ module Google
53634
53946
  # @return [String]
53635
53947
  attr_accessor :deletion_reason
53636
53948
 
53949
+ #
53950
+ # Corresponds to the JSON property `hideReason`
53951
+ # @return [String]
53952
+ attr_accessor :hide_reason
53953
+
53637
53954
  def initialize(**args)
53638
53955
  update!(**args)
53639
53956
  end
@@ -53641,6 +53958,7 @@ module Google
53641
53958
  # Update properties of this object
53642
53959
  def update!(**args)
53643
53960
  @deletion_reason = args[:deletion_reason] if args.key?(:deletion_reason)
53961
+ @hide_reason = args[:hide_reason] if args.key?(:hide_reason)
53644
53962
  end
53645
53963
  end
53646
53964
 
@@ -55942,12 +56260,17 @@ module Google
55942
56260
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55943
56261
  attr_accessor :accelerated_shopping_signal
55944
56262
 
55945
- # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
55946
- # sdl)
56263
+ #
55947
56264
  # Corresponds to the JSON property `chromeCounts`
55948
56265
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
55949
56266
  attr_accessor :chrome_counts
55950
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
+
55951
56274
  #
55952
56275
  # Corresponds to the JSON property `localyp`
55953
56276
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -56016,6 +56339,7 @@ module Google
56016
56339
  def update!(**args)
56017
56340
  @accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
56018
56341
  @chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
56342
+ @instant_navboost = args[:instant_navboost] if args.key?(:instant_navboost)
56019
56343
  @localyp = args[:localyp] if args.key?(:localyp)
56020
56344
  @localyp_version = args[:localyp_version] if args.key?(:localyp_version)
56021
56345
  @modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
@@ -59721,6 +60045,12 @@ module Google
59721
60045
  # @return [Array<Google::Apis::ContentwarehouseV1::NlpSemanticParsingAnnotationEvalData>]
59722
60046
  attr_accessor :eval_data
59723
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
+
59724
60054
  def initialize(**args)
59725
60055
  update!(**args)
59726
60056
  end
@@ -59728,6 +60058,7 @@ module Google
59728
60058
  # Update properties of this object
59729
60059
  def update!(**args)
59730
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)
59731
60062
  end
59732
60063
  end
59733
60064
 
@@ -59750,6 +60081,20 @@ module Google
59750
60081
  end
59751
60082
  end
59752
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
+
59753
60098
  # The value is carried over from either the previous winning IntentQuery or an
59754
60099
  # entity annotated by QRef in a previous query. For example: U: How old is Obama.
59755
60100
  # [Age(person=/m/obama)] G: Barack Obama is 56 years old. U: Who is his wife. [
@@ -59782,6 +60127,12 @@ module Google
59782
60127
  # @return [Google::Apis::ContentwarehouseV1::EventIdMessage]
59783
60128
  attr_accessor :event_id
59784
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
+
59785
60136
  # The role that this data played in the previous query.
59786
60137
  # Corresponds to the JSON property `role`
59787
60138
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole]
@@ -59801,6 +60152,7 @@ module Google
59801
60152
  @current_query_eval_data = args[:current_query_eval_data] if args.key?(:current_query_eval_data)
59802
60153
  @eval_data = args[:eval_data] if args.key?(:eval_data)
59803
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)
59804
60156
  @role = args[:role] if args.key?(:role)
59805
60157
  @source = args[:source] if args.key?(:source)
59806
60158
  end
@@ -60365,7 +60717,7 @@ module Google
60365
60717
  # example, having both entity_type and string_type present in a ValueType field
60366
60718
  # of a Slot means that the Slot can take _either_ an an EntityType _or_
60367
60719
  # StringType as a value, and nothing else. It may be helpful to think of this
60368
- # proto as being called something like AllAllowedValueTypes. Next tag id: 24
60720
+ # proto as being called something like AllAllowedValueTypes. Next tag id: 25
60369
60721
  # LINT.IfChange
60370
60722
  # Corresponds to the JSON property `ungroundedValueType`
60371
60723
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersValueType]
@@ -60616,7 +60968,7 @@ module Google
60616
60968
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
60617
60969
  # indicates an area around a certain location. The area can be defined by time
60618
60970
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
60619
- # a few miles from here". Next ID: 14
60971
+ # a few miles from here". Next ID: 14 LINT.IfChange()
60620
60972
  # Corresponds to the JSON property `location`
60621
60973
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalLocation]
60622
60974
  attr_accessor :location
@@ -60681,7 +61033,7 @@ module Google
60681
61033
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingModelsRecurrence]
60682
61034
  attr_accessor :recurrence
60683
61035
 
60684
- # Next id: 30
61036
+ # Next id: 32
60685
61037
  # Corresponds to the JSON property `reminder`
60686
61038
  # @return [Google::Apis::ContentwarehouseV1::QualityActionsReminder]
60687
61039
  attr_accessor :reminder
@@ -61220,7 +61572,7 @@ module Google
61220
61572
 
61221
61573
  # Signals to be used by the Prefulfillment Ranker. Derived from the
61222
61574
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
61223
- # Next ID: 30
61575
+ # Next ID: 34
61224
61576
  # Corresponds to the JSON property `prefulfillmentSignals`
61225
61577
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
61226
61578
  attr_accessor :prefulfillment_signals
@@ -64110,7 +64462,7 @@ module Google
64110
64462
  # example, having both entity_type and string_type present in a ValueType field
64111
64463
  # of a Slot means that the Slot can take _either_ an an EntityType _or_
64112
64464
  # StringType as a value, and nothing else. It may be helpful to think of this
64113
- # proto as being called something like AllAllowedValueTypes. Next tag id: 24
64465
+ # proto as being called something like AllAllowedValueTypes. Next tag id: 25
64114
64466
  # LINT.IfChange
64115
64467
  class KnowledgeAnswersValueType
64116
64468
  include Google::Apis::Core::Hashable
@@ -64169,6 +64521,13 @@ module Google
64169
64521
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersEntityType]
64170
64522
  attr_accessor :entity_type
64171
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
+
64172
64531
  # A MeasurementType configures a value that consists of a measurement. The
64173
64532
  # expected value should have a number and a mid representing the unit. Note:
64174
64533
  # this is currently only used for attribute answer value types. Configuration
@@ -64292,6 +64651,7 @@ module Google
64292
64651
  @dependency_type = args[:dependency_type] if args.key?(:dependency_type)
64293
64652
  @duration_type = args[:duration_type] if args.key?(:duration_type)
64294
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)
64295
64655
  @measurement_type = args[:measurement_type] if args.key?(:measurement_type)
64296
64656
  @normalized_string_type = args[:normalized_string_type] if args.key?(:normalized_string_type)
64297
64657
  @number_type = args[:number_type] if args.key?(:number_type)
@@ -64708,7 +65068,7 @@ module Google
64708
65068
  # restrictions associated with the missing attribute. For example, if `
64709
65069
  # availability_start_timestamp` is not set, the data won't be embargoed
64710
65070
  # automatically; if `availability_end_timestamp` is not set, they won't expire
64711
- # automatically. Next ID: 8 LINT.IfChange
65071
+ # automatically. LINT.IfChange
64712
65072
  # Corresponds to the JSON property `policyMetadata`
64713
65073
  # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgPolicyMetadata]
64714
65074
  attr_accessor :policy_metadata
@@ -64808,6 +65168,11 @@ module Google
64808
65168
  # @return [String]
64809
65169
  attr_accessor :location_name
64810
65170
 
65171
+ # MID corresponding to the location from feature_id.
65172
+ # Corresponds to the JSON property `mid`
65173
+ # @return [String]
65174
+ attr_accessor :mid
65175
+
64811
65176
  # The timezone to display the current conditions observation time. Optional and
64812
65177
  # will override the timezone of "feature_id".
64813
65178
  # Corresponds to the JSON property `timezone`
@@ -64823,6 +65188,7 @@ module Google
64823
65188
  @feature_id = args[:feature_id] if args.key?(:feature_id)
64824
65189
  @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
64825
65190
  @location_name = args[:location_name] if args.key?(:location_name)
65191
+ @mid = args[:mid] if args.key?(:mid)
64826
65192
  @timezone = args[:timezone] if args.key?(:timezone)
64827
65193
  end
64828
65194
  end
@@ -66751,10 +67117,20 @@ module Google
66751
67117
 
66752
67118
  # Flags that describe the information about a special word. If you add another
66753
67119
  # flag please add it to the special words implemenation in google3/maps/quality/
66754
- # internal/special_words.cc. -- Next available id: 20 --
67120
+ # internal/special_words.cc. -- Next available id: 22 --
66755
67121
  class MapsQualitySpecialWordsFlags
66756
67122
  include Google::Apis::Core::Hashable
66757
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
+
66758
67134
  # Common words E.g.: center, park, etc.
66759
67135
  # Corresponds to the JSON property `isCommonWord`
66760
67136
  # @return [Boolean]
@@ -66774,6 +67150,12 @@ module Google
66774
67150
  attr_accessor :is_directional_modifier
66775
67151
  alias_method :is_directional_modifier?, :is_directional_modifier
66776
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
+
66777
67159
  # Whether geo paths are forbidden to contain this word.
66778
67160
  # Corresponds to the JSON property `isForbiddenWord`
66779
67161
  # @return [Boolean]
@@ -66877,9 +67259,11 @@ module Google
66877
67259
 
66878
67260
  # Update properties of this object
66879
67261
  def update!(**args)
67262
+ @is_alley_affix = args[:is_alley_affix] if args.key?(:is_alley_affix)
66880
67263
  @is_common_word = args[:is_common_word] if args.key?(:is_common_word)
66881
67264
  @is_deconstructible = args[:is_deconstructible] if args.key?(:is_deconstructible)
66882
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)
66883
67267
  @is_forbidden_word = args[:is_forbidden_word] if args.key?(:is_forbidden_word)
66884
67268
  @is_house_id_identifier = args[:is_house_id_identifier] if args.key?(:is_house_id_identifier)
66885
67269
  @is_intersection_connector = args[:is_intersection_connector] if args.key?(:is_intersection_connector)
@@ -66932,7 +67316,7 @@ module Google
66932
67316
 
66933
67317
  # Flags that describe the information about a special word. If you add another
66934
67318
  # flag please add it to the special words implemenation in google3/maps/quality/
66935
- # internal/special_words.cc. -- Next available id: 20 --
67319
+ # internal/special_words.cc. -- Next available id: 22 --
66936
67320
  # Corresponds to the JSON property `flags`
66937
67321
  # @return [Google::Apis::ContentwarehouseV1::MapsQualitySpecialWordsFlags]
66938
67322
  attr_accessor :flags
@@ -67717,11 +68101,21 @@ module Google
67717
68101
  # @return [Array<Google::Apis::ContentwarehouseV1::MustangReposWwwSnippetsSnippetCandidate>]
67718
68102
  attr_accessor :candidates
67719
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
+
67720
68109
  # locale of the document.
67721
68110
  # Corresponds to the JSON property `documentLanguage`
67722
68111
  # @return [String]
67723
68112
  attr_accessor :document_language
67724
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
+
67725
68119
  # locale of the query,
67726
68120
  # Corresponds to the JSON property `queryLanguage`
67727
68121
  # @return [String]
@@ -67737,8 +68131,8 @@ module Google
67737
68131
  # @return [Float]
67738
68132
  attr_accessor :snippet_query_term_coverage
67739
68133
 
67740
- # Snippet features for ranklab models, generated only by snippets scorer v2. In
67741
- # 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.
67742
68136
  # Corresponds to the JSON property `snippets`
67743
68137
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet>]
67744
68138
  attr_accessor :snippets
@@ -67773,7 +68167,9 @@ module Google
67773
68167
  def update!(**args)
67774
68168
  @browser_width = args[:browser_width] if args.key?(:browser_width)
67775
68169
  @candidates = args[:candidates] if args.key?(:candidates)
68170
+ @display_snippet = args[:display_snippet] if args.key?(:display_snippet)
67776
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)
67777
68173
  @query_language = args[:query_language] if args.key?(:query_language)
67778
68174
  @snippet_data_source_type = args[:snippet_data_source_type] if args.key?(:snippet_data_source_type)
67779
68175
  @snippet_query_term_coverage = args[:snippet_query_term_coverage] if args.key?(:snippet_query_term_coverage)
@@ -67868,238 +68264,6 @@ module Google
67868
68264
  end
67869
68265
  end
67870
68266
 
67871
- # Next ID: 7
67872
- class NewsReconServiceLrsQ2lrs2EntryPayload
67873
- include Google::Apis::Core::Hashable
67874
-
67875
- #
67876
- # Corresponds to the JSON property `isDailyMoment`
67877
- # @return [Boolean]
67878
- attr_accessor :is_daily_moment
67879
- alias_method :is_daily_moment?, :is_daily_moment
67880
-
67881
- # DEPRECATED as in: will be removed shortly.
67882
- # Corresponds to the JSON property `isMomentAnyFlavor`
67883
- # @return [Boolean]
67884
- attr_accessor :is_moment_any_flavor
67885
- alias_method :is_moment_any_flavor?, :is_moment_any_flavor
67886
-
67887
- #
67888
- # Corresponds to the JSON property `isPlannedMoment`
67889
- # @return [Boolean]
67890
- attr_accessor :is_planned_moment
67891
- alias_method :is_planned_moment?, :is_planned_moment
67892
-
67893
- # This is meant to hold `LongRunningStory.Type`s only, unfortunately adding an
67894
- # import here causes a circular dependency.
67895
- # Corresponds to the JSON property `lrsTypes`
67896
- # @return [Array<Fixnum>]
67897
- attr_accessor :lrs_types
67898
-
67899
- #
67900
- # Corresponds to the JSON property `momentRankingScore`
67901
- # @return [Fixnum]
67902
- attr_accessor :moment_ranking_score
67903
-
67904
- # LRS-level feature types to be sent as triples to KG. The equivalent KG
67905
- # collection will be added to the LRS topic.
67906
- # Corresponds to the JSON property `outKgFeatureTypes`
67907
- # @return [Array<String>]
67908
- attr_accessor :out_kg_feature_types
67909
-
67910
- def initialize(**args)
67911
- update!(**args)
67912
- end
67913
-
67914
- # Update properties of this object
67915
- def update!(**args)
67916
- @is_daily_moment = args[:is_daily_moment] if args.key?(:is_daily_moment)
67917
- @is_moment_any_flavor = args[:is_moment_any_flavor] if args.key?(:is_moment_any_flavor)
67918
- @is_planned_moment = args[:is_planned_moment] if args.key?(:is_planned_moment)
67919
- @lrs_types = args[:lrs_types] if args.key?(:lrs_types)
67920
- @moment_ranking_score = args[:moment_ranking_score] if args.key?(:moment_ranking_score)
67921
- @out_kg_feature_types = args[:out_kg_feature_types] if args.key?(:out_kg_feature_types)
67922
- end
67923
- end
67924
-
67925
- #
67926
- class NewsReconServiceLrsQ2lrs2QueryToLrsDataset
67927
- include Google::Apis::Core::Hashable
67928
-
67929
- # At most one entry per (LRS, algo version) pair.
67930
- # Corresponds to the JSON property `entries`
67931
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntry>]
67932
- attr_accessor :entries
67933
-
67934
- #
67935
- # Corresponds to the JSON property `timeMillis`
67936
- # @return [Fixnum]
67937
- attr_accessor :time_millis
67938
-
67939
- def initialize(**args)
67940
- update!(**args)
67941
- end
67942
-
67943
- # Update properties of this object
67944
- def update!(**args)
67945
- @entries = args[:entries] if args.key?(:entries)
67946
- @time_millis = args[:time_millis] if args.key?(:time_millis)
67947
- end
67948
- end
67949
-
67950
- # Each entry is specific to one LRS, and contains all the information required
67951
- # for matching a query with the LRS. For example: entries ` lrs ` mid: "/m/
67952
- # 2024WakandaSenateElection" ` qref_entities ` mid: "/m/election" # The general
67953
- # concept of election debug_index: 0 ` qref_entities ` mid: "/m/senate"
67954
- # debug_index: 1 ` qref_entities ` mid: "/m/wakanda" debug_index: 2 `
67955
- # qref_entities ` mid: "/m/WakandaSenate" debug_index: 3 ` qref_entities ` mid: "
67956
- # /m/2024" # The year 2024 debug_index: 4 ` patterns ` pattern: "TT***" only_in `
67957
- # regions: "WK" # BCP-47 region code for Wakanda ` ` patterns ` pattern: "TTT**"
67958
- # ` patterns ` pattern: "T**T*" ` algo_version: 7 ` The characters in every
67959
- # pattern string match the `qref_entities` pairwise. For example, in the pattern
67960
- # "TT***", the first T corresponds to the entity /m/election, the second T to /m/
67961
- # senate, the first star to /m/wakanda. A query matches a pattern if all the
67962
- # entities marked as T (== required) are found by QRef. If QRef also finds
67963
- # entities marked as star (== optional), those entities will be consumed in the
67964
- # LRS interpretation and added to the `QueryToLrsInterpretation.
67965
- # consumed_qref_mids` field. A query matches an entry if either: - QRef found
67966
- # the LRS entity itself in the query. This is the best-case scenario, it happens
67967
- # when the name of the event is well defined (for example "brexit") and the
67968
- # query mentions it explicitly; - the query matches any of the patterns defined
67969
- # in the entry. Next id: 8
67970
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntry
67971
- include Google::Apis::Core::Hashable
67972
-
67973
- # The value of a `AlgoVersion.Enum` constant.
67974
- # Corresponds to the JSON property `algoVersion`
67975
- # @return [Fixnum]
67976
- attr_accessor :algo_version
67977
-
67978
- # Index of the entry in the list of entries. This does not need to be populated
67979
- # in the dataset which is written to disk.
67980
- # Corresponds to the JSON property `entryIndex`
67981
- # @return [Fixnum]
67982
- attr_accessor :entry_index
67983
-
67984
- # Next ID: 7
67985
- # Corresponds to the JSON property `internalPayload`
67986
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2EntryPayload]
67987
- attr_accessor :internal_payload
67988
-
67989
- # Next id: 7
67990
- # Corresponds to the JSON property `lrs`
67991
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity]
67992
- attr_accessor :lrs
67993
-
67994
- #
67995
- # Corresponds to the JSON property `patterns`
67996
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern>]
67997
- attr_accessor :patterns
67998
-
67999
- #
68000
- # Corresponds to the JSON property `qrefEntities`
68001
- # @return [Array<Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity>]
68002
- attr_accessor :qref_entities
68003
-
68004
- def initialize(**args)
68005
- update!(**args)
68006
- end
68007
-
68008
- # Update properties of this object
68009
- def update!(**args)
68010
- @algo_version = args[:algo_version] if args.key?(:algo_version)
68011
- @entry_index = args[:entry_index] if args.key?(:entry_index)
68012
- @internal_payload = args[:internal_payload] if args.key?(:internal_payload)
68013
- @lrs = args[:lrs] if args.key?(:lrs)
68014
- @patterns = args[:patterns] if args.key?(:patterns)
68015
- @qref_entities = args[:qref_entities] if args.key?(:qref_entities)
68016
- end
68017
- end
68018
-
68019
- # Next id: 7
68020
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity
68021
- include Google::Apis::Core::Hashable
68022
-
68023
- #
68024
- # Corresponds to the JSON property `debugIndex`
68025
- # @return [Fixnum]
68026
- attr_accessor :debug_index
68027
-
68028
- #
68029
- # Corresponds to the JSON property `debugName`
68030
- # @return [String]
68031
- attr_accessor :debug_name
68032
-
68033
- # This does not need to be populated in the dataset which is written to disk.
68034
- # Corresponds to the JSON property `encodedMid`
68035
- # @return [Fixnum]
68036
- attr_accessor :encoded_mid
68037
-
68038
- #
68039
- # Corresponds to the JSON property `mid`
68040
- # @return [String]
68041
- attr_accessor :mid
68042
-
68043
- def initialize(**args)
68044
- update!(**args)
68045
- end
68046
-
68047
- # Update properties of this object
68048
- def update!(**args)
68049
- @debug_index = args[:debug_index] if args.key?(:debug_index)
68050
- @debug_name = args[:debug_name] if args.key?(:debug_name)
68051
- @encoded_mid = args[:encoded_mid] if args.key?(:encoded_mid)
68052
- @mid = args[:mid] if args.key?(:mid)
68053
- end
68054
- end
68055
-
68056
- # A locale satisfies the restrict if there is any match.
68057
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict
68058
- include Google::Apis::Core::Hashable
68059
-
68060
- # BCP-47 region codes, e.g. "US". There is a match if the user's locale `.
68061
- # region_subtag()` is found in this set, e.g. the user's locale is "es-US".
68062
- # Corresponds to the JSON property `regions`
68063
- # @return [Array<String>]
68064
- attr_accessor :regions
68065
-
68066
- def initialize(**args)
68067
- update!(**args)
68068
- end
68069
-
68070
- # Update properties of this object
68071
- def update!(**args)
68072
- @regions = args[:regions] if args.key?(:regions)
68073
- end
68074
- end
68075
-
68076
- #
68077
- class NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern
68078
- include Google::Apis::Core::Hashable
68079
-
68080
- # A locale satisfies the restrict if there is any match.
68081
- # Corresponds to the JSON property `onlyIn`
68082
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict]
68083
- attr_accessor :only_in
68084
-
68085
- # A string containing N characters, where each character is 'T' (required) or '*'
68086
- # (optional), and N is the size of `qref_entities`. Characters match QRef
68087
- # entities pairwise.
68088
- # Corresponds to the JSON property `pattern`
68089
- # @return [String]
68090
- attr_accessor :pattern
68091
-
68092
- def initialize(**args)
68093
- update!(**args)
68094
- end
68095
-
68096
- # Update properties of this object
68097
- def update!(**args)
68098
- @only_in = args[:only_in] if args.key?(:only_in)
68099
- @pattern = args[:pattern] if args.key?(:pattern)
68100
- end
68101
- end
68102
-
68103
68267
  # The proto that holds the complete call path info of the QRewrite client (e.g.
68104
68268
  # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
68105
68269
  # and the ACE's candidate type like "FuzzyMatcher"). Next ID: 5 ACE tags
@@ -70317,7 +70481,7 @@ module Google
70317
70481
  attr_accessor :association
70318
70482
 
70319
70483
  # A proto for storing inferred and reconciled metadata for Science Search. Next
70320
- # available tag: 69
70484
+ # available tag: 70
70321
70485
  # Corresponds to the JSON property `datasetMetadata`
70322
70486
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
70323
70487
  attr_accessor :dataset_metadata
@@ -72579,7 +72743,7 @@ module Google
72579
72743
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
72580
72744
  # indicates an area around a certain location. The area can be defined by time
72581
72745
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
72582
- # a few miles from here". Next ID: 14
72746
+ # a few miles from here". Next ID: 14 LINT.IfChange()
72583
72747
  # Corresponds to the JSON property `location1`
72584
72748
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalLocation]
72585
72749
  attr_accessor :location1
@@ -72594,7 +72758,7 @@ module Google
72594
72758
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
72595
72759
  # indicates an area around a certain location. The area can be defined by time
72596
72760
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
72597
- # a few miles from here". Next ID: 14
72761
+ # a few miles from here". Next ID: 14 LINT.IfChange()
72598
72762
  # Corresponds to the JSON property `location2`
72599
72763
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalLocation]
72600
72764
  attr_accessor :location2
@@ -73411,7 +73575,7 @@ module Google
73411
73575
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
73412
73576
  # indicates an area around a certain location. The area can be defined by time
73413
73577
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
73414
- # a few miles from here". Next ID: 14
73578
+ # a few miles from here". Next ID: 14 LINT.IfChange()
73415
73579
  class NlpSemanticParsingLocalLocation
73416
73580
  include Google::Apis::Core::Hashable
73417
73581
 
@@ -73686,7 +73850,7 @@ module Google
73686
73850
  end
73687
73851
  end
73688
73852
 
73689
- # Next ID: 26
73853
+ # Next ID: 26 LINT.IfChange
73690
73854
  class NlpSemanticParsingLocalLocationElement
73691
73855
  include Google::Apis::Core::Hashable
73692
73856
 
@@ -74190,7 +74354,7 @@ module Google
74190
74354
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
74191
74355
  # indicates an area around a certain location. The area can be defined by time
74192
74356
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
74193
- # a few miles from here". Next ID: 14
74357
+ # a few miles from here". Next ID: 14 LINT.IfChange()
74194
74358
  # Corresponds to the JSON property `base`
74195
74359
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalLocation]
74196
74360
  attr_accessor :base
@@ -77829,7 +77993,7 @@ module Google
77829
77993
  # e.g., "Parking garage near Target in Mountain View". - Vicinity location:
77830
77994
  # indicates an area around a certain location. The area can be defined by time
77831
77995
  # or space. E.g., "within 1 hour of Palo Alto", "10 blocks from Union Square", "
77832
- # a few miles from here". Next ID: 14
77996
+ # a few miles from here". Next ID: 14 LINT.IfChange()
77833
77997
  # Corresponds to the JSON property `location`
77834
77998
  # @return [Google::Apis::ContentwarehouseV1::NlpSemanticParsingLocalLocation]
77835
77999
  attr_accessor :location
@@ -78057,7 +78221,7 @@ module Google
78057
78221
  class NlpSemanticParsingPersonalIntelligenceEntity
78058
78222
  include Google::Apis::Core::Hashable
78059
78223
 
78060
- # Next ID: 26
78224
+ # Next ID: 27
78061
78225
  # Corresponds to the JSON property `airlineConfig`
78062
78226
  # @return [Google::Apis::ContentwarehouseV1::TravelFlightsAirlineConfig]
78063
78227
  attr_accessor :airline_config
@@ -82215,7 +82379,7 @@ module Google
82215
82379
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
82216
82380
  # available tag deprecated, use this (and look for commented out fields): blaze-
82217
82381
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
82218
- # perdocdata.proto Next tag: 217
82382
+ # perdocdata.proto Next tag: 219
82219
82383
  class PerDocData
82220
82384
  include Google::Apis::Core::Hashable
82221
82385
 
@@ -82348,11 +82512,6 @@ module Google
82348
82512
  # @return [Fixnum]
82349
82513
  attr_accessor :scaled_spam_score_yoram
82350
82514
 
82351
- # Next tag: 43
82352
- # Corresponds to the JSON property `ScienceData`
82353
- # @return [Google::Apis::ContentwarehouseV1::SciencePerDocData]
82354
- attr_accessor :science_data
82355
-
82356
82515
  # The spamword score is represented in 7-bits, going from 0 to 127.
82357
82516
  # Corresponds to the JSON property `SpamWordScore`
82358
82517
  # @return [Fixnum]
@@ -82585,7 +82744,7 @@ module Google
82585
82744
  attr_accessor :host_age
82586
82745
 
82587
82746
  # Site rank computed for host-level sitechunks. This value encodes nsr, site_pr
82588
- # and new_nsr. See NsrUtil::ConvertNsrDataToHostNsr and go/nsr.
82747
+ # and new_nsr. See quality_nsr::util::ConvertNsrDataToHostNsr and go/nsr.
82589
82748
  # Corresponds to the JSON property `hostNsr`
82590
82749
  # @return [Fixnum]
82591
82750
  attr_accessor :host_nsr
@@ -82694,8 +82853,8 @@ module Google
82694
82853
  # just url (e.g. youtube channels). See NsrAnnotator for details. If sitechunk
82695
82854
  # is longer than --populate_nsr_sitechunk_max_length (default=100), it will not
82696
82855
  # get populated. This field might be compressed and needs to be decoded with
82697
- # NsrUtil::DecodeNsrSitechunk. See go/nsr-chunks for more details. This field
82698
- # 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.
82699
82858
  # Corresponds to the JSON property `nsrSitechunk`
82700
82859
  # @return [String]
82701
82860
  attr_accessor :nsr_sitechunk
@@ -82784,7 +82943,7 @@ module Google
82784
82943
  attr_accessor :rosetta_languages
82785
82944
 
82786
82945
  # This structure holds data for application information for rich snippets Next
82787
- # ID: 48
82946
+ # ID: 52
82788
82947
  # Corresponds to the JSON property `rsApplication`
82789
82948
  # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplication]
82790
82949
  attr_accessor :rs_application
@@ -82882,6 +83041,18 @@ module Google
82882
83041
  # @return [Google::Apis::ContentwarehouseV1::SpamMuppetjoinsMuppetSignals]
82883
83042
  attr_accessor :spam_muppet_signals
82884
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
+
83051
+ # The document total spam score identified by spambrain, going from 0 to 1.
83052
+ # Corresponds to the JSON property `spambrainTotalDocSpamScore`
83053
+ # @return [Float]
83054
+ attr_accessor :spambrain_total_doc_spam_score
83055
+
82885
83056
  # The spamrank measures the likelihood that this document links to known
82886
83057
  # spammers. Its value is between 0 and 65535.
82887
83058
  # Corresponds to the JSON property `spamrank`
@@ -83067,7 +83238,6 @@ module Google
83067
83238
  @scaled_link_age_spam_score = args[:scaled_link_age_spam_score] if args.key?(:scaled_link_age_spam_score)
83068
83239
  @scaled_spam_score_eric = args[:scaled_spam_score_eric] if args.key?(:scaled_spam_score_eric)
83069
83240
  @scaled_spam_score_yoram = args[:scaled_spam_score_yoram] if args.key?(:scaled_spam_score_yoram)
83070
- @science_data = args[:science_data] if args.key?(:science_data)
83071
83241
  @spam_word_score = args[:spam_word_score] if args.key?(:spam_word_score)
83072
83242
  @tag_page_score = args[:tag_page_score] if args.key?(:tag_page_score)
83073
83243
  @tool_bar_data = args[:tool_bar_data] if args.key?(:tool_bar_data)
@@ -83149,6 +83319,8 @@ module Google
83149
83319
  @socialgraph_node_name_fp = args[:socialgraph_node_name_fp] if args.key?(:socialgraph_node_name_fp)
83150
83320
  @spam_cookbook_action = args[:spam_cookbook_action] if args.key?(:spam_cookbook_action)
83151
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)
83323
+ @spambrain_total_doc_spam_score = args[:spambrain_total_doc_spam_score] if args.key?(:spambrain_total_doc_spam_score)
83152
83324
  @spamrank = args[:spamrank] if args.key?(:spamrank)
83153
83325
  @spamtokens_content_score = args[:spamtokens_content_score] if args.key?(:spamtokens_content_score)
83154
83326
  @time_sensitivity = args[:time_sensitivity] if args.key?(:time_sensitivity)
@@ -86059,24 +86231,6 @@ module Google
86059
86231
  class PornFlagData
86060
86232
  include Google::Apis::Core::Hashable
86061
86233
 
86062
- # Content score - computed on the image pixel data only. Additionally, we store
86063
- # a version and minor version number of the model which was used to compute this
86064
- # score. Note: these fields are copies of adaboost_image_feature_porn* in
86065
- # ImageData.
86066
- # Corresponds to the JSON property `adaboostContentScore`
86067
- # @return [Float]
86068
- attr_accessor :adaboost_content_score
86069
-
86070
- #
86071
- # Corresponds to the JSON property `adaboostContentScoreMinorVersion`
86072
- # @return [Fixnum]
86073
- attr_accessor :adaboost_content_score_minor_version
86074
-
86075
- #
86076
- # Corresponds to the JSON property `adaboostContentScoreVersion`
86077
- # @return [Fixnum]
86078
- attr_accessor :adaboost_content_score_version
86079
-
86080
86234
  # Don't change the field names. The names are used as sparse feature labels in
86081
86235
  # client projects.
86082
86236
  # Corresponds to the JSON property `coclickBrainScores`
@@ -86114,30 +86268,12 @@ module Google
86114
86268
  # @return [String]
86115
86269
  attr_accessor :final_violence_score_version
86116
86270
 
86117
- # PornStatsImage is repeated even though we use only a single version, to help
86118
- # with rolling out new versions with miminum risk. Multiple versions should
86119
- # exist only for a short window of time. Once the new version is rolled out, the
86120
- # data for older versions should no longer be generated.
86121
- # Corresponds to the JSON property `imageStats`
86122
- # @return [Array<Google::Apis::ContentwarehouseV1::PornStatsImage>]
86123
- attr_accessor :image_stats
86124
-
86125
86271
  # A proto that stores SafeSearch internal signals that are not exported to
86126
86272
  # clients.
86127
86273
  # Corresponds to the JSON property `internalSignals`
86128
86274
  # @return [Google::Apis::ContentwarehouseV1::SafesearchInternalImageSignals]
86129
86275
  attr_accessor :internal_signals
86130
86276
 
86131
- # largest face, scaled by 1000 This field is same as ImageData.largest_face_frac.
86132
- # Corresponds to the JSON property `largestFaceFrac`
86133
- # @return [Float]
86134
- attr_accessor :largest_face_frac
86135
-
86136
- #
86137
- # Corresponds to the JSON property `largestFaceFraction`
86138
- # @return [Fixnum]
86139
- attr_accessor :largest_face_fraction
86140
-
86141
86277
  # number of faces
86142
86278
  # Corresponds to the JSON property `numberFaces`
86143
86279
  # @return [Fixnum]
@@ -86160,12 +86296,6 @@ module Google
86160
86296
  # @return [Google::Apis::ContentwarehouseV1::ImageSafesearchContentOffensiveSymbolDetection]
86161
86297
  attr_accessor :offensive_symbol_detection
86162
86298
 
86163
- # Overall porn score that determines the porn restricts used during image search
86164
- # retrieval.
86165
- # Corresponds to the JSON property `overallPornScore`
86166
- # @return [Float]
86167
- attr_accessor :overall_porn_score
86168
-
86169
86299
  # Binary version of the PhotoDNA hash (144 bytes long). If not set (
86170
86300
  # has_photodna_hash() == false) it means that it was not computed, if empty (
86171
86301
  # has_photodna_hash() == true && photodna_hash() == "") it means that the
@@ -86184,24 +86314,6 @@ module Google
86184
86314
  attr_accessor :porn_with_high_confidence
86185
86315
  alias_method :porn_with_high_confidence?, :porn_with_high_confidence
86186
86316
 
86187
- # OR of the prop_porn_flag and prop_softporn_flag.
86188
- # Corresponds to the JSON property `propAnyPornFlag`
86189
- # @return [Boolean]
86190
- attr_accessor :prop_any_porn_flag
86191
- alias_method :prop_any_porn_flag?, :prop_any_porn_flag
86192
-
86193
- # Text classifier properties for the referrer page.
86194
- # Corresponds to the JSON property `propPornFlag`
86195
- # @return [Boolean]
86196
- attr_accessor :prop_porn_flag
86197
- alias_method :prop_porn_flag?, :prop_porn_flag
86198
-
86199
- #
86200
- # Corresponds to the JSON property `propSoftpornFlag`
86201
- # @return [Boolean]
86202
- attr_accessor :prop_softporn_flag
86203
- alias_method :prop_softporn_flag?, :prop_softporn_flag
86204
-
86205
86317
  # QBST-based image offensive score, Navboost based
86206
86318
  # Corresponds to the JSON property `qbstOffensiveScore`
86207
86319
  # @return [Float]
@@ -86243,14 +86355,6 @@ module Google
86243
86355
  # @return [Float]
86244
86356
  attr_accessor :semantic_sexualization_score
86245
86357
 
86246
- # PornStatsText is repeated even though we use only a single version, to help
86247
- # with rolling out new versions with miminum risk. Multiple versions should
86248
- # exist only for a short window of time. Once the new version is rolled out, the
86249
- # data for older versions should no longer be generated.
86250
- # Corresponds to the JSON property `textStats`
86251
- # @return [Array<Google::Apis::ContentwarehouseV1::PornStatsText>]
86252
- attr_accessor :text_stats
86253
-
86254
86358
  # url of the image
86255
86359
  # Corresponds to the JSON property `url`
86256
86360
  # @return [String]
@@ -86267,29 +86371,19 @@ module Google
86267
86371
 
86268
86372
  # Update properties of this object
86269
86373
  def update!(**args)
86270
- @adaboost_content_score = args[:adaboost_content_score] if args.key?(:adaboost_content_score)
86271
- @adaboost_content_score_minor_version = args[:adaboost_content_score_minor_version] if args.key?(:adaboost_content_score_minor_version)
86272
- @adaboost_content_score_version = args[:adaboost_content_score_version] if args.key?(:adaboost_content_score_version)
86273
86374
  @coclick_brain_scores = args[:coclick_brain_scores] if args.key?(:coclick_brain_scores)
86274
86375
  @csai_score = args[:csai_score] if args.key?(:csai_score)
86275
86376
  @debug_info = args[:debug_info] if args.key?(:debug_info)
86276
86377
  @final_offensive_score = args[:final_offensive_score] if args.key?(:final_offensive_score)
86277
86378
  @final_violence_score = args[:final_violence_score] if args.key?(:final_violence_score)
86278
86379
  @final_violence_score_version = args[:final_violence_score_version] if args.key?(:final_violence_score_version)
86279
- @image_stats = args[:image_stats] if args.key?(:image_stats)
86280
86380
  @internal_signals = args[:internal_signals] if args.key?(:internal_signals)
86281
- @largest_face_frac = args[:largest_face_frac] if args.key?(:largest_face_frac)
86282
- @largest_face_fraction = args[:largest_face_fraction] if args.key?(:largest_face_fraction)
86283
86381
  @number_faces = args[:number_faces] if args.key?(:number_faces)
86284
86382
  @ocr_annotation = args[:ocr_annotation] if args.key?(:ocr_annotation)
86285
86383
  @ocr_vulgar_score = args[:ocr_vulgar_score] if args.key?(:ocr_vulgar_score)
86286
86384
  @offensive_symbol_detection = args[:offensive_symbol_detection] if args.key?(:offensive_symbol_detection)
86287
- @overall_porn_score = args[:overall_porn_score] if args.key?(:overall_porn_score)
86288
86385
  @photodna_hash = args[:photodna_hash] if args.key?(:photodna_hash)
86289
86386
  @porn_with_high_confidence = args[:porn_with_high_confidence] if args.key?(:porn_with_high_confidence)
86290
- @prop_any_porn_flag = args[:prop_any_porn_flag] if args.key?(:prop_any_porn_flag)
86291
- @prop_porn_flag = args[:prop_porn_flag] if args.key?(:prop_porn_flag)
86292
- @prop_softporn_flag = args[:prop_softporn_flag] if args.key?(:prop_softporn_flag)
86293
86387
  @qbst_offensive_score = args[:qbst_offensive_score] if args.key?(:qbst_offensive_score)
86294
86388
  @qbst_spoof_score = args[:qbst_spoof_score] if args.key?(:qbst_spoof_score)
86295
86389
  @query_stats = args[:query_stats] if args.key?(:query_stats)
@@ -86297,84 +86391,11 @@ module Google
86297
86391
  @referer = args[:referer] if args.key?(:referer)
86298
86392
  @referrer_counts = args[:referrer_counts] if args.key?(:referrer_counts)
86299
86393
  @semantic_sexualization_score = args[:semantic_sexualization_score] if args.key?(:semantic_sexualization_score)
86300
- @text_stats = args[:text_stats] if args.key?(:text_stats)
86301
86394
  @url = args[:url] if args.key?(:url)
86302
86395
  @url_porn_scores = args[:url_porn_scores] if args.key?(:url_porn_scores)
86303
86396
  end
86304
86397
  end
86305
86398
 
86306
- # Site aggregated image content signals are captured in this protocol buffer.
86307
- # This is versioned. Not all fields are present in each version. It is important
86308
- # to document all the fields that are used in each version here.
86309
- class PornStatsImage
86310
- include Google::Apis::Core::Hashable
86311
-
86312
- # image content score data
86313
- # Corresponds to the JSON property `imageCount`
86314
- # @return [Fixnum]
86315
- attr_accessor :image_count
86316
-
86317
- #
86318
- # Corresponds to the JSON property `siteKey`
86319
- # @return [String]
86320
- attr_accessor :site_key
86321
-
86322
- #
86323
- # Corresponds to the JSON property `version`
86324
- # @return [Fixnum]
86325
- attr_accessor :version
86326
-
86327
- def initialize(**args)
86328
- update!(**args)
86329
- end
86330
-
86331
- # Update properties of this object
86332
- def update!(**args)
86333
- @image_count = args[:image_count] if args.key?(:image_count)
86334
- @site_key = args[:site_key] if args.key?(:site_key)
86335
- @version = args[:version] if args.key?(:version)
86336
- end
86337
- end
86338
-
86339
- # Site aggregated text signals are captured in this protocol buffer. This is
86340
- # versioned. Not all fields are present in each version. It is important to
86341
- # document all the fields that are used in each version here.
86342
- class PornStatsText
86343
- include Google::Apis::Core::Hashable
86344
-
86345
- #
86346
- # Corresponds to the JSON property `anyPornPageCount`
86347
- # @return [Fixnum]
86348
- attr_accessor :any_porn_page_count
86349
-
86350
- #
86351
- # Corresponds to the JSON property `pageCount`
86352
- # @return [Fixnum]
86353
- attr_accessor :page_count
86354
-
86355
- #
86356
- # Corresponds to the JSON property `siteKey`
86357
- # @return [String]
86358
- attr_accessor :site_key
86359
-
86360
- #
86361
- # Corresponds to the JSON property `version`
86362
- # @return [Fixnum]
86363
- attr_accessor :version
86364
-
86365
- def initialize(**args)
86366
- update!(**args)
86367
- end
86368
-
86369
- # Update properties of this object
86370
- def update!(**args)
86371
- @any_porn_page_count = args[:any_porn_page_count] if args.key?(:any_porn_page_count)
86372
- @page_count = args[:page_count] if args.key?(:page_count)
86373
- @site_key = args[:site_key] if args.key?(:site_key)
86374
- @version = args[:version] if args.key?(:version)
86375
- end
86376
- end
86377
-
86378
86399
  # Next free ID: 32
86379
86400
  class PostalAddress
86380
86401
  include Google::Apis::Core::Hashable
@@ -87174,7 +87195,7 @@ module Google
87174
87195
  end
87175
87196
  end
87176
87197
 
87177
- # Next id: 30
87198
+ # Next id: 32
87178
87199
  class QualityActionsReminder
87179
87200
  include Google::Apis::Core::Hashable
87180
87201
 
@@ -87278,6 +87299,20 @@ module Google
87278
87299
  # @return [String]
87279
87300
  attr_accessor :description
87280
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
+
87281
87316
  # DEPRECATED. Use `client_id` or `server_id` instead.
87282
87317
  # Corresponds to the JSON property `id`
87283
87318
  # @return [String]
@@ -87370,6 +87405,8 @@ module Google
87370
87405
  @customized_notification_card = args[:customized_notification_card] if args.key?(:customized_notification_card)
87371
87406
  @datetime = args[:datetime] if args.key?(:datetime)
87372
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)
87373
87410
  @id = args[:id] if args.key?(:id)
87374
87411
  @location = args[:location] if args.key?(:location)
87375
87412
  @log = args[:log] if args.key?(:log)
@@ -87385,6 +87422,36 @@ module Google
87385
87422
  end
87386
87423
  end
87387
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
+
87388
87455
  # A representation of reminder-triggering locations. They may be specific,
87389
87456
  # resolved locations, non-specific location groups, or personal aliases. Next id:
87390
87457
  # 12
@@ -87940,6 +88007,250 @@ module Google
87940
88007
  end
87941
88008
  end
87942
88009
 
88010
+ # Contains the needed information for serving a single LiveOp/LiveEvent on AU.
88011
+ # Next ID: 9
88012
+ class QualityCalypsoAppsUniversalAuLiveOpDetail
88013
+ include Google::Apis::Core::Hashable
88014
+
88015
+ # Key is country, and value is the schedule information in that country.
88016
+ # Corresponds to the JSON property `countryLevelScheduleInformation`
88017
+ # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpEvent>]
88018
+ attr_accessor :country_level_schedule_information
88019
+
88020
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88021
+ # Corresponds to the JSON property `defaultFormatInformation`
88022
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpFormat]
88023
+ attr_accessor :default_format_information
88024
+
88025
+ # Contains the schedule for a single live-op event. Next ID: 4
88026
+ # Corresponds to the JSON property `defaultScheduleInformation`
88027
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpEvent]
88028
+ attr_accessor :default_schedule_information
88029
+
88030
+ # android
88031
+ # Corresponds to the JSON property `eventId`
88032
+ # @return [String]
88033
+ attr_accessor :event_id
88034
+
88035
+ # [REQUIRED] type of live op event.
88036
+ # Corresponds to the JSON property `eventType`
88037
+ # @return [String]
88038
+ attr_accessor :event_type
88039
+
88040
+ # ios
88041
+ # Corresponds to the JSON property `eventUrl`
88042
+ # @return [String]
88043
+ attr_accessor :event_url
88044
+
88045
+ # Key is locale, and value is the format information for that locale.
88046
+ # Corresponds to the JSON property `localeLevelFormatInformation`
88047
+ # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpFormat>]
88048
+ attr_accessor :locale_level_format_information
88049
+
88050
+ #
88051
+ # Corresponds to the JSON property `priority`
88052
+ # @return [String]
88053
+ attr_accessor :priority
88054
+
88055
+ def initialize(**args)
88056
+ update!(**args)
88057
+ end
88058
+
88059
+ # Update properties of this object
88060
+ def update!(**args)
88061
+ @country_level_schedule_information = args[:country_level_schedule_information] if args.key?(:country_level_schedule_information)
88062
+ @default_format_information = args[:default_format_information] if args.key?(:default_format_information)
88063
+ @default_schedule_information = args[:default_schedule_information] if args.key?(:default_schedule_information)
88064
+ @event_id = args[:event_id] if args.key?(:event_id)
88065
+ @event_type = args[:event_type] if args.key?(:event_type)
88066
+ @event_url = args[:event_url] if args.key?(:event_url)
88067
+ @locale_level_format_information = args[:locale_level_format_information] if args.key?(:locale_level_format_information)
88068
+ @priority = args[:priority] if args.key?(:priority)
88069
+ end
88070
+ end
88071
+
88072
+ # Contains the schedule for a single live-op event. Next ID: 4
88073
+ class QualityCalypsoAppsUniversalAuLiveOpEvent
88074
+ include Google::Apis::Core::Hashable
88075
+
88076
+ # [REQUIRED] End time in UTC for the live-op event.
88077
+ # Corresponds to the JSON property `endTimestampMillis`
88078
+ # @return [Fixnum]
88079
+ attr_accessor :end_timestamp_millis
88080
+
88081
+ # If specified, a live-op event must be shown only after this preview-time (in
88082
+ # UTC). Otherwise, the event can be shown at any time as long as its before the
88083
+ # end time.
88084
+ # Corresponds to the JSON property `previewTimestampMillis`
88085
+ # @return [Fixnum]
88086
+ attr_accessor :preview_timestamp_millis
88087
+
88088
+ # [REQUIRED] Start time in UTC for the live-op event.
88089
+ # Corresponds to the JSON property `startTimestampMillis`
88090
+ # @return [Fixnum]
88091
+ attr_accessor :start_timestamp_millis
88092
+
88093
+ def initialize(**args)
88094
+ update!(**args)
88095
+ end
88096
+
88097
+ # Update properties of this object
88098
+ def update!(**args)
88099
+ @end_timestamp_millis = args[:end_timestamp_millis] if args.key?(:end_timestamp_millis)
88100
+ @preview_timestamp_millis = args[:preview_timestamp_millis] if args.key?(:preview_timestamp_millis)
88101
+ @start_timestamp_millis = args[:start_timestamp_millis] if args.key?(:start_timestamp_millis)
88102
+ end
88103
+ end
88104
+
88105
+ # Contains the format information for a single LiveOp/LiveEvent. Next ID: 10
88106
+ class QualityCalypsoAppsUniversalAuLiveOpFormat
88107
+ include Google::Apis::Core::Hashable
88108
+
88109
+ #
88110
+ # Corresponds to the JSON property `deeplink`
88111
+ # @return [String]
88112
+ attr_accessor :deeplink
88113
+
88114
+ #
88115
+ # Corresponds to the JSON property `description`
88116
+ # @return [String]
88117
+ attr_accessor :description
88118
+
88119
+ # iOS only, kind of event type
88120
+ # Corresponds to the JSON property `eyebrow`
88121
+ # @return [String]
88122
+ attr_accessor :eyebrow
88123
+
88124
+ #
88125
+ # Corresponds to the JSON property `imageUrl`
88126
+ # @return [String]
88127
+ attr_accessor :image_url
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
+
88139
+ #
88140
+ # Corresponds to the JSON property `title`
88141
+ # @return [String]
88142
+ attr_accessor :title
88143
+
88144
+ #
88145
+ # Corresponds to the JSON property `videoId`
88146
+ # @return [String]
88147
+ attr_accessor :video_id
88148
+
88149
+ #
88150
+ # Corresponds to the JSON property `videoUrl`
88151
+ # @return [String]
88152
+ attr_accessor :video_url
88153
+
88154
+ def initialize(**args)
88155
+ update!(**args)
88156
+ end
88157
+
88158
+ # Update properties of this object
88159
+ def update!(**args)
88160
+ @deeplink = args[:deeplink] if args.key?(:deeplink)
88161
+ @description = args[:description] if args.key?(:description)
88162
+ @eyebrow = args[:eyebrow] if args.key?(:eyebrow)
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)
88166
+ @title = args[:title] if args.key?(:title)
88167
+ @video_id = args[:video_id] if args.key?(:video_id)
88168
+ @video_url = args[:video_url] if args.key?(:video_url)
88169
+ end
88170
+ end
88171
+
88172
+ # Stores all possible LiveOps/LiveEvents that are eligible to be shown for an
88173
+ # app.
88174
+ class QualityCalypsoAppsUniversalAuLiveOpsDetailInfo
88175
+ include Google::Apis::Core::Hashable
88176
+
88177
+ #
88178
+ # Corresponds to the JSON property `liveOpEvents`
88179
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpDetail>]
88180
+ attr_accessor :live_op_events
88181
+
88182
+ #
88183
+ # Corresponds to the JSON property `packageName`
88184
+ # @return [String]
88185
+ attr_accessor :package_name
88186
+
88187
+ def initialize(**args)
88188
+ update!(**args)
88189
+ end
88190
+
88191
+ # Update properties of this object
88192
+ def update!(**args)
88193
+ @live_op_events = args[:live_op_events] if args.key?(:live_op_events)
88194
+ @package_name = args[:package_name] if args.key?(:package_name)
88195
+ end
88196
+ end
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
+
87943
88254
  # Proto message containing site-level signal for search stack. Because
87944
88255
  # firefly_stats.proto depends on "//segindexer:compositedoc_proto", we cannot
87945
88256
  # make perdocdata contain it.
@@ -88951,6 +89262,11 @@ module Google
88951
89262
  # @return [Float]
88952
89263
  attr_accessor :last_longest_clicks
88953
89264
 
89265
+ # The subset of clicks that are associated with an event from a Unicorn user.
89266
+ # Corresponds to the JSON property `unicornClicks`
89267
+ # @return [Float]
89268
+ attr_accessor :unicorn_clicks
89269
+
88954
89270
  # This is not being populated for the current format - instead two instances of
88955
89271
  # CrapsClickSignals (squashed/unsquashed) are used. We are migrating to the new
88956
89272
  # format where this field will be populated.
@@ -88982,6 +89298,7 @@ module Google
88982
89298
  @good_clicks = args[:good_clicks] if args.key?(:good_clicks)
88983
89299
  @impressions = args[:impressions] if args.key?(:impressions)
88984
89300
  @last_longest_clicks = args[:last_longest_clicks] if args.key?(:last_longest_clicks)
89301
+ @unicorn_clicks = args[:unicorn_clicks] if args.key?(:unicorn_clicks)
88985
89302
  @unsquashed_clicks = args[:unsquashed_clicks] if args.key?(:unsquashed_clicks)
88986
89303
  @unsquashed_impressions = args[:unsquashed_impressions] if args.key?(:unsquashed_impressions)
88987
89304
  @unsquashed_last_longest_clicks = args[:unsquashed_last_longest_clicks] if args.key?(:unsquashed_last_longest_clicks)
@@ -89586,7 +89903,10 @@ module Google
89586
89903
  # @return [Float]
89587
89904
  attr_accessor :locality_score
89588
89905
 
89589
- # 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.
89590
89910
  # Corresponds to the JSON property `metadata`
89591
89911
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrDataMetadata]
89592
89912
  attr_accessor :metadata
@@ -89628,9 +89948,9 @@ module Google
89628
89948
 
89629
89949
  # NSR - prior. Estimate of whether the site is above/below average NSR in its
89630
89950
  # slice.
89631
- # Corresponds to the JSON property `relativeNsr`
89951
+ # Corresponds to the JSON property `priorAdjustedNsr`
89632
89952
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
89633
- attr_accessor :relative_nsr
89953
+ attr_accessor :prior_adjusted_nsr
89634
89954
 
89635
89955
  # Secondary NSR sitechunk. When present, it provides more granular chunking than
89636
89956
  # primary sitechunks (see quality/nsr/util/sitechunker.h for details).
@@ -89765,7 +90085,7 @@ module Google
89765
90085
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
89766
90086
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
89767
90087
  @pnav = args[:pnav] if args.key?(:pnav)
89768
- @relative_nsr = args[:relative_nsr] if args.key?(:relative_nsr)
90088
+ @prior_adjusted_nsr = args[:prior_adjusted_nsr] if args.key?(:prior_adjusted_nsr)
89769
90089
  @secondary_site_chunk = args[:secondary_site_chunk] if args.key?(:secondary_site_chunk)
89770
90090
  @shopping_score = args[:shopping_score] if args.key?(:shopping_score)
89771
90091
  @site_autopilot_score = args[:site_autopilot_score] if args.key?(:site_autopilot_score)
@@ -89813,26 +90133,61 @@ module Google
89813
90133
  end
89814
90134
  end
89815
90135
 
89816
- # 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.
89817
90140
  class QualityNsrNsrDataMetadata
89818
90141
  include Google::Apis::Core::Hashable
89819
90142
 
89820
- # This is an internal field set by Raffia, to indicate which lookup key this
89821
- # record belonged to. This is helpful in determining where the final data is
89822
- # coming from, as we don't populate `site_chunk` fields offline (at all), so we
89823
- # cannot distinguish if data is coming from host fallback, secondary chunks or
89824
- # 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
+ #
89825
90159
  # Corresponds to the JSON property `raffiaLookupKey`
89826
90160
  # @return [String]
89827
90161
  attr_accessor :raffia_lookup_key
89828
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
+
89829
90180
  def initialize(**args)
89830
90181
  update!(**args)
89831
90182
  end
89832
90183
 
89833
90184
  # Update properties of this object
89834
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)
89835
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)
89836
90191
  end
89837
90192
  end
89838
90193
 
@@ -90065,7 +90420,7 @@ module Google
90065
90420
  end
90066
90421
  end
90067
90422
 
90068
- # Information for chosen snippet. Next ID: 7
90423
+ # Information for chosen snippet. Next ID: 8
90069
90424
  class QualityPreviewChosenSnippetInfo
90070
90425
  include Google::Apis::Core::Hashable
90071
90426
 
@@ -90080,6 +90435,11 @@ module Google
90080
90435
  # @return [String]
90081
90436
  attr_accessor :leading_text_type
90082
90437
 
90438
+ # The rendered snippet html.
90439
+ # Corresponds to the JSON property `snippetHtml`
90440
+ # @return [String]
90441
+ attr_accessor :snippet_html
90442
+
90083
90443
  #
90084
90444
  # Corresponds to the JSON property `snippetType`
90085
90445
  # @return [String]
@@ -90087,8 +90447,7 @@ module Google
90087
90447
 
90088
90448
  # Source of the chosen snippet, decided in PORC. String value of quality.porc.
90089
90449
  # TextSnippetCandidate.TextSnippetSource defined at google3/quality/porc/proto/
90090
- # text_snippet.proto Note: This field is only populated and used in offline
90091
- # pipeline.
90450
+ # text_snippet.proto
90092
90451
  # Corresponds to the JSON property `source`
90093
90452
  # @return [String]
90094
90453
  attr_accessor :source
@@ -90112,6 +90471,7 @@ module Google
90112
90471
  def update!(**args)
90113
90472
  @is_vulgar = args[:is_vulgar] if args.key?(:is_vulgar)
90114
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)
90115
90475
  @snippet_type = args[:snippet_type] if args.key?(:snippet_type)
90116
90476
  @source = args[:source] if args.key?(:source)
90117
90477
  @tidbits = args[:tidbits] if args.key?(:tidbits)
@@ -90162,7 +90522,7 @@ module Google
90162
90522
  end
90163
90523
  end
90164
90524
 
90165
- # Snippet candidate related information and signal scores.
90525
+ # Snippet candidate related information and signal scores. Next ID: 11
90166
90526
  class QualityPreviewRanklabSnippet
90167
90527
  include Google::Apis::Core::Hashable
90168
90528
 
@@ -90181,6 +90541,22 @@ module Google
90181
90541
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetExperimentalFeatures]
90182
90542
  attr_accessor :experimental_features
90183
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
+
90184
90560
  # Quality related features used in snippets scoring. Next ID: 10
90185
90561
  # Corresponds to the JSON property `qualityFeatures`
90186
90562
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQualityFeatures]
@@ -90196,7 +90572,7 @@ module Google
90196
90572
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
90197
90573
  attr_accessor :query_term_coverage_features
90198
90574
 
90199
- # Information for chosen snippet. Next ID: 7
90575
+ # Information for chosen snippet. Next ID: 8
90200
90576
  # Corresponds to the JSON property `snippetInfo`
90201
90577
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewChosenSnippetInfo]
90202
90578
  attr_accessor :snippet_info
@@ -90210,6 +90586,9 @@ module Google
90210
90586
  @brain_features = args[:brain_features] if args.key?(:brain_features)
90211
90587
  @document_features = args[:document_features] if args.key?(:document_features)
90212
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)
90213
90592
  @quality_features = args[:quality_features] if args.key?(:quality_features)
90214
90593
  @query_features = args[:query_features] if args.key?(:query_features)
90215
90594
  @query_term_coverage_features = args[:query_term_coverage_features] if args.key?(:query_term_coverage_features)
@@ -90623,7 +91002,13 @@ module Google
90623
91002
  class QualityPreviewSnippetBrainFeatures
90624
91003
  include Google::Apis::Core::Hashable
90625
91004
 
90626
- #
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.
90627
91012
  # Corresponds to the JSON property `modelScore`
90628
91013
  # @return [Float]
90629
91014
  attr_accessor :model_score
@@ -90634,6 +91019,7 @@ module Google
90634
91019
 
90635
91020
  # Update properties of this object
90636
91021
  def update!(**args)
91022
+ @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
90637
91023
  @model_score = args[:model_score] if args.key?(:model_score)
90638
91024
  end
90639
91025
  end
@@ -91258,7 +91644,7 @@ module Google
91258
91644
  end
91259
91645
  end
91260
91646
 
91261
- # Contact metadata Next Id: 35
91647
+ # Contact metadata Next Id: 36
91262
91648
  class QualityQrewritePersonalContactData
91263
91649
  include Google::Apis::Core::Hashable
91264
91650
 
@@ -91363,6 +91749,11 @@ module Google
91363
91749
  attr_accessor :is_visible_to_guests_relationship
91364
91750
  alias_method :is_visible_to_guests_relationship?, :is_visible_to_guests_relationship
91365
91751
 
91752
+ #
91753
+ # Corresponds to the JSON property `lookupNameSource`
91754
+ # @return [String]
91755
+ attr_accessor :lookup_name_source
91756
+
91366
91757
  # Neural contact match signals.
91367
91758
  # Corresponds to the JSON property `matchSignal`
91368
91759
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsCommonContactMatchSignal]
@@ -91471,6 +91862,7 @@ module Google
91471
91862
  @is_from_on_device_lookup = args[:is_from_on_device_lookup] if args.key?(:is_from_on_device_lookup)
91472
91863
  @is_transliterated_match = args[:is_transliterated_match] if args.key?(:is_transliterated_match)
91473
91864
  @is_visible_to_guests_relationship = args[:is_visible_to_guests_relationship] if args.key?(:is_visible_to_guests_relationship)
91865
+ @lookup_name_source = args[:lookup_name_source] if args.key?(:lookup_name_source)
91474
91866
  @match_signal = args[:match_signal] if args.key?(:match_signal)
91475
91867
  @matched_name_type = args[:matched_name_type] if args.key?(:matched_name_type)
91476
91868
  @matched_recognition_alternate_name = args[:matched_recognition_alternate_name] if args.key?(:matched_recognition_alternate_name)
@@ -92181,10 +92573,16 @@ module Google
92181
92573
  # that we can control individual fields that will sit in Muppet. Data here will
92182
92574
  # be used for scoring organic shopping web results and previews. Many shopping
92183
92575
  # related signals, e.g., product review score, are also served from this
92184
- # attachment. Next ID: 20
92576
+ # attachment. Next ID: 21
92185
92577
  class QualityShoppingShoppingAttachment
92186
92578
  include Google::Apis::Core::Hashable
92187
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
+
92188
92586
  #
92189
92587
  # Corresponds to the JSON property `datasetModelBuyingGuideScore`
92190
92588
  # @return [Fixnum]
@@ -92289,6 +92687,7 @@ module Google
92289
92687
 
92290
92688
  # Update properties of this object
92291
92689
  def update!(**args)
92690
+ @dataset_model_article_score = args[:dataset_model_article_score] if args.key?(:dataset_model_article_score)
92292
92691
  @dataset_model_buying_guide_score = args[:dataset_model_buying_guide_score] if args.key?(:dataset_model_buying_guide_score)
92293
92692
  @dataset_model_forum_list_score = args[:dataset_model_forum_list_score] if args.key?(:dataset_model_forum_list_score)
92294
92693
  @dataset_model_forum_single_score = args[:dataset_model_forum_single_score] if args.key?(:dataset_model_forum_single_score)
@@ -93283,6 +93682,12 @@ module Google
93283
93682
  class QualityTimebasedLastSignificantUpdate
93284
93683
  include Google::Apis::Core::Hashable
93285
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
+
93286
93691
  # LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/
93287
93692
  # lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status)
93288
93693
  # , falling back to the legacy V1 signal if the V2 signal does not exist. Please
@@ -93302,11 +93707,54 @@ module Google
93302
93707
 
93303
93708
  # Update properties of this object
93304
93709
  def update!(**args)
93710
+ @adjustment_info = args[:adjustment_info] if args.key?(:adjustment_info)
93305
93711
  @date = args[:date] if args.key?(:date)
93306
93712
  @source = args[:source] if args.key?(:source)
93307
93713
  end
93308
93714
  end
93309
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
+
93310
93758
  #
93311
93759
  class QualityTimebasedOldnessInfo
93312
93760
  include Google::Apis::Core::Hashable
@@ -94217,10 +94665,15 @@ module Google
94217
94665
  end
94218
94666
 
94219
94667
  # This structure holds data for application information for rich snippets Next
94220
- # ID: 48
94668
+ # ID: 52
94221
94669
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplication
94222
94670
  include Google::Apis::Core::Hashable
94223
94671
 
94672
+ #
94673
+ # Corresponds to the JSON property `appTypeData`
94674
+ # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationAppTypeData]
94675
+ attr_accessor :app_type_data
94676
+
94224
94677
  # Fields for internal use
94225
94678
  # Corresponds to the JSON property `applicationUrl`
94226
94679
  # @return [String]
@@ -94299,6 +94752,11 @@ module Google
94299
94752
  # @return [String]
94300
94753
  attr_accessor :icon_url_thumbnail
94301
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
+
94302
94760
  # Whether the app offers in-app purchase.
94303
94761
  # Corresponds to the JSON property `inAppPurchase`
94304
94762
  # @return [Boolean]
@@ -94323,6 +94781,12 @@ module Google
94323
94781
  # @return [String]
94324
94782
  attr_accessor :last_updated
94325
94783
 
94784
+ # Stores all possible LiveOps/LiveEvents that are eligible to be shown for an
94785
+ # app.
94786
+ # Corresponds to the JSON property `liveOpDetails`
94787
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpsDetailInfo]
94788
+ attr_accessor :live_op_details
94789
+
94326
94790
  # Market Android or itunes
94327
94791
  # Corresponds to the JSON property `marketplace`
94328
94792
  # @return [String]
@@ -94375,6 +94839,11 @@ module Google
94375
94839
  # @return [String]
94376
94840
  attr_accessor :price
94377
94841
 
94842
+ #
94843
+ # Corresponds to the JSON property `rankData`
94844
+ # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRankData]
94845
+ attr_accessor :rank_data
94846
+
94378
94847
  # Ratings and reviews Either for this version only or for all versions to be
94379
94848
  # displayed.
94380
94849
  # Corresponds to the JSON property `rating`
@@ -94401,7 +94870,7 @@ module Google
94401
94870
  # @return [String]
94402
94871
  attr_accessor :review_count
94403
94872
 
94404
- #
94873
+ # TODO(b/260128276) deprecate this field in favor of image_data.
94405
94874
  # Corresponds to the JSON property `screenUrlHref`
94406
94875
  # @return [Array<String>]
94407
94876
  attr_accessor :screen_url_href
@@ -94476,6 +94945,7 @@ module Google
94476
94945
 
94477
94946
  # Update properties of this object
94478
94947
  def update!(**args)
94948
+ @app_type_data = args[:app_type_data] if args.key?(:app_type_data)
94479
94949
  @application_url = args[:application_url] if args.key?(:application_url)
94480
94950
  @breadcrumbs = args[:breadcrumbs] if args.key?(:breadcrumbs)
94481
94951
  @category = args[:category] if args.key?(:category)
@@ -94491,10 +94961,12 @@ module Google
94491
94961
  @has_editors_choice_badge = args[:has_editors_choice_badge] if args.key?(:has_editors_choice_badge)
94492
94962
  @icon_url_href = args[:icon_url_href] if args.key?(:icon_url_href)
94493
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)
94494
94965
  @in_app_purchase = args[:in_app_purchase] if args.key?(:in_app_purchase)
94495
94966
  @is_default_lang_locale = args[:is_default_lang_locale] if args.key?(:is_default_lang_locale)
94496
94967
  @lang_locale = args[:lang_locale] if args.key?(:lang_locale)
94497
94968
  @last_updated = args[:last_updated] if args.key?(:last_updated)
94969
+ @live_op_details = args[:live_op_details] if args.key?(:live_op_details)
94498
94970
  @marketplace = args[:marketplace] if args.key?(:marketplace)
94499
94971
  @name = args[:name] if args.key?(:name)
94500
94972
  @num_downloads = args[:num_downloads] if args.key?(:num_downloads)
@@ -94505,6 +94977,7 @@ module Google
94505
94977
  @platform_tags = args[:platform_tags] if args.key?(:platform_tags)
94506
94978
  @popular_score = args[:popular_score] if args.key?(:popular_score)
94507
94979
  @price = args[:price] if args.key?(:price)
94980
+ @rank_data = args[:rank_data] if args.key?(:rank_data)
94508
94981
  @rating = args[:rating] if args.key?(:rating)
94509
94982
  @rating_count = args[:rating_count] if args.key?(:rating_count)
94510
94983
  @release_date = args[:release_date] if args.key?(:release_date)
@@ -94526,6 +94999,25 @@ module Google
94526
94999
  end
94527
95000
  end
94528
95001
 
95002
+ #
95003
+ class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationAppTypeData
95004
+ include Google::Apis::Core::Hashable
95005
+
95006
+ # Top level app category type (GAME or APPLICATION). Copied from playwright.
95007
+ # Corresponds to the JSON property `playStoreAppType`
95008
+ # @return [String]
95009
+ attr_accessor :play_store_app_type
95010
+
95011
+ def initialize(**args)
95012
+ update!(**args)
95013
+ end
95014
+
95015
+ # Update properties of this object
95016
+ def update!(**args)
95017
+ @play_store_app_type = args[:play_store_app_type] if args.key?(:play_store_app_type)
95018
+ end
95019
+ end
95020
+
94529
95021
  #
94530
95022
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationCountryPrice
94531
95023
  include Google::Apis::Core::Hashable
@@ -94558,6 +95050,75 @@ module Google
94558
95050
  end
94559
95051
  end
94560
95052
 
95053
+ #
95054
+ class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank
95055
+ include Google::Apis::Core::Hashable
95056
+
95057
+ #
95058
+ # Corresponds to the JSON property `appStoreLink`
95059
+ # @return [String]
95060
+ attr_accessor :app_store_link
95061
+
95062
+ #
95063
+ # Corresponds to the JSON property `categoryId`
95064
+ # @return [String]
95065
+ attr_accessor :category_id
95066
+
95067
+ #
95068
+ # Corresponds to the JSON property `categoryName`
95069
+ # @return [String]
95070
+ attr_accessor :category_name
95071
+
95072
+ #
95073
+ # Corresponds to the JSON property `chartType`
95074
+ # @return [String]
95075
+ attr_accessor :chart_type
95076
+
95077
+ #
95078
+ # Corresponds to the JSON property `rank`
95079
+ # @return [Fixnum]
95080
+ attr_accessor :rank
95081
+
95082
+ def initialize(**args)
95083
+ update!(**args)
95084
+ end
95085
+
95086
+ # Update properties of this object
95087
+ def update!(**args)
95088
+ @app_store_link = args[:app_store_link] if args.key?(:app_store_link)
95089
+ @category_id = args[:category_id] if args.key?(:category_id)
95090
+ @category_name = args[:category_name] if args.key?(:category_name)
95091
+ @chart_type = args[:chart_type] if args.key?(:chart_type)
95092
+ @rank = args[:rank] if args.key?(:rank)
95093
+ end
95094
+ end
95095
+
95096
+ #
95097
+ class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRankData
95098
+ include Google::Apis::Core::Hashable
95099
+
95100
+ # Copied from the category_id field from Playwright docs. It helps decide which
95101
+ # category to show in app ranking info.
95102
+ # Corresponds to the JSON property `playwrightCategoryId`
95103
+ # @return [Array<String>]
95104
+ attr_accessor :playwright_category_id
95105
+
95106
+ #
95107
+ # Corresponds to the JSON property `rank`
95108
+ # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank>]
95109
+ attr_accessor :rank
95110
+
95111
+ def initialize(**args)
95112
+ update!(**args)
95113
+ end
95114
+
95115
+ # Update properties of this object
95116
+ def update!(**args)
95117
+ @playwright_category_id = args[:playwright_category_id] if args.key?(:playwright_category_id)
95118
+ @rank = args[:rank] if args.key?(:rank)
95119
+ end
95120
+ end
95121
+
94561
95122
  # Represents the aggregated score of the entities for a given name, aggregated
94562
95123
  # over all sources. Next available tag: 3.
94563
95124
  class RepositoryWebrefAggregatedEntityNameScores
@@ -95157,25 +95718,10 @@ module Google
95157
95718
  # type) R, then: For each entity B that has incoming links of type R This
95158
95719
  # defines an instance of this rule, with argument=B We create a Set S We make B
95159
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
95160
95722
  class RepositoryWebrefClusterProtoRelationRule
95161
95723
  include Google::Apis::Core::Hashable
95162
95724
 
95163
- # If true, cluster global names and links will be extracted from the target of
95164
- # the property. If false, all members of the cluster will be considered sources.
95165
- # Corresponds to the JSON property `isCollapsible`
95166
- # @return [Boolean]
95167
- attr_accessor :is_collapsible
95168
- alias_method :is_collapsible?, :is_collapsible
95169
-
95170
- # Whether the target of the relation is an intermediate (CVT) node in KG: - if
95171
- # it is not: generate external_id for the cluster - if it is: - CVT should not
95172
- # be /common/topic otherwise rule will not be created - cluster will reuse CVT
95173
- # mid as its own
95174
- # Corresponds to the JSON property `isCvtRule`
95175
- # @return [Boolean]
95176
- attr_accessor :is_cvt_rule
95177
- alias_method :is_cvt_rule?, :is_cvt_rule
95178
-
95179
95725
  # The topic_property_name for the link that defines the relation, e.g. "/tv/
95180
95726
  # tv_series_episode/series". Can start with a "!" to indicate that this link is
95181
95727
  # reversed during extraction and we want the reversed case. Required.
@@ -95183,21 +95729,13 @@ module Google
95183
95729
  # @return [String]
95184
95730
  attr_accessor :relation
95185
95731
 
95186
- # No longer set.
95187
- # Corresponds to the JSON property `sequenceId`
95188
- # @return [Fixnum]
95189
- attr_accessor :sequence_id
95190
-
95191
95732
  def initialize(**args)
95192
95733
  update!(**args)
95193
95734
  end
95194
95735
 
95195
95736
  # Update properties of this object
95196
95737
  def update!(**args)
95197
- @is_collapsible = args[:is_collapsible] if args.key?(:is_collapsible)
95198
- @is_cvt_rule = args[:is_cvt_rule] if args.key?(:is_cvt_rule)
95199
95738
  @relation = args[:relation] if args.key?(:relation)
95200
- @sequence_id = args[:sequence_id] if args.key?(:sequence_id)
95201
95739
  end
95202
95740
  end
95203
95741
 
@@ -95216,6 +95754,7 @@ module Google
95216
95754
  # type) R, then: For each entity B that has incoming links of type R This
95217
95755
  # defines an instance of this rule, with argument=B We create a Set S We make B
95218
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
95219
95758
  # Corresponds to the JSON property `rule`
95220
95759
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefClusterProtoRelationRule]
95221
95760
  attr_accessor :rule
@@ -96176,12 +96715,6 @@ module Google
96176
96715
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGlobalNameInfo>]
96177
96716
  attr_accessor :name_info
96178
96717
 
96179
- # If you add any field, make sure to add it in reffresh to the empty checks at
96180
- # the end of the corresponding name extractor processors (extract-*-names.cc).
96181
- # Corresponds to the JSON property `nameSignals`
96182
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameSignals]
96183
- attr_accessor :name_signals
96184
-
96185
96718
  # Contains names and names metadata used by Refcon.
96186
96719
  # Corresponds to the JSON property `refconNameInfo`
96187
96720
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefRefconRefconNameInfo>]
@@ -96213,7 +96746,6 @@ module Google
96213
96746
  @human_ratings = args[:human_ratings] if args.key?(:human_ratings)
96214
96747
  @link_info = args[:link_info] if args.key?(:link_info)
96215
96748
  @name_info = args[:name_info] if args.key?(:name_info)
96216
- @name_signals = args[:name_signals] if args.key?(:name_signals)
96217
96749
  @refcon_name_info = args[:refcon_name_info] if args.key?(:refcon_name_info)
96218
96750
  @representation = args[:representation] if args.key?(:representation)
96219
96751
  end
@@ -97250,7 +97782,25 @@ module Google
97250
97782
  class RepositoryWebrefImageQueryIndices
97251
97783
  include Google::Apis::Core::Hashable
97252
97784
 
97253
- # / 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.
97254
97804
  # Corresponds to the JSON property `imageIndex`
97255
97805
  # @return [Fixnum]
97256
97806
  attr_accessor :image_index
@@ -97269,6 +97819,8 @@ module Google
97269
97819
 
97270
97820
  # Update properties of this object
97271
97821
  def update!(**args)
97822
+ @canonical_docid = args[:canonical_docid] if args.key?(:canonical_docid)
97823
+ @docid = args[:docid] if args.key?(:docid)
97272
97824
  @image_index = args[:image_index] if args.key?(:image_index)
97273
97825
  @query_index = args[:query_index] if args.key?(:query_index)
97274
97826
  end
@@ -97821,11 +98373,6 @@ module Google
97821
98373
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefMdvcMetadataPerVertical>]
97822
98374
  attr_accessor :per_vertical
97823
98375
 
97824
- #
97825
- # Corresponds to the JSON property `queryToLongRunningStoryDataset`
97826
- # @return [Google::Apis::ContentwarehouseV1::NewsReconServiceLrsQ2lrs2QueryToLrsDataset]
97827
- attr_accessor :query_to_long_running_story_dataset
97828
-
97829
98376
  # Undergoing migration into the PerVertical message. Avoid using it. Resolution
97830
98377
  # priority for this entity. In case a query has many possible resolutions, only
97831
98378
  # the ones with the highest resolution priority are annotated.
@@ -97844,7 +98391,6 @@ module Google
97844
98391
  @generalization = args[:generalization] if args.key?(:generalization)
97845
98392
  @is_synthetic = args[:is_synthetic] if args.key?(:is_synthetic)
97846
98393
  @per_vertical = args[:per_vertical] if args.key?(:per_vertical)
97847
- @query_to_long_running_story_dataset = args[:query_to_long_running_story_dataset] if args.key?(:query_to_long_running_story_dataset)
97848
98394
  @resolution_priority = args[:resolution_priority] if args.key?(:resolution_priority)
97849
98395
  end
97850
98396
  end
@@ -98798,21 +99344,6 @@ module Google
98798
99344
  # @return [String]
98799
99345
  attr_accessor :content_relevant
98800
99346
 
98801
- #
98802
- # Corresponds to the JSON property `deprecatedItemId`
98803
- # @return [Fixnum]
98804
- attr_accessor :deprecated_item_id
98805
-
98806
- #
98807
- # Corresponds to the JSON property `deprecatedProjectId`
98808
- # @return [Fixnum]
98809
- attr_accessor :deprecated_project_id
98810
-
98811
- #
98812
- # Corresponds to the JSON property `deprecatedTaskId`
98813
- # @return [Fixnum]
98814
- attr_accessor :deprecated_task_id
98815
-
98816
99347
  # How this rating is displayed in the evals, pre-computed from the other fields.
98817
99348
  # Corresponds to the JSON property `displayString`
98818
99349
  # @return [String]
@@ -98824,33 +99355,17 @@ module Google
98824
99355
  # @return [String]
98825
99356
  attr_accessor :furball_url
98826
99357
 
98827
- #
98828
- # Corresponds to the JSON property `itemDescription`
98829
- # @return [String]
98830
- attr_accessor :item_description
98831
-
98832
99358
  #
98833
99359
  # Corresponds to the JSON property `itemId`
98834
99360
  # @return [Fixnum]
98835
99361
  attr_accessor :item_id
98836
99362
 
98837
- #
98838
- # Corresponds to the JSON property `language`
98839
- # @return [String]
98840
- attr_accessor :language
98841
-
98842
99363
  # If the topic is about a business chain, whether the
98843
99364
  # Corresponds to the JSON property `pageIsAboutChain`
98844
99365
  # @return [String]
98845
99366
  attr_accessor :page_is_about_chain
98846
99367
 
98847
- # If true, content_relevance is set to NONE.
98848
- # Corresponds to the JSON property `pageNotLoaded`
98849
- # @return [Boolean]
98850
- attr_accessor :page_not_loaded
98851
- alias_method :page_not_loaded?, :page_not_loaded
98852
-
98853
- #
99368
+ # Metadata for task-level ratings. Not filled for aggregated doc-level ratings.
98854
99369
  # Corresponds to the JSON property `projectId`
98855
99370
  # @return [Fixnum]
98856
99371
  attr_accessor :project_id
@@ -98861,11 +99376,6 @@ module Google
98861
99376
  attr_accessor :rater_can_understand_topic
98862
99377
  alias_method :rater_can_understand_topic?, :rater_can_understand_topic
98863
99378
 
98864
- # Floating point representation of the `content_relevant` field.
98865
- # Corresponds to the JSON property `ratingScore`
98866
- # @return [Float]
98867
- attr_accessor :rating_score
98868
-
98869
99379
  # Information about what the raters saw, how the information was presented to
98870
99380
  # them, or how they interacted with the task. Next id: 6
98871
99381
  # Corresponds to the JSON property `taskDetails`
@@ -98877,21 +99387,6 @@ module Google
98877
99387
  # @return [Fixnum]
98878
99388
  attr_accessor :task_id
98879
99389
 
98880
- #
98881
- # Corresponds to the JSON property `taskStatus`
98882
- # @return [String]
98883
- attr_accessor :task_status
98884
-
98885
- #
98886
- # Corresponds to the JSON property `taskUser`
98887
- # @return [Fixnum]
98888
- attr_accessor :task_user
98889
-
98890
- # Metadata for task-level ratings. Not filled for aggregated doc-level ratings.
98891
- # Corresponds to the JSON property `templateId`
98892
- # @return [Fixnum]
98893
- attr_accessor :template_id
98894
-
98895
99390
  # Whether the topic is about a business chain.
98896
99391
  # Corresponds to the JSON property `topicIsChain`
98897
99392
  # @return [String]
@@ -98904,24 +99399,14 @@ module Google
98904
99399
  # Update properties of this object
98905
99400
  def update!(**args)
98906
99401
  @content_relevant = args[:content_relevant] if args.key?(:content_relevant)
98907
- @deprecated_item_id = args[:deprecated_item_id] if args.key?(:deprecated_item_id)
98908
- @deprecated_project_id = args[:deprecated_project_id] if args.key?(:deprecated_project_id)
98909
- @deprecated_task_id = args[:deprecated_task_id] if args.key?(:deprecated_task_id)
98910
99402
  @display_string = args[:display_string] if args.key?(:display_string)
98911
99403
  @furball_url = args[:furball_url] if args.key?(:furball_url)
98912
- @item_description = args[:item_description] if args.key?(:item_description)
98913
99404
  @item_id = args[:item_id] if args.key?(:item_id)
98914
- @language = args[:language] if args.key?(:language)
98915
99405
  @page_is_about_chain = args[:page_is_about_chain] if args.key?(:page_is_about_chain)
98916
- @page_not_loaded = args[:page_not_loaded] if args.key?(:page_not_loaded)
98917
99406
  @project_id = args[:project_id] if args.key?(:project_id)
98918
99407
  @rater_can_understand_topic = args[:rater_can_understand_topic] if args.key?(:rater_can_understand_topic)
98919
- @rating_score = args[:rating_score] if args.key?(:rating_score)
98920
99408
  @task_details = args[:task_details] if args.key?(:task_details)
98921
99409
  @task_id = args[:task_id] if args.key?(:task_id)
98922
- @task_status = args[:task_status] if args.key?(:task_status)
98923
- @task_user = args[:task_user] if args.key?(:task_user)
98924
- @template_id = args[:template_id] if args.key?(:template_id)
98925
99410
  @topic_is_chain = args[:topic_is_chain] if args.key?(:topic_is_chain)
98926
99411
  end
98927
99412
  end
@@ -98938,31 +99423,16 @@ module Google
98938
99423
  # @return [Fixnum]
98939
99424
  attr_accessor :doc_fp
98940
99425
 
98941
- # Per document ratings relevance ratings. Next id: 21.
98942
- # Corresponds to the JSON property `docLevelRating`
98943
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefPerDocRelevanceRating]
98944
- attr_accessor :doc_level_rating
98945
-
98946
99426
  #
98947
99427
  # Corresponds to the JSON property `entityNameRating`
98948
99428
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefEntityNameRatings>]
98949
99429
  attr_accessor :entity_name_rating
98950
99430
 
98951
- #
98952
- # Corresponds to the JSON property `listMembership`
98953
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefListMembership>]
98954
- attr_accessor :list_membership
98955
-
98956
99431
  #
98957
99432
  # Corresponds to the JSON property `mentionRating`
98958
99433
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefMentionRatings>]
98959
99434
  attr_accessor :mention_rating
98960
99435
 
98961
- #
98962
- # Corresponds to the JSON property `pageClassification`
98963
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefPageClassification>]
98964
- attr_accessor :page_classification
98965
-
98966
99436
  #
98967
99437
  # Corresponds to the JSON property `taskLevelRating`
98968
99438
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPerDocRelevanceRating>]
@@ -98984,11 +99454,8 @@ module Google
98984
99454
  # Update properties of this object
98985
99455
  def update!(**args)
98986
99456
  @doc_fp = args[:doc_fp] if args.key?(:doc_fp)
98987
- @doc_level_rating = args[:doc_level_rating] if args.key?(:doc_level_rating)
98988
99457
  @entity_name_rating = args[:entity_name_rating] if args.key?(:entity_name_rating)
98989
- @list_membership = args[:list_membership] if args.key?(:list_membership)
98990
99458
  @mention_rating = args[:mention_rating] if args.key?(:mention_rating)
98991
- @page_classification = args[:page_classification] if args.key?(:page_classification)
98992
99459
  @task_level_rating = args[:task_level_rating] if args.key?(:task_level_rating)
98993
99460
  @url = args[:url] if args.key?(:url)
98994
99461
  end
@@ -99080,8 +99547,7 @@ module Google
99080
99547
  attr_accessor :is_compound_name
99081
99548
  alias_method :is_compound_name?, :is_compound_name
99082
99549
 
99083
- # Indicates special compound retrieval keys, like "Compound $mid1 $mid2", see
99084
- # repository/webref/universal/util/compound-retrieval.h
99550
+ # Indicates special compound retrieval keys, like "Compound $mid1 $mid2"
99085
99551
  # Corresponds to the JSON property `isCompoundRetrievalKey`
99086
99552
  # @return [Boolean]
99087
99553
  attr_accessor :is_compound_retrieval_key
@@ -99264,47 +99730,6 @@ module Google
99264
99730
  end
99265
99731
  end
99266
99732
 
99267
- # If you add any field, make sure to add it in reffresh to the empty checks at
99268
- # the end of the corresponding name extractor processors (extract-*-names.cc).
99269
- class RepositoryWebrefPreprocessingNameSignals
99270
- include Google::Apis::Core::Hashable
99271
-
99272
- # The set of name candidates and their signals for a given entity.
99273
- # Corresponds to the JSON property `normalizedNameData`
99274
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNormalizedNameData>]
99275
- attr_accessor :normalized_name_data
99276
-
99277
- def initialize(**args)
99278
- update!(**args)
99279
- end
99280
-
99281
- # Update properties of this object
99282
- def update!(**args)
99283
- @normalized_name_data = args[:normalized_name_data] if args.key?(:normalized_name_data)
99284
- end
99285
- end
99286
-
99287
- # Represents a single name with all its signal, like language, sources and
99288
- # confidences.
99289
- class RepositoryWebrefPreprocessingNameVariantData
99290
- include Google::Apis::Core::Hashable
99291
-
99292
- # Sources providing this name variant and their metadata. NOTE: by convention we
99293
- # only allow one proto per source.
99294
- # Corresponds to the JSON property `variantSignals`
99295
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantSignals>]
99296
- attr_accessor :variant_signals
99297
-
99298
- def initialize(**args)
99299
- update!(**args)
99300
- end
99301
-
99302
- # Update properties of this object
99303
- def update!(**args)
99304
- @variant_signals = args[:variant_signals] if args.key?(:variant_signals)
99305
- end
99306
- end
99307
-
99308
99733
  # Next available tag: 33.
99309
99734
  class RepositoryWebrefPreprocessingNameVariantSignals
99310
99735
  include Google::Apis::Core::Hashable
@@ -99330,27 +99755,6 @@ module Google
99330
99755
  end
99331
99756
  end
99332
99757
 
99333
- # Aggregation of all names of an entity that normalize to the same string.
99334
- class RepositoryWebrefPreprocessingNormalizedNameData
99335
- include Google::Apis::Core::Hashable
99336
-
99337
- # Name variants and their signals by source. All these name variants normalize
99338
- # to @normalized_name given their locales. NOTE: This includes metadata
99339
- # aggregated for the normalized name.
99340
- # Corresponds to the JSON property `nameVariantData`
99341
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantData>]
99342
- attr_accessor :name_variant_data
99343
-
99344
- def initialize(**args)
99345
- update!(**args)
99346
- end
99347
-
99348
- # Update properties of this object
99349
- def update!(**args)
99350
- @name_variant_data = args[:name_variant_data] if args.key?(:name_variant_data)
99351
- end
99352
- end
99353
-
99354
99758
  #
99355
99759
  class RepositoryWebrefPreprocessingOriginalNames
99356
99760
  include Google::Apis::Core::Hashable
@@ -100622,147 +101026,6 @@ module Google
100622
101026
  end
100623
101027
  end
100624
101028
 
100625
- # Entity-level classification. Template: experimental/topref/eval_entities/
100626
- # template.jhtml
100627
- class RepositoryWebrefToprefListMembership
100628
- include Google::Apis::Core::Hashable
100629
-
100630
- #
100631
- # Corresponds to the JSON property `member`
100632
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefListMembershipListMember>]
100633
- attr_accessor :member
100634
-
100635
- #
100636
- # Corresponds to the JSON property `taskData`
100637
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefTaskData]
100638
- attr_accessor :task_data
100639
-
100640
- def initialize(**args)
100641
- update!(**args)
100642
- end
100643
-
100644
- # Update properties of this object
100645
- def update!(**args)
100646
- @member = args[:member] if args.key?(:member)
100647
- @task_data = args[:task_data] if args.key?(:task_data)
100648
- end
100649
- end
100650
-
100651
- #
100652
- class RepositoryWebrefToprefListMembershipListMember
100653
- include Google::Apis::Core::Hashable
100654
-
100655
- # The identifier of a WebrefEntity (see webref-entities.proto). IMPORTANT:
100656
- # Please consider reading this proto through GetWebrefEntityMid() in webref-
100657
- # entities-util.h, because this proto may: a) contain both freebase_mid and
100658
- # concept_id (this is frequently the case to avoid breaking downstream clients),
100659
- # b) only contain freebase_mid or only contain concept_id (as the other one is
100660
- # technically redundant), c) contain neither of them or be missing entirely (
100661
- # potentially in future).
100662
- # Corresponds to the JSON property `id`
100663
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefWebrefEntityId]
100664
- attr_accessor :id
100665
-
100666
- #
100667
- # Corresponds to the JSON property `isMember`
100668
- # @return [String]
100669
- attr_accessor :is_member
100670
-
100671
- def initialize(**args)
100672
- update!(**args)
100673
- end
100674
-
100675
- # Update properties of this object
100676
- def update!(**args)
100677
- @id = args[:id] if args.key?(:id)
100678
- @is_member = args[:is_member] if args.key?(:is_member)
100679
- end
100680
- end
100681
-
100682
- # Top-level page classification. Template: experimental/topref/eval_main/
100683
- # template.jhtml
100684
- class RepositoryWebrefToprefPageClassification
100685
- include Google::Apis::Core::Hashable
100686
-
100687
- #
100688
- # Corresponds to the JSON property `isList`
100689
- # @return [String]
100690
- attr_accessor :is_list
100691
-
100692
- #
100693
- # Corresponds to the JSON property `isListTypeCorrect`
100694
- # @return [String]
100695
- attr_accessor :is_list_type_correct
100696
-
100697
- #
100698
- # Corresponds to the JSON property `isRanking`
100699
- # @return [String]
100700
- attr_accessor :is_ranking
100701
-
100702
- #
100703
- # Corresponds to the JSON property `isToplist`
100704
- # @return [String]
100705
- attr_accessor :is_toplist
100706
-
100707
- # A string generated based on the main collection of the list. E.g., /collection/
100708
- # geo/restaurant => "Restaurants" retrieved by following the /base/schemastaging/
100709
- # context_name/plural in KG.
100710
- # Corresponds to the JSON property `listType`
100711
- # @return [String]
100712
- attr_accessor :list_type
100713
-
100714
- # "repeated" because we potentially evaluate several (up to 5) title candidates
100715
- # for the page.
100716
- # Corresponds to the JSON property `ratedTitle`
100717
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefToprefPageClassificationRatedTitle>]
100718
- attr_accessor :rated_title
100719
-
100720
- #
100721
- # Corresponds to the JSON property `taskData`
100722
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefTaskData]
100723
- attr_accessor :task_data
100724
-
100725
- def initialize(**args)
100726
- update!(**args)
100727
- end
100728
-
100729
- # Update properties of this object
100730
- def update!(**args)
100731
- @is_list = args[:is_list] if args.key?(:is_list)
100732
- @is_list_type_correct = args[:is_list_type_correct] if args.key?(:is_list_type_correct)
100733
- @is_ranking = args[:is_ranking] if args.key?(:is_ranking)
100734
- @is_toplist = args[:is_toplist] if args.key?(:is_toplist)
100735
- @list_type = args[:list_type] if args.key?(:list_type)
100736
- @rated_title = args[:rated_title] if args.key?(:rated_title)
100737
- @task_data = args[:task_data] if args.key?(:task_data)
100738
- end
100739
- end
100740
-
100741
- #
100742
- class RepositoryWebrefToprefPageClassificationRatedTitle
100743
- include Google::Apis::Core::Hashable
100744
-
100745
- #
100746
- # Corresponds to the JSON property `isGood`
100747
- # @return [String]
100748
- attr_accessor :is_good
100749
-
100750
- #
100751
- # Corresponds to the JSON property `title`
100752
- # @return [String]
100753
- attr_accessor :title
100754
-
100755
- def initialize(**args)
100756
- update!(**args)
100757
- end
100758
-
100759
- # Update properties of this object
100760
- def update!(**args)
100761
- @is_good = args[:is_good] if args.key?(:is_good)
100762
- @title = args[:title] if args.key?(:title)
100763
- end
100764
- end
100765
-
100766
101029
  #
100767
101030
  class RepositoryWebrefTripleAnnotation
100768
101031
  include Google::Apis::Core::Hashable
@@ -103122,7 +103385,7 @@ module Google
103122
103385
  end
103123
103386
 
103124
103387
  # A proto for storing inferred and reconciled metadata for Science Search. Next
103125
- # available tag: 69
103388
+ # available tag: 70
103126
103389
  class ResearchScienceSearchReconciledMetadata
103127
103390
  include Google::Apis::Core::Hashable
103128
103391
 
@@ -103302,6 +103565,13 @@ module Google
103302
103565
  # @return [Array<String>]
103303
103566
  attr_accessor :is_based_on
103304
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
+
103305
103575
  # Keywords describing the dataset.
103306
103576
  # Corresponds to the JSON property `keyword`
103307
103577
  # @return [Array<String>]
@@ -103477,6 +103747,7 @@ module Google
103477
103747
  @index_in_cluster = args[:index_in_cluster] if args.key?(:index_in_cluster)
103478
103748
  @is_accessible_for_free = args[:is_accessible_for_free] if args.key?(:is_accessible_for_free)
103479
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)
103480
103751
  @keyword = args[:keyword] if args.key?(:keyword)
103481
103752
  @language_code = args[:language_code] if args.key?(:language_code)
103482
103753
  @license = args[:license] if args.key?(:license)
@@ -103616,12 +103887,6 @@ module Google
103616
103887
  # @return [Fixnum]
103617
103888
  attr_accessor :docid
103618
103889
 
103619
- # A set of entities from /collection/field_of_studies in knowledge graph schema (
103620
- # http://shortn/_ldBsa14lo8).
103621
- # Corresponds to the JSON property `fieldOfStudyEntity`
103622
- # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScienceSearchSourceUrlDocjoinInfoWebrefEntityInfo>]
103623
- attr_accessor :field_of_study_entity
103624
-
103625
103890
  # Index tiers (BASE, UNIFIED_ZEPPELIN, etc) that the document belongs to. NOTE:
103626
103891
  # Each document may belong to multiple tiers. NOTE: The original data type is an
103627
103892
  # enum CompositeDoc::SubIndexType. However we don't want to depend on segindexer/
@@ -103700,6 +103965,11 @@ module Google
103700
103965
  # @return [String]
103701
103966
  attr_accessor :url
103702
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
+
103703
103973
  def initialize(**args)
103704
103974
  update!(**args)
103705
103975
  end
@@ -103709,7 +103979,6 @@ module Google
103709
103979
  @data_source = args[:data_source] if args.key?(:data_source)
103710
103980
  @display_url = args[:display_url] if args.key?(:display_url)
103711
103981
  @docid = args[:docid] if args.key?(:docid)
103712
- @field_of_study_entity = args[:field_of_study_entity] if args.key?(:field_of_study_entity)
103713
103982
  @index_tier = args[:index_tier] if args.key?(:index_tier)
103714
103983
  @language_code = args[:language_code] if args.key?(:language_code)
103715
103984
  @latest_page_update_date = args[:latest_page_update_date] if args.key?(:latest_page_update_date)
@@ -103722,6 +103991,7 @@ module Google
103722
103991
  @title = args[:title] if args.key?(:title)
103723
103992
  @top_entity = args[:top_entity] if args.key?(:top_entity)
103724
103993
  @url = args[:url] if args.key?(:url)
103994
+ @webref_entity = args[:webref_entity] if args.key?(:webref_entity)
103725
103995
  end
103726
103996
  end
103727
103997
 
@@ -103734,6 +104004,11 @@ module Google
103734
104004
  # @return [String]
103735
104005
  attr_accessor :description
103736
104006
 
104007
+ #
104008
+ # Corresponds to the JSON property `entityType`
104009
+ # @return [String]
104010
+ attr_accessor :entity_type
104011
+
103737
104012
  # The KG identifier of the WebrefEntity.
103738
104013
  # Corresponds to the JSON property `mid`
103739
104014
  # @return [String]
@@ -103746,6 +104021,7 @@ module Google
103746
104021
  # Update properties of this object
103747
104022
  def update!(**args)
103748
104023
  @description = args[:description] if args.key?(:description)
104024
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
103749
104025
  @mid = args[:mid] if args.key?(:mid)
103750
104026
  end
103751
104027
  end
@@ -104032,37 +104308,6 @@ module Google
104032
104308
  end
104033
104309
  end
104034
104310
 
104035
- # An input into the citation prediction model.
104036
- class ScholarCitationPredictionSignal
104037
- include Google::Apis::Core::Hashable
104038
-
104039
- #
104040
- # Corresponds to the JSON property `metricType`
104041
- # @return [String]
104042
- attr_accessor :metric_type
104043
-
104044
- #
104045
- # Corresponds to the JSON property `signalType`
104046
- # @return [String]
104047
- attr_accessor :signal_type
104048
-
104049
- #
104050
- # Corresponds to the JSON property `value`
104051
- # @return [Float]
104052
- attr_accessor :value
104053
-
104054
- def initialize(**args)
104055
- update!(**args)
104056
- end
104057
-
104058
- # Update properties of this object
104059
- def update!(**args)
104060
- @metric_type = args[:metric_type] if args.key?(:metric_type)
104061
- @signal_type = args[:signal_type] if args.key?(:signal_type)
104062
- @value = args[:value] if args.key?(:value)
104063
- end
104064
- end
104065
-
104066
104311
  #
104067
104312
  class ScienceCitation
104068
104313
  include Google::Apis::Core::Hashable
@@ -104170,6 +104415,11 @@ module Google
104170
104415
  # @return [String]
104171
104416
  attr_accessor :citation_src
104172
104417
 
104418
+ #
104419
+ # Corresponds to the JSON property `ClearedReason`
104420
+ # @return [String]
104421
+ attr_accessor :cleared_reason
104422
+
104173
104423
  # Used for logging, recommendations, and sort-by-date. Contains the earliest
104174
104424
  # discovery date of the cluster, adjusted for earlier publication dates. Stored
104175
104425
  # in Universal time scale (100 ns ticks since 0001 AD) because Unix timestamp
@@ -104659,6 +104909,7 @@ module Google
104659
104909
  @citation_source = args[:citation_source] if args.key?(:citation_source)
104660
104910
  @citation_source_url = args[:citation_source_url] if args.key?(:citation_source_url)
104661
104911
  @citation_src = args[:citation_src] if args.key?(:citation_src)
104912
+ @cleared_reason = args[:cleared_reason] if args.key?(:cleared_reason)
104662
104913
  @cluster_discovery_date = args[:cluster_discovery_date] if args.key?(:cluster_discovery_date)
104663
104914
  @conference_id = args[:conference_id] if args.key?(:conference_id)
104664
104915
  @conference_number = args[:conference_number] if args.key?(:conference_number)
@@ -105774,170 +106025,118 @@ module Google
105774
106025
  end
105775
106026
  end
105776
106027
 
105777
- # Next tag: 43
105778
- class SciencePerDocData
106028
+ #
106029
+ class SdrEmbedding
105779
106030
  include Google::Apis::Core::Hashable
105780
106031
 
105781
- # The first hit position after the end of the abstract. We index the abstract
105782
- # immediately after the body, so all hits between BodyEndPosition and
105783
- # AbstractEndPosition are from the abstract.
105784
- # Corresponds to the JSON property `AbstractEndPosition`
105785
- # @return [Fixnum]
105786
- attr_accessor :abstract_end_position
105787
-
105788
- # The first hit position past the last body hit.
105789
- # Corresponds to the JSON property `BodyEndPosition`
105790
- # @return [Fixnum]
105791
- attr_accessor :body_end_position
105792
-
105793
- # Input features used to compute PredictedCitations.
105794
- # Corresponds to the JSON property `CitationPredictionSignal`
105795
- # @return [Array<Google::Apis::ContentwarehouseV1::ScholarCitationPredictionSignal>]
105796
- attr_accessor :citation_prediction_signal
105797
-
105798
- # Used for sorting legal documents by court; e.g. Supreme Court > Appeals Court >
105799
- # Trial Court
105800
- # Corresponds to the JSON property `CourtLevel`
105801
- # @return [Fixnum]
105802
- attr_accessor :court_level
106032
+ #
106033
+ # Corresponds to the JSON property `values`
106034
+ # @return [Array<Float>]
106035
+ attr_accessor :values
105803
106036
 
105804
106037
  #
105805
- # Corresponds to the JSON property `DEPRECATEDCrawlTime`
106038
+ # Corresponds to the JSON property `version`
105806
106039
  # @return [Fixnum]
105807
- attr_accessor :deprecated_crawl_time
106040
+ attr_accessor :version
105808
106041
 
105809
- # The age in days since discovery date at the time of indexing. Used to compute
105810
- # PredictedCitations.
105811
- # Corresponds to the JSON property `DiscoveryAgeInDays`
105812
- # @return [Fixnum]
105813
- attr_accessor :discovery_age_in_days
106042
+ def initialize(**args)
106043
+ update!(**args)
106044
+ end
105814
106045
 
105815
- # Used for sorting articles by date, and as an input for recent-query ranking.
105816
- # Stored in Universal time scale (100 ns ticks since 0001 AD).
105817
- # Corresponds to the JSON property `DiscoveryTimestamp`
105818
- # @return [Fixnum]
105819
- 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
105820
106052
 
105821
- # citation-only marker - for use in scorer
105822
- # Corresponds to the JSON property `IsCitationOnly`
105823
- # @return [Boolean]
105824
- attr_accessor :is_citation_only
105825
- alias_method :is_citation_only?, :is_citation_only
106053
+ #
106054
+ class SdrPageAnchorsDocInfo
106055
+ include Google::Apis::Core::Hashable
105826
106056
 
105827
- # Scoring penalty for non-scholarly articles. In the range [0, 1], with 0 being
105828
- # no penalty and 1 being the full penalty.
105829
- # Corresponds to the JSON property `NonScholarlinessPenalty`
106057
+ #
106058
+ # Corresponds to the JSON property `articleness`
105830
106059
  # @return [Float]
105831
- attr_accessor :non_scholarliness_penalty
105832
-
105833
- # Summary statistics, for display in the FE.
105834
- # Corresponds to the JSON property `NumBackwardLinks`
105835
- # @return [Fixnum]
105836
- attr_accessor :num_backward_links
106060
+ attr_accessor :articleness
105837
106061
 
105838
106062
  #
105839
- # Corresponds to the JSON property `NumRelated`
105840
- # @return [Fixnum]
105841
- attr_accessor :num_related
105842
-
105843
- # Used for exact title boost in Scholar, as of 1/7/2008.
105844
- # Corresponds to the JSON property `NumTitleWords`
105845
- # @return [Fixnum]
105846
- attr_accessor :num_title_words
106063
+ # Corresponds to the JSON property `pageAnchors`
106064
+ # @return [Array<Google::Apis::ContentwarehouseV1::SdrPageAnchorsSitelink>]
106065
+ attr_accessor :page_anchors
105847
106066
 
105848
106067
  #
105849
- # Corresponds to the JSON property `NumVersions`
105850
- # @return [Fixnum]
105851
- attr_accessor :num_versions
106068
+ # Corresponds to the JSON property `qscore`
106069
+ # @return [Float]
106070
+ attr_accessor :qscore
105852
106071
 
105853
106072
  #
105854
- # Corresponds to the JSON property `OffDomAnchors`
105855
- # @return [Fixnum]
105856
- attr_accessor :off_dom_anchors
106073
+ # Corresponds to the JSON property `sitelinkWrapper`
106074
+ # @return [Array<Google::Apis::ContentwarehouseV1::SdrPageAnchorsSitelinkWrapper>]
106075
+ attr_accessor :sitelink_wrapper
105857
106076
 
105858
106077
  #
105859
- # Corresponds to the JSON property `OnSiteAnchors`
105860
- # @return [Fixnum]
105861
- attr_accessor :on_site_anchors
105862
-
105863
- # The predicted new citations for this document once it reaches 5 years after
105864
- # its discovery date. Not set for: - Documents 5 years or older - Citation only
105865
- # documents - Patents and legal documents
105866
- # Corresponds to the JSON property `PredictedCitations`
106078
+ # Corresponds to the JSON property `textRichness`
105867
106079
  # @return [Float]
105868
- attr_accessor :predicted_citations
106080
+ attr_accessor :text_richness
105869
106081
 
105870
- # The predicted new citations for this document over the next 5 years. This
105871
- # differs from the PredictedCitations field in that this is set for documents of
105872
- # all ages, whereas PredictedCitations is only set for new documents. This is
105873
- # also a prediction over a fixed time interval, whereas the time interval for
105874
- # PredictedCitations depends on the document's age.
105875
- # Corresponds to the JSON property `PredictedCitationsNext5Years`
105876
- # @return [Float]
105877
- attr_accessor :predicted_citations_next5_years
105878
-
105879
- #
105880
- # Corresponds to the JSON property `PublicationDay`
105881
- # @return [Fixnum]
105882
- attr_accessor :publication_day
105883
-
105884
- #
105885
- # Corresponds to the JSON property `PublicationMonth`
105886
- # @return [Fixnum]
105887
- attr_accessor :publication_month
106082
+ def initialize(**args)
106083
+ update!(**args)
106084
+ end
105888
106085
 
105889
- # Publication date. Used both for ranking of recent articles and for display in
105890
- # the FE.
105891
- # Corresponds to the JSON property `PublicationYear`
105892
- # @return [Fixnum]
105893
- 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
105894
106095
 
105895
- # For links from websearch to scholar.
105896
- # Corresponds to the JSON property `ScholarId`
105897
- # @return [Fixnum]
105898
- attr_accessor :scholar_id
106096
+ #
106097
+ class SdrPageAnchorsSitelink
106098
+ include Google::Apis::Core::Hashable
105899
106099
 
105900
- # DEPRECATED e.g., fp("med")
105901
- # Corresponds to the JSON property `Subject`
105902
- # @return [Fixnum]
105903
- 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
105904
106104
 
105905
- # A string encoding the uni-, bi-, and trigram weights in the title. This is
105906
- # encoded and decoded by science_search/util/title_ngrams.h.
105907
- # Corresponds to the JSON property `TitleNgrams`
105908
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
105909
- # @return [String]
105910
- 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
105911
106109
 
105912
- # Anchor count info for scorer
105913
- # Corresponds to the JSON property `TotalAnchors`
105914
- # @return [Fixnum]
105915
- attr_accessor :total_anchors
106110
+ # Heading Abbreviation score.
106111
+ # Corresponds to the JSON property `headingAbbrvScore`
106112
+ # @return [Float]
106113
+ attr_accessor :heading_abbrv_score
105916
106114
 
105917
- # The type of the article - paper, review, patent, etc.
105918
- # Corresponds to the JSON property `Type`
105919
- # @return [String]
105920
- attr_accessor :type
106115
+ # Needed for heading/passage filtering.
106116
+ # Corresponds to the JSON property `hpScore`
106117
+ # @return [Float]
106118
+ attr_accessor :hp_score
105921
106119
 
105922
106120
  #
105923
- # Corresponds to the JSON property `author`
105924
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataAuthor>]
105925
- attr_accessor :author
106121
+ # Corresponds to the JSON property `level`
106122
+ # @return [Fixnum]
106123
+ attr_accessor :level
105926
106124
 
105927
- #
105928
- # Corresponds to the JSON property `referencediscussion`
105929
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataReferenceDiscussion>]
105930
- 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
105931
106130
 
105932
- # Section markers, sorted by begin_position, no overlapping.
105933
- # Corresponds to the JSON property `section`
105934
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataSection>]
105935
- 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
105936
106135
 
105937
- #
105938
- # Corresponds to the JSON property `signal`
105939
- # @return [Array<Google::Apis::ContentwarehouseV1::SciencePerDocDataSignal>]
105940
- 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
105941
106140
 
105942
106141
  def initialize(**args)
105943
106142
  update!(**args)
@@ -105945,83 +106144,51 @@ module Google
105945
106144
 
105946
106145
  # Update properties of this object
105947
106146
  def update!(**args)
105948
- @abstract_end_position = args[:abstract_end_position] if args.key?(:abstract_end_position)
105949
- @body_end_position = args[:body_end_position] if args.key?(:body_end_position)
105950
- @citation_prediction_signal = args[:citation_prediction_signal] if args.key?(:citation_prediction_signal)
105951
- @court_level = args[:court_level] if args.key?(:court_level)
105952
- @deprecated_crawl_time = args[:deprecated_crawl_time] if args.key?(:deprecated_crawl_time)
105953
- @discovery_age_in_days = args[:discovery_age_in_days] if args.key?(:discovery_age_in_days)
105954
- @discovery_timestamp = args[:discovery_timestamp] if args.key?(:discovery_timestamp)
105955
- @is_citation_only = args[:is_citation_only] if args.key?(:is_citation_only)
105956
- @non_scholarliness_penalty = args[:non_scholarliness_penalty] if args.key?(:non_scholarliness_penalty)
105957
- @num_backward_links = args[:num_backward_links] if args.key?(:num_backward_links)
105958
- @num_related = args[:num_related] if args.key?(:num_related)
105959
- @num_title_words = args[:num_title_words] if args.key?(:num_title_words)
105960
- @num_versions = args[:num_versions] if args.key?(:num_versions)
105961
- @off_dom_anchors = args[:off_dom_anchors] if args.key?(:off_dom_anchors)
105962
- @on_site_anchors = args[:on_site_anchors] if args.key?(:on_site_anchors)
105963
- @predicted_citations = args[:predicted_citations] if args.key?(:predicted_citations)
105964
- @predicted_citations_next5_years = args[:predicted_citations_next5_years] if args.key?(:predicted_citations_next5_years)
105965
- @publication_day = args[:publication_day] if args.key?(:publication_day)
105966
- @publication_month = args[:publication_month] if args.key?(:publication_month)
105967
- @publication_year = args[:publication_year] if args.key?(:publication_year)
105968
- @scholar_id = args[:scholar_id] if args.key?(:scholar_id)
105969
- @subject = args[:subject] if args.key?(:subject)
105970
- @title_ngrams = args[:title_ngrams] if args.key?(:title_ngrams)
105971
- @total_anchors = args[:total_anchors] if args.key?(:total_anchors)
105972
- @type = args[:type] if args.key?(:type)
105973
- @author = args[:author] if args.key?(:author)
105974
- @referencediscussion = args[:referencediscussion] if args.key?(:referencediscussion)
105975
- @section = args[:section] if args.key?(:section)
105976
- @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)
105977
106155
  end
105978
106156
  end
105979
106157
 
105980
- # Used for exact author boost and for display in the FE.
105981
- class SciencePerDocDataAuthor
106158
+ # This wrapper is used for passing in additional information to generate
106159
+ # embeddings in Goldmine.
106160
+ class SdrPageAnchorsSitelinkWrapper
105982
106161
  include Google::Apis::Core::Hashable
105983
106162
 
105984
106163
  #
105985
- # Corresponds to the JSON property `IsCJK`
105986
- # @return [Boolean]
105987
- attr_accessor :is_cjk
105988
- alias_method :is_cjk?, :is_cjk
105989
-
105990
- #
105991
- # Corresponds to the JSON property `LastName`
106164
+ # Corresponds to the JSON property `abbreviatedHeadingText`
105992
106165
  # @return [String]
105993
- attr_accessor :last_name
106166
+ attr_accessor :abbreviated_heading_text
105994
106167
 
105995
106168
  #
105996
- # Corresponds to the JSON property `OtherNames`
105997
- # @return [String]
105998
- attr_accessor :other_names
105999
-
106000
- def initialize(**args)
106001
- update!(**args)
106002
- end
106169
+ # Corresponds to the JSON property `abbrvEmbedding`
106170
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106171
+ attr_accessor :abbrv_embedding
106003
106172
 
106004
- # Update properties of this object
106005
- def update!(**args)
106006
- @is_cjk = args[:is_cjk] if args.key?(:is_cjk)
106007
- @last_name = args[:last_name] if args.key?(:last_name)
106008
- @other_names = args[:other_names] if args.key?(:other_names)
106009
- end
106010
- end
106173
+ #
106174
+ # Corresponds to the JSON property `headingEmbedding`
106175
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106176
+ attr_accessor :heading_embedding
106011
106177
 
106012
- #
106013
- class SciencePerDocDataReferenceDiscussion
106014
- include Google::Apis::Core::Hashable
106178
+ #
106179
+ # Corresponds to the JSON property `normalizedHeadingText`
106180
+ # @return [String]
106181
+ attr_accessor :normalized_heading_text
106015
106182
 
106016
106183
  #
106017
- # Corresponds to the JSON property `Level`
106018
- # @return [Fixnum]
106019
- attr_accessor :level
106184
+ # Corresponds to the JSON property `passageEmbedding`
106185
+ # @return [Google::Apis::ContentwarehouseV1::SdrEmbedding]
106186
+ attr_accessor :passage_embedding
106020
106187
 
106021
106188
  #
106022
- # Corresponds to the JSON property `TargetID`
106023
- # @return [Fixnum]
106024
- attr_accessor :target_id
106189
+ # Corresponds to the JSON property `passageText`
106190
+ # @return [String]
106191
+ attr_accessor :passage_text
106025
106192
 
106026
106193
  def initialize(**args)
106027
106194
  update!(**args)
@@ -106029,29 +106196,48 @@ module Google
106029
106196
 
106030
106197
  # Update properties of this object
106031
106198
  def update!(**args)
106032
- @level = args[:level] if args.key?(:level)
106033
- @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)
106034
106205
  end
106035
106206
  end
106036
106207
 
106037
- #
106038
- 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
106039
106211
  include Google::Apis::Core::Hashable
106040
106212
 
106041
- # The first hit position at the start of the section.
106042
- # Corresponds to the JSON property `beginPosition`
106043
- # @return [Fixnum]
106044
- 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
106045
106219
 
106046
- # Delta in hit position from the start of the section to the end.
106047
- # Corresponds to the JSON property `numPositions`
106048
- # @return [Fixnum]
106049
- 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
106050
106225
 
106051
- #
106052
- # 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`
106053
106229
  # @return [String]
106054
- 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
106055
106241
 
106056
106242
  def initialize(**args)
106057
106243
  update!(**args)
@@ -106059,58 +106245,39 @@ module Google
106059
106245
 
106060
106246
  # Update properties of this object
106061
106247
  def update!(**args)
106062
- @begin_position = args[:begin_position] if args.key?(:begin_position)
106063
- @num_positions = args[:num_positions] if args.key?(:num_positions)
106064
- @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)
106065
106253
  end
106066
106254
  end
106067
106255
 
106068
- #
106069
- 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
106070
106260
  include Google::Apis::Core::Hashable
106071
106261
 
106072
- # Values for different metrics
106073
- # Corresponds to the JSON property `avgCitations`
106074
- # @return [Float]
106075
- attr_accessor :avg_citations
106076
-
106077
- # Number of papers in the bucket for this paper/signal combination 16-bit value
106078
- # Corresponds to the JSON property `count`
106079
- # @return [Fixnum]
106080
- attr_accessor :count
106081
-
106082
- # Count of papers with 10 or more citations (ge is >=) 16-bit value
106083
- # Corresponds to the JSON property `geThres1Count`
106262
+ #
106263
+ # Corresponds to the JSON property `text`
106084
106264
  # @return [Fixnum]
106085
- attr_accessor :ge_thres1_count
106265
+ attr_accessor :text
106086
106266
 
106087
- # Count of papers with 50 or more citations 16-bit value
106088
- # Corresponds to the JSON property `geThres2Count`
106267
+ #
106268
+ # Corresponds to the JSON property `textWithPrefix`
106089
106269
  # @return [Fixnum]
106090
- attr_accessor :ge_thres2_count
106091
-
106092
- # Signal type dependent (for Journals refers to the year) index must refers to
106093
- # years ago not absolute year. 8-bit value
106094
- # Corresponds to the JSON property `index`
106095
- # @return [Fixnum]
106096
- attr_accessor :index
106270
+ attr_accessor :text_with_prefix
106097
106271
 
106098
106272
  #
106099
- # Corresponds to the JSON property `medianCitations`
106100
- # @return [Float]
106101
- attr_accessor :median_citations
106273
+ # Corresponds to the JSON property `textWithPrefixSuffix`
106274
+ # @return [Fixnum]
106275
+ attr_accessor :text_with_prefix_suffix
106102
106276
 
106103
106277
  #
106104
- # Corresponds to the JSON property `type`
106278
+ # Corresponds to the JSON property `textWithSuffix`
106105
106279
  # @return [Fixnum]
106106
- attr_accessor :type
106107
-
106108
- # Authors own a part of a paper value. This is the cumulative weight. If all
106109
- # papers falling into this bucket are single author papers, then weight will be
106110
- # equal to 1.0. Otherwise it will be smaller.
106111
- # Corresponds to the JSON property `weight`
106112
- # @return [Float]
106113
- attr_accessor :weight
106280
+ attr_accessor :text_with_suffix
106114
106281
 
106115
106282
  def initialize(**args)
106116
106283
  update!(**args)
@@ -106118,14 +106285,10 @@ module Google
106118
106285
 
106119
106286
  # Update properties of this object
106120
106287
  def update!(**args)
106121
- @avg_citations = args[:avg_citations] if args.key?(:avg_citations)
106122
- @count = args[:count] if args.key?(:count)
106123
- @ge_thres1_count = args[:ge_thres1_count] if args.key?(:ge_thres1_count)
106124
- @ge_thres2_count = args[:ge_thres2_count] if args.key?(:ge_thres2_count)
106125
- @index = args[:index] if args.key?(:index)
106126
- @median_citations = args[:median_citations] if args.key?(:median_citations)
106127
- @type = args[:type] if args.key?(:type)
106128
- @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)
106129
106292
  end
106130
106293
  end
106131
106294
 
@@ -107743,6 +107906,12 @@ module Google
107743
107906
  # @return [Array<Google::Apis::ContentwarehouseV1::SitemapDeprecatedTarget>]
107744
107907
  attr_accessor :deprecated_target
107745
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
+
107746
107915
  # Enable site search.
107747
107916
  # Corresponds to the JSON property `searchInSite`
107748
107917
  # @return [Boolean]
@@ -107778,6 +107947,7 @@ module Google
107778
107947
  @deprecated_source_title = args[:deprecated_source_title] if args.key?(:deprecated_source_title)
107779
107948
  @target_groups = args[:target_groups] if args.key?(:target_groups)
107780
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)
107781
107951
  @search_in_site = args[:search_in_site] if args.key?(:search_in_site)
107782
107952
  @sitemap_type = args[:sitemap_type] if args.key?(:sitemap_type)
107783
107953
  @source_orgfp = args[:source_orgfp] if args.key?(:source_orgfp)
@@ -108327,7 +108497,7 @@ module Google
108327
108497
  # @return [Float]
108328
108498
  attr_accessor :brain_score
108329
108499
 
108330
- # Snippet candidate related information and signal scores.
108500
+ # Snippet candidate related information and signal scores. Next ID: 11
108331
108501
  # Corresponds to the JSON property `features`
108332
108502
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
108333
108503
  attr_accessor :features
@@ -108361,6 +108531,11 @@ module Google
108361
108531
  class SnippetExtraInfoSnippetsBrainModelInfo
108362
108532
  include Google::Apis::Core::Hashable
108363
108533
 
108534
+ #
108535
+ # Corresponds to the JSON property `ng3ModelName`
108536
+ # @return [String]
108537
+ attr_accessor :ng3_model_name
108538
+
108364
108539
  # The below fields are populated by SnippetFlow in superroot.
108365
108540
  # Corresponds to the JSON property `snippetsbrainModelName`
108366
108541
  # @return [String]
@@ -108382,6 +108557,7 @@ module Google
108382
108557
 
108383
108558
  # Update properties of this object
108384
108559
  def update!(**args)
108560
+ @ng3_model_name = args[:ng3_model_name] if args.key?(:ng3_model_name)
108385
108561
  @snippetsbrain_model_name = args[:snippetsbrain_model_name] if args.key?(:snippetsbrain_model_name)
108386
108562
  @snippetsbrain_model_partition = args[:snippetsbrain_model_partition] if args.key?(:snippetsbrain_model_partition)
108387
108563
  @snippetsbrain_tokenizer_type = args[:snippetsbrain_tokenizer_type] if args.key?(:snippetsbrain_tokenizer_type)
@@ -109376,8 +109552,7 @@ module Google
109376
109552
 
109377
109553
  # The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month,
109378
109554
  # week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the
109379
- # month are skipped. Negative values are relative from end of month (e.g. Last
109380
- # Friday of every month).
109555
+ # month are skipped.
109381
109556
  # Corresponds to the JSON property `weekDay`
109382
109557
  # @return [String]
109383
109558
  attr_accessor :week_day
@@ -109677,8 +109852,9 @@ module Google
109677
109852
  # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
109678
109853
  # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
109679
109854
  # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
109680
- # ContactsService (not in ProfileService) TODO(b/240850530) add link to
109681
- # 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
109682
109858
  # Corresponds to the JSON property `recurrence`
109683
109859
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRecurrence]
109684
109860
  attr_accessor :recurrence
@@ -109871,8 +110047,9 @@ module Google
109871
110047
  # 2 weekly_recurrence ` week_day: MONDAY ` Monthly recurrence such as: third
109872
110048
  # Thursday of every month: monthly_recurrence ` monthly_weekday_recurrence `
109873
110049
  # week_day: THURSDAY week_day_number: 3 ` ` Used in PeopleAPI layers + FBS/
109874
- # ContactsService (not in ProfileService) TODO(b/240850530) add link to
109875
- # 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
109876
110053
  class SocialGraphApiProtoRecurrence
109877
110054
  include Google::Apis::Core::Hashable
109878
110055
 
@@ -109884,9 +110061,10 @@ module Google
109884
110061
  attr_accessor :daily_recurrence
109885
110062
 
109886
110063
  # Multiplier on the frequency of the recurrence. Use this to specify patterns
109887
- # that recur every X days, months, years, etc. Example: [remind me to call mom
109888
- # every 2nd week]. Default value will be considered 1 (every day,every week,...)
109889
- # 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.
109890
110068
  # Corresponds to the JSON property `every`
109891
110069
  # @return [Fixnum]
109892
110070
  attr_accessor :every
@@ -109936,7 +110114,7 @@ module Google
109936
110114
 
109937
110115
  # Will repeat only a finite number of times. This is the original number of
109938
110116
  # times the recurrence will repeat and not how many times are left for it to
109939
- # repeat.
110117
+ # repeat. This end type is not currently supported.
109940
110118
  # Corresponds to the JSON property `repeatCount`
109941
110119
  # @return [Fixnum]
109942
110120
  attr_accessor :repeat_count
@@ -109961,10 +110139,11 @@ module Google
109961
110139
 
109962
110140
  # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
109963
110141
  # monthly pattern and a set of months the pattern applies to. Some examples: "
109964
- # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
109965
- # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
109966
- # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
109967
- # 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)
109968
110147
  # Corresponds to the JSON property `yearlyRecurrence`
109969
110148
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoYearlyRecurrence]
109970
110149
  attr_accessor :yearly_recurrence
@@ -110564,10 +110743,11 @@ module Google
110564
110743
 
110565
110744
  # Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a
110566
110745
  # monthly pattern and a set of months the pattern applies to. Some examples: "
110567
- # Every January 16" : monthly_pattern ` month_day: 16 ` months: JANUARY "Last
110568
- # day of every April and August" : monthly_pattern ` month_day: -1 ` months:
110569
- # APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in
110570
- # 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)
110571
110751
  class SocialGraphApiProtoYearlyRecurrence
110572
110752
  include Google::Apis::Core::Hashable
110573
110753
 
@@ -111174,6 +111354,58 @@ module Google
111174
111354
  end
111175
111355
  end
111176
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
+
111177
111409
  # This protocol buffer indicates actions that we take based on Cookbook recipes (
111178
111410
  # see http://cookbook/) matching a particular document.
111179
111411
  class SpamCookbookAction
@@ -111414,12 +111646,87 @@ module Google
111414
111646
  end
111415
111647
  end
111416
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
+
111417
111724
  # Metadata about data governance policies. For more context, see go/ke-triple-dg-
111418
111725
  # policy-and-metadata. If any attribute is not set, then there's no specific
111419
111726
  # restrictions associated with the missing attribute. For example, if `
111420
111727
  # availability_start_timestamp` is not set, the data won't be embargoed
111421
111728
  # automatically; if `availability_end_timestamp` is not set, they won't expire
111422
- # automatically. Next ID: 8 LINT.IfChange
111729
+ # automatically. LINT.IfChange
111423
111730
  class StorageGraphBfgPolicyMetadata
111424
111731
  include Google::Apis::Core::Hashable
111425
111732
 
@@ -111460,12 +111767,25 @@ module Google
111460
111767
  # @return [Array<Google::Apis::ContentwarehouseV1::KeGovernanceTypedRegions>]
111461
111768
  attr_accessor :legal_removal_regions
111462
111769
 
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
111774
+
111463
111775
  # Policy metadata are VERTICAL by default. Vertical policy makers / providers
111464
111776
  # does not need to set this field explicitly.
111465
111777
  # Corresponds to the JSON property `policySourceType`
111466
111778
  # @return [String]
111467
111779
  attr_accessor :policy_source_type
111468
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
+
111469
111789
  def initialize(**args)
111470
111790
  update!(**args)
111471
111791
  end
@@ -111476,7 +111796,9 @@ module Google
111476
111796
  @availability_start_timestamp = args[:availability_start_timestamp] if args.key?(:availability_start_timestamp)
111477
111797
  @legal_allowed_regions = args[:legal_allowed_regions] if args.key?(:legal_allowed_regions)
111478
111798
  @legal_removal_regions = args[:legal_removal_regions] if args.key?(:legal_removal_regions)
111799
+ @lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
111479
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)
111480
111802
  end
111481
111803
  end
111482
111804
 
@@ -111627,7 +111949,7 @@ module Google
111627
111949
  # restrictions associated with the missing attribute. For example, if `
111628
111950
  # availability_start_timestamp` is not set, the data won't be embargoed
111629
111951
  # automatically; if `availability_end_timestamp` is not set, they won't expire
111630
- # automatically. Next ID: 8 LINT.IfChange
111952
+ # automatically. LINT.IfChange
111631
111953
  # Corresponds to the JSON property `policyMetadata`
111632
111954
  # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgPolicyMetadata]
111633
111955
  attr_accessor :policy_metadata
@@ -111738,6 +112060,41 @@ module Google
111738
112060
  end
111739
112061
  end
111740
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
+
111741
112098
  # LINT.IfChange Next ID: 101
111742
112099
  class SuperrootPodcastsRecommendationsPodcastRecsFeatures
111743
112100
  include Google::Apis::Core::Hashable
@@ -112607,7 +112964,7 @@ module Google
112607
112964
  end
112608
112965
  end
112609
112966
 
112610
- # Next ID: 26
112967
+ # Next ID: 27
112611
112968
  class TravelFlightsAirlineConfig
112612
112969
  include Google::Apis::Core::Hashable
112613
112970
 
@@ -112695,6 +113052,11 @@ module Google
112695
113052
  # @return [Google::Apis::ContentwarehouseV1::TravelFlightsNameCatalogProto]
112696
113053
  attr_accessor :names
112697
113054
 
113055
+ # Default url for passenger assistance information.
113056
+ # Corresponds to the JSON property `passengerAssistanceUrls`
113057
+ # @return [Google::Apis::ContentwarehouseV1::TravelFlightsNameCatalogProto]
113058
+ attr_accessor :passenger_assistance_urls
113059
+
112698
113060
  # Number of flights with this airline over the next 180 days.
112699
113061
  # Corresponds to the JSON property `popularity`
112700
113062
  # @return [Fixnum]
@@ -112741,6 +113103,7 @@ module Google
112741
113103
  @localized_contact_info = args[:localized_contact_info] if args.key?(:localized_contact_info)
112742
113104
  @mid = args[:mid] if args.key?(:mid)
112743
113105
  @names = args[:names] if args.key?(:names)
113106
+ @passenger_assistance_urls = args[:passenger_assistance_urls] if args.key?(:passenger_assistance_urls)
112744
113107
  @popularity = args[:popularity] if args.key?(:popularity)
112745
113108
  @short_names = args[:short_names] if args.key?(:short_names)
112746
113109
  @type = args[:type] if args.key?(:type)
@@ -115256,7 +115619,7 @@ module Google
115256
115619
  end
115257
115620
 
115258
115621
  # Proto message containing the id, localized title, score, and hierarchy level
115259
- # of a trusted genome entity.
115622
+ # of a trusted genome entity. Next ID: 10
115260
115623
  class VendingConsumerProtoTrustedGenomeEntity
115261
115624
  include Google::Apis::Core::Hashable
115262
115625
 
@@ -115279,6 +115642,11 @@ module Google
115279
115642
  # @return [Fixnum]
115280
115643
  attr_accessor :level
115281
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
+
115282
115650
  # The localized query string for this trusted genome entity. This query will be
115283
115651
  # used when we want to bring users to SERP on click.
115284
115652
  # Corresponds to the JSON property `queryText`
@@ -115311,6 +115679,7 @@ module Google
115311
115679
  @category_id = args[:category_id] if args.key?(:category_id)
115312
115680
  @id = args[:id] if args.key?(:id)
115313
115681
  @level = args[:level] if args.key?(:level)
115682
+ @predicate_name = args[:predicate_name] if args.key?(:predicate_name)
115314
115683
  @query_text = args[:query_text] if args.key?(:query_text)
115315
115684
  @score = args[:score] if args.key?(:score)
115316
115685
  @title = args[:title] if args.key?(:title)
@@ -115968,7 +116337,7 @@ module Google
115968
116337
 
115969
116338
  # This defines the per-doc data which is extracted from thumbnails and
115970
116339
  # propagated over to indexing. It contains all information that can be used for
115971
- # restricts. Next tag id: 127
116340
+ # restricts. Next tag id: 128
115972
116341
  # Corresponds to the JSON property `imageData`
115973
116342
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
115974
116343
  attr_accessor :image_data
@@ -116732,7 +117101,7 @@ module Google
116732
117101
  # Intended to be simpler to work with than the ExportedStanza it's derived from
116733
117102
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
116734
117103
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
116735
- # 74
117104
+ # 75
116736
117105
  # Corresponds to the JSON property `miniStanza`
116737
117106
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
116738
117107
  attr_accessor :mini_stanza
@@ -119758,6 +120127,11 @@ module Google
119758
120127
  # @return [Float]
119759
120128
  attr_accessor :average_description_quality
119760
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
+
119761
120135
  def initialize(**args)
119762
120136
  update!(**args)
119763
120137
  end
@@ -119766,6 +120140,7 @@ module Google
119766
120140
  def update!(**args)
119767
120141
  @average_bookmark_usefulness = args[:average_bookmark_usefulness] if args.key?(:average_bookmark_usefulness)
119768
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)
119769
120144
  end
119770
120145
  end
119771
120146
 
@@ -124480,7 +124855,7 @@ module Google
124480
124855
  # that we can control individual fields that will sit in Muppet. Data here will
124481
124856
  # be used for scoring organic shopping web results and previews. Many shopping
124482
124857
  # related signals, e.g., product review score, are also served from this
124483
- # attachment. Next ID: 20
124858
+ # attachment. Next ID: 21
124484
124859
  # Corresponds to the JSON property `shoppingAttachment`
124485
124860
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachment]
124486
124861
  attr_accessor :shopping_attachment
@@ -125540,7 +125915,7 @@ module Google
125540
125915
  # Intended to be simpler to work with than the ExportedStanza it's derived from
125541
125916
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
125542
125917
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
125543
- # 74
125918
+ # 75
125544
125919
  class YoutubeCommentsClusteringMiniStanza
125545
125920
  include Google::Apis::Core::Hashable
125546
125921
 
@@ -125877,6 +126252,11 @@ module Google
125877
126252
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsRankingYouTubeCommentTextQualityAnnotation]
125878
126253
  attr_accessor :text_quality_scores
125879
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
+
125880
126260
  # The video this comment belongs to.
125881
126261
  # Corresponds to the JSON property `videoId`
125882
126262
  # @return [String]
@@ -125978,6 +126358,7 @@ module Google
125978
126358
  @text_embedding = args[:text_embedding] if args.key?(:text_embedding)
125979
126359
  @text_length = args[:text_length] if args.key?(:text_length)
125980
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)
125981
126362
  @video_id = args[:video_id] if args.key?(:video_id)
125982
126363
  @video_timestamps = args[:video_timestamps] if args.key?(:video_timestamps)
125983
126364
  @word_entropy = args[:word_entropy] if args.key?(:word_entropy)