google-apis-contentwarehouse_v1 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3584,10 +3584,9 @@ module Google
|
|
3584
3584
|
end
|
3585
3585
|
end
|
3586
3586
|
|
3587
|
-
# Represents a
|
3588
|
-
#
|
3589
|
-
#
|
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.
|
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
|
@@ -12161,7 +12209,7 @@ module Google
|
|
12161
12209
|
|
12162
12210
|
# These capabilities represent the tactile features associated with the device.
|
12163
12211
|
# This includes, for example, whether the device has a screen, how big the
|
12164
|
-
# screen is, and privacy of the screen. Next ID:
|
12212
|
+
# screen is, and privacy of the screen. Next ID: 11
|
12165
12213
|
# Corresponds to the JSON property `screen`
|
12166
12214
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiScreenCapabilities]
|
12167
12215
|
attr_accessor :screen
|
@@ -13627,10 +13675,18 @@ module Google
|
|
13627
13675
|
|
13628
13676
|
# These capabilities represent the tactile features associated with the device.
|
13629
13677
|
# This includes, for example, whether the device has a screen, how big the
|
13630
|
-
# screen is, and privacy of the screen. Next ID:
|
13678
|
+
# screen is, and privacy of the screen. Next ID: 11
|
13631
13679
|
class AssistantApiScreenCapabilities
|
13632
13680
|
include Google::Apis::Core::Hashable
|
13633
13681
|
|
13682
|
+
# The scale factor used to convert Scalable Pixel (SP) units to Density-
|
13683
|
+
# independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in
|
13684
|
+
# units of SP, and on some platforms such as Android the SP to DP scale factor
|
13685
|
+
# can be affected by the font size a user selects in accessibility settings.
|
13686
|
+
# Corresponds to the JSON property `fontScaleFactor`
|
13687
|
+
# @return [Float]
|
13688
|
+
attr_accessor :font_scale_factor
|
13689
|
+
|
13634
13690
|
# The types of input that this screen supports. Note that this can be empty in
|
13635
13691
|
# which case the screen's input type is unknown.
|
13636
13692
|
# Corresponds to the JSON property `inputType`
|
@@ -13692,6 +13748,7 @@ module Google
|
|
13692
13748
|
|
13693
13749
|
# Update properties of this object
|
13694
13750
|
def update!(**args)
|
13751
|
+
@font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
|
13695
13752
|
@input_type = args[:input_type] if args.key?(:input_type)
|
13696
13753
|
@mask = args[:mask] if args.key?(:mask)
|
13697
13754
|
@proto_layout_targeted_schema = args[:proto_layout_targeted_schema] if args.key?(:proto_layout_targeted_schema)
|
@@ -16382,7 +16439,7 @@ module Google
|
|
16382
16439
|
end
|
16383
16440
|
end
|
16384
16441
|
|
16385
|
-
# Next ID:
|
16442
|
+
# Next ID: 18
|
16386
16443
|
class AssistantApiSuggestionsSupport
|
16387
16444
|
include Google::Apis::Core::Hashable
|
16388
16445
|
|
@@ -16461,6 +16518,13 @@ module Google
|
|
16461
16518
|
attr_accessor :feature_specific_app_actions_notification_supported
|
16462
16519
|
alias_method :feature_specific_app_actions_notification_supported?, :feature_specific_app_actions_notification_supported
|
16463
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
|
+
|
16464
16528
|
# Whether the rule_id field in the execution_context is supported. This is a
|
16465
16529
|
# temporary workaround to be able to identify clicks on Person entity
|
16466
16530
|
# suggestions on Sabrina and is expected to be eventually deprecated. TODO(b/
|
@@ -16513,6 +16577,7 @@ module Google
|
|
16513
16577
|
@execution_context_supported = args[:execution_context_supported] if args.key?(:execution_context_supported)
|
16514
16578
|
@feature_specific_action_support = args[:feature_specific_action_support] if args.key?(:feature_specific_action_support)
|
16515
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)
|
16516
16581
|
@rule_id_in_execution_context_supported = args[:rule_id_in_execution_context_supported] if args.key?(:rule_id_in_execution_context_supported)
|
16517
16582
|
@show_executed_text_supported = args[:show_executed_text_supported] if args.key?(:show_executed_text_supported)
|
16518
16583
|
@show_translation_supported = args[:show_translation_supported] if args.key?(:show_translation_supported)
|
@@ -17025,7 +17090,7 @@ module Google
|
|
17025
17090
|
attr_accessor :soli_gesture_detection_supported
|
17026
17091
|
alias_method :soli_gesture_detection_supported?, :soli_gesture_detection_supported
|
17027
17092
|
|
17028
|
-
# Next ID:
|
17093
|
+
# Next ID: 18
|
17029
17094
|
# Corresponds to the JSON property `suggestionsSupport`
|
17030
17095
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiSuggestionsSupport]
|
17031
17096
|
attr_accessor :suggestions_support
|
@@ -18823,7 +18888,7 @@ module Google
|
|
18823
18888
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
|
18824
18889
|
attr_accessor :contact_grounding_provider_features
|
18825
18890
|
|
18826
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
18891
|
+
# Features to be passed from Media GP to HGR. Next ID: 6
|
18827
18892
|
# Corresponds to the JSON property `mediaGroundingProviderFeatures`
|
18828
18893
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
|
18829
18894
|
attr_accessor :media_grounding_provider_features
|
@@ -18845,10 +18910,20 @@ module Google
|
|
18845
18910
|
end
|
18846
18911
|
end
|
18847
18912
|
|
18848
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
18913
|
+
# Features to be passed from Media GP to HGR. Next ID: 6
|
18849
18914
|
class AssistantGroundingRankerMediaGroundingProviderFeatures
|
18850
18915
|
include Google::Apis::Core::Hashable
|
18851
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
|
+
|
18852
18927
|
# True if the media deeplink has tag SEED_RADIO.
|
18853
18928
|
# Corresponds to the JSON property `isSeedRadio`
|
18854
18929
|
# @return [Boolean]
|
@@ -18873,15 +18948,23 @@ module Google
|
|
18873
18948
|
# @return [Float]
|
18874
18949
|
attr_accessor :msc_rate
|
18875
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
|
+
|
18876
18957
|
def initialize(**args)
|
18877
18958
|
update!(**args)
|
18878
18959
|
end
|
18879
18960
|
|
18880
18961
|
# Update properties of this object
|
18881
18962
|
def update!(**args)
|
18963
|
+
@is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
|
18882
18964
|
@is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
|
18883
18965
|
@is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
|
18884
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)
|
18885
18968
|
end
|
18886
18969
|
end
|
18887
18970
|
|
@@ -20233,6 +20316,25 @@ module Google
|
|
20233
20316
|
end
|
20234
20317
|
end
|
20235
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
|
+
|
20236
20338
|
# Log about the query requirements
|
20237
20339
|
class AssistantLogsQueryAnnotationLog
|
20238
20340
|
include Google::Apis::Core::Hashable
|
@@ -20247,6 +20349,11 @@ module Google
|
|
20247
20349
|
# @return [Array<Google::Apis::ContentwarehouseV1::AssistantLogsDeviceAnnotationLog>]
|
20248
20350
|
attr_accessor :device_annotations
|
20249
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
|
+
|
20250
20357
|
# Room annotation mentioned in query.
|
20251
20358
|
# Corresponds to the JSON property `roomAnnotation`
|
20252
20359
|
# @return [Google::Apis::ContentwarehouseV1::AssistantLogsRoomAnnotationLog]
|
@@ -20270,6 +20377,7 @@ module Google
|
|
20270
20377
|
def update!(**args)
|
20271
20378
|
@device_annotation = args[:device_annotation] if args.key?(:device_annotation)
|
20272
20379
|
@device_annotations = args[:device_annotations] if args.key?(:device_annotations)
|
20380
|
+
@provider_annotation = args[:provider_annotation] if args.key?(:provider_annotation)
|
20273
20381
|
@room_annotation = args[:room_annotation] if args.key?(:room_annotation)
|
20274
20382
|
@room_annotations = args[:room_annotations] if args.key?(:room_annotations)
|
20275
20383
|
@structure_annotations = args[:structure_annotations] if args.key?(:structure_annotations)
|
@@ -20471,7 +20579,7 @@ module Google
|
|
20471
20579
|
|
20472
20580
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
20473
20581
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
20474
|
-
# Next ID:
|
20582
|
+
# Next ID: 36
|
20475
20583
|
class AssistantPrefulfillmentRankerPrefulfillmentSignals
|
20476
20584
|
include Google::Apis::Core::Hashable
|
20477
20585
|
|
@@ -20480,6 +20588,11 @@ module Google
|
|
20480
20588
|
# @return [Float]
|
20481
20589
|
attr_accessor :binding_set_auis
|
20482
20590
|
|
20591
|
+
# Pauis score for the binding set
|
20592
|
+
# Corresponds to the JSON property `bindingSetPauis`
|
20593
|
+
# @return [Float]
|
20594
|
+
attr_accessor :binding_set_pauis
|
20595
|
+
|
20483
20596
|
# A parsing score that is independently calibrated by each parser/IG.
|
20484
20597
|
# Corresponds to the JSON property `calibratedParsingScore`
|
20485
20598
|
# @return [Float]
|
@@ -20557,6 +20670,12 @@ module Google
|
|
20557
20670
|
attr_accessor :mask_candidate_level_features
|
20558
20671
|
alias_method :mask_candidate_level_features?, :mask_candidate_level_features
|
20559
20672
|
|
20673
|
+
# The maximum score assigned by the Horizontal Grounding Ranker (HGR) across all
|
20674
|
+
# of the intent's binding sets.
|
20675
|
+
# Corresponds to the JSON property `maxHgrScoreAcrossBindingSets`
|
20676
|
+
# @return [Float]
|
20677
|
+
attr_accessor :max_hgr_score_across_binding_sets
|
20678
|
+
|
20560
20679
|
# Number of alternative hypotheses from speech recognition(S3).
|
20561
20680
|
# Corresponds to the JSON property `numAlternativeHypothesis`
|
20562
20681
|
# @return [Float]
|
@@ -20643,6 +20762,7 @@ module Google
|
|
20643
20762
|
# Update properties of this object
|
20644
20763
|
def update!(**args)
|
20645
20764
|
@binding_set_auis = args[:binding_set_auis] if args.key?(:binding_set_auis)
|
20765
|
+
@binding_set_pauis = args[:binding_set_pauis] if args.key?(:binding_set_pauis)
|
20646
20766
|
@calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
|
20647
20767
|
@dominant = args[:dominant] if args.key?(:dominant)
|
20648
20768
|
@effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
|
@@ -20655,6 +20775,7 @@ module Google
|
|
20655
20775
|
@is_feasible = args[:is_feasible] if args.key?(:is_feasible)
|
20656
20776
|
@kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
|
20657
20777
|
@mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
|
20778
|
+
@max_hgr_score_across_binding_sets = args[:max_hgr_score_across_binding_sets] if args.key?(:max_hgr_score_across_binding_sets)
|
20658
20779
|
@num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
|
20659
20780
|
@num_constraints = args[:num_constraints] if args.key?(:num_constraints)
|
20660
20781
|
@num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
|
@@ -21288,7 +21409,7 @@ module Google
|
|
21288
21409
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
|
21289
21410
|
attr_accessor :dto_query_info
|
21290
21411
|
|
21291
|
-
# Next ID:
|
21412
|
+
# Next ID: 43
|
21292
21413
|
# Corresponds to the JSON property `homeautomationMetadata`
|
21293
21414
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
|
21294
21415
|
attr_accessor :homeautomation_metadata
|
@@ -21335,7 +21456,7 @@ module Google
|
|
21335
21456
|
class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
|
21336
21457
|
include Google::Apis::Core::Hashable
|
21337
21458
|
|
21338
|
-
# Next ID:
|
21459
|
+
# Next ID: 43
|
21339
21460
|
# Corresponds to the JSON property `homeautomationMetadata`
|
21340
21461
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
|
21341
21462
|
attr_accessor :homeautomation_metadata
|
@@ -21368,7 +21489,7 @@ module Google
|
|
21368
21489
|
end
|
21369
21490
|
end
|
21370
21491
|
|
21371
|
-
# Next ID:
|
21492
|
+
# Next ID: 43
|
21372
21493
|
class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
|
21373
21494
|
include Google::Apis::Core::Hashable
|
21374
21495
|
|
@@ -21424,6 +21545,13 @@ module Google
|
|
21424
21545
|
# @return [String]
|
21425
21546
|
attr_accessor :gcm_execution_address
|
21426
21547
|
|
21548
|
+
# List of parent group IDs, if the device is added to one or multiple device
|
21549
|
+
# groups (see go/home-groups). Will be consumed by Smart Home APIs and (in the
|
21550
|
+
# future) Assistant CTF to populate the group member list of device groups.
|
21551
|
+
# Corresponds to the JSON property `groupIds`
|
21552
|
+
# @return [Array<String>]
|
21553
|
+
attr_accessor :group_ids
|
21554
|
+
|
21427
21555
|
# The hash value from go/de-consistency-check
|
21428
21556
|
# Corresponds to the JSON property `hashValue`
|
21429
21557
|
# @return [String]
|
@@ -21682,6 +21810,7 @@ module Google
|
|
21682
21810
|
@derived_type = args[:derived_type] if args.key?(:derived_type)
|
21683
21811
|
@device_model_id = args[:device_model_id] if args.key?(:device_model_id)
|
21684
21812
|
@gcm_execution_address = args[:gcm_execution_address] if args.key?(:gcm_execution_address)
|
21813
|
+
@group_ids = args[:group_ids] if args.key?(:group_ids)
|
21685
21814
|
@hash_value = args[:hash_value] if args.key?(:hash_value)
|
21686
21815
|
@lanscan_opted_in = args[:lanscan_opted_in] if args.key?(:lanscan_opted_in)
|
21687
21816
|
@model_name = args[:model_name] if args.key?(:model_name)
|
@@ -22616,6 +22745,11 @@ module Google
|
|
22616
22745
|
# @return [Array<String>]
|
22617
22746
|
attr_accessor :services
|
22618
22747
|
|
22748
|
+
#
|
22749
|
+
# Corresponds to the JSON property `useCase`
|
22750
|
+
# @return [String]
|
22751
|
+
attr_accessor :use_case
|
22752
|
+
|
22619
22753
|
def initialize(**args)
|
22620
22754
|
update!(**args)
|
22621
22755
|
end
|
@@ -22624,6 +22758,7 @@ module Google
|
|
22624
22758
|
def update!(**args)
|
22625
22759
|
@name = args[:name] if args.key?(:name)
|
22626
22760
|
@services = args[:services] if args.key?(:services)
|
22761
|
+
@use_case = args[:use_case] if args.key?(:use_case)
|
22627
22762
|
end
|
22628
22763
|
end
|
22629
22764
|
|
@@ -22864,7 +22999,7 @@ module Google
|
|
22864
22999
|
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornClassifierData]
|
22865
23000
|
attr_accessor :classifierdata
|
22866
23001
|
|
22867
|
-
# Next ID:
|
23002
|
+
# Next ID: 52
|
22868
23003
|
# Corresponds to the JSON property `sitedata`
|
22869
23004
|
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteData]
|
22870
23005
|
attr_accessor :sitedata
|
@@ -23056,7 +23191,7 @@ module Google
|
|
23056
23191
|
end
|
23057
23192
|
end
|
23058
23193
|
|
23059
|
-
# Next ID:
|
23194
|
+
# Next ID: 52
|
23060
23195
|
class ClassifierPornSiteData
|
23061
23196
|
include Google::Apis::Core::Hashable
|
23062
23197
|
|
@@ -23080,6 +23215,12 @@ module Google
|
|
23080
23215
|
# @return [Fixnum]
|
23081
23216
|
attr_accessor :number_of_pedo_pages
|
23082
23217
|
|
23218
|
+
# Sitechunk used to compute the signals. The field is present only for data
|
23219
|
+
# created after December 2022.
|
23220
|
+
# Corresponds to the JSON property `site`
|
23221
|
+
# @return [String]
|
23222
|
+
attr_accessor :site
|
23223
|
+
|
23083
23224
|
# The ratio of porn/softporn of the site this page belongs to.
|
23084
23225
|
# Corresponds to the JSON property `sitePornRatio`
|
23085
23226
|
# @return [Float]
|
@@ -23110,6 +23251,7 @@ module Google
|
|
23110
23251
|
@final_pedo_site_score = args[:final_pedo_site_score] if args.key?(:final_pedo_site_score)
|
23111
23252
|
@number_of_pages = args[:number_of_pages] if args.key?(:number_of_pages)
|
23112
23253
|
@number_of_pedo_pages = args[:number_of_pedo_pages] if args.key?(:number_of_pedo_pages)
|
23254
|
+
@site = args[:site] if args.key?(:site)
|
23113
23255
|
@site_porn_ratio = args[:site_porn_ratio] if args.key?(:site_porn_ratio)
|
23114
23256
|
@site_softporn_ratio = args[:site_softporn_ratio] if args.key?(:site_softporn_ratio)
|
23115
23257
|
@versionedscore = args[:versionedscore] if args.key?(:versionedscore)
|
@@ -23528,7 +23670,7 @@ module Google
|
|
23528
23670
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
23529
23671
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
23530
23672
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
23531
|
-
# perdocdata.proto Next tag:
|
23673
|
+
# perdocdata.proto Next tag: 220
|
23532
23674
|
# Corresponds to the JSON property `perDocData`
|
23533
23675
|
# @return [Google::Apis::ContentwarehouseV1::PerDocData]
|
23534
23676
|
attr_accessor :per_doc_data
|
@@ -23548,7 +23690,10 @@ module Google
|
|
23548
23690
|
|
23549
23691
|
# PToken expresses policy-relevant properties of the data objects being
|
23550
23692
|
# processed and stored in Google's production systems. See go/ptoken to learn
|
23551
|
-
# more.
|
23693
|
+
# more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
|
23694
|
+
# should be considered implementation details. Next ID: 8 INTERNAL: If both the
|
23695
|
+
# Scalar and the Compound extensions are populated, we use the Compound and
|
23696
|
+
# discard the Scalar. In principle, this should never happen.
|
23552
23697
|
# Corresponds to the JSON property `ptoken`
|
23553
23698
|
# @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
|
23554
23699
|
attr_accessor :ptoken
|
@@ -23889,7 +24034,7 @@ module Google
|
|
23889
24034
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
23890
24035
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
23891
24036
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
23892
|
-
# perdocdata.proto Next tag:
|
24037
|
+
# perdocdata.proto Next tag: 220
|
23893
24038
|
# Corresponds to the JSON property `perDocData`
|
23894
24039
|
# @return [Google::Apis::ContentwarehouseV1::PerDocData]
|
23895
24040
|
attr_accessor :per_doc_data
|
@@ -26454,6 +26599,16 @@ module Google
|
|
26454
26599
|
# @return [Google::Apis::ContentwarehouseV1::DrishtiQuantizedDenseFeatureData]
|
26455
26600
|
attr_accessor :quantized
|
26456
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
|
+
|
26457
26612
|
#
|
26458
26613
|
# Corresponds to the JSON property `sparse`
|
26459
26614
|
# @return [Google::Apis::ContentwarehouseV1::DrishtiSparseFeatureData]
|
@@ -26469,6 +26624,8 @@ module Google
|
|
26469
26624
|
@indexed = args[:indexed] if args.key?(:indexed)
|
26470
26625
|
@name = args[:name] if args.key?(:name)
|
26471
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)
|
26472
26629
|
@sparse = args[:sparse] if args.key?(:sparse)
|
26473
26630
|
end
|
26474
26631
|
end
|
@@ -26634,6 +26791,76 @@ module Google
|
|
26634
26791
|
end
|
26635
26792
|
end
|
26636
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
|
+
|
26637
26864
|
#
|
26638
26865
|
class DrishtiQuantizedDenseFeatureData
|
26639
26866
|
include Google::Apis::Core::Hashable
|
@@ -27444,121 +27671,6 @@ module Google
|
|
27444
27671
|
end
|
27445
27672
|
end
|
27446
27673
|
|
27447
|
-
# Output of the classifier.
|
27448
|
-
class EntitySignalsClassificationOutput
|
27449
|
-
include Google::Apis::Core::Hashable
|
27450
|
-
|
27451
|
-
# Filled if used logistic regression (see ewok.proto for available labels).
|
27452
|
-
# Corresponds to the JSON property `labels`
|
27453
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsWeightedRelevanceRating>]
|
27454
|
-
attr_accessor :labels
|
27455
|
-
|
27456
|
-
# If using linear regression, this is the output value of the regression. If
|
27457
|
-
# using logistic regression, this is the weighted aggregated rating. See http://
|
27458
|
-
# go/entitymetric
|
27459
|
-
# Corresponds to the JSON property `relevanceScore`
|
27460
|
-
# @return [Float]
|
27461
|
-
attr_accessor :relevance_score
|
27462
|
-
|
27463
|
-
def initialize(**args)
|
27464
|
-
update!(**args)
|
27465
|
-
end
|
27466
|
-
|
27467
|
-
# Update properties of this object
|
27468
|
-
def update!(**args)
|
27469
|
-
@labels = args[:labels] if args.key?(:labels)
|
27470
|
-
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
27471
|
-
end
|
27472
|
-
end
|
27473
|
-
|
27474
|
-
# Collection of input, extracted features and classification output.
|
27475
|
-
class EntitySignalsEntityClassification
|
27476
|
-
include Google::Apis::Core::Hashable
|
27477
|
-
|
27478
|
-
# Entity id.
|
27479
|
-
# Corresponds to the JSON property `entityId`
|
27480
|
-
# @return [String]
|
27481
|
-
attr_accessor :entity_id
|
27482
|
-
|
27483
|
-
# Input features used in classification.
|
27484
|
-
# Corresponds to the JSON property `features`
|
27485
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::EntitySignalsEntityFeature>]
|
27486
|
-
attr_accessor :features
|
27487
|
-
|
27488
|
-
# Output of the classifier.
|
27489
|
-
# Corresponds to the JSON property `output`
|
27490
|
-
# @return [Google::Apis::ContentwarehouseV1::EntitySignalsClassificationOutput]
|
27491
|
-
attr_accessor :output
|
27492
|
-
|
27493
|
-
def initialize(**args)
|
27494
|
-
update!(**args)
|
27495
|
-
end
|
27496
|
-
|
27497
|
-
# Update properties of this object
|
27498
|
-
def update!(**args)
|
27499
|
-
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
27500
|
-
@features = args[:features] if args.key?(:features)
|
27501
|
-
@output = args[:output] if args.key?(:output)
|
27502
|
-
end
|
27503
|
-
end
|
27504
|
-
|
27505
|
-
#
|
27506
|
-
class EntitySignalsEntityFeature
|
27507
|
-
include Google::Apis::Core::Hashable
|
27508
|
-
|
27509
|
-
#
|
27510
|
-
# Corresponds to the JSON property `code`
|
27511
|
-
# @return [String]
|
27512
|
-
attr_accessor :code
|
27513
|
-
|
27514
|
-
# Name of the feature. For a completely list of available features, please check
|
27515
|
-
# http://go/entityclassifierfeatures
|
27516
|
-
# Corresponds to the JSON property `name`
|
27517
|
-
# @return [String]
|
27518
|
-
attr_accessor :name
|
27519
|
-
|
27520
|
-
# Value of the feature.
|
27521
|
-
# Corresponds to the JSON property `value`
|
27522
|
-
# @return [Float]
|
27523
|
-
attr_accessor :value
|
27524
|
-
|
27525
|
-
def initialize(**args)
|
27526
|
-
update!(**args)
|
27527
|
-
end
|
27528
|
-
|
27529
|
-
# Update properties of this object
|
27530
|
-
def update!(**args)
|
27531
|
-
@code = args[:code] if args.key?(:code)
|
27532
|
-
@name = args[:name] if args.key?(:name)
|
27533
|
-
@value = args[:value] if args.key?(:value)
|
27534
|
-
end
|
27535
|
-
end
|
27536
|
-
|
27537
|
-
#
|
27538
|
-
class EntitySignalsWeightedRelevanceRating
|
27539
|
-
include Google::Apis::Core::Hashable
|
27540
|
-
|
27541
|
-
#
|
27542
|
-
# Corresponds to the JSON property `rating`
|
27543
|
-
# @return [String]
|
27544
|
-
attr_accessor :rating
|
27545
|
-
|
27546
|
-
#
|
27547
|
-
# Corresponds to the JSON property `weight`
|
27548
|
-
# @return [Float]
|
27549
|
-
attr_accessor :weight
|
27550
|
-
|
27551
|
-
def initialize(**args)
|
27552
|
-
update!(**args)
|
27553
|
-
end
|
27554
|
-
|
27555
|
-
# Update properties of this object
|
27556
|
-
def update!(**args)
|
27557
|
-
@rating = args[:rating] if args.key?(:rating)
|
27558
|
-
@weight = args[:weight] if args.key?(:weight)
|
27559
|
-
end
|
27560
|
-
end
|
27561
|
-
|
27562
27674
|
# An EventId is a 128 bit identifier that uniquely identifies an event, such as
|
27563
27675
|
# a query. The event time recorded to the nearest microsecond, along with
|
27564
27676
|
# information about the process generating the event, ensures that all EventIds
|
@@ -29011,7 +29123,7 @@ module Google
|
|
29011
29123
|
# @return [Fixnum]
|
29012
29124
|
attr_accessor :content_length
|
29013
29125
|
|
29014
|
-
# See enum ContentType in webutil/http/content-type.proto.
|
29126
|
+
# See enum ContentType in //depot/google3/webutil/http/content-type.proto.
|
29015
29127
|
# Corresponds to the JSON property `ContentType`
|
29016
29128
|
# @return [Fixnum]
|
29017
29129
|
attr_accessor :content_type
|
@@ -35601,7 +35713,7 @@ module Google
|
|
35601
35713
|
# is not expected to have the language field set unless there is a name or
|
35602
35714
|
# description. When the language field is not set, it is understood to be the
|
35603
35715
|
# preferred language of the locale where the establishment is located. An empty
|
35604
|
-
# string for any of the fields is
|
35716
|
+
# string for any of the fields is not allowed (as enforced by lints).
|
35605
35717
|
class GeostorePriceListNameInfoProto
|
35606
35718
|
include Google::Apis::Core::Hashable
|
35607
35719
|
|
@@ -35745,6 +35857,16 @@ module Google
|
|
35745
35857
|
# @return [Array<String>]
|
35746
35858
|
attr_accessor :item_type
|
35747
35859
|
|
35860
|
+
# The external form of a Google International Identifiers Initiative (III)
|
35861
|
+
# LanguageCode object. See google3/i18n/identifiers/languagecode.h for details.
|
35862
|
+
# We place extra restrictions on languages in addition to what the III library
|
35863
|
+
# requires. See go/geo-schema-reference/feature-properties/languages. When set,
|
35864
|
+
# represents the language of the section and its items. Any section and item
|
35865
|
+
# level name infos must match this language. Optional.
|
35866
|
+
# Corresponds to the JSON property `language`
|
35867
|
+
# @return [String]
|
35868
|
+
attr_accessor :language
|
35869
|
+
|
35748
35870
|
# One or more media items (photos, videos, etc.) describing this section /
|
35749
35871
|
# category.
|
35750
35872
|
# Corresponds to the JSON property `media`
|
@@ -35769,6 +35891,7 @@ module Google
|
|
35769
35891
|
@food_item = args[:food_item] if args.key?(:food_item)
|
35770
35892
|
@item = args[:item] if args.key?(:item)
|
35771
35893
|
@item_type = args[:item_type] if args.key?(:item_type)
|
35894
|
+
@language = args[:language] if args.key?(:language)
|
35772
35895
|
@media = args[:media] if args.key?(:media)
|
35773
35896
|
@name_info = args[:name_info] if args.key?(:name_info)
|
35774
35897
|
end
|
@@ -41522,6 +41645,14 @@ module Google
|
|
41522
41645
|
# @return [Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1ScreenOutConfigDimensions]
|
41523
41646
|
attr_accessor :dimensions
|
41524
41647
|
|
41648
|
+
# The scale factor used to convert Scalable Pixel (SP) units to Density-
|
41649
|
+
# independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in
|
41650
|
+
# units of SP, and on some platforms such as Android the SP to DP scale factor
|
41651
|
+
# can be affected by the font size a user selects in accessibility settings.
|
41652
|
+
# Corresponds to the JSON property `fontScaleFactor`
|
41653
|
+
# @return [Float]
|
41654
|
+
attr_accessor :font_scale_factor
|
41655
|
+
|
41525
41656
|
def initialize(**args)
|
41526
41657
|
update!(**args)
|
41527
41658
|
end
|
@@ -41529,6 +41660,7 @@ module Google
|
|
41529
41660
|
# Update properties of this object
|
41530
41661
|
def update!(**args)
|
41531
41662
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
41663
|
+
@font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
|
41532
41664
|
end
|
41533
41665
|
end
|
41534
41666
|
|
@@ -42252,6 +42384,26 @@ module Google
|
|
42252
42384
|
end
|
42253
42385
|
end
|
42254
42386
|
|
42387
|
+
# To support the custom weighting across document schemas.
|
42388
|
+
class GoogleCloudContentwarehouseV1CustomWeightsMetadata
|
42389
|
+
include Google::Apis::Core::Hashable
|
42390
|
+
|
42391
|
+
# List of schema and property name. Allows a maximum of 10 schemas to be
|
42392
|
+
# specified for relevance boosting.
|
42393
|
+
# Corresponds to the JSON property `weightedSchemaProperties`
|
42394
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty>]
|
42395
|
+
attr_accessor :weighted_schema_properties
|
42396
|
+
|
42397
|
+
def initialize(**args)
|
42398
|
+
update!(**args)
|
42399
|
+
end
|
42400
|
+
|
42401
|
+
# Update properties of this object
|
42402
|
+
def update!(**args)
|
42403
|
+
@weighted_schema_properties = args[:weighted_schema_properties] if args.key?(:weighted_schema_properties)
|
42404
|
+
end
|
42405
|
+
end
|
42406
|
+
|
42255
42407
|
# Represents the action responsible for properties update operations.
|
42256
42408
|
class GoogleCloudContentwarehouseV1DataUpdateAction
|
42257
42409
|
include Google::Apis::Core::Hashable
|
@@ -42610,6 +42762,11 @@ module Google
|
|
42610
42762
|
# @return [String]
|
42611
42763
|
attr_accessor :custom_property_filter
|
42612
42764
|
|
42765
|
+
# To support the custom weighting across document schemas.
|
42766
|
+
# Corresponds to the JSON property `customWeightsMetadata`
|
42767
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CustomWeightsMetadata]
|
42768
|
+
attr_accessor :custom_weights_metadata
|
42769
|
+
|
42613
42770
|
# The exact creator(s) of the documents to search against. If a value isn't
|
42614
42771
|
# specified, documents within the search results are associated with any creator.
|
42615
42772
|
# If multiple values are specified, documents within the search results may be
|
@@ -42707,6 +42864,7 @@ module Google
|
|
42707
42864
|
# Update properties of this object
|
42708
42865
|
def update!(**args)
|
42709
42866
|
@custom_property_filter = args[:custom_property_filter] if args.key?(:custom_property_filter)
|
42867
|
+
@custom_weights_metadata = args[:custom_weights_metadata] if args.key?(:custom_weights_metadata)
|
42710
42868
|
@document_creator_filter = args[:document_creator_filter] if args.key?(:document_creator_filter)
|
42711
42869
|
@document_schema_names = args[:document_schema_names] if args.key?(:document_schema_names)
|
42712
42870
|
@file_type_filter = args[:file_type_filter] if args.key?(:file_type_filter)
|
@@ -43170,6 +43328,11 @@ module Google
|
|
43170
43328
|
# @return [String]
|
43171
43329
|
attr_accessor :database_type
|
43172
43330
|
|
43331
|
+
# Optional. The default role for the person who create a document.
|
43332
|
+
# Corresponds to the JSON property `documentCreatorDefaultRole`
|
43333
|
+
# @return [String]
|
43334
|
+
attr_accessor :document_creator_default_role
|
43335
|
+
|
43173
43336
|
# Optional. The KMS key used for CMEK encryption. It is required that the kms
|
43174
43337
|
# key is in the same region as the endpoint. The same key will be used for all
|
43175
43338
|
# provisioned resources, if encryption is available. If the kms_key is left
|
@@ -43186,6 +43349,7 @@ module Google
|
|
43186
43349
|
def update!(**args)
|
43187
43350
|
@access_control_mode = args[:access_control_mode] if args.key?(:access_control_mode)
|
43188
43351
|
@database_type = args[:database_type] if args.key?(:database_type)
|
43352
|
+
@document_creator_default_role = args[:document_creator_default_role] if args.key?(:document_creator_default_role)
|
43189
43353
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
43190
43354
|
end
|
43191
43355
|
end
|
@@ -43694,6 +43858,11 @@ module Google
|
|
43694
43858
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyTypeOptions]
|
43695
43859
|
attr_accessor :property_type_options
|
43696
43860
|
|
43861
|
+
# The retrieval importance of the property during search.
|
43862
|
+
# Corresponds to the JSON property `retrievalImportance`
|
43863
|
+
# @return [String]
|
43864
|
+
attr_accessor :retrieval_importance
|
43865
|
+
|
43697
43866
|
# Configurations for a text property.
|
43698
43867
|
# Corresponds to the JSON property `textTypeOptions`
|
43699
43868
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions]
|
@@ -43723,6 +43892,7 @@ module Google
|
|
43723
43892
|
@map_type_options = args[:map_type_options] if args.key?(:map_type_options)
|
43724
43893
|
@name = args[:name] if args.key?(:name)
|
43725
43894
|
@property_type_options = args[:property_type_options] if args.key?(:property_type_options)
|
43895
|
+
@retrieval_importance = args[:retrieval_importance] if args.key?(:retrieval_importance)
|
43726
43896
|
@text_type_options = args[:text_type_options] if args.key?(:text_type_options)
|
43727
43897
|
@timestamp_type_options = args[:timestamp_type_options] if args.key?(:timestamp_type_options)
|
43728
43898
|
end
|
@@ -44847,6 +45017,31 @@ module Google
|
|
44847
45017
|
end
|
44848
45018
|
end
|
44849
45019
|
|
45020
|
+
# Specifies the schema property name.
|
45021
|
+
class GoogleCloudContentwarehouseV1WeightedSchemaProperty
|
45022
|
+
include Google::Apis::Core::Hashable
|
45023
|
+
|
45024
|
+
# The document schema name.
|
45025
|
+
# Corresponds to the JSON property `documentSchemaName`
|
45026
|
+
# @return [String]
|
45027
|
+
attr_accessor :document_schema_name
|
45028
|
+
|
45029
|
+
# The property definition names in the schema.
|
45030
|
+
# Corresponds to the JSON property `propertyNames`
|
45031
|
+
# @return [Array<String>]
|
45032
|
+
attr_accessor :property_names
|
45033
|
+
|
45034
|
+
def initialize(**args)
|
45035
|
+
update!(**args)
|
45036
|
+
end
|
45037
|
+
|
45038
|
+
# Update properties of this object
|
45039
|
+
def update!(**args)
|
45040
|
+
@document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name)
|
45041
|
+
@property_names = args[:property_names] if args.key?(:property_names)
|
45042
|
+
end
|
45043
|
+
end
|
45044
|
+
|
44850
45045
|
# Metadata object for CreateDocument request (currently empty).
|
44851
45046
|
class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata
|
44852
45047
|
include Google::Apis::Core::Hashable
|
@@ -48441,7 +48636,7 @@ module Google
|
|
48441
48636
|
alias_method :cloud_fulfillment_only?, :cloud_fulfillment_only
|
48442
48637
|
|
48443
48638
|
# Trait name, e.g., "action.devices.traits.MediaInitiation". See [device traits](
|
48444
|
-
# https://developers.google.com/
|
48639
|
+
# https://developers.home.google.com/cloud-to-cloud/traits). See java/com/google/
|
48445
48640
|
# home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-
|
48446
48641
|
# strings.
|
48447
48642
|
# Corresponds to the JSON property `trait`
|
@@ -54115,6 +54310,12 @@ module Google
|
|
54115
54310
|
# @return [Fixnum]
|
54116
54311
|
attr_accessor :venom_mutation_generation
|
54117
54312
|
|
54313
|
+
# This field is not persisted anywhere. It is only used in deletion service for
|
54314
|
+
# converying the VideoVenomSetting when deleting Venom data.
|
54315
|
+
# Corresponds to the JSON property `videoVenomSetting`
|
54316
|
+
# @return [String]
|
54317
|
+
attr_accessor :video_venom_setting
|
54318
|
+
|
54118
54319
|
def initialize(**args)
|
54119
54320
|
update!(**args)
|
54120
54321
|
end
|
@@ -54133,6 +54334,7 @@ module Google
|
|
54133
54334
|
@transition = args[:transition] if args.key?(:transition)
|
54134
54335
|
@venom_id = args[:venom_id] if args.key?(:venom_id)
|
54135
54336
|
@venom_mutation_generation = args[:venom_mutation_generation] if args.key?(:venom_mutation_generation)
|
54337
|
+
@video_venom_setting = args[:video_venom_setting] if args.key?(:video_venom_setting)
|
54136
54338
|
end
|
54137
54339
|
end
|
54138
54340
|
|
@@ -61631,7 +61833,7 @@ module Google
|
|
61631
61833
|
|
61632
61834
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
61633
61835
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
61634
|
-
# Next ID:
|
61836
|
+
# Next ID: 36
|
61635
61837
|
# Corresponds to the JSON property `prefulfillmentSignals`
|
61636
61838
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
|
61637
61839
|
attr_accessor :prefulfillment_signals
|
@@ -63885,6 +64087,20 @@ module Google
|
|
63885
64087
|
class KnowledgeAnswersSemanticType
|
63886
64088
|
include Google::Apis::Core::Hashable
|
63887
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
|
+
|
63888
64104
|
# Determines whether or not the meaning schema that contains this semantic_type
|
63889
64105
|
# conforms to a function call with the name and arguments taken from the meaning
|
63890
64106
|
# schema. As it refers to the "containing_intent", this field should only be set
|
@@ -63933,6 +64149,7 @@ module Google
|
|
63933
64149
|
|
63934
64150
|
# Update properties of this object
|
63935
64151
|
def update!(**args)
|
64152
|
+
@allow_all = args[:allow_all] if args.key?(:allow_all)
|
63936
64153
|
@includes_containing_intent = args[:includes_containing_intent] if args.key?(:includes_containing_intent)
|
63937
64154
|
@name = args[:name] if args.key?(:name)
|
63938
64155
|
@name_remodelings = args[:name_remodelings] if args.key?(:name_remodelings)
|
@@ -67536,7 +67753,7 @@ module Google
|
|
67536
67753
|
end
|
67537
67754
|
end
|
67538
67755
|
|
67539
|
-
# Metadata associated with a region in an image. NEXT_ID:
|
67756
|
+
# Metadata associated with a region in an image. NEXT_ID: 14
|
67540
67757
|
class MediaIndexRegion
|
67541
67758
|
include Google::Apis::Core::Hashable
|
67542
67759
|
|
@@ -67609,6 +67826,11 @@ module Google
|
|
67609
67826
|
# @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
|
67610
67827
|
attr_accessor :starburst_v4
|
67611
67828
|
|
67829
|
+
#
|
67830
|
+
# Corresponds to the JSON property `starburstV5`
|
67831
|
+
# @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
|
67832
|
+
attr_accessor :starburst_v5
|
67833
|
+
|
67612
67834
|
def initialize(**args)
|
67613
67835
|
update!(**args)
|
67614
67836
|
end
|
@@ -67627,6 +67849,7 @@ module Google
|
|
67627
67849
|
@starburst_tokens_v4 = args[:starburst_tokens_v4] if args.key?(:starburst_tokens_v4)
|
67628
67850
|
@starburst_tokens_v5 = args[:starburst_tokens_v5] if args.key?(:starburst_tokens_v5)
|
67629
67851
|
@starburst_v4 = args[:starburst_v4] if args.key?(:starburst_v4)
|
67852
|
+
@starburst_v5 = args[:starburst_v5] if args.key?(:starburst_v5)
|
67630
67853
|
end
|
67631
67854
|
end
|
67632
67855
|
|
@@ -72386,6 +72609,11 @@ module Google
|
|
72386
72609
|
# @return [String]
|
72387
72610
|
attr_accessor :status
|
72388
72611
|
|
72612
|
+
# Completeness probability as calculated by the parser's completeness layer.
|
72613
|
+
# Corresponds to the JSON property `textCompletenessProbability`
|
72614
|
+
# @return [Float]
|
72615
|
+
attr_accessor :text_completeness_probability
|
72616
|
+
|
72389
72617
|
def initialize(**args)
|
72390
72618
|
update!(**args)
|
72391
72619
|
end
|
@@ -72393,6 +72621,7 @@ module Google
|
|
72393
72621
|
# Update properties of this object
|
72394
72622
|
def update!(**args)
|
72395
72623
|
@status = args[:status] if args.key?(:status)
|
72624
|
+
@text_completeness_probability = args[:text_completeness_probability] if args.key?(:text_completeness_probability)
|
72396
72625
|
end
|
72397
72626
|
end
|
72398
72627
|
|
@@ -82430,7 +82659,7 @@ module Google
|
|
82430
82659
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
82431
82660
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
82432
82661
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
82433
|
-
# perdocdata.proto Next tag:
|
82662
|
+
# perdocdata.proto Next tag: 220
|
82434
82663
|
class PerDocData
|
82435
82664
|
include Google::Apis::Core::Hashable
|
82436
82665
|
|
@@ -82873,7 +83102,7 @@ module Google
|
|
82873
83102
|
attr_accessor :noimageframeoverlayreason
|
82874
83103
|
|
82875
83104
|
# NOTE: When adding a new field to be propagated to Raffia check if
|
82876
|
-
# NsrPatternSignalSpec needs to be updated. Next ID:
|
83105
|
+
# NsrPatternSignalSpec needs to be updated. Next ID: 52
|
82877
83106
|
# Corresponds to the JSON property `nsrDataProto`
|
82878
83107
|
# @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
|
82879
83108
|
attr_accessor :nsr_data_proto
|
@@ -86855,30 +87084,19 @@ module Google
|
|
86855
87084
|
|
86856
87085
|
# PToken expresses policy-relevant properties of the data objects being
|
86857
87086
|
# processed and stored in Google's production systems. See go/ptoken to learn
|
86858
|
-
# more.
|
87087
|
+
# more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
|
87088
|
+
# should be considered implementation details. Next ID: 8 INTERNAL: If both the
|
87089
|
+
# Scalar and the Compound extensions are populated, we use the Compound and
|
87090
|
+
# discard the Scalar. In principle, this should never happen.
|
86859
87091
|
class PtokenPToken
|
86860
87092
|
include Google::Apis::Core::Hashable
|
86861
87093
|
|
86862
|
-
#
|
86863
|
-
# Corresponds to the JSON property `compoundPtokenData`
|
86864
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
86865
|
-
# @return [String]
|
86866
|
-
attr_accessor :compound_ptoken_data
|
86867
|
-
|
86868
|
-
#
|
86869
|
-
# Corresponds to the JSON property `ptokenData`
|
86870
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
86871
|
-
# @return [String]
|
86872
|
-
attr_accessor :ptoken_data
|
86873
|
-
|
86874
87094
|
def initialize(**args)
|
86875
87095
|
update!(**args)
|
86876
87096
|
end
|
86877
87097
|
|
86878
87098
|
# Update properties of this object
|
86879
87099
|
def update!(**args)
|
86880
|
-
@compound_ptoken_data = args[:compound_ptoken_data] if args.key?(:compound_ptoken_data)
|
86881
|
-
@ptoken_data = args[:ptoken_data] if args.key?(:ptoken_data)
|
86882
87100
|
end
|
86883
87101
|
end
|
86884
87102
|
|
@@ -88289,6 +88507,11 @@ module Google
|
|
88289
88507
|
class QualityCalypsoAppsUniversalImageData
|
88290
88508
|
include Google::Apis::Core::Hashable
|
88291
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
|
+
|
88292
88515
|
# aka. promotional image / cover image.
|
88293
88516
|
# Corresponds to the JSON property `featureGraphic`
|
88294
88517
|
# @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalImage]
|
@@ -88305,6 +88528,7 @@ module Google
|
|
88305
88528
|
|
88306
88529
|
# Update properties of this object
|
88307
88530
|
def update!(**args)
|
88531
|
+
@enhanced_image = args[:enhanced_image] if args.key?(:enhanced_image)
|
88308
88532
|
@feature_graphic = args[:feature_graphic] if args.key?(:feature_graphic)
|
88309
88533
|
@screenshot = args[:screenshot] if args.key?(:screenshot)
|
88310
88534
|
end
|
@@ -89851,8 +90075,67 @@ module Google
|
|
89851
90075
|
end
|
89852
90076
|
end
|
89853
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
|
+
|
89854
90137
|
# NOTE: When adding a new field to be propagated to Raffia check if
|
89855
|
-
# NsrPatternSignalSpec needs to be updated. Next ID:
|
90138
|
+
# NsrPatternSignalSpec needs to be updated. Next ID: 52
|
89856
90139
|
class QualityNsrNsrData
|
89857
90140
|
include Google::Apis::Core::Hashable
|
89858
90141
|
|
@@ -90092,6 +90375,11 @@ module Google
|
|
90092
90375
|
# @return [String]
|
90093
90376
|
attr_accessor :url
|
90094
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
|
+
|
90095
90383
|
# Versioned map of NSR values for experimenting with the next release.
|
90096
90384
|
# Corresponds to the JSON property `versionedData`
|
90097
90385
|
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
|
@@ -90165,6 +90453,7 @@ module Google
|
|
90165
90453
|
@tofu = args[:tofu] if args.key?(:tofu)
|
90166
90454
|
@ugc_score = args[:ugc_score] if args.key?(:ugc_score)
|
90167
90455
|
@url = args[:url] if args.key?(:url)
|
90456
|
+
@versioned_asr_data = args[:versioned_asr_data] if args.key?(:versioned_asr_data)
|
90168
90457
|
@versioned_data = args[:versioned_data] if args.key?(:versioned_data)
|
90169
90458
|
@video_score = args[:video_score] if args.key?(:video_score)
|
90170
90459
|
@vlq = args[:vlq] if args.key?(:vlq)
|
@@ -90205,6 +90494,18 @@ module Google
|
|
90205
90494
|
class QualityNsrNsrDataMetadata
|
90206
90495
|
include Google::Apis::Core::Hashable
|
90207
90496
|
|
90497
|
+
# Encoded lookup information. The fields set above are expensive to store.
|
90498
|
+
# Storing them in docjoins is fine, but we cannot store them in MDU shards. In
|
90499
|
+
# order for the MDU shards to display field provenance information, we store
|
90500
|
+
# them as a bitfield. For details about the encoding and decoding scheme, see
|
90501
|
+
# quality_nsr::util::EncodeMetadataLookupInformation. We expect this to occupy 8
|
90502
|
+
# bytes as long as there are less than 64 fields in NsrData proto, 12 bytes
|
90503
|
+
# between 64 and 92 fields, etc.
|
90504
|
+
# Corresponds to the JSON property `encodedLookupInformation`
|
90505
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
90506
|
+
# @return [String]
|
90507
|
+
attr_accessor :encoded_lookup_information
|
90508
|
+
|
90208
90509
|
# Same as raffia_lookup_key_per_field. Note that the goldmine_lookups have
|
90209
90510
|
# priority; if a field appears in both goldmine and raffia entries, it means it
|
90210
90511
|
# was taken from goldmine. If it's missing here but present in
|
@@ -90220,6 +90521,31 @@ module Google
|
|
90220
90521
|
# @return [Array<String>]
|
90221
90522
|
attr_accessor :goldmine_lookup_keys
|
90222
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
|
+
|
90223
90549
|
#
|
90224
90550
|
# Corresponds to the JSON property `raffiaLookupKey`
|
90225
90551
|
# @return [String]
|
@@ -90248,8 +90574,13 @@ module Google
|
|
90248
90574
|
|
90249
90575
|
# Update properties of this object
|
90250
90576
|
def update!(**args)
|
90577
|
+
@encoded_lookup_information = args[:encoded_lookup_information] if args.key?(:encoded_lookup_information)
|
90251
90578
|
@goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
|
90252
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)
|
90253
90584
|
@raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
|
90254
90585
|
@raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
|
90255
90586
|
@raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
|
@@ -91658,7 +91989,8 @@ module Google
|
|
91658
91989
|
class QualityQrewriteCandidateIdField
|
91659
91990
|
include Google::Apis::Core::Hashable
|
91660
91991
|
|
91661
|
-
#
|
91992
|
+
# If needed, a servlet can use this field to assign an ID to distinguish between
|
91993
|
+
# different candidates of the same CandidateType.
|
91662
91994
|
# Corresponds to the JSON property `index`
|
91663
91995
|
# @return [Fixnum]
|
91664
91996
|
attr_accessor :index
|
@@ -92872,6 +93204,13 @@ module Google
|
|
92872
93204
|
# @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationInferredImage>]
|
92873
93205
|
attr_accessor :inferred_images
|
92874
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
|
+
|
92875
93214
|
# information about methods used to match offer with indexed url. See
|
92876
93215
|
# shopping_annotation.proto
|
92877
93216
|
# Corresponds to the JSON property `matchingType`
|
@@ -92930,6 +93269,7 @@ module Google
|
|
92930
93269
|
@fingerprint_of_offer_urls = args[:fingerprint_of_offer_urls] if args.key?(:fingerprint_of_offer_urls)
|
92931
93270
|
@image_id = args[:image_id] if args.key?(:image_id)
|
92932
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)
|
92933
93273
|
@matching_type = args[:matching_type] if args.key?(:matching_type)
|
92934
93274
|
@merchant_account_id = args[:merchant_account_id] if args.key?(:merchant_account_id)
|
92935
93275
|
@merchant_item_id = args[:merchant_item_id] if args.key?(:merchant_item_id)
|
@@ -93832,8 +94172,8 @@ module Google
|
|
93832
94172
|
|
93833
94173
|
# LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/
|
93834
94174
|
# lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status)
|
93835
|
-
# , falling back to the legacy V1 signal if the
|
93836
|
-
# 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.
|
93837
94177
|
# Corresponds to the JSON property `date`
|
93838
94178
|
# @return [Fixnum]
|
93839
94179
|
attr_accessor :date
|
@@ -93859,7 +94199,9 @@ module Google
|
|
93859
94199
|
class QualityTimebasedLastSignificantUpdateAdjustments
|
93860
94200
|
include Google::Apis::Core::Hashable
|
93861
94201
|
|
93862
|
-
#
|
94202
|
+
# If the selected LSU has been adjusted, i.e. the maximum passage timestamp,
|
94203
|
+
# firstseen or contentage were assigned to LSU, the adjustment source is stored
|
94204
|
+
# here.
|
93863
94205
|
# Corresponds to the JSON property `adjustmentSource`
|
93864
94206
|
# @return [String]
|
93865
94207
|
attr_accessor :adjustment_source
|
@@ -93873,10 +94215,15 @@ module Google
|
|
93873
94215
|
|
93874
94216
|
# The timestamp that was picked up by the component indicated in the
|
93875
94217
|
# LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
|
93876
|
-
#
|
93877
|
-
# Corresponds to the JSON property `
|
94218
|
+
# Set only if it is not equal to final LSU.
|
94219
|
+
# Corresponds to the JSON property `unboundedTimestampInSeconds`
|
93878
94220
|
# @return [Fixnum]
|
93879
|
-
attr_accessor :
|
94221
|
+
attr_accessor :unbounded_timestamp_in_seconds
|
94222
|
+
|
94223
|
+
# The source that produced the unbounded timestamp.
|
94224
|
+
# Corresponds to the JSON property `unboundedTimestampSource`
|
94225
|
+
# @return [String]
|
94226
|
+
attr_accessor :unbounded_timestamp_source
|
93880
94227
|
|
93881
94228
|
# The upperbound value derived from passage timestamps. If present, the LSU date
|
93882
94229
|
# should never exceed this value. Design doc: go/lsu-max-passage-timestamp
|
@@ -93892,7 +94239,8 @@ module Google
|
|
93892
94239
|
def update!(**args)
|
93893
94240
|
@adjustment_source = args[:adjustment_source] if args.key?(:adjustment_source)
|
93894
94241
|
@is_upperbound_timestamp_precise = args[:is_upperbound_timestamp_precise] if args.key?(:is_upperbound_timestamp_precise)
|
93895
|
-
@
|
94242
|
+
@unbounded_timestamp_in_seconds = args[:unbounded_timestamp_in_seconds] if args.key?(:unbounded_timestamp_in_seconds)
|
94243
|
+
@unbounded_timestamp_source = args[:unbounded_timestamp_source] if args.key?(:unbounded_timestamp_source)
|
93896
94244
|
@upperbound_timestamp_in_seconds = args[:upperbound_timestamp_in_seconds] if args.key?(:upperbound_timestamp_in_seconds)
|
93897
94245
|
end
|
93898
94246
|
end
|
@@ -95374,26 +95722,12 @@ module Google
|
|
95374
95722
|
class RepositoryWebrefAnnotationDebugInfo
|
95375
95723
|
include Google::Apis::Core::Hashable
|
95376
95724
|
|
95377
|
-
#
|
95725
|
+
# Only use for debugging, this should not be displayed to user or used for any
|
95726
|
+
# kind of logic/processing.
|
95378
95727
|
# Corresponds to the JSON property `description`
|
95379
95728
|
# @return [String]
|
95380
95729
|
attr_accessor :description
|
95381
95730
|
|
95382
|
-
#
|
95383
|
-
# Corresponds to the JSON property `infoString`
|
95384
|
-
# @return [Array<String>]
|
95385
|
-
attr_accessor :info_string
|
95386
|
-
|
95387
|
-
# Collection of input, extracted features and classification output.
|
95388
|
-
# Corresponds to the JSON property `rawClassification`
|
95389
|
-
# @return [Google::Apis::ContentwarehouseV1::EntitySignalsEntityClassification]
|
95390
|
-
attr_accessor :raw_classification
|
95391
|
-
|
95392
|
-
#
|
95393
|
-
# Corresponds to the JSON property `url`
|
95394
|
-
# @return [String]
|
95395
|
-
attr_accessor :url
|
95396
|
-
|
95397
95731
|
def initialize(**args)
|
95398
95732
|
update!(**args)
|
95399
95733
|
end
|
@@ -95401,9 +95735,6 @@ module Google
|
|
95401
95735
|
# Update properties of this object
|
95402
95736
|
def update!(**args)
|
95403
95737
|
@description = args[:description] if args.key?(:description)
|
95404
|
-
@info_string = args[:info_string] if args.key?(:info_string)
|
95405
|
-
@raw_classification = args[:raw_classification] if args.key?(:raw_classification)
|
95406
|
-
@url = args[:url] if args.key?(:url)
|
95407
95738
|
end
|
95408
95739
|
end
|
95409
95740
|
|
@@ -96241,18 +96572,6 @@ module Google
|
|
96241
96572
|
class RepositoryWebrefDetailedEntityScores
|
96242
96573
|
include Google::Apis::Core::Hashable
|
96243
96574
|
|
96244
|
-
# Additional info regarding how the score of an annotation was obtained. These
|
96245
|
-
# will no longer be set once the feature `topic2_detailed_scores` is enabled (Q4
|
96246
|
-
# 2017).
|
96247
|
-
# Corresponds to the JSON property `anchorScore`
|
96248
|
-
# @return [Float]
|
96249
|
-
attr_accessor :anchor_score
|
96250
|
-
|
96251
|
-
#
|
96252
|
-
# Corresponds to the JSON property `bodyScore`
|
96253
|
-
# @return [Float]
|
96254
|
-
attr_accessor :body_score
|
96255
|
-
|
96256
96575
|
# Represents how much the entity is connected/related to the other entities in
|
96257
96576
|
# the document. This signal partially influences the topicality score, but it is
|
96258
96577
|
# not totally aligned with it: an entity can be very related to the rest of the
|
@@ -96306,18 +96625,6 @@ module Google
|
|
96306
96625
|
# @return [Float]
|
96307
96626
|
attr_accessor :local_entity_location_confidence
|
96308
96627
|
|
96309
|
-
#
|
96310
|
-
# Corresponds to the JSON property `nbScore`
|
96311
|
-
# @return [Float]
|
96312
|
-
attr_accessor :nb_score
|
96313
|
-
|
96314
|
-
# DEPRECATED: this field is no longer set. As of early June 2018 it is
|
96315
|
-
# referenced in hundreds of test files and is difficult to remove from the code
|
96316
|
-
# base.
|
96317
|
-
# Corresponds to the JSON property `newsTopicalityScore`
|
96318
|
-
# @return [Float]
|
96319
|
-
attr_accessor :news_topicality_score
|
96320
|
-
|
96321
96628
|
# Representation of the topicality score that is normalized in [0, 1] and which
|
96322
96629
|
# sum over all entities in the document is 1. It represents the "proportion" of
|
96323
96630
|
# the document that talks about the entity. This score is less human
|
@@ -96347,8 +96654,6 @@ module Google
|
|
96347
96654
|
|
96348
96655
|
# Update properties of this object
|
96349
96656
|
def update!(**args)
|
96350
|
-
@anchor_score = args[:anchor_score] if args.key?(:anchor_score)
|
96351
|
-
@body_score = args[:body_score] if args.key?(:body_score)
|
96352
96657
|
@connectedness = args[:connectedness] if args.key?(:connectedness)
|
96353
96658
|
@doc_score = args[:doc_score] if args.key?(:doc_score)
|
96354
96659
|
@geo_topic_normalized_score = args[:geo_topic_normalized_score] if args.key?(:geo_topic_normalized_score)
|
@@ -96356,8 +96661,6 @@ module Google
|
|
96356
96661
|
@is_publisher = args[:is_publisher] if args.key?(:is_publisher)
|
96357
96662
|
@is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
|
96358
96663
|
@local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
|
96359
|
-
@nb_score = args[:nb_score] if args.key?(:nb_score)
|
96360
|
-
@news_topicality_score = args[:news_topicality_score] if args.key?(:news_topicality_score)
|
96361
96664
|
@normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
|
96362
96665
|
@reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
|
96363
96666
|
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
@@ -96368,17 +96671,6 @@ module Google
|
|
96368
96671
|
class RepositoryWebrefDetailedMentionScores
|
96369
96672
|
include Google::Apis::Core::Hashable
|
96370
96673
|
|
96371
|
-
#
|
96372
|
-
# Corresponds to the JSON property `patternInfo`
|
96373
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPatternInfo>]
|
96374
|
-
attr_accessor :pattern_info
|
96375
|
-
|
96376
|
-
# How much confidence that a entity is annotated on a given name. NOTE: it's
|
96377
|
-
# slightly different with normal annotation confidence.
|
96378
|
-
# Corresponds to the JSON property `posteriorForLearning`
|
96379
|
-
# @return [Float]
|
96380
|
-
attr_accessor :posterior_for_learning
|
96381
|
-
|
96382
96674
|
# How much support this mention received from the results for PostRef. This is
|
96383
96675
|
# populated only if explicitly requested and different from 0.
|
96384
96676
|
# Corresponds to the JSON property `resultEntityScore`
|
@@ -96391,8 +96683,6 @@ module Google
|
|
96391
96683
|
|
96392
96684
|
# Update properties of this object
|
96393
96685
|
def update!(**args)
|
96394
|
-
@pattern_info = args[:pattern_info] if args.key?(:pattern_info)
|
96395
|
-
@posterior_for_learning = args[:posterior_for_learning] if args.key?(:posterior_for_learning)
|
96396
96686
|
@result_entity_score = args[:result_entity_score] if args.key?(:result_entity_score)
|
96397
96687
|
end
|
96398
96688
|
end
|
@@ -97022,6 +97312,11 @@ module Google
|
|
97022
97312
|
class RepositoryWebrefEntityNameRatingsEntityNameRating
|
97023
97313
|
include Google::Apis::Core::Hashable
|
97024
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
|
+
|
97025
97320
|
#
|
97026
97321
|
# Corresponds to the JSON property `label`
|
97027
97322
|
# @return [String]
|
@@ -97038,6 +97333,7 @@ module Google
|
|
97038
97333
|
|
97039
97334
|
# Update properties of this object
|
97040
97335
|
def update!(**args)
|
97336
|
+
@comment = args[:comment] if args.key?(:comment)
|
97041
97337
|
@label = args[:label] if args.key?(:label)
|
97042
97338
|
@source = args[:source] if args.key?(:source)
|
97043
97339
|
end
|
@@ -99468,41 +99764,6 @@ module Google
|
|
99468
99764
|
end
|
99469
99765
|
end
|
99470
99766
|
|
99471
|
-
#
|
99472
|
-
class RepositoryWebrefPatternInfo
|
99473
|
-
include Google::Apis::Core::Hashable
|
99474
|
-
|
99475
|
-
# The confidence we can trust this pattern.
|
99476
|
-
# Corresponds to the JSON property `matchProbability`
|
99477
|
-
# @return [Float]
|
99478
|
-
attr_accessor :match_probability
|
99479
|
-
|
99480
|
-
# Whether other slots is mentioned in annotator. If they is no other slot, it is
|
99481
|
-
# set to true.
|
99482
|
-
# Corresponds to the JSON property `otherSlotsMentioned`
|
99483
|
-
# @return [Boolean]
|
99484
|
-
attr_accessor :other_slots_mentioned
|
99485
|
-
alias_method :other_slots_mentioned?, :other_slots_mentioned
|
99486
|
-
|
99487
|
-
# The corresponding patterns matched on this candidate, which contains the
|
99488
|
-
# pattern string and the slot number of the candidate in this pattern, such as [|
|
99489
|
-
# /athletes|vs|/athletes|]_1.
|
99490
|
-
# Corresponds to the JSON property `pattern`
|
99491
|
-
# @return [String]
|
99492
|
-
attr_accessor :pattern
|
99493
|
-
|
99494
|
-
def initialize(**args)
|
99495
|
-
update!(**args)
|
99496
|
-
end
|
99497
|
-
|
99498
|
-
# Update properties of this object
|
99499
|
-
def update!(**args)
|
99500
|
-
@match_probability = args[:match_probability] if args.key?(:match_probability)
|
99501
|
-
@other_slots_mentioned = args[:other_slots_mentioned] if args.key?(:other_slots_mentioned)
|
99502
|
-
@pattern = args[:pattern] if args.key?(:pattern)
|
99503
|
-
end
|
99504
|
-
end
|
99505
|
-
|
99506
99767
|
# Per document ratings relevance ratings. Next id: 21.
|
99507
99768
|
class RepositoryWebrefPerDocRelevanceRating
|
99508
99769
|
include Google::Apis::Core::Hashable
|
@@ -100471,13 +100732,6 @@ module Google
|
|
100471
100732
|
# @return [Float]
|
100472
100733
|
attr_accessor :book_score
|
100473
100734
|
|
100474
|
-
# Fraction of importance_ratio (IR) that is explained by this entity and implied
|
100475
|
-
# entities. E.g. a page about a song with IR 0.2 for the song and 0.5 for the
|
100476
|
-
# artist actually has explained_normalized_topicality 0.7 for the song.
|
100477
|
-
# Corresponds to the JSON property `explainedNormalizedTopicality`
|
100478
|
-
# @return [Float]
|
100479
|
-
attr_accessor :explained_normalized_topicality
|
100480
|
-
|
100481
100735
|
# The raw topicality score of the primary entity.
|
100482
100736
|
# Corresponds to the JSON property `firstScore`
|
100483
100737
|
# @return [Float]
|
@@ -100506,13 +100760,6 @@ module Google
|
|
100506
100760
|
# @return [Float]
|
100507
100761
|
attr_accessor :reference_page_score
|
100508
100762
|
|
100509
|
-
# The score used to sort reference pages for a given entity. This score tries to
|
100510
|
-
# assign higher scores to reference pages that are more useful to the model
|
100511
|
-
# building.
|
100512
|
-
# Corresponds to the JSON property `referencePageSelectionScore`
|
100513
|
-
# @return [Float]
|
100514
|
-
attr_accessor :reference_page_selection_score
|
100515
|
-
|
100516
100763
|
# True if the entity is selected as the reference page owner.
|
100517
100764
|
# Corresponds to the JSON property `selected`
|
100518
100765
|
# @return [Boolean]
|
@@ -100549,13 +100796,11 @@ module Google
|
|
100549
100796
|
# Update properties of this object
|
100550
100797
|
def update!(**args)
|
100551
100798
|
@book_score = args[:book_score] if args.key?(:book_score)
|
100552
|
-
@explained_normalized_topicality = args[:explained_normalized_topicality] if args.key?(:explained_normalized_topicality)
|
100553
100799
|
@first_score = args[:first_score] if args.key?(:first_score)
|
100554
100800
|
@has_special_links = args[:has_special_links] if args.key?(:has_special_links)
|
100555
100801
|
@median_mention_score = args[:median_mention_score] if args.key?(:median_mention_score)
|
100556
100802
|
@navboost_coverage = args[:navboost_coverage] if args.key?(:navboost_coverage)
|
100557
100803
|
@reference_page_score = args[:reference_page_score] if args.key?(:reference_page_score)
|
100558
|
-
@reference_page_selection_score = args[:reference_page_selection_score] if args.key?(:reference_page_selection_score)
|
100559
100804
|
@selected = args[:selected] if args.key?(:selected)
|
100560
100805
|
@single_topicness = args[:single_topicness] if args.key?(:single_topicness)
|
100561
100806
|
@single_topicness_v2 = args[:single_topicness_v2] if args.key?(:single_topicness_v2)
|
@@ -102405,6 +102650,16 @@ module Google
|
|
102405
102650
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorFixedPointMetadata]
|
102406
102651
|
attr_accessor :fixed_point_metadata
|
102407
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
|
+
|
102408
102663
|
# Describes if data has been normalized and the type.
|
102409
102664
|
# Corresponds to the JSON property `normType`
|
102410
102665
|
# @return [String]
|
@@ -102492,6 +102747,7 @@ module Google
|
|
102492
102747
|
@feature_value_int64 = args[:feature_value_int64] if args.key?(:feature_value_int64)
|
102493
102748
|
@feature_value_string = args[:feature_value_string] if args.key?(:feature_value_string)
|
102494
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)
|
102495
102751
|
@norm_type = args[:norm_type] if args.key?(:norm_type)
|
102496
102752
|
@query_metadata = args[:query_metadata] if args.key?(:query_metadata)
|
102497
102753
|
@restrict_tokens = args[:restrict_tokens] if args.key?(:restrict_tokens)
|
@@ -102793,7 +103049,7 @@ module Google
|
|
102793
103049
|
|
102794
103050
|
# If populated, this is the maximum number of neighbors that may be returned
|
102795
103051
|
# from a single shard. If not populated, up to num_neighbors neighbors are
|
102796
|
-
# returned from each shard. Setting
|
103052
|
+
# returned from each shard. Setting this to a smaller value than num_neighbors
|
102797
103053
|
# will increase speed at the expense of accuray by requiring cross-shard merging
|
102798
103054
|
# of fewer neighbors. If this value is set, num_neighbors must also be set and
|
102799
103055
|
# this value must be <= num_neighbors and >= num_neighbors / number of shards.
|
@@ -103433,6 +103689,11 @@ module Google
|
|
103433
103689
|
# @return [String]
|
103434
103690
|
attr_accessor :location_name
|
103435
103691
|
|
103692
|
+
#
|
103693
|
+
# Corresponds to the JSON property `locationSource`
|
103694
|
+
# @return [String]
|
103695
|
+
attr_accessor :location_source
|
103696
|
+
|
103436
103697
|
# Latitude and longitude for a single point in the form of "lat,long".
|
103437
103698
|
# Corresponds to the JSON property `pointCoordinates`
|
103438
103699
|
# @return [String]
|
@@ -103455,6 +103716,7 @@ module Google
|
|
103455
103716
|
@location_mid = args[:location_mid] if args.key?(:location_mid)
|
103456
103717
|
@location_mid_label = args[:location_mid_label] if args.key?(:location_mid_label)
|
103457
103718
|
@location_name = args[:location_name] if args.key?(:location_name)
|
103719
|
+
@location_source = args[:location_source] if args.key?(:location_source)
|
103458
103720
|
@point_coordinates = args[:point_coordinates] if args.key?(:point_coordinates)
|
103459
103721
|
@unformatted_coordinates = args[:unformatted_coordinates] if args.key?(:unformatted_coordinates)
|
103460
103722
|
end
|
@@ -103734,7 +103996,12 @@ module Google
|
|
103734
103996
|
attr_accessor :is_based_on
|
103735
103997
|
|
103736
103998
|
# Indicates whether the metadata was inferred using an ML model rather than from
|
103737
|
-
# 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).
|
103738
104005
|
# Corresponds to the JSON property `isInferred`
|
103739
104006
|
# @return [Boolean]
|
103740
104007
|
attr_accessor :is_inferred
|
@@ -104177,6 +104444,11 @@ module Google
|
|
104177
104444
|
# @return [String]
|
104178
104445
|
attr_accessor :entity_type
|
104179
104446
|
|
104447
|
+
# HRID of the KG collections
|
104448
|
+
# Corresponds to the JSON property `kgCollection`
|
104449
|
+
# @return [Array<String>]
|
104450
|
+
attr_accessor :kg_collection
|
104451
|
+
|
104180
104452
|
# The KG identifier of the WebrefEntity.
|
104181
104453
|
# Corresponds to the JSON property `mid`
|
104182
104454
|
# @return [String]
|
@@ -104190,6 +104462,7 @@ module Google
|
|
104190
104462
|
def update!(**args)
|
104191
104463
|
@description = args[:description] if args.key?(:description)
|
104192
104464
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
104465
|
+
@kg_collection = args[:kg_collection] if args.key?(:kg_collection)
|
104193
104466
|
@mid = args[:mid] if args.key?(:mid)
|
104194
104467
|
end
|
104195
104468
|
end
|
@@ -104480,6 +104753,11 @@ module Google
|
|
104480
104753
|
class ScienceCitation
|
104481
104754
|
include Google::Apis::Core::Hashable
|
104482
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
|
+
|
104483
104761
|
#
|
104484
104762
|
# Corresponds to the JSON property `AbstractDisplay`
|
104485
104763
|
# @return [String]
|
@@ -105058,6 +105336,7 @@ module Google
|
|
105058
105336
|
|
105059
105337
|
# Update properties of this object
|
105060
105338
|
def update!(**args)
|
105339
|
+
@abstract_citation_source = args[:abstract_citation_source] if args.key?(:abstract_citation_source)
|
105061
105340
|
@abstract_display = args[:abstract_display] if args.key?(:abstract_display)
|
105062
105341
|
@abstract_html = args[:abstract_html] if args.key?(:abstract_html)
|
105063
105342
|
@abstract_html_left_over = args[:abstract_html_left_over] if args.key?(:abstract_html_left_over)
|
@@ -106019,12 +106298,6 @@ module Google
|
|
106019
106298
|
class ScienceIndexSignal
|
106020
106299
|
include Google::Apis::Core::Hashable
|
106021
106300
|
|
106022
|
-
# Subscriber Access feature: List of Holdings IDs associated with this document.
|
106023
|
-
# Should be present only for the documents with 'VisiblePrefixTerms' being set.
|
106024
|
-
# Corresponds to the JSON property `HoldingsId`
|
106025
|
-
# @return [Array<Fixnum>]
|
106026
|
-
attr_accessor :holdings_id
|
106027
|
-
|
106028
106301
|
# Fingerprint of the html title of the page. This is useful for checking if we
|
106029
106302
|
# have the same version of the page as websearch.
|
106030
106303
|
# Corresponds to the JSON property `HtmlTitleFp`
|
@@ -106107,7 +106380,6 @@ module Google
|
|
106107
106380
|
|
106108
106381
|
# Update properties of this object
|
106109
106382
|
def update!(**args)
|
106110
|
-
@holdings_id = args[:holdings_id] if args.key?(:holdings_id)
|
106111
106383
|
@html_title_fp = args[:html_title_fp] if args.key?(:html_title_fp)
|
106112
106384
|
@index_selection_score = args[:index_selection_score] if args.key?(:index_selection_score)
|
106113
106385
|
@num_backward_links = args[:num_backward_links] if args.key?(:num_backward_links)
|
@@ -106197,6 +106469,14 @@ module Google
|
|
106197
106469
|
class SdrEmbedding
|
106198
106470
|
include Google::Apis::Core::Hashable
|
106199
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
|
+
|
106200
106480
|
#
|
106201
106481
|
# Corresponds to the JSON property `values`
|
106202
106482
|
# @return [Array<Float>]
|
@@ -106213,6 +106493,7 @@ module Google
|
|
106213
106493
|
|
106214
106494
|
# Update properties of this object
|
106215
106495
|
def update!(**args)
|
106496
|
+
@compressed_embeddings = args[:compressed_embeddings] if args.key?(:compressed_embeddings)
|
106216
106497
|
@values = args[:values] if args.key?(:values)
|
106217
106498
|
@version = args[:version] if args.key?(:version)
|
106218
106499
|
end
|
@@ -108578,7 +108859,7 @@ module Google
|
|
108578
108859
|
end
|
108579
108860
|
end
|
108580
108861
|
|
108581
|
-
# Next ID:
|
108862
|
+
# Next ID: 14
|
108582
108863
|
class SnippetExtraInfoSnippetCandidateInfo
|
108583
108864
|
include Google::Apis::Core::Hashable
|
108584
108865
|
|
@@ -108620,6 +108901,11 @@ module Google
|
|
108620
108901
|
# @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetScoringInfo]
|
108621
108902
|
attr_accessor :scoring_info
|
108622
108903
|
|
108904
|
+
# Sentence starting positions in the printed snippet lines.
|
108905
|
+
# Corresponds to the JSON property `sentenceStarts`
|
108906
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition>]
|
108907
|
+
attr_accessor :sentence_starts
|
108908
|
+
|
108623
108909
|
# Muppet fills snippet lines in `snippet` field.
|
108624
108910
|
# Corresponds to the JSON property `snippet`
|
108625
108911
|
# @return [Array<String>]
|
@@ -108648,6 +108934,7 @@ module Google
|
|
108648
108934
|
@is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
|
108649
108935
|
@list_info = args[:list_info] if args.key?(:list_info)
|
108650
108936
|
@scoring_info = args[:scoring_info] if args.key?(:scoring_info)
|
108937
|
+
@sentence_starts = args[:sentence_starts] if args.key?(:sentence_starts)
|
108651
108938
|
@snippet = args[:snippet] if args.key?(:snippet)
|
108652
108939
|
@snippet_text = args[:snippet_text] if args.key?(:snippet_text)
|
108653
108940
|
@snippet_type = args[:snippet_type] if args.key?(:snippet_type)
|
@@ -109511,6 +109798,31 @@ module Google
|
|
109511
109798
|
end
|
109512
109799
|
end
|
109513
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
|
+
|
109514
109826
|
# Represents a delegated group id, delegated groups refer to groups that are
|
109515
109827
|
# owned by another gaiaId, but this user has access to.
|
109516
109828
|
class SocialGraphApiProtoDelegatedGroupId
|
@@ -109569,6 +109881,28 @@ module Google
|
|
109569
109881
|
end
|
109570
109882
|
end
|
109571
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
|
+
|
109572
109906
|
#
|
109573
109907
|
class SocialGraphApiProtoLimitedProfileNameSettings
|
109574
109908
|
include Google::Apis::Core::Hashable
|
@@ -109639,8 +109973,9 @@ module Google
|
|
109639
109973
|
include Google::Apis::Core::Hashable
|
109640
109974
|
|
109641
109975
|
# Indicates why the limited profile has been disabled. Will be set iff the
|
109642
|
-
# limited profile is disabled.
|
109643
|
-
#
|
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.
|
109644
109979
|
# Corresponds to the JSON property `disableReason`
|
109645
109980
|
# @return [String]
|
109646
109981
|
attr_accessor :disable_reason
|
@@ -109795,6 +110130,32 @@ module Google
|
|
109795
110130
|
end
|
109796
110131
|
end
|
109797
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
|
+
|
109798
110159
|
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
109799
110160
|
class SocialGraphApiProtoNotificationTrigger
|
109800
110161
|
include Google::Apis::Core::Hashable
|
@@ -110032,6 +110393,32 @@ module Google
|
|
110032
110393
|
end
|
110033
110394
|
end
|
110034
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
|
+
|
110035
110422
|
# Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)
|
110036
110423
|
class SocialGraphApiProtoPrompt
|
110037
110424
|
include Google::Apis::Core::Hashable
|
@@ -110409,6 +110796,57 @@ module Google
|
|
110409
110796
|
end
|
110410
110797
|
end
|
110411
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
|
+
|
110412
110850
|
# Data contained in every search profile. go/janata-profile-in-sgbe.
|
110413
110851
|
class SocialGraphApiProtoSearchProfileData
|
110414
110852
|
include Google::Apis::Core::Hashable
|
@@ -116193,7 +116631,8 @@ module Google
|
|
116193
116631
|
attr_accessor :id
|
116194
116632
|
|
116195
116633
|
# LINT.ThenChange( //depot/google3/googledata/production/playbooks/video-assets/
|
116196
|
-
# clients.md )
|
116634
|
+
# clients.md, //depot/google3/video/assets/venom/proto/namespace.proto )
|
116635
|
+
# REQUIRED.
|
116197
116636
|
# Corresponds to the JSON property `ns`
|
116198
116637
|
# @return [String]
|
116199
116638
|
attr_accessor :ns
|
@@ -124766,7 +125205,7 @@ module Google
|
|
124766
125205
|
end
|
124767
125206
|
end
|
124768
125207
|
|
124769
|
-
# Some per-doc info is returned for all www DocInfo requests. Next id:
|
125208
|
+
# Some per-doc info is returned for all www DocInfo requests. Next id: 94
|
124770
125209
|
class WwwDocInfo
|
124771
125210
|
include Google::Apis::Core::Hashable
|
124772
125211
|
|
@@ -125018,6 +125457,14 @@ module Google
|
|
125018
125457
|
# @return [Fixnum]
|
125019
125458
|
attr_accessor :noimageframeoverlayreason
|
125020
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
|
+
|
125021
125468
|
#
|
125022
125469
|
# Corresponds to the JSON property `partialBoilerplateMetadescription`
|
125023
125470
|
# @return [Boolean]
|
@@ -125212,6 +125659,7 @@ module Google
|
|
125212
125659
|
@meta_description_languages = args[:meta_description_languages] if args.key?(:meta_description_languages)
|
125213
125660
|
@nearby_text = args[:nearby_text] if args.key?(:nearby_text)
|
125214
125661
|
@noimageframeoverlayreason = args[:noimageframeoverlayreason] if args.key?(:noimageframeoverlayreason)
|
125662
|
+
@nsr_sitechunk = args[:nsr_sitechunk] if args.key?(:nsr_sitechunk)
|
125215
125663
|
@partial_boilerplate_metadescription = args[:partial_boilerplate_metadescription] if args.key?(:partial_boilerplate_metadescription)
|
125216
125664
|
@porn_stats = args[:porn_stats] if args.key?(:porn_stats)
|
125217
125665
|
@quality_without_adjustment = args[:quality_without_adjustment] if args.key?(:quality_without_adjustment)
|
@@ -125524,7 +125972,7 @@ module Google
|
|
125524
125972
|
# @return [Array<Fixnum>]
|
125525
125973
|
attr_accessor :chosen_body_tidbits
|
125526
125974
|
|
125527
|
-
# Some per-doc info is returned for all www DocInfo requests. Next id:
|
125975
|
+
# Some per-doc info is returned for all www DocInfo requests. Next id: 94
|
125528
125976
|
# Corresponds to the JSON property `docInfo`
|
125529
125977
|
# @return [Google::Apis::ContentwarehouseV1::WwwDocInfo]
|
125530
125978
|
attr_accessor :doc_info
|