google-apis-contentwarehouse_v1 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3584,10 +3584,9 @@ module Google
3584
3584
  end
3585
3585
  end
3586
3586
 
3587
- # Represents a hosted S/MIME certificate config for use with Gmail. See //
3588
- # caribou/smime/proto/certificate_status.proto. There can be zero or more
3589
- # certificates associated with an email address, be it profile email or contact
3590
- # email.
3587
+ # Represents a S/MIME certificate config for use with Gmail. See //caribou/smime/
3588
+ # proto/certificate_status.proto. There can be zero or more certificates
3589
+ # associated with an email address, be it profile email or contact email.
3591
3590
  class AppsPeopleOzExternalMergedpeopleapiEmailCertificate
3592
3591
  include Google::Apis::Core::Hashable
3593
3592
 
@@ -5403,6 +5402,33 @@ module Google
5403
5402
  end
5404
5403
  end
5405
5404
 
5405
+ # Pronunciation audio metadata info. See go/name-pronunciation-backend. The
5406
+ # metadata itself tracks the state of a user's name pronunciation audio.
5407
+ class AppsPeopleOzExternalMergedpeopleapiNamePronunciationAudioMetadataInfo
5408
+ include Google::Apis::Core::Hashable
5409
+
5410
+ # Metadata for a single Person field. See go/understanding-merged-person
5411
+ # Corresponds to the JSON property `metadata`
5412
+ # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
5413
+ attr_accessor :metadata
5414
+
5415
+ # Metadata for a user's name pronunciation audio. Proto message is shared
5416
+ # between merged_person and FBS.
5417
+ # Corresponds to the JSON property `namePronunciationAudioMetadata`
5418
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoNamePronunciationAudioMetadata]
5419
+ attr_accessor :name_pronunciation_audio_metadata
5420
+
5421
+ def initialize(**args)
5422
+ update!(**args)
5423
+ end
5424
+
5425
+ # Update properties of this object
5426
+ def update!(**args)
5427
+ @metadata = args[:metadata] if args.key?(:metadata)
5428
+ @name_pronunciation_audio_metadata = args[:name_pronunciation_audio_metadata] if args.key?(:name_pronunciation_audio_metadata)
5429
+ end
5430
+ end
5431
+
5406
5432
  #
5407
5433
  class AppsPeopleOzExternalMergedpeopleapiNickname
5408
5434
  include Google::Apis::Core::Hashable
@@ -6085,6 +6111,12 @@ module Google
6085
6111
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiName>]
6086
6112
  attr_accessor :name
6087
6113
 
6114
+ # Metadata info for a user's name pronunciation audio. See go/name-pronunication-
6115
+ # backend.
6116
+ # Corresponds to the JSON property `namePronunciationAudioMetadataInfo`
6117
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiNamePronunciationAudioMetadataInfo>]
6118
+ attr_accessor :name_pronunciation_audio_metadata_info
6119
+
6088
6120
  #
6089
6121
  # Corresponds to the JSON property `nickname`
6090
6122
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiNickname>]
@@ -6165,7 +6197,8 @@ module Google
6165
6197
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiProfileUrl>]
6166
6198
  attr_accessor :profile_url_repeated
6167
6199
 
6168
- #
6200
+ # Pronouns are not supported for consumer profiles. See go/pronouns-in-people-
6201
+ # system-prd for more details.
6169
6202
  # Corresponds to the JSON property `pronoun`
6170
6203
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPronoun>]
6171
6204
  attr_accessor :pronoun
@@ -6310,6 +6343,7 @@ module Google
6310
6343
  @metadata = args[:metadata] if args.key?(:metadata)
6311
6344
  @mission = args[:mission] if args.key?(:mission)
6312
6345
  @name = args[:name] if args.key?(:name)
6346
+ @name_pronunciation_audio_metadata_info = args[:name_pronunciation_audio_metadata_info] if args.key?(:name_pronunciation_audio_metadata_info)
6313
6347
  @nickname = args[:nickname] if args.key?(:nickname)
6314
6348
  @occupation = args[:occupation] if args.key?(:occupation)
6315
6349
  @organization = args[:organization] if args.key?(:organization)
@@ -7076,6 +7110,13 @@ module Google
7076
7110
  class AppsPeopleOzExternalMergedpeopleapiPhoto
7077
7111
  include Google::Apis::Core::Hashable
7078
7112
 
7113
+ # Read-only. Use UpdatePersonPhoto to change photo decorations. If this photo is
7114
+ # decorated, this field contains information about its decorations. For now,
7115
+ # this will contain at most one entry.
7116
+ # Corresponds to the JSON property `decoration`
7117
+ # @return [Array<Google::Apis::ContentwarehouseV1::SocialGraphApiProtoDecorationOverlay>]
7118
+ attr_accessor :decoration
7119
+
7079
7120
  # URL of an emoji avatar as an image. See go/emoji-cdn. PeopleAPI will return
7080
7121
  # the SVG format so that it can be scaled client side and so that the images
7081
7122
  # will not be animated. All clients that use this field must also have fall-back
@@ -7136,6 +7177,13 @@ module Google
7136
7177
  # @return [String]
7137
7178
  attr_accessor :monogram_background
7138
7179
 
7180
+ # A reference to a photo in either Photos Backend or SGI storage. This message
7181
+ # should be treated as an opaque blob to avoid a dependency on a specific
7182
+ # storage backend.
7183
+ # Corresponds to the JSON property `originalPhoto`
7184
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoImageReference]
7185
+ attr_accessor :original_photo
7186
+
7139
7187
  # Info necessary for looking up a photo in storage.
7140
7188
  # Corresponds to the JSON property `photoId`
7141
7189
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPhotoPhotoStorageId]
@@ -7168,6 +7216,7 @@ module Google
7168
7216
 
7169
7217
  # Update properties of this object
7170
7218
  def update!(**args)
7219
+ @decoration = args[:decoration] if args.key?(:decoration)
7171
7220
  @emoji_avatar_url = args[:emoji_avatar_url] if args.key?(:emoji_avatar_url)
7172
7221
  @glyph = args[:glyph] if args.key?(:glyph)
7173
7222
  @html_attribution = args[:html_attribution] if args.key?(:html_attribution)
@@ -7175,6 +7224,7 @@ module Google
7175
7224
  @is_monogram = args[:is_monogram] if args.key?(:is_monogram)
7176
7225
  @metadata = args[:metadata] if args.key?(:metadata)
7177
7226
  @monogram_background = args[:monogram_background] if args.key?(:monogram_background)
7227
+ @original_photo = args[:original_photo] if args.key?(:original_photo)
7178
7228
  @photo_id = args[:photo_id] if args.key?(:photo_id)
7179
7229
  @photo_token = args[:photo_token] if args.key?(:photo_token)
7180
7230
  @url = args[:url] if args.key?(:url)
@@ -12147,9 +12197,7 @@ module Google
12147
12197
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiOutputRestrictions]
12148
12198
  attr_accessor :output_restrictions
12149
12199
 
12150
- # Capability to support Pop on lockscreen. TODO(b/230626444) this is for short
12151
- # term workaround for TNG MA DF. Should be deprecated when long term solution is
12152
- # available. go/pop-on-lockscreen-for-tng-ma.
12200
+ # Capability to support Pop on lockscreen.
12153
12201
  # Corresponds to the JSON property `popOnLockscreenCapability`
12154
12202
  # @return [String]
12155
12203
  attr_accessor :pop_on_lockscreen_capability
@@ -16391,7 +16439,7 @@ module Google
16391
16439
  end
16392
16440
  end
16393
16441
 
16394
- # Next ID: 17
16442
+ # Next ID: 18
16395
16443
  class AssistantApiSuggestionsSupport
16396
16444
  include Google::Apis::Core::Hashable
16397
16445
 
@@ -16470,6 +16518,13 @@ module Google
16470
16518
  attr_accessor :feature_specific_app_actions_notification_supported
16471
16519
  alias_method :feature_specific_app_actions_notification_supported?, :feature_specific_app_actions_notification_supported
16472
16520
 
16521
+ # Whether the multi-step try saying suggestion feature is supported. dd: go/tng-
16522
+ # multi-step-simplified
16523
+ # Corresponds to the JSON property `multiStepTrySayingSupported`
16524
+ # @return [Boolean]
16525
+ attr_accessor :multi_step_try_saying_supported
16526
+ alias_method :multi_step_try_saying_supported?, :multi_step_try_saying_supported
16527
+
16473
16528
  # Whether the rule_id field in the execution_context is supported. This is a
16474
16529
  # temporary workaround to be able to identify clicks on Person entity
16475
16530
  # suggestions on Sabrina and is expected to be eventually deprecated. TODO(b/
@@ -16522,6 +16577,7 @@ module Google
16522
16577
  @execution_context_supported = args[:execution_context_supported] if args.key?(:execution_context_supported)
16523
16578
  @feature_specific_action_support = args[:feature_specific_action_support] if args.key?(:feature_specific_action_support)
16524
16579
  @feature_specific_app_actions_notification_supported = args[:feature_specific_app_actions_notification_supported] if args.key?(:feature_specific_app_actions_notification_supported)
16580
+ @multi_step_try_saying_supported = args[:multi_step_try_saying_supported] if args.key?(:multi_step_try_saying_supported)
16525
16581
  @rule_id_in_execution_context_supported = args[:rule_id_in_execution_context_supported] if args.key?(:rule_id_in_execution_context_supported)
16526
16582
  @show_executed_text_supported = args[:show_executed_text_supported] if args.key?(:show_executed_text_supported)
16527
16583
  @show_translation_supported = args[:show_translation_supported] if args.key?(:show_translation_supported)
@@ -17034,7 +17090,7 @@ module Google
17034
17090
  attr_accessor :soli_gesture_detection_supported
17035
17091
  alias_method :soli_gesture_detection_supported?, :soli_gesture_detection_supported
17036
17092
 
17037
- # Next ID: 17
17093
+ # Next ID: 18
17038
17094
  # Corresponds to the JSON property `suggestionsSupport`
17039
17095
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSuggestionsSupport]
17040
17096
  attr_accessor :suggestions_support
@@ -18832,7 +18888,7 @@ module Google
18832
18888
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
18833
18889
  attr_accessor :contact_grounding_provider_features
18834
18890
 
18835
- # Features to be passed from Media GP to HGR. Next ID: 4
18891
+ # Features to be passed from Media GP to HGR. Next ID: 6
18836
18892
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
18837
18893
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18838
18894
  attr_accessor :media_grounding_provider_features
@@ -18854,10 +18910,20 @@ module Google
18854
18910
  end
18855
18911
  end
18856
18912
 
18857
- # Features to be passed from Media GP to HGR. Next ID: 4
18913
+ # Features to be passed from Media GP to HGR. Next ID: 6
18858
18914
  class AssistantGroundingRankerMediaGroundingProviderFeatures
18859
18915
  include Google::Apis::Core::Hashable
18860
18916
 
18917
+ # Whether the candidate is YouTube CAST_VIDEO candidate. CAST_VIDEO is a
18918
+ # deeplink platform. This signal will be used to promote YouTube Music screenful
18919
+ # candidates with CAST_VIDEO platform for free users because free users cannot
18920
+ # get exact entities in screenless response and can get exact entities with ads
18921
+ # in screenful response.
18922
+ # Corresponds to the JSON property `isCastVideo`
18923
+ # @return [Boolean]
18924
+ attr_accessor :is_cast_video
18925
+ alias_method :is_cast_video?, :is_cast_video
18926
+
18861
18927
  # True if the media deeplink has tag SEED_RADIO.
18862
18928
  # Corresponds to the JSON property `isSeedRadio`
18863
18929
  # @return [Boolean]
@@ -18882,15 +18948,23 @@ module Google
18882
18948
  # @return [Float]
18883
18949
  attr_accessor :msc_rate
18884
18950
 
18951
+ # Scubed predicted SAI value (pSAI) for music populated by a regression model
18952
+ # that incorporates a BERT model signal as well as other Scubed signals.
18953
+ # Corresponds to the JSON property `scubedPSaiMusic`
18954
+ # @return [Float]
18955
+ attr_accessor :scubed_p_sai_music
18956
+
18885
18957
  def initialize(**args)
18886
18958
  update!(**args)
18887
18959
  end
18888
18960
 
18889
18961
  # Update properties of this object
18890
18962
  def update!(**args)
18963
+ @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
18891
18964
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
18892
18965
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
18893
18966
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
18967
+ @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
18894
18968
  end
18895
18969
  end
18896
18970
 
@@ -20242,6 +20316,25 @@ module Google
20242
20316
  end
20243
20317
  end
20244
20318
 
20319
+ # Provider annotation annotated from the query.
20320
+ class AssistantLogsProviderAnnotationLog
20321
+ include Google::Apis::Core::Hashable
20322
+
20323
+ #
20324
+ # Corresponds to the JSON property `packageNames`
20325
+ # @return [Array<String>]
20326
+ attr_accessor :package_names
20327
+
20328
+ def initialize(**args)
20329
+ update!(**args)
20330
+ end
20331
+
20332
+ # Update properties of this object
20333
+ def update!(**args)
20334
+ @package_names = args[:package_names] if args.key?(:package_names)
20335
+ end
20336
+ end
20337
+
20245
20338
  # Log about the query requirements
20246
20339
  class AssistantLogsQueryAnnotationLog
20247
20340
  include Google::Apis::Core::Hashable
@@ -20256,6 +20349,11 @@ module Google
20256
20349
  # @return [Array<Google::Apis::ContentwarehouseV1::AssistantLogsDeviceAnnotationLog>]
20257
20350
  attr_accessor :device_annotations
20258
20351
 
20352
+ # Provider annotation annotated from the query.
20353
+ # Corresponds to the JSON property `providerAnnotation`
20354
+ # @return [Google::Apis::ContentwarehouseV1::AssistantLogsProviderAnnotationLog]
20355
+ attr_accessor :provider_annotation
20356
+
20259
20357
  # Room annotation mentioned in query.
20260
20358
  # Corresponds to the JSON property `roomAnnotation`
20261
20359
  # @return [Google::Apis::ContentwarehouseV1::AssistantLogsRoomAnnotationLog]
@@ -20279,6 +20377,7 @@ module Google
20279
20377
  def update!(**args)
20280
20378
  @device_annotation = args[:device_annotation] if args.key?(:device_annotation)
20281
20379
  @device_annotations = args[:device_annotations] if args.key?(:device_annotations)
20380
+ @provider_annotation = args[:provider_annotation] if args.key?(:provider_annotation)
20282
20381
  @room_annotation = args[:room_annotation] if args.key?(:room_annotation)
20283
20382
  @room_annotations = args[:room_annotations] if args.key?(:room_annotations)
20284
20383
  @structure_annotations = args[:structure_annotations] if args.key?(:structure_annotations)
@@ -22646,6 +22745,11 @@ module Google
22646
22745
  # @return [Array<String>]
22647
22746
  attr_accessor :services
22648
22747
 
22748
+ #
22749
+ # Corresponds to the JSON property `useCase`
22750
+ # @return [String]
22751
+ attr_accessor :use_case
22752
+
22649
22753
  def initialize(**args)
22650
22754
  update!(**args)
22651
22755
  end
@@ -22654,6 +22758,7 @@ module Google
22654
22758
  def update!(**args)
22655
22759
  @name = args[:name] if args.key?(:name)
22656
22760
  @services = args[:services] if args.key?(:services)
22761
+ @use_case = args[:use_case] if args.key?(:use_case)
22657
22762
  end
22658
22763
  end
22659
22764
 
@@ -23565,7 +23670,7 @@ module Google
23565
23670
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23566
23671
  # available tag deprecated, use this (and look for commented out fields): blaze-
23567
23672
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23568
- # perdocdata.proto Next tag: 219
23673
+ # perdocdata.proto Next tag: 220
23569
23674
  # Corresponds to the JSON property `perDocData`
23570
23675
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23571
23676
  attr_accessor :per_doc_data
@@ -23929,7 +24034,7 @@ module Google
23929
24034
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
23930
24035
  # available tag deprecated, use this (and look for commented out fields): blaze-
23931
24036
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
23932
- # perdocdata.proto Next tag: 219
24037
+ # perdocdata.proto Next tag: 220
23933
24038
  # Corresponds to the JSON property `perDocData`
23934
24039
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
23935
24040
  attr_accessor :per_doc_data
@@ -26494,6 +26599,16 @@ module Google
26494
26599
  # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedDenseFeatureData]
26495
26600
  attr_accessor :quantized
26496
26601
 
26602
+ # Proto message to store quantized dense feature data.
26603
+ # Corresponds to the JSON property `quantizedByteDense`
26604
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedByteDenseFeatureData]
26605
+ attr_accessor :quantized_byte_dense
26606
+
26607
+ # Proto message to store quantized indexed feature data.
26608
+ # Corresponds to the JSON property `quantizedByteIndexed`
26609
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedByteIndexedFeatureData]
26610
+ attr_accessor :quantized_byte_indexed
26611
+
26497
26612
  #
26498
26613
  # Corresponds to the JSON property `sparse`
26499
26614
  # @return [Google::Apis::ContentwarehouseV1::DrishtiSparseFeatureData]
@@ -26509,6 +26624,8 @@ module Google
26509
26624
  @indexed = args[:indexed] if args.key?(:indexed)
26510
26625
  @name = args[:name] if args.key?(:name)
26511
26626
  @quantized = args[:quantized] if args.key?(:quantized)
26627
+ @quantized_byte_dense = args[:quantized_byte_dense] if args.key?(:quantized_byte_dense)
26628
+ @quantized_byte_indexed = args[:quantized_byte_indexed] if args.key?(:quantized_byte_indexed)
26512
26629
  @sparse = args[:sparse] if args.key?(:sparse)
26513
26630
  end
26514
26631
  end
@@ -26674,6 +26791,76 @@ module Google
26674
26791
  end
26675
26792
  end
26676
26793
 
26794
+ # Proto message to store quantized dense feature data.
26795
+ class DrishtiQuantizedByteDenseFeatureData
26796
+ include Google::Apis::Core::Hashable
26797
+
26798
+ # If extra is present it must be of the same length as value.
26799
+ # Corresponds to the JSON property `extra`
26800
+ # @return [Array<Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra>]
26801
+ attr_accessor :extra
26802
+
26803
+ #
26804
+ # Corresponds to the JSON property `generalExtra`
26805
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
26806
+ attr_accessor :general_extra
26807
+
26808
+ # Quantized values for the feature.
26809
+ # Corresponds to the JSON property `value`
26810
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
26811
+ # @return [String]
26812
+ attr_accessor :value
26813
+
26814
+ def initialize(**args)
26815
+ update!(**args)
26816
+ end
26817
+
26818
+ # Update properties of this object
26819
+ def update!(**args)
26820
+ @extra = args[:extra] if args.key?(:extra)
26821
+ @general_extra = args[:general_extra] if args.key?(:general_extra)
26822
+ @value = args[:value] if args.key?(:value)
26823
+ end
26824
+ end
26825
+
26826
+ # Proto message to store quantized indexed feature data.
26827
+ class DrishtiQuantizedByteIndexedFeatureData
26828
+ include Google::Apis::Core::Hashable
26829
+
26830
+ # If extra is present it must be of the same length as value.
26831
+ # Corresponds to the JSON property `extra`
26832
+ # @return [Array<Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra>]
26833
+ attr_accessor :extra
26834
+
26835
+ #
26836
+ # Corresponds to the JSON property `generalExtra`
26837
+ # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
26838
+ attr_accessor :general_extra
26839
+
26840
+ #
26841
+ # Corresponds to the JSON property `index`
26842
+ # @return [Array<Fixnum>]
26843
+ attr_accessor :index
26844
+
26845
+ # Quantized values for the feature.
26846
+ # Corresponds to the JSON property `value`
26847
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
26848
+ # @return [String]
26849
+ attr_accessor :value
26850
+
26851
+ def initialize(**args)
26852
+ update!(**args)
26853
+ end
26854
+
26855
+ # Update properties of this object
26856
+ def update!(**args)
26857
+ @extra = args[:extra] if args.key?(:extra)
26858
+ @general_extra = args[:general_extra] if args.key?(:general_extra)
26859
+ @index = args[:index] if args.key?(:index)
26860
+ @value = args[:value] if args.key?(:value)
26861
+ end
26862
+ end
26863
+
26677
26864
  #
26678
26865
  class DrishtiQuantizedDenseFeatureData
26679
26866
  include Google::Apis::Core::Hashable
@@ -27484,121 +27671,6 @@ module Google
27484
27671
  end
27485
27672
  end
27486
27673
 
27487
- # Output of the classifier.
27488
- class EntitySignalsClassificationOutput
27489
- include Google::Apis::Core::Hashable
27490
-
27491
- # Filled if used logistic regression (see ewok.proto for available labels).
27492
- # Corresponds to the JSON property `labels`
27493
- # @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsWeightedRelevanceRating>]
27494
- attr_accessor :labels
27495
-
27496
- # If using linear regression, this is the output value of the regression. If
27497
- # using logistic regression, this is the weighted aggregated rating. See http://
27498
- # go/entitymetric
27499
- # Corresponds to the JSON property `relevanceScore`
27500
- # @return [Float]
27501
- attr_accessor :relevance_score
27502
-
27503
- def initialize(**args)
27504
- update!(**args)
27505
- end
27506
-
27507
- # Update properties of this object
27508
- def update!(**args)
27509
- @labels = args[:labels] if args.key?(:labels)
27510
- @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
27511
- end
27512
- end
27513
-
27514
- # Collection of input, extracted features and classification output.
27515
- class EntitySignalsEntityClassification
27516
- include Google::Apis::Core::Hashable
27517
-
27518
- # Entity id.
27519
- # Corresponds to the JSON property `entityId`
27520
- # @return [String]
27521
- attr_accessor :entity_id
27522
-
27523
- # Input features used in classification.
27524
- # Corresponds to the JSON property `features`
27525
- # @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsEntityFeature>]
27526
- attr_accessor :features
27527
-
27528
- # Output of the classifier.
27529
- # Corresponds to the JSON property `output`
27530
- # @return [Google::Apis::ContentwarehouseV1::EntitySignalsClassificationOutput]
27531
- attr_accessor :output
27532
-
27533
- def initialize(**args)
27534
- update!(**args)
27535
- end
27536
-
27537
- # Update properties of this object
27538
- def update!(**args)
27539
- @entity_id = args[:entity_id] if args.key?(:entity_id)
27540
- @features = args[:features] if args.key?(:features)
27541
- @output = args[:output] if args.key?(:output)
27542
- end
27543
- end
27544
-
27545
- #
27546
- class EntitySignalsEntityFeature
27547
- include Google::Apis::Core::Hashable
27548
-
27549
- #
27550
- # Corresponds to the JSON property `code`
27551
- # @return [String]
27552
- attr_accessor :code
27553
-
27554
- # Name of the feature. For a completely list of available features, please check
27555
- # http://go/entityclassifierfeatures
27556
- # Corresponds to the JSON property `name`
27557
- # @return [String]
27558
- attr_accessor :name
27559
-
27560
- # Value of the feature.
27561
- # Corresponds to the JSON property `value`
27562
- # @return [Float]
27563
- attr_accessor :value
27564
-
27565
- def initialize(**args)
27566
- update!(**args)
27567
- end
27568
-
27569
- # Update properties of this object
27570
- def update!(**args)
27571
- @code = args[:code] if args.key?(:code)
27572
- @name = args[:name] if args.key?(:name)
27573
- @value = args[:value] if args.key?(:value)
27574
- end
27575
- end
27576
-
27577
- #
27578
- class EntitySignalsWeightedRelevanceRating
27579
- include Google::Apis::Core::Hashable
27580
-
27581
- #
27582
- # Corresponds to the JSON property `rating`
27583
- # @return [String]
27584
- attr_accessor :rating
27585
-
27586
- #
27587
- # Corresponds to the JSON property `weight`
27588
- # @return [Float]
27589
- attr_accessor :weight
27590
-
27591
- def initialize(**args)
27592
- update!(**args)
27593
- end
27594
-
27595
- # Update properties of this object
27596
- def update!(**args)
27597
- @rating = args[:rating] if args.key?(:rating)
27598
- @weight = args[:weight] if args.key?(:weight)
27599
- end
27600
- end
27601
-
27602
27674
  # An EventId is a 128 bit identifier that uniquely identifies an event, such as
27603
27675
  # a query. The event time recorded to the nearest microsecond, along with
27604
27676
  # information about the process generating the event, ensures that all EventIds
@@ -29051,7 +29123,7 @@ module Google
29051
29123
  # @return [Fixnum]
29052
29124
  attr_accessor :content_length
29053
29125
 
29054
- # See enum ContentType in webutil/http/content-type.proto.
29126
+ # See enum ContentType in //depot/google3/webutil/http/content-type.proto.
29055
29127
  # Corresponds to the JSON property `ContentType`
29056
29128
  # @return [Fixnum]
29057
29129
  attr_accessor :content_type
@@ -64015,6 +64087,20 @@ module Google
64015
64087
  class KnowledgeAnswersSemanticType
64016
64088
  include Google::Apis::Core::Hashable
64017
64089
 
64090
+ # If true, is compatible with a schema whose answer_type is any semantic_type
64091
+ # including empty (since by default schemas return themselves as semantic_types (
64092
+ # b/211438997). This is used primarily for slot composition. Example: for the
64093
+ # slot name: Operand type ` semantic_type ` allow_all: true ` entity_type `` ` *
64094
+ # An entity_type or a schema with answer_type 'entity_type' can fill Operand. *
64095
+ # A schema with either (a) no answer_type or (b) answer_type with !semantic_type.
64096
+ # names().empty() can fill Operand * A schema with answer_type 'date' CAN NOT
64097
+ # fill Operand. Note that when there is an explicit answer_type, the 'self'
64098
+ # semantic_type is not considered.
64099
+ # Corresponds to the JSON property `allowAll`
64100
+ # @return [Boolean]
64101
+ attr_accessor :allow_all
64102
+ alias_method :allow_all?, :allow_all
64103
+
64018
64104
  # Determines whether or not the meaning schema that contains this semantic_type
64019
64105
  # conforms to a function call with the name and arguments taken from the meaning
64020
64106
  # schema. As it refers to the "containing_intent", this field should only be set
@@ -64063,6 +64149,7 @@ module Google
64063
64149
 
64064
64150
  # Update properties of this object
64065
64151
  def update!(**args)
64152
+ @allow_all = args[:allow_all] if args.key?(:allow_all)
64066
64153
  @includes_containing_intent = args[:includes_containing_intent] if args.key?(:includes_containing_intent)
64067
64154
  @name = args[:name] if args.key?(:name)
64068
64155
  @name_remodelings = args[:name_remodelings] if args.key?(:name_remodelings)
@@ -82572,7 +82659,7 @@ module Google
82572
82659
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
82573
82660
  # available tag deprecated, use this (and look for commented out fields): blaze-
82574
82661
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
82575
- # perdocdata.proto Next tag: 219
82662
+ # perdocdata.proto Next tag: 220
82576
82663
  class PerDocData
82577
82664
  include Google::Apis::Core::Hashable
82578
82665
 
@@ -83015,7 +83102,7 @@ module Google
83015
83102
  attr_accessor :noimageframeoverlayreason
83016
83103
 
83017
83104
  # NOTE: When adding a new field to be propagated to Raffia check if
83018
- # NsrPatternSignalSpec needs to be updated. Next ID: 51
83105
+ # NsrPatternSignalSpec needs to be updated. Next ID: 52
83019
83106
  # Corresponds to the JSON property `nsrDataProto`
83020
83107
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
83021
83108
  attr_accessor :nsr_data_proto
@@ -88420,6 +88507,11 @@ module Google
88420
88507
  class QualityCalypsoAppsUniversalImageData
88421
88508
  include Google::Apis::Core::Hashable
88422
88509
 
88510
+ # iOS cover image, which includes the uni image from UAM only.
88511
+ # Corresponds to the JSON property `enhancedImage`
88512
+ # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
88513
+ attr_accessor :enhanced_image
88514
+
88423
88515
  # aka. promotional image / cover image.
88424
88516
  # Corresponds to the JSON property `featureGraphic`
88425
88517
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
@@ -88436,6 +88528,7 @@ module Google
88436
88528
 
88437
88529
  # Update properties of this object
88438
88530
  def update!(**args)
88531
+ @enhanced_image = args[:enhanced_image] if args.key?(:enhanced_image)
88439
88532
  @feature_graphic = args[:feature_graphic] if args.key?(:feature_graphic)
88440
88533
  @screenshot = args[:screenshot] if args.key?(:screenshot)
88441
88534
  end
@@ -89982,8 +90075,67 @@ module Google
89982
90075
  end
89983
90076
  end
89984
90077
 
90078
+ # The NsrChunksProto corresponds to the NSRChunks class. The data saved by the
90079
+ # proto and the class is the same. We provide utilities to go from one to the
90080
+ # other.
90081
+ class QualityNsrNsrChunksProto
90082
+ include Google::Apis::Core::Hashable
90083
+
90084
+ # Primary NSR sitechunk. In most of the cases it's same as HOST_LEVEL_V3
90085
+ # sitechunked canonical url of the document. In rare, but important cases it's
90086
+ # based on page markup (see quality/nsr/util/sitechunker.h for details).
90087
+ # Corresponds to the JSON property `primaryChunk`
90088
+ # @return [String]
90089
+ attr_accessor :primary_chunk
90090
+
90091
+ # Secondary NSR sitechunk. When present, it provides more granular chunking than
90092
+ # primary sitechunks (see quality/nsr/util/sitechunker.h for details). Note that
90093
+ # the NSRChunks class does not store trivial secondary chunks. Be aware of this
90094
+ # when constructing NsrChunksProto from scratch.
90095
+ # Corresponds to the JSON property `secondaryChunks`
90096
+ # @return [Array<String>]
90097
+ attr_accessor :secondary_chunks
90098
+
90099
+ def initialize(**args)
90100
+ update!(**args)
90101
+ end
90102
+
90103
+ # Update properties of this object
90104
+ def update!(**args)
90105
+ @primary_chunk = args[:primary_chunk] if args.key?(:primary_chunk)
90106
+ @secondary_chunks = args[:secondary_chunks] if args.key?(:secondary_chunks)
90107
+ end
90108
+ end
90109
+
90110
+ #
90111
+ class QualityNsrNsrChunksWithSourceInfo
90112
+ include Google::Apis::Core::Hashable
90113
+
90114
+ # The NsrChunksProto corresponds to the NSRChunks class. The data saved by the
90115
+ # proto and the class is the same. We provide utilities to go from one to the
90116
+ # other.
90117
+ # Corresponds to the JSON property `nsrChunks`
90118
+ # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksProto]
90119
+ attr_accessor :nsr_chunks
90120
+
90121
+ # These are annotated in the Goldmine NSR annotator.
90122
+ # Corresponds to the JSON property `siteChunkSource`
90123
+ # @return [String]
90124
+ attr_accessor :site_chunk_source
90125
+
90126
+ def initialize(**args)
90127
+ update!(**args)
90128
+ end
90129
+
90130
+ # Update properties of this object
90131
+ def update!(**args)
90132
+ @nsr_chunks = args[:nsr_chunks] if args.key?(:nsr_chunks)
90133
+ @site_chunk_source = args[:site_chunk_source] if args.key?(:site_chunk_source)
90134
+ end
90135
+ end
90136
+
89985
90137
  # NOTE: When adding a new field to be propagated to Raffia check if
89986
- # NsrPatternSignalSpec needs to be updated. Next ID: 51
90138
+ # NsrPatternSignalSpec needs to be updated. Next ID: 52
89987
90139
  class QualityNsrNsrData
89988
90140
  include Google::Apis::Core::Hashable
89989
90141
 
@@ -90223,6 +90375,11 @@ module Google
90223
90375
  # @return [String]
90224
90376
  attr_accessor :url
90225
90377
 
90378
+ # Versioned map of ASR (authenticity) values.
90379
+ # Corresponds to the JSON property `versionedAsrData`
90380
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
90381
+ attr_accessor :versioned_asr_data
90382
+
90226
90383
  # Versioned map of NSR values for experimenting with the next release.
90227
90384
  # Corresponds to the JSON property `versionedData`
90228
90385
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
@@ -90296,6 +90453,7 @@ module Google
90296
90453
  @tofu = args[:tofu] if args.key?(:tofu)
90297
90454
  @ugc_score = args[:ugc_score] if args.key?(:ugc_score)
90298
90455
  @url = args[:url] if args.key?(:url)
90456
+ @versioned_asr_data = args[:versioned_asr_data] if args.key?(:versioned_asr_data)
90299
90457
  @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
90300
90458
  @video_score = args[:video_score] if args.key?(:video_score)
90301
90459
  @vlq = args[:vlq] if args.key?(:vlq)
@@ -90363,6 +90521,31 @@ module Google
90363
90521
  # @return [Array<String>]
90364
90522
  attr_accessor :goldmine_lookup_keys
90365
90523
 
90524
+ #
90525
+ # Corresponds to the JSON property `lastTimeProcessedGoldmineInSeconds`
90526
+ # @return [Fixnum]
90527
+ attr_accessor :last_time_processed_goldmine_in_seconds
90528
+
90529
+ # This field is populated only during MDU population, so it's *not* present in
90530
+ # docjoins, but it's present in production so that it can be displayed.
90531
+ # Corresponds to the JSON property `lastTimeProcessedMduInSeconds`
90532
+ # @return [Fixnum]
90533
+ attr_accessor :last_time_processed_mdu_in_seconds
90534
+
90535
+ # Records the last time each system has processed the proto. These are recorded
90536
+ # as seconds from the unix epoch. Ideally these fields would be google.protobuf.
90537
+ # Timestamp, but the scoring bundle (which depends on this proto) does not
90538
+ # understand proto3 syntax. See cl/500942047 for details.
90539
+ # Corresponds to the JSON property `lastTimeProcessedRaffiaInSeconds`
90540
+ # @return [Fixnum]
90541
+ attr_accessor :last_time_processed_raffia_in_seconds
90542
+
90543
+ # Stores the NSRChunks (computed by goldmine) which were used to populate the
90544
+ # data.
90545
+ # Corresponds to the JSON property `nsrChunksWithSourceInfo`
90546
+ # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksWithSourceInfo]
90547
+ attr_accessor :nsr_chunks_with_source_info
90548
+
90366
90549
  #
90367
90550
  # Corresponds to the JSON property `raffiaLookupKey`
90368
90551
  # @return [String]
@@ -90394,6 +90577,10 @@ module Google
90394
90577
  @encoded_lookup_information = args[:encoded_lookup_information] if args.key?(:encoded_lookup_information)
90395
90578
  @goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
90396
90579
  @goldmine_lookup_keys = args[:goldmine_lookup_keys] if args.key?(:goldmine_lookup_keys)
90580
+ @last_time_processed_goldmine_in_seconds = args[:last_time_processed_goldmine_in_seconds] if args.key?(:last_time_processed_goldmine_in_seconds)
90581
+ @last_time_processed_mdu_in_seconds = args[:last_time_processed_mdu_in_seconds] if args.key?(:last_time_processed_mdu_in_seconds)
90582
+ @last_time_processed_raffia_in_seconds = args[:last_time_processed_raffia_in_seconds] if args.key?(:last_time_processed_raffia_in_seconds)
90583
+ @nsr_chunks_with_source_info = args[:nsr_chunks_with_source_info] if args.key?(:nsr_chunks_with_source_info)
90397
90584
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
90398
90585
  @raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
90399
90586
  @raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
@@ -93017,6 +93204,13 @@ module Google
93017
93204
  # @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationInferredImage>]
93018
93205
  attr_accessor :inferred_images
93019
93206
 
93207
+ # Is the offer Lens buildable. The corresponding field in Shopping Annotation is
93208
+ # SurfaceSelection.
93209
+ # Corresponds to the JSON property `isLensBuildable`
93210
+ # @return [Boolean]
93211
+ attr_accessor :is_lens_buildable
93212
+ alias_method :is_lens_buildable?, :is_lens_buildable
93213
+
93020
93214
  # information about methods used to match offer with indexed url. See
93021
93215
  # shopping_annotation.proto
93022
93216
  # Corresponds to the JSON property `matchingType`
@@ -93075,6 +93269,7 @@ module Google
93075
93269
  @fingerprint_of_offer_urls = args[:fingerprint_of_offer_urls] if args.key?(:fingerprint_of_offer_urls)
93076
93270
  @image_id = args[:image_id] if args.key?(:image_id)
93077
93271
  @inferred_images = args[:inferred_images] if args.key?(:inferred_images)
93272
+ @is_lens_buildable = args[:is_lens_buildable] if args.key?(:is_lens_buildable)
93078
93273
  @matching_type = args[:matching_type] if args.key?(:matching_type)
93079
93274
  @merchant_account_id = args[:merchant_account_id] if args.key?(:merchant_account_id)
93080
93275
  @merchant_item_id = args[:merchant_item_id] if args.key?(:merchant_item_id)
@@ -93977,8 +94172,8 @@ module Google
93977
94172
 
93978
94173
  # LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/
93979
94174
  # lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status)
93980
- # , falling back to the legacy V1 signal if the V2 signal does not exist. Please
93981
- # use the 'source' field to determine where the value comes from.
94175
+ # , falling back to the legacy V1 signal if the HIGH_PRECISION signal does not
94176
+ # exist. Please use the 'source' field to determine where the value comes from.
93982
94177
  # Corresponds to the JSON property `date`
93983
94178
  # @return [Fixnum]
93984
94179
  attr_accessor :date
@@ -94020,7 +94215,7 @@ module Google
94020
94215
 
94021
94216
  # The timestamp that was picked up by the component indicated in the
94022
94217
  # LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
94023
- # Set only if it's not equal to final LSU.
94218
+ # Set only if it is not equal to final LSU.
94024
94219
  # Corresponds to the JSON property `unboundedTimestampInSeconds`
94025
94220
  # @return [Fixnum]
94026
94221
  attr_accessor :unbounded_timestamp_in_seconds
@@ -95527,26 +95722,12 @@ module Google
95527
95722
  class RepositoryWebrefAnnotationDebugInfo
95528
95723
  include Google::Apis::Core::Hashable
95529
95724
 
95530
- #
95725
+ # Only use for debugging, this should not be displayed to user or used for any
95726
+ # kind of logic/processing.
95531
95727
  # Corresponds to the JSON property `description`
95532
95728
  # @return [String]
95533
95729
  attr_accessor :description
95534
95730
 
95535
- #
95536
- # Corresponds to the JSON property `infoString`
95537
- # @return [Array<String>]
95538
- attr_accessor :info_string
95539
-
95540
- # Collection of input, extracted features and classification output.
95541
- # Corresponds to the JSON property `rawClassification`
95542
- # @return [Google::Apis::ContentwarehouseV1::EntitySignalsEntityClassification]
95543
- attr_accessor :raw_classification
95544
-
95545
- #
95546
- # Corresponds to the JSON property `url`
95547
- # @return [String]
95548
- attr_accessor :url
95549
-
95550
95731
  def initialize(**args)
95551
95732
  update!(**args)
95552
95733
  end
@@ -95554,9 +95735,6 @@ module Google
95554
95735
  # Update properties of this object
95555
95736
  def update!(**args)
95556
95737
  @description = args[:description] if args.key?(:description)
95557
- @info_string = args[:info_string] if args.key?(:info_string)
95558
- @raw_classification = args[:raw_classification] if args.key?(:raw_classification)
95559
- @url = args[:url] if args.key?(:url)
95560
95738
  end
95561
95739
  end
95562
95740
 
@@ -96394,18 +96572,6 @@ module Google
96394
96572
  class RepositoryWebrefDetailedEntityScores
96395
96573
  include Google::Apis::Core::Hashable
96396
96574
 
96397
- # Additional info regarding how the score of an annotation was obtained. These
96398
- # will no longer be set once the feature `topic2_detailed_scores` is enabled (Q4
96399
- # 2017).
96400
- # Corresponds to the JSON property `anchorScore`
96401
- # @return [Float]
96402
- attr_accessor :anchor_score
96403
-
96404
- #
96405
- # Corresponds to the JSON property `bodyScore`
96406
- # @return [Float]
96407
- attr_accessor :body_score
96408
-
96409
96575
  # Represents how much the entity is connected/related to the other entities in
96410
96576
  # the document. This signal partially influences the topicality score, but it is
96411
96577
  # not totally aligned with it: an entity can be very related to the rest of the
@@ -96459,18 +96625,6 @@ module Google
96459
96625
  # @return [Float]
96460
96626
  attr_accessor :local_entity_location_confidence
96461
96627
 
96462
- #
96463
- # Corresponds to the JSON property `nbScore`
96464
- # @return [Float]
96465
- attr_accessor :nb_score
96466
-
96467
- # DEPRECATED: this field is no longer set. As of early June 2018 it is
96468
- # referenced in hundreds of test files and is difficult to remove from the code
96469
- # base.
96470
- # Corresponds to the JSON property `newsTopicalityScore`
96471
- # @return [Float]
96472
- attr_accessor :news_topicality_score
96473
-
96474
96628
  # Representation of the topicality score that is normalized in [0, 1] and which
96475
96629
  # sum over all entities in the document is 1. It represents the "proportion" of
96476
96630
  # the document that talks about the entity. This score is less human
@@ -96500,8 +96654,6 @@ module Google
96500
96654
 
96501
96655
  # Update properties of this object
96502
96656
  def update!(**args)
96503
- @anchor_score = args[:anchor_score] if args.key?(:anchor_score)
96504
- @body_score = args[:body_score] if args.key?(:body_score)
96505
96657
  @connectedness = args[:connectedness] if args.key?(:connectedness)
96506
96658
  @doc_score = args[:doc_score] if args.key?(:doc_score)
96507
96659
  @geo_topic_normalized_score = args[:geo_topic_normalized_score] if args.key?(:geo_topic_normalized_score)
@@ -96509,8 +96661,6 @@ module Google
96509
96661
  @is_publisher = args[:is_publisher] if args.key?(:is_publisher)
96510
96662
  @is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
96511
96663
  @local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
96512
- @nb_score = args[:nb_score] if args.key?(:nb_score)
96513
- @news_topicality_score = args[:news_topicality_score] if args.key?(:news_topicality_score)
96514
96664
  @normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
96515
96665
  @reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
96516
96666
  @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
@@ -96521,17 +96671,6 @@ module Google
96521
96671
  class RepositoryWebrefDetailedMentionScores
96522
96672
  include Google::Apis::Core::Hashable
96523
96673
 
96524
- #
96525
- # Corresponds to the JSON property `patternInfo`
96526
- # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPatternInfo>]
96527
- attr_accessor :pattern_info
96528
-
96529
- # How much confidence that a entity is annotated on a given name. NOTE: it's
96530
- # slightly different with normal annotation confidence.
96531
- # Corresponds to the JSON property `posteriorForLearning`
96532
- # @return [Float]
96533
- attr_accessor :posterior_for_learning
96534
-
96535
96674
  # How much support this mention received from the results for PostRef. This is
96536
96675
  # populated only if explicitly requested and different from 0.
96537
96676
  # Corresponds to the JSON property `resultEntityScore`
@@ -96544,8 +96683,6 @@ module Google
96544
96683
 
96545
96684
  # Update properties of this object
96546
96685
  def update!(**args)
96547
- @pattern_info = args[:pattern_info] if args.key?(:pattern_info)
96548
- @posterior_for_learning = args[:posterior_for_learning] if args.key?(:posterior_for_learning)
96549
96686
  @result_entity_score = args[:result_entity_score] if args.key?(:result_entity_score)
96550
96687
  end
96551
96688
  end
@@ -97175,6 +97312,11 @@ module Google
97175
97312
  class RepositoryWebrefEntityNameRatingsEntityNameRating
97176
97313
  include Google::Apis::Core::Hashable
97177
97314
 
97315
+ # Comment left by the rater to justify the rating decision.
97316
+ # Corresponds to the JSON property `comment`
97317
+ # @return [String]
97318
+ attr_accessor :comment
97319
+
97178
97320
  #
97179
97321
  # Corresponds to the JSON property `label`
97180
97322
  # @return [String]
@@ -97191,6 +97333,7 @@ module Google
97191
97333
 
97192
97334
  # Update properties of this object
97193
97335
  def update!(**args)
97336
+ @comment = args[:comment] if args.key?(:comment)
97194
97337
  @label = args[:label] if args.key?(:label)
97195
97338
  @source = args[:source] if args.key?(:source)
97196
97339
  end
@@ -99621,41 +99764,6 @@ module Google
99621
99764
  end
99622
99765
  end
99623
99766
 
99624
- #
99625
- class RepositoryWebrefPatternInfo
99626
- include Google::Apis::Core::Hashable
99627
-
99628
- # The confidence we can trust this pattern.
99629
- # Corresponds to the JSON property `matchProbability`
99630
- # @return [Float]
99631
- attr_accessor :match_probability
99632
-
99633
- # Whether other slots is mentioned in annotator. If they is no other slot, it is
99634
- # set to true.
99635
- # Corresponds to the JSON property `otherSlotsMentioned`
99636
- # @return [Boolean]
99637
- attr_accessor :other_slots_mentioned
99638
- alias_method :other_slots_mentioned?, :other_slots_mentioned
99639
-
99640
- # The corresponding patterns matched on this candidate, which contains the
99641
- # pattern string and the slot number of the candidate in this pattern, such as [|
99642
- # /athletes|vs|/athletes|]_1.
99643
- # Corresponds to the JSON property `pattern`
99644
- # @return [String]
99645
- attr_accessor :pattern
99646
-
99647
- def initialize(**args)
99648
- update!(**args)
99649
- end
99650
-
99651
- # Update properties of this object
99652
- def update!(**args)
99653
- @match_probability = args[:match_probability] if args.key?(:match_probability)
99654
- @other_slots_mentioned = args[:other_slots_mentioned] if args.key?(:other_slots_mentioned)
99655
- @pattern = args[:pattern] if args.key?(:pattern)
99656
- end
99657
- end
99658
-
99659
99767
  # Per document ratings relevance ratings. Next id: 21.
99660
99768
  class RepositoryWebrefPerDocRelevanceRating
99661
99769
  include Google::Apis::Core::Hashable
@@ -102542,6 +102650,16 @@ module Google
102542
102650
  # @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorFixedPointMetadata]
102543
102651
  attr_accessor :fixed_point_metadata
102544
102652
 
102653
+ # copybara:strip_begin INTERNAL USE ONLY! The ScaM Team reserves the right to
102654
+ # remove this field and reuse its proto tag without notice. DO NOT USE outside
102655
+ # of build_shards_pipeline! This field is used inside build_shards_pipeline to
102656
+ # indicate whether this GFV is residing in its secondary (vs. primary) partition.
102657
+ # copybara:strip_end
102658
+ # Corresponds to the JSON property `internalOnlyIsSecondaryPartition`
102659
+ # @return [Boolean]
102660
+ attr_accessor :internal_only_is_secondary_partition
102661
+ alias_method :internal_only_is_secondary_partition?, :internal_only_is_secondary_partition
102662
+
102545
102663
  # Describes if data has been normalized and the type.
102546
102664
  # Corresponds to the JSON property `normType`
102547
102665
  # @return [String]
@@ -102629,6 +102747,7 @@ module Google
102629
102747
  @feature_value_int64 = args[:feature_value_int64] if args.key?(:feature_value_int64)
102630
102748
  @feature_value_string = args[:feature_value_string] if args.key?(:feature_value_string)
102631
102749
  @fixed_point_metadata = args[:fixed_point_metadata] if args.key?(:fixed_point_metadata)
102750
+ @internal_only_is_secondary_partition = args[:internal_only_is_secondary_partition] if args.key?(:internal_only_is_secondary_partition)
102632
102751
  @norm_type = args[:norm_type] if args.key?(:norm_type)
102633
102752
  @query_metadata = args[:query_metadata] if args.key?(:query_metadata)
102634
102753
  @restrict_tokens = args[:restrict_tokens] if args.key?(:restrict_tokens)
@@ -102930,7 +103049,7 @@ module Google
102930
103049
 
102931
103050
  # If populated, this is the maximum number of neighbors that may be returned
102932
103051
  # from a single shard. If not populated, up to num_neighbors neighbors are
102933
- # returned from each shard. Setting his to a smaller value than num_neighbors
103052
+ # returned from each shard. Setting this to a smaller value than num_neighbors
102934
103053
  # will increase speed at the expense of accuray by requiring cross-shard merging
102935
103054
  # of fewer neighbors. If this value is set, num_neighbors must also be set and
102936
103055
  # this value must be <= num_neighbors and >= num_neighbors / number of shards.
@@ -103571,9 +103690,9 @@ module Google
103571
103690
  attr_accessor :location_name
103572
103691
 
103573
103692
  #
103574
- # Corresponds to the JSON property `locationResource`
103693
+ # Corresponds to the JSON property `locationSource`
103575
103694
  # @return [String]
103576
- attr_accessor :location_resource
103695
+ attr_accessor :location_source
103577
103696
 
103578
103697
  # Latitude and longitude for a single point in the form of "lat,long".
103579
103698
  # Corresponds to the JSON property `pointCoordinates`
@@ -103597,7 +103716,7 @@ module Google
103597
103716
  @location_mid = args[:location_mid] if args.key?(:location_mid)
103598
103717
  @location_mid_label = args[:location_mid_label] if args.key?(:location_mid_label)
103599
103718
  @location_name = args[:location_name] if args.key?(:location_name)
103600
- @location_resource = args[:location_resource] if args.key?(:location_resource)
103719
+ @location_source = args[:location_source] if args.key?(:location_source)
103601
103720
  @point_coordinates = args[:point_coordinates] if args.key?(:point_coordinates)
103602
103721
  @unformatted_coordinates = args[:unformatted_coordinates] if args.key?(:unformatted_coordinates)
103603
103722
  end
@@ -103877,7 +103996,12 @@ module Google
103877
103996
  attr_accessor :is_based_on
103878
103997
 
103879
103998
  # Indicates whether the metadata was inferred using an ML model rather than from
103880
- # the schema.org fields.
103999
+ # the schema.org fields. Use optional so that explicitly setting to false will
104000
+ # ensure the value is passed along to the KG instead of being indistinguisable
104001
+ # from being unset and thus not set in the KG. This field was originally non-
104002
+ # optional; changing to optional is backwards compatible, but protos created
104003
+ # prior to being optional won't have has_is_inferred() (go/proto-proposals/
104004
+ # proto3-presence#wire-format-semantic-changes).
103881
104005
  # Corresponds to the JSON property `isInferred`
103882
104006
  # @return [Boolean]
103883
104007
  attr_accessor :is_inferred
@@ -104629,6 +104753,11 @@ module Google
104629
104753
  class ScienceCitation
104630
104754
  include Google::Apis::Core::Hashable
104631
104755
 
104756
+ # The source of abstract text that is chosen by science docid assigner.
104757
+ # Corresponds to the JSON property `AbstractCitationSource`
104758
+ # @return [Fixnum]
104759
+ attr_accessor :abstract_citation_source
104760
+
104632
104761
  #
104633
104762
  # Corresponds to the JSON property `AbstractDisplay`
104634
104763
  # @return [String]
@@ -105207,6 +105336,7 @@ module Google
105207
105336
 
105208
105337
  # Update properties of this object
105209
105338
  def update!(**args)
105339
+ @abstract_citation_source = args[:abstract_citation_source] if args.key?(:abstract_citation_source)
105210
105340
  @abstract_display = args[:abstract_display] if args.key?(:abstract_display)
105211
105341
  @abstract_html = args[:abstract_html] if args.key?(:abstract_html)
105212
105342
  @abstract_html_left_over = args[:abstract_html_left_over] if args.key?(:abstract_html_left_over)
@@ -106168,12 +106298,6 @@ module Google
106168
106298
  class ScienceIndexSignal
106169
106299
  include Google::Apis::Core::Hashable
106170
106300
 
106171
- # Subscriber Access feature: List of Holdings IDs associated with this document.
106172
- # Should be present only for the documents with 'VisiblePrefixTerms' being set.
106173
- # Corresponds to the JSON property `HoldingsId`
106174
- # @return [Array<Fixnum>]
106175
- attr_accessor :holdings_id
106176
-
106177
106301
  # Fingerprint of the html title of the page. This is useful for checking if we
106178
106302
  # have the same version of the page as websearch.
106179
106303
  # Corresponds to the JSON property `HtmlTitleFp`
@@ -106256,7 +106380,6 @@ module Google
106256
106380
 
106257
106381
  # Update properties of this object
106258
106382
  def update!(**args)
106259
- @holdings_id = args[:holdings_id] if args.key?(:holdings_id)
106260
106383
  @html_title_fp = args[:html_title_fp] if args.key?(:html_title_fp)
106261
106384
  @index_selection_score = args[:index_selection_score] if args.key?(:index_selection_score)
106262
106385
  @num_backward_links = args[:num_backward_links] if args.key?(:num_backward_links)
@@ -106346,6 +106469,14 @@ module Google
106346
106469
  class SdrEmbedding
106347
106470
  include Google::Apis::Core::Hashable
106348
106471
 
106472
+ # Used as Mustang attachment DO NOT: - ACCESS THE PROTO FIELDS DIRECTLY - USE
106473
+ # THE DECODING LIBRARY IN quality/rankembed/mustang/fixed_point_decoding_helpers.
106474
+ # h INSTEAD. - USE HARDCODED MustangRankEmbedInfo TEXT PROTOS IN TESTS! USE
106475
+ # quality/rankembed/test_utils/mustang_rankembed_info_utils.h INSTEAD.
106476
+ # Corresponds to the JSON property `compressedEmbeddings`
106477
+ # @return [Google::Apis::ContentwarehouseV1::QualityRankembedMustangMustangRankEmbedInfo]
106478
+ attr_accessor :compressed_embeddings
106479
+
106349
106480
  #
106350
106481
  # Corresponds to the JSON property `values`
106351
106482
  # @return [Array<Float>]
@@ -106362,6 +106493,7 @@ module Google
106362
106493
 
106363
106494
  # Update properties of this object
106364
106495
  def update!(**args)
106496
+ @compressed_embeddings = args[:compressed_embeddings] if args.key?(:compressed_embeddings)
106365
106497
  @values = args[:values] if args.key?(:values)
106366
106498
  @version = args[:version] if args.key?(:version)
106367
106499
  end
@@ -109666,6 +109798,31 @@ module Google
109666
109798
  end
109667
109799
  end
109668
109800
 
109801
+ # Settings that control how a SIBS decoration overlay is displayed.
109802
+ class SocialGraphApiProtoDecorationOverlay
109803
+ include Google::Apis::Core::Hashable
109804
+
109805
+ # Settings that control how a photo overlay is displayed.
109806
+ # Corresponds to the JSON property `overlay`
109807
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPhotoOverlay]
109808
+ attr_accessor :overlay
109809
+
109810
+ # SIBS ID of the decoration that is overlaid on the photo.
109811
+ # Corresponds to the JSON property `sibsId`
109812
+ # @return [String]
109813
+ attr_accessor :sibs_id
109814
+
109815
+ def initialize(**args)
109816
+ update!(**args)
109817
+ end
109818
+
109819
+ # Update properties of this object
109820
+ def update!(**args)
109821
+ @overlay = args[:overlay] if args.key?(:overlay)
109822
+ @sibs_id = args[:sibs_id] if args.key?(:sibs_id)
109823
+ end
109824
+ end
109825
+
109669
109826
  # Represents a delegated group id, delegated groups refer to groups that are
109670
109827
  # owned by another gaiaId, but this user has access to.
109671
109828
  class SocialGraphApiProtoDelegatedGroupId
@@ -109724,6 +109881,28 @@ module Google
109724
109881
  end
109725
109882
  end
109726
109883
 
109884
+ # A reference to a photo in either Photos Backend or SGI storage. This message
109885
+ # should be treated as an opaque blob to avoid a dependency on a specific
109886
+ # storage backend.
109887
+ class SocialGraphApiProtoImageReference
109888
+ include Google::Apis::Core::Hashable
109889
+
109890
+ # Unique identifier for the photo. For now, this will always be a Photos Backend
109891
+ # media key.
109892
+ # Corresponds to the JSON property `mediaId`
109893
+ # @return [String]
109894
+ attr_accessor :media_id
109895
+
109896
+ def initialize(**args)
109897
+ update!(**args)
109898
+ end
109899
+
109900
+ # Update properties of this object
109901
+ def update!(**args)
109902
+ @media_id = args[:media_id] if args.key?(:media_id)
109903
+ end
109904
+ end
109905
+
109727
109906
  #
109728
109907
  class SocialGraphApiProtoLimitedProfileNameSettings
109729
109908
  include Google::Apis::Core::Hashable
@@ -109794,8 +109973,9 @@ module Google
109794
109973
  include Google::Apis::Core::Hashable
109795
109974
 
109796
109975
  # Indicates why the limited profile has been disabled. Will be set iff the
109797
- # limited profile is disabled. This field can only be set server-side and must
109798
- # not be used by external clients when mutating LimitedProfiles.
109976
+ # limited profile is disabled. Note: When mutating limited profiles, in order to
109977
+ # disable them, MutateDataRequest.DisableLimitedProfile must be true. Currently,
109978
+ # disables are only performed server-side, so this is read-only for clients.
109799
109979
  # Corresponds to the JSON property `disableReason`
109800
109980
  # @return [String]
109801
109981
  attr_accessor :disable_reason
@@ -109950,6 +110130,32 @@ module Google
109950
110130
  end
109951
110131
  end
109952
110132
 
110133
+ # Metadata for a user's name pronunciation audio. Proto message is shared
110134
+ # between merged_person and FBS.
110135
+ class SocialGraphApiProtoNamePronunciationAudioMetadata
110136
+ include Google::Apis::Core::Hashable
110137
+
110138
+ # Stored. Updated on pronunciation creates and updates.
110139
+ # Corresponds to the JSON property `audioSource`
110140
+ # @return [String]
110141
+ attr_accessor :audio_source
110142
+
110143
+ # Stored.
110144
+ # Corresponds to the JSON property `audioState`
110145
+ # @return [String]
110146
+ attr_accessor :audio_state
110147
+
110148
+ def initialize(**args)
110149
+ update!(**args)
110150
+ end
110151
+
110152
+ # Update properties of this object
110153
+ def update!(**args)
110154
+ @audio_source = args[:audio_source] if args.key?(:audio_source)
110155
+ @audio_state = args[:audio_state] if args.key?(:audio_state)
110156
+ end
110157
+ end
110158
+
109953
110159
  # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
109954
110160
  class SocialGraphApiProtoNotificationTrigger
109955
110161
  include Google::Apis::Core::Hashable
@@ -110187,6 +110393,32 @@ module Google
110187
110393
  end
110188
110394
  end
110189
110395
 
110396
+ # Settings that control how a photo overlay is displayed.
110397
+ class SocialGraphApiProtoPhotoOverlay
110398
+ include Google::Apis::Core::Hashable
110399
+
110400
+ # Position relative to the user's avatar. 0 = top/left, 1 = bottom/right.
110401
+ # Corresponds to the JSON property `relativePosition`
110402
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRelativePosition]
110403
+ attr_accessor :relative_position
110404
+
110405
+ # Scale relative to the user's avatar. x and y range from 0 (exclusive) to 1 (
110406
+ # inclusive).
110407
+ # Corresponds to the JSON property `relativeScale`
110408
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoRelativeScale]
110409
+ attr_accessor :relative_scale
110410
+
110411
+ def initialize(**args)
110412
+ update!(**args)
110413
+ end
110414
+
110415
+ # Update properties of this object
110416
+ def update!(**args)
110417
+ @relative_position = args[:relative_position] if args.key?(:relative_position)
110418
+ @relative_scale = args[:relative_scale] if args.key?(:relative_scale)
110419
+ end
110420
+ end
110421
+
110190
110422
  # Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
110191
110423
  class SocialGraphApiProtoPrompt
110192
110424
  include Google::Apis::Core::Hashable
@@ -110564,6 +110796,57 @@ module Google
110564
110796
  end
110565
110797
  end
110566
110798
 
110799
+ # Position relative to the user's avatar. 0 = top/left, 1 = bottom/right.
110800
+ class SocialGraphApiProtoRelativePosition
110801
+ include Google::Apis::Core::Hashable
110802
+
110803
+ #
110804
+ # Corresponds to the JSON property `x`
110805
+ # @return [Float]
110806
+ attr_accessor :x
110807
+
110808
+ #
110809
+ # Corresponds to the JSON property `y`
110810
+ # @return [Float]
110811
+ attr_accessor :y
110812
+
110813
+ def initialize(**args)
110814
+ update!(**args)
110815
+ end
110816
+
110817
+ # Update properties of this object
110818
+ def update!(**args)
110819
+ @x = args[:x] if args.key?(:x)
110820
+ @y = args[:y] if args.key?(:y)
110821
+ end
110822
+ end
110823
+
110824
+ # Scale relative to the user's avatar. x and y range from 0 (exclusive) to 1 (
110825
+ # inclusive).
110826
+ class SocialGraphApiProtoRelativeScale
110827
+ include Google::Apis::Core::Hashable
110828
+
110829
+ #
110830
+ # Corresponds to the JSON property `x`
110831
+ # @return [Float]
110832
+ attr_accessor :x
110833
+
110834
+ #
110835
+ # Corresponds to the JSON property `y`
110836
+ # @return [Float]
110837
+ attr_accessor :y
110838
+
110839
+ def initialize(**args)
110840
+ update!(**args)
110841
+ end
110842
+
110843
+ # Update properties of this object
110844
+ def update!(**args)
110845
+ @x = args[:x] if args.key?(:x)
110846
+ @y = args[:y] if args.key?(:y)
110847
+ end
110848
+ end
110849
+
110567
110850
  # Data contained in every search profile. go/janata-profile-in-sgbe.
110568
110851
  class SocialGraphApiProtoSearchProfileData
110569
110852
  include Google::Apis::Core::Hashable
@@ -124922,7 +125205,7 @@ module Google
124922
125205
  end
124923
125206
  end
124924
125207
 
124925
- # Some per-doc info is returned for all www DocInfo requests. Next id: 92
125208
+ # Some per-doc info is returned for all www DocInfo requests. Next id: 94
124926
125209
  class WwwDocInfo
124927
125210
  include Google::Apis::Core::Hashable
124928
125211
 
@@ -125174,6 +125457,14 @@ module Google
125174
125457
  # @return [Fixnum]
125175
125458
  attr_accessor :noimageframeoverlayreason
125176
125459
 
125460
+ # Sitechunk used by NSR. For most pages this is equivalent HOST_LEVEL_V3
125461
+ # sitechunk. Main difference is that, for sites like youtube.com and vimeo.com,
125462
+ # nsr_sitechunks are channel level (based on schema.org markup, not url alone).
125463
+ # See go/nsr-chunks for more details.
125464
+ # Corresponds to the JSON property `nsrSitechunk`
125465
+ # @return [String]
125466
+ attr_accessor :nsr_sitechunk
125467
+
125177
125468
  #
125178
125469
  # Corresponds to the JSON property `partialBoilerplateMetadescription`
125179
125470
  # @return [Boolean]
@@ -125368,6 +125659,7 @@ module Google
125368
125659
  @meta_description_languages = args[:meta_description_languages] if args.key?(:meta_description_languages)
125369
125660
  @nearby_text = args[:nearby_text] if args.key?(:nearby_text)
125370
125661
  @noimageframeoverlayreason = args[:noimageframeoverlayreason] if args.key?(:noimageframeoverlayreason)
125662
+ @nsr_sitechunk = args[:nsr_sitechunk] if args.key?(:nsr_sitechunk)
125371
125663
  @partial_boilerplate_metadescription = args[:partial_boilerplate_metadescription] if args.key?(:partial_boilerplate_metadescription)
125372
125664
  @porn_stats = args[:porn_stats] if args.key?(:porn_stats)
125373
125665
  @quality_without_adjustment = args[:quality_without_adjustment] if args.key?(:quality_without_adjustment)
@@ -125680,7 +125972,7 @@ module Google
125680
125972
  # @return [Array<Fixnum>]
125681
125973
  attr_accessor :chosen_body_tidbits
125682
125974
 
125683
- # Some per-doc info is returned for all www DocInfo requests. Next id: 92
125975
+ # Some per-doc info is returned for all www DocInfo requests. Next id: 94
125684
125976
  # Corresponds to the JSON property `docInfo`
125685
125977
  # @return [Google::Apis::ContentwarehouseV1::WwwDocInfo]
125686
125978
  attr_accessor :doc_info